From b22087a53becae45931ed72d5e0f12e0031d771a Mon Sep 17 00:00:00 2001 From: Kubernetes Publisher Date: Sun, 30 Oct 2016 21:06:23 +0000 Subject: [PATCH] published by bot (https://github.com/kubernetes/contrib/tree/master/mungegithub) copied from https://github.com/kubernetes/kubernetes.git, branch master, last commit is 71ba8a90f0a4f3a307cffeb8f8566d13277cb135 --- Godeps/Godeps.json | 8 + discovery/discovery_client.go | 33 +- discovery/fake/discovery.go | 5 + discovery/helper.go | 135 + discovery/helper_blackbox_test.go | 158 + dynamic/client.go | 17 +- dynamic/client_pool.go | 9 +- dynamic/client_test.go | 1 + kubernetes/clientset.go | 2 +- kubernetes/typed/apps/v1alpha1/apps_client.go | 18 +- .../apps/v1alpha1/fake/fake_apps_client.go | 11 +- .../typed/apps/v1alpha1/fake/fake_petset.go | 128 - .../apps/v1alpha1/fake/fake_statefulset.go | 128 + .../apps/v1alpha1/generated_expansion.go | 2 +- kubernetes/typed/apps/v1alpha1/petset.go | 166 - kubernetes/typed/apps/v1alpha1/statefulset.go | 167 + .../v1beta1/authentication_client.go | 12 +- .../fake/fake_authentication_client.go | 7 +- .../authentication/v1beta1/tokenreview.go | 8 +- .../v1beta1/authorization_client.go | 12 +- .../v1beta1/fake/fake_authorization_client.go | 7 +- .../v1beta1/localsubjectaccessreview.go | 8 +- .../v1beta1/selfsubjectaccessreview.go | 8 +- .../v1beta1/subjectaccessreview.go | 8 +- .../autoscaling/v1/autoscaling_client.go | 12 +- .../v1/fake/fake_autoscaling_client.go | 7 +- .../autoscaling/v1/horizontalpodautoscaler.go | 5 +- kubernetes/typed/batch/v1/batch_client.go | 12 +- .../typed/batch/v1/fake/fake_batch_client.go | 7 +- kubernetes/typed/batch/v1/job.go | 5 +- .../v1alpha1/certificates_client.go | 12 +- .../v1alpha1/certificatesigningrequest.go | 5 +- .../v1alpha1/fake/fake_certificates_client.go | 7 +- kubernetes/typed/core/v1/componentstatus.go | 5 +- kubernetes/typed/core/v1/configmap.go | 5 +- kubernetes/typed/core/v1/core_client.go | 12 +- kubernetes/typed/core/v1/endpoints.go | 5 +- kubernetes/typed/core/v1/event.go | 5 +- .../typed/core/v1/fake/fake_core_client.go | 7 +- kubernetes/typed/core/v1/limitrange.go | 5 +- kubernetes/typed/core/v1/namespace.go | 5 +- kubernetes/typed/core/v1/node.go | 5 +- kubernetes/typed/core/v1/persistentvolume.go | 5 +- .../typed/core/v1/persistentvolumeclaim.go | 5 +- kubernetes/typed/core/v1/pod.go | 5 +- kubernetes/typed/core/v1/podtemplate.go | 5 +- .../typed/core/v1/replicationcontroller.go | 5 +- kubernetes/typed/core/v1/resourcequota.go | 5 +- kubernetes/typed/core/v1/secret.go | 5 +- kubernetes/typed/core/v1/service.go | 5 +- kubernetes/typed/core/v1/serviceaccount.go | 5 +- .../typed/extensions/v1beta1/daemonset.go | 5 +- .../typed/extensions/v1beta1/deployment.go | 5 +- .../extensions/v1beta1/extensions_client.go | 12 +- .../v1beta1/fake/fake_extensions_client.go | 7 +- .../typed/extensions/v1beta1/ingress.go | 5 +- kubernetes/typed/extensions/v1beta1/job.go | 5 +- .../extensions/v1beta1/podsecuritypolicy.go | 5 +- .../typed/extensions/v1beta1/replicaset.go | 5 +- kubernetes/typed/extensions/v1beta1/scale.go | 8 +- .../extensions/v1beta1/thirdpartyresource.go | 5 +- .../v1alpha1/fake/fake_policy_client.go | 7 +- .../policy/v1alpha1/poddisruptionbudget.go | 5 +- .../typed/policy/v1alpha1/policy_client.go | 12 +- kubernetes/typed/rbac/v1alpha1/clusterrole.go | 5 +- .../typed/rbac/v1alpha1/clusterrolebinding.go | 5 +- .../rbac/v1alpha1/fake/fake_rbac_client.go | 7 +- kubernetes/typed/rbac/v1alpha1/rbac_client.go | 12 +- kubernetes/typed/rbac/v1alpha1/role.go | 5 +- kubernetes/typed/rbac/v1alpha1/rolebinding.go | 5 +- .../v1beta1/fake/fake_storage_client.go | 7 +- .../typed/storage/v1beta1/storage_client.go | 12 +- .../typed/storage/v1beta1/storageclass.go | 5 +- pkg/api/conversion.go | 5 + pkg/api/helpers.go | 36 +- pkg/api/resource/generated.pb.go | 31 +- pkg/api/resource/generated.proto | 2 +- pkg/api/testapi/testapi.go | 14 +- pkg/api/types.generated.go | 23404 ++++++++------- pkg/api/types.go | 544 +- pkg/api/unversioned/doc.go | 1 + pkg/api/unversioned/generated.pb.go | 175 +- pkg/api/unversioned/generated.proto | 26 +- pkg/api/unversioned/helpers.go | 5 +- pkg/api/unversioned/types.go | 22 + pkg/api/v1/conversion.go | 40 +- pkg/api/v1/defaults.go | 13 + pkg/api/v1/doc.go | 1 + pkg/api/v1/generated.pb.go | 1522 +- pkg/api/v1/generated.proto | 455 +- pkg/api/v1/types.generated.go | 24290 ++++++++-------- pkg/api/v1/types.go | 448 +- pkg/api/v1/types_swagger_doc_generated.go | 1 - pkg/api/v1/zz_generated.conversion.go | 577 +- pkg/api/v1/zz_generated.deepcopy.go | 1 - pkg/api/v1/zz_generated.defaults.go | 577 + pkg/api/zz_generated.deepcopy.go | 1 - pkg/apis/apps/register.go | 4 +- pkg/apis/apps/types.generated.go | 70 +- pkg/apis/apps/types.go | 60 +- pkg/apis/apps/v1alpha1/conversion.go | 10 +- pkg/apis/apps/v1alpha1/defaults.go | 5 +- pkg/apis/apps/v1alpha1/doc.go | 1 + pkg/apis/apps/v1alpha1/generated.pb.go | 193 +- pkg/apis/apps/v1alpha1/generated.proto | 68 +- pkg/apis/apps/v1alpha1/register.go | 8 +- pkg/apis/apps/v1alpha1/types.generated.go | 70 +- pkg/apis/apps/v1alpha1/types.go | 60 +- .../v1alpha1/types_swagger_doc_generated.go | 42 +- .../apps/v1alpha1/zz_generated.conversion.go | 93 +- .../apps/v1alpha1/zz_generated.deepcopy.go | 40 +- .../apps/v1alpha1/zz_generated.defaults.go | 166 + pkg/apis/apps/zz_generated.deepcopy.go | 40 +- pkg/apis/authentication/v1beta1/doc.go | 1 + .../authentication/v1beta1/generated.pb.go | 83 +- .../authentication/v1beta1/generated.proto | 20 +- pkg/apis/authentication/v1beta1/types.go | 12 +- .../v1beta1/zz_generated.conversion.go | 7 - pkg/apis/authorization/v1beta1/doc.go | 1 + .../authorization/v1beta1/generated.pb.go | 111 +- .../authorization/v1beta1/generated.proto | 34 +- pkg/apis/authorization/v1beta1/types.go | 30 +- .../v1beta1/zz_generated.conversion.go | 19 - pkg/apis/autoscaling/types.go | 17 +- pkg/apis/autoscaling/v1/defaults.go | 1 + pkg/apis/autoscaling/v1/doc.go | 1 + pkg/apis/autoscaling/v1/generated.pb.go | 107 +- pkg/apis/autoscaling/v1/generated.proto | 25 +- pkg/apis/autoscaling/v1/types.go | 15 + .../autoscaling/v1/zz_generated.conversion.go | 28 +- .../autoscaling/v1/zz_generated.defaults.go | 47 + pkg/apis/batch/types.go | 32 + pkg/apis/batch/v1/conversion.go | 21 +- pkg/apis/batch/v1/defaults.go | 1 + pkg/apis/batch/v1/doc.go | 1 + pkg/apis/batch/v1/generated.pb.go | 626 +- pkg/apis/batch/v1/generated.proto | 61 +- pkg/apis/batch/v1/types.generated.go | 1928 +- pkg/apis/batch/v1/types.go | 58 +- .../batch/v1/types_swagger_doc_generated.go | 21 - pkg/apis/batch/v1/zz_generated.conversion.go | 124 +- pkg/apis/batch/v1/zz_generated.deepcopy.go | 51 +- pkg/apis/batch/v1/zz_generated.defaults.go | 159 + pkg/apis/batch/v2alpha1/conversion.go | 28 +- pkg/apis/batch/v2alpha1/defaults.go | 1 + pkg/apis/batch/v2alpha1/doc.go | 1 + pkg/apis/batch/v2alpha1/generated.pb.go | 669 +- pkg/apis/batch/v2alpha1/generated.proto | 74 +- pkg/apis/batch/v2alpha1/types.generated.go | 3218 +- pkg/apis/batch/v2alpha1/types.go | 71 +- .../v2alpha1/types_swagger_doc_generated.go | 21 - .../batch/v2alpha1/zz_generated.conversion.go | 151 +- .../batch/v2alpha1/zz_generated.deepcopy.go | 51 +- .../batch/v2alpha1/zz_generated.defaults.go | 402 + pkg/apis/certificates/types.go | 21 +- pkg/apis/certificates/v1alpha1/doc.go | 1 + .../certificates/v1alpha1/generated.pb.go | 89 +- .../certificates/v1alpha1/generated.proto | 22 +- pkg/apis/certificates/v1alpha1/types.go | 20 +- .../v1alpha1/zz_generated.conversion.go | 29 +- pkg/apis/componentconfig/types.generated.go | 8790 +++--- pkg/apis/componentconfig/types.go | 98 +- pkg/apis/componentconfig/v1alpha1/defaults.go | 23 +- pkg/apis/componentconfig/v1alpha1/doc.go | 1 + pkg/apis/componentconfig/v1alpha1/types.go | 81 +- .../v1alpha1/zz_generated.conversion.go | 196 +- .../v1alpha1/zz_generated.deepcopy.go | 94 +- .../v1alpha1/zz_generated.defaults.go | 48 + .../componentconfig/zz_generated.deepcopy.go | 70 +- pkg/apis/extensions/types.generated.go | 15519 +++++----- pkg/apis/extensions/types.go | 180 +- pkg/apis/extensions/v1beta1/conversion.go | 68 +- pkg/apis/extensions/v1beta1/defaults.go | 12 +- pkg/apis/extensions/v1beta1/doc.go | 1 + pkg/apis/extensions/v1beta1/generated.pb.go | 1957 +- pkg/apis/extensions/v1beta1/generated.proto | 228 +- .../extensions/v1beta1/types.generated.go | 16487 +++++------ pkg/apis/extensions/v1beta1/types.go | 257 +- .../v1beta1/types_swagger_doc_generated.go | 56 +- .../v1beta1/zz_generated.conversion.go | 533 +- .../v1beta1/zz_generated.deepcopy.go | 109 +- .../v1beta1/zz_generated.defaults.go | 565 + pkg/apis/extensions/zz_generated.deepcopy.go | 36 +- pkg/apis/imagepolicy/v1alpha1/doc.go | 1 + pkg/apis/imagepolicy/v1alpha1/generated.pb.go | 74 +- pkg/apis/imagepolicy/v1alpha1/generated.proto | 17 +- pkg/apis/imagepolicy/v1alpha1/types.go | 9 +- .../v1alpha1/zz_generated.conversion.go | 7 - pkg/apis/kubeadm/defaults.go | 4 +- pkg/apis/policy/types.go | 10 +- pkg/apis/policy/v1alpha1/doc.go | 1 + pkg/apis/policy/v1alpha1/generated.pb.go | 84 +- pkg/apis/policy/v1alpha1/generated.proto | 18 +- pkg/apis/policy/v1alpha1/types.go | 10 +- .../v1alpha1/zz_generated.conversion.go | 34 +- pkg/apis/rbac/v1alpha1/defaults.go | 24 +- pkg/apis/rbac/v1alpha1/doc.go | 1 + pkg/apis/rbac/v1alpha1/generated.pb.go | 103 +- pkg/apis/rbac/v1alpha1/generated.proto | 25 +- pkg/apis/rbac/v1alpha1/types.go | 15 + .../rbac/v1alpha1/zz_generated.conversion.go | 81 +- .../rbac/v1alpha1/zz_generated.defaults.go | 58 + pkg/apis/storage/types.go | 5 +- pkg/apis/storage/v1beta1/doc.go | 1 + pkg/apis/storage/v1beta1/generated.pb.go | 60 +- pkg/apis/storage/v1beta1/generated.proto | 13 +- pkg/apis/storage/v1beta1/types.go | 3 + .../v1beta1/zz_generated.conversion.go | 21 +- pkg/conversion/converter.go | 4 +- pkg/federation/apis/federation/types.go | 16 + pkg/federation/apis/federation/v1beta1/doc.go | 1 + .../apis/federation/v1beta1/generated.pb.go | 101 +- .../apis/federation/v1beta1/generated.proto | 22 +- .../apis/federation/v1beta1/types.go | 12 + .../v1beta1/zz_generated.conversion.go | 36 +- pkg/genericapiserver/openapi/common/common.go | 18 +- pkg/kubelet/server/portforward/portforward.go | 323 + pkg/labels/selector.go | 55 +- pkg/runtime/codec.go | 34 + pkg/runtime/generated.pb.go | 51 +- pkg/runtime/generated.proto | 6 +- pkg/runtime/interfaces.go | 47 +- pkg/runtime/scheme.go | 21 + pkg/runtime/serializer/codec_factory.go | 164 +- pkg/runtime/serializer/json/meta.go | 4 +- pkg/runtime/serializer/negotiated_codec.go | 27 +- pkg/runtime/serializer/protobuf_extension.go | 10 +- .../serializer/versioning/versioning.go | 47 +- pkg/runtime/types.go | 4 +- pkg/third_party/forked/golang/netutil/addr.go | 27 + pkg/util/config/feature_gate.go | 2 +- pkg/util/httpstream/spdy/connection.go | 145 + pkg/util/httpstream/spdy/roundtripper.go | 262 + pkg/util/httpstream/spdy/upgrade.go | 78 + pkg/util/intstr/generated.pb.go | 35 +- pkg/util/testing/fake_handler.go | 16 + pkg/util/util.go | 26 +- pkg/version/base.go | 2 +- pkg/watch/versioned/generated.pb.go | 38 +- pkg/watch/versioned/generated.proto | 4 +- rest/client.go | 55 +- rest/config_test.go | 16 +- rest/fake/fake.go | 127 + rest/request.go | 6 + tools/cache/listers.go | 183 +- tools/cache/listers_core.go | 143 + tools/cache/mutation_detector.go | 135 + tools/cache/mutation_detector_test.go | 80 + tools/cache/shared_informer.go | 18 +- tools/clientcmd/api/latest/latest.go | 2 +- tools/clientcmd/api/types.go | 26 +- tools/clientcmd/api/v1/types.go | 23 + .../docker/spdystream/CONTRIBUTING.md | 13 + vendor/github.com/docker/spdystream/LICENSE | 191 + .../github.com/docker/spdystream/LICENSE.docs | 425 + .../github.com/docker/spdystream/MAINTAINERS | 28 + vendor/github.com/docker/spdystream/README.md | 77 + .../docker/spdystream/connection.go | 958 + .../github.com/docker/spdystream/handlers.go | 38 + .../github.com/docker/spdystream/priority.go | 98 + .../docker/spdystream/spdy/dictionary.go | 187 + .../github.com/docker/spdystream/spdy/read.go | 348 + .../docker/spdystream/spdy/types.go | 275 + .../docker/spdystream/spdy/write.go | 318 + vendor/github.com/docker/spdystream/stream.go | 327 + vendor/github.com/docker/spdystream/utils.go | 16 + 266 files changed, 61351 insertions(+), 53498 deletions(-) create mode 100644 discovery/helper.go create mode 100644 discovery/helper_blackbox_test.go delete mode 100644 kubernetes/typed/apps/v1alpha1/fake/fake_petset.go create mode 100644 kubernetes/typed/apps/v1alpha1/fake/fake_statefulset.go delete mode 100644 kubernetes/typed/apps/v1alpha1/petset.go create mode 100644 kubernetes/typed/apps/v1alpha1/statefulset.go create mode 100644 pkg/api/v1/zz_generated.defaults.go create mode 100644 pkg/apis/apps/v1alpha1/zz_generated.defaults.go create mode 100644 pkg/apis/autoscaling/v1/zz_generated.defaults.go create mode 100644 pkg/apis/batch/v1/zz_generated.defaults.go create mode 100644 pkg/apis/batch/v2alpha1/zz_generated.defaults.go create mode 100644 pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go create mode 100644 pkg/apis/extensions/v1beta1/zz_generated.defaults.go create mode 100644 pkg/apis/rbac/v1alpha1/zz_generated.defaults.go create mode 100644 pkg/kubelet/server/portforward/portforward.go create mode 100644 pkg/third_party/forked/golang/netutil/addr.go create mode 100644 pkg/util/httpstream/spdy/connection.go create mode 100644 pkg/util/httpstream/spdy/roundtripper.go create mode 100644 pkg/util/httpstream/spdy/upgrade.go create mode 100644 rest/fake/fake.go create mode 100644 tools/cache/mutation_detector.go create mode 100644 tools/cache/mutation_detector_test.go create mode 100644 vendor/github.com/docker/spdystream/CONTRIBUTING.md create mode 100644 vendor/github.com/docker/spdystream/LICENSE create mode 100644 vendor/github.com/docker/spdystream/LICENSE.docs create mode 100644 vendor/github.com/docker/spdystream/MAINTAINERS create mode 100644 vendor/github.com/docker/spdystream/README.md create mode 100644 vendor/github.com/docker/spdystream/connection.go create mode 100644 vendor/github.com/docker/spdystream/handlers.go create mode 100644 vendor/github.com/docker/spdystream/priority.go create mode 100644 vendor/github.com/docker/spdystream/spdy/dictionary.go create mode 100644 vendor/github.com/docker/spdystream/spdy/read.go create mode 100644 vendor/github.com/docker/spdystream/spdy/types.go create mode 100644 vendor/github.com/docker/spdystream/spdy/write.go create mode 100644 vendor/github.com/docker/spdystream/stream.go create mode 100644 vendor/github.com/docker/spdystream/utils.go diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index e0c0fe46..b9fa85a3 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -79,6 +79,14 @@ "Comment": "v2.4.0-rc.1-38-gcd27f17", "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" }, + { + "ImportPath": "github.com/docker/spdystream", + "Rev": "449fdfce4d962303d702fec724ef0ad181c92528" + }, + { + "ImportPath": "github.com/docker/spdystream/spdy", + "Rev": "449fdfce4d962303d702fec724ef0ad181c92528" + }, { "ImportPath": "github.com/emicklei/go-restful", "Comment": "v1.2-79-g89ef8af", diff --git a/discovery/discovery_client.go b/discovery/discovery_client.go index d4fc1fe8..51c32312 100644 --- a/discovery/discovery_client.go +++ b/discovery/discovery_client.go @@ -38,6 +38,7 @@ import ( // DiscoveryInterface holds the methods that discover server-supported API groups, // versions and resources. type DiscoveryInterface interface { + RESTClient() rest.Interface ServerGroupsInterface ServerResourcesInterface ServerVersionInterface @@ -80,7 +81,7 @@ type SwaggerSchemaInterface interface { // DiscoveryClient implements the functions that discover server-supported API groups, // versions and resources. type DiscoveryClient struct { - *rest.RESTClient + restClient rest.Interface LegacyPrefix string } @@ -107,7 +108,7 @@ func apiVersionsToAPIGroup(apiVersions *unversioned.APIVersions) (apiGroup unver func (d *DiscoveryClient) ServerGroups() (apiGroupList *unversioned.APIGroupList, err error) { // Get the groupVersions exposed at /api v := &unversioned.APIVersions{} - err = d.Get().AbsPath(d.LegacyPrefix).Do().Into(v) + err = d.restClient.Get().AbsPath(d.LegacyPrefix).Do().Into(v) apiGroup := unversioned.APIGroup{} if err == nil { apiGroup = apiVersionsToAPIGroup(v) @@ -118,7 +119,7 @@ func (d *DiscoveryClient) ServerGroups() (apiGroupList *unversioned.APIGroupList // Get the groupVersions exposed at /apis apiGroupList = &unversioned.APIGroupList{} - err = d.Get().AbsPath("/apis").Do().Into(apiGroupList) + err = d.restClient.Get().AbsPath("/apis").Do().Into(apiGroupList) if err != nil && !errors.IsNotFound(err) && !errors.IsForbidden(err) { return nil, err } @@ -144,7 +145,7 @@ func (d *DiscoveryClient) ServerResourcesForGroupVersion(groupVersion string) (r url.Path = "/apis/" + groupVersion } resources = &unversioned.APIResourceList{} - err = d.Get().AbsPath(url.String()).Do().Into(resources) + err = d.restClient.Get().AbsPath(url.String()).Do().Into(resources) if err != nil { // ignore 403 or 404 error to be compatible with an v1.0 server. if groupVersion == "v1" && (errors.IsNotFound(err) || errors.IsForbidden(err)) { @@ -255,7 +256,7 @@ func (d *DiscoveryClient) ServerPreferredNamespacedResources() ([]unversioned.Gr // ServerVersion retrieves and parses the server's version (git version). func (d *DiscoveryClient) ServerVersion() (*version.Info, error) { - body, err := d.Get().AbsPath("/version").Do().Raw() + body, err := d.restClient.Get().AbsPath("/version").Do().Raw() if err != nil { return nil, err } @@ -289,7 +290,7 @@ func (d *DiscoveryClient) SwaggerSchema(version unversioned.GroupVersion) (*swag path = "/swaggerapi/apis/" + version.Group + "/" + version.Version } - body, err := d.Get().AbsPath(path).Do().Raw() + body, err := d.restClient.Get().AbsPath(path).Do().Raw() if err != nil { return nil, err } @@ -305,10 +306,7 @@ func setDiscoveryDefaults(config *rest.Config) error { config.APIPath = "" config.GroupVersion = nil codec := runtime.NoopEncoder{Decoder: api.Codecs.UniversalDecoder()} - config.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper( - runtime.SerializerInfo{Serializer: codec}, - runtime.StreamSerializerInfo{}, - ) + config.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: codec}) if len(config.UserAgent) == 0 { config.UserAgent = rest.DefaultKubernetesUserAgent() } @@ -323,7 +321,7 @@ func NewDiscoveryClientForConfig(c *rest.Config) (*DiscoveryClient, error) { return nil, err } client, err := rest.UnversionedRESTClientFor(&config) - return &DiscoveryClient{RESTClient: client, LegacyPrefix: "/api"}, err + return &DiscoveryClient{restClient: client, LegacyPrefix: "/api"}, err } // NewDiscoveryClientForConfig creates a new DiscoveryClient for the given config. If @@ -338,8 +336,8 @@ func NewDiscoveryClientForConfigOrDie(c *rest.Config) *DiscoveryClient { } // New creates a new DiscoveryClient for the given RESTClient. -func NewDiscoveryClient(c *rest.RESTClient) *DiscoveryClient { - return &DiscoveryClient{RESTClient: c, LegacyPrefix: "/api"} +func NewDiscoveryClient(c rest.Interface) *DiscoveryClient { + return &DiscoveryClient{restClient: c, LegacyPrefix: "/api"} } func stringDoesntExistIn(str string, slice []string) bool { @@ -350,3 +348,12 @@ func stringDoesntExistIn(str string, slice []string) bool { } return true } + +// RESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *DiscoveryClient) RESTClient() rest.Interface { + if c == nil { + return nil + } + return c.restClient +} diff --git a/discovery/fake/discovery.go b/discovery/fake/discovery.go index b7cff35a..5b1fd548 100644 --- a/discovery/fake/discovery.go +++ b/discovery/fake/discovery.go @@ -21,6 +21,7 @@ import ( "k8s.io/client-go/pkg/api/unversioned" "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/version" + "k8s.io/client-go/rest" "k8s.io/client-go/testing" ) @@ -80,3 +81,7 @@ func (c *FakeDiscovery) SwaggerSchema(version unversioned.GroupVersion) (*swagge c.Invokes(action, nil) return &swagger.ApiDeclaration{}, nil } + +func (c *FakeDiscovery) RESTClient() rest.Interface { + return nil +} diff --git a/discovery/helper.go b/discovery/helper.go new file mode 100644 index 00000000..0e830d85 --- /dev/null +++ b/discovery/helper.go @@ -0,0 +1,135 @@ +/* +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. +*/ + +package discovery + +import ( + "fmt" + + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/util/sets" + "k8s.io/client-go/pkg/version" + "k8s.io/client-go/rest" + // Import solely to initialize client auth plugins. + _ "k8s.io/client-go/plugin/pkg/client/auth" +) + +// MatchesServerVersion queries the server to compares the build version +// (git hash) of the client with the server's build version. It returns an error +// if it failed to contact the server or if the versions are not an exact match. +func MatchesServerVersion(client DiscoveryInterface, c *rest.Config) error { + var err error + if client == nil { + client, err = NewDiscoveryClientForConfig(c) + if err != nil { + return err + } + } + cVer := version.Get() + sVer, err := client.ServerVersion() + if err != nil { + return fmt.Errorf("couldn't read version from server: %v\n", err) + } + // GitVersion includes GitCommit and GitTreeState, but best to be safe? + if cVer.GitVersion != sVer.GitVersion || cVer.GitCommit != sVer.GitCommit || cVer.GitTreeState != sVer.GitTreeState { + return fmt.Errorf("server version (%#v) differs from client version (%#v)!\n", sVer, cVer) + } + + return nil +} + +// NegotiateVersion queries the server's supported api versions to find +// a version that both client and server support. +// - If no version is provided, try registered client versions in order of +// preference. +// - If version is provided, but not default config (explicitly requested via +// commandline flag), and is unsupported by the server, print a warning to +// stderr and try client's registered versions in order of preference. +// - If version is config default, and the server does not support it, +// return an error. +func NegotiateVersion(client DiscoveryInterface, c *rest.Config, requestedGV *unversioned.GroupVersion, clientRegisteredGVs []unversioned.GroupVersion) (*unversioned.GroupVersion, error) { + var err error + if client == nil { + client, err = NewDiscoveryClientForConfig(c) + if err != nil { + return nil, err + } + } + clientVersions := sets.String{} + for _, gv := range clientRegisteredGVs { + clientVersions.Insert(gv.String()) + } + groups, err := client.ServerGroups() + if err != nil { + // This is almost always a connection error, and higher level code should treat this as a generic error, + // not a negotiation specific error. + return nil, err + } + versions := unversioned.ExtractGroupVersions(groups) + serverVersions := sets.String{} + for _, v := range versions { + serverVersions.Insert(v) + } + + // If no version requested, use config version (may also be empty). + // make a copy of the original so we don't risk mutating input here or in the returned value + var preferredGV *unversioned.GroupVersion + switch { + case requestedGV != nil: + t := *requestedGV + preferredGV = &t + case c.GroupVersion != nil: + t := *c.GroupVersion + preferredGV = &t + } + + // If version explicitly requested verify that both client and server support it. + // If server does not support warn, but try to negotiate a lower version. + if preferredGV != nil { + if !clientVersions.Has(preferredGV.String()) { + return nil, fmt.Errorf("client does not support API version %q; client supported API versions: %v", preferredGV, clientVersions) + + } + // If the server supports no versions, then we should just use the preferredGV + // This can happen because discovery fails due to 403 Forbidden errors + if len(serverVersions) == 0 { + return preferredGV, nil + } + if serverVersions.Has(preferredGV.String()) { + return preferredGV, nil + } + // If we are using an explicit config version the server does not support, fail. + if (c.GroupVersion != nil) && (*preferredGV == *c.GroupVersion) { + return nil, fmt.Errorf("server does not support API version %q", preferredGV) + } + } + + for _, clientGV := range clientRegisteredGVs { + if serverVersions.Has(clientGV.String()) { + // Version was not explicitly requested in command config (--api-version). + // Ok to fall back to a supported version with a warning. + // TODO: caesarxuchao: enable the warning message when we have + // proper fix. Please refer to issue #14895. + // if len(version) != 0 { + // glog.Warningf("Server does not support API version '%s'. Falling back to '%s'.", version, clientVersion) + // } + t := clientGV + return &t, nil + } + } + return nil, fmt.Errorf("failed to negotiate an api version; server supports: %v, client supports: %v", + serverVersions, clientVersions) +} diff --git a/discovery/helper_blackbox_test.go b/discovery/helper_blackbox_test.go new file mode 100644 index 00000000..d227797c --- /dev/null +++ b/discovery/helper_blackbox_test.go @@ -0,0 +1,158 @@ +/* +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 discovery_test + +import ( + "bytes" + "encoding/json" + "errors" + "io" + "io/ioutil" + "net/http" + "strings" + "testing" + + "k8s.io/client-go/discovery" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/testapi" + uapi "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/rest" + "k8s.io/client-go/rest/fake" +) + +func objBody(object interface{}) io.ReadCloser { + output, err := json.MarshalIndent(object, "", "") + if err != nil { + panic(err) + } + return ioutil.NopCloser(bytes.NewReader([]byte(output))) +} + +func TestNegotiateVersion(t *testing.T) { + tests := []struct { + name string + version *uapi.GroupVersion + expectedVersion *uapi.GroupVersion + serverVersions []string + clientVersions []uapi.GroupVersion + config *rest.Config + expectErr func(err error) bool + sendErr error + statusCode int + }{ + { + name: "server supports client default", + version: &uapi.GroupVersion{Version: "version1"}, + config: &rest.Config{}, + serverVersions: []string{"version1", registered.GroupOrDie(api.GroupName).GroupVersion.String()}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + expectedVersion: &uapi.GroupVersion{Version: "version1"}, + statusCode: http.StatusOK, + }, + { + name: "server falls back to client supported", + version: ®istered.GroupOrDie(api.GroupName).GroupVersion, + config: &rest.Config{}, + serverVersions: []string{"version1"}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + expectedVersion: &uapi.GroupVersion{Version: "version1"}, + statusCode: http.StatusOK, + }, + { + name: "explicit version supported", + config: &rest.Config{ContentConfig: rest.ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}}, + serverVersions: []string{"/version1", registered.GroupOrDie(api.GroupName).GroupVersion.String()}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + expectedVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, + statusCode: http.StatusOK, + }, + { + name: "explicit version not supported", + config: &rest.Config{ContentConfig: rest.ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}}, + serverVersions: []string{"version1"}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + expectErr: func(err error) bool { return strings.Contains(err.Error(), `server does not support API version "v1"`) }, + statusCode: http.StatusOK, + }, + { + name: "connection refused error", + config: &rest.Config{ContentConfig: rest.ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}}, + serverVersions: []string{"version1"}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.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", + config: &rest.Config{ContentConfig: rest.ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + expectedVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, + statusCode: http.StatusForbidden, + }, + { + name: "discovery fails due to 404 Not Found errors and thus serverVersions is empty, use requested GroupVersion", + version: &uapi.GroupVersion{Version: "version1"}, + config: &rest.Config{ContentConfig: rest.ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + expectedVersion: &uapi.GroupVersion{Version: "version1"}, + statusCode: http.StatusNotFound, + }, + { + name: "discovery fails due to 403 Forbidden errors and thus serverVersions is empty, no fallback GroupVersion", + config: &rest.Config{}, + clientVersions: []uapi.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + expectErr: func(err error) bool { return strings.Contains(err.Error(), "failed to negotiate an api version;") }, + statusCode: http.StatusForbidden, + }, + } + + for _, test := range tests { + fakeClient := &fake.RESTClient{ + NegotiatedSerializer: testapi.Default.NegotiatedSerializer(), + Resp: &http.Response{ + StatusCode: test.statusCode, + Body: objBody(&uapi.APIVersions{Versions: test.serverVersions}), + }, + Client: fake.CreateHTTPClient(func(req *http.Request) (*http.Response, error) { + if test.sendErr != nil { + return nil, test.sendErr + } + header := http.Header{} + header.Set("Content-Type", runtime.ContentTypeJSON) + return &http.Response{StatusCode: test.statusCode, Header: header, Body: objBody(&uapi.APIVersions{Versions: test.serverVersions})}, nil + }), + } + c := discovery.NewDiscoveryClientForConfigOrDie(test.config) + c.RESTClient().(*rest.RESTClient).Client = fakeClient.Client + response, err := discovery.NegotiateVersion(c, test.config, test.version, test.clientVersions) + if err == nil && test.expectErr != nil { + t.Errorf("expected error, got nil for [%s].", test.name) + } + if err != nil { + if test.expectErr == nil || !test.expectErr(err) { + t.Errorf("unexpected error for [%s]: %v.", test.name, err) + } + continue + } + if *response != *test.expectedVersion { + t.Errorf("%s: expected version %s, got %s.", test.name, test.expectedVersion, response) + } + } +} diff --git a/dynamic/client.go b/dynamic/client.go index 12fb2145..ca5d457d 100644 --- a/dynamic/client.go +++ b/dynamic/client.go @@ -241,13 +241,22 @@ func (dynamicCodec) Encode(obj runtime.Object, w io.Writer) error { // ContentConfig returns a rest.ContentConfig for dynamic types. func ContentConfig() rest.ContentConfig { - // TODO: it's questionable that this should be using anything other than unstructured schema and JSON - codec := dynamicCodec{} - streamingInfo, _ := api.Codecs.StreamingSerializerForMediaType("application/json;stream=watch", nil) + var jsonInfo runtime.SerializerInfo + // TODO: api.Codecs here should become "pkg/apis/server/scheme" which is the minimal core you need + // to talk to a kubernetes server + for _, info := range api.Codecs.SupportedMediaTypes() { + if info.MediaType == runtime.ContentTypeJSON { + jsonInfo = info + break + } + } + + jsonInfo.Serializer = dynamicCodec{} + jsonInfo.PrettySerializer = nil return rest.ContentConfig{ AcceptContentTypes: runtime.ContentTypeJSON, ContentType: runtime.ContentTypeJSON, - NegotiatedSerializer: serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: codec}, streamingInfo), + NegotiatedSerializer: serializer.NegotiatedSerializerWrapper(jsonInfo), } } diff --git a/dynamic/client_pool.go b/dynamic/client_pool.go index c1852ff4..f54a3813 100644 --- a/dynamic/client_pool.go +++ b/dynamic/client_pool.go @@ -19,11 +19,8 @@ package dynamic import ( "sync" - "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/meta" "k8s.io/client-go/pkg/api/unversioned" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/serializer" "k8s.io/client-go/rest" ) @@ -64,6 +61,7 @@ type clientPoolImpl struct { // resources or groups. func NewClientPool(config *rest.Config, mapper meta.RESTMapper, apiPathResolverFunc APIPathResolverFunc) ClientPool { confCopy := *config + return &clientPoolImpl{ config: &confCopy, clients: map[unversioned.GroupVersion]*Client{}, @@ -108,11 +106,6 @@ func (c *clientPoolImpl) ClientForGroupVersionKind(kind unversioned.GroupVersion // we need to make a client conf.GroupVersion = &gv - if conf.NegotiatedSerializer == nil { - streamingInfo, _ := api.Codecs.StreamingSerializerForMediaType("application/json;stream=watch", nil) - conf.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: dynamicCodec{}}, streamingInfo) - } - dynamicClient, err := NewClient(conf) if err != nil { return nil, err diff --git a/dynamic/client_test.go b/dynamic/client_test.go index cdf8c4eb..dfa56cab 100644 --- a/dynamic/client_test.go +++ b/dynamic/client_test.go @@ -529,6 +529,7 @@ func TestPatch(t *testing.T) { return } + w.Header().Set("Content-Type", "application/json") w.Write(data) }) if err != nil { diff --git a/kubernetes/clientset.go b/kubernetes/clientset.go index b93b77ec..6f6bce57 100644 --- a/kubernetes/clientset.go +++ b/kubernetes/clientset.go @@ -242,7 +242,7 @@ func NewForConfigOrDie(c *rest.Config) *Clientset { } // New creates a new Clientset for the given RESTClient. -func New(c *rest.RESTClient) *Clientset { +func New(c rest.Interface) *Clientset { var clientset Clientset clientset.CoreClient = v1core.New(c) clientset.AppsClient = v1alpha1apps.New(c) diff --git a/kubernetes/typed/apps/v1alpha1/apps_client.go b/kubernetes/typed/apps/v1alpha1/apps_client.go index e55e96c8..8a515811 100644 --- a/kubernetes/typed/apps/v1alpha1/apps_client.go +++ b/kubernetes/typed/apps/v1alpha1/apps_client.go @@ -24,17 +24,17 @@ import ( ) type AppsInterface interface { - GetRESTClient() *rest.RESTClient - PetSetsGetter + RESTClient() rest.Interface + StatefulSetsGetter } // AppsClient is used to interact with features provided by the Apps group. type AppsClient struct { - *rest.RESTClient + restClient rest.Interface } -func (c *AppsClient) PetSets(namespace string) PetSetInterface { - return newPetSets(c, namespace) +func (c *AppsClient) StatefulSets(namespace string) StatefulSetInterface { + return newStatefulSets(c, namespace) } // NewForConfig creates a new AppsClient for the given config. @@ -61,7 +61,7 @@ func NewForConfigOrDie(c *rest.Config) *AppsClient { } // New creates a new AppsClient for the given RESTClient. -func New(c *rest.RESTClient) *AppsClient { +func New(c rest.Interface) *AppsClient { return &AppsClient{c} } @@ -86,11 +86,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *AppsClient) GetRESTClient() *rest.RESTClient { +func (c *AppsClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go b/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go index 71c04b53..0b82c9fb 100644 --- a/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go +++ b/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go @@ -26,12 +26,13 @@ type FakeApps struct { *testing.Fake } -func (c *FakeApps) PetSets(namespace string) v1alpha1.PetSetInterface { - return &FakePetSets{c, namespace} +func (c *FakeApps) StatefulSets(namespace string) v1alpha1.StatefulSetInterface { + return &FakeStatefulSets{c, namespace} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeApps) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeApps) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go b/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go deleted file mode 100644 index f4ba2e83..00000000 --- a/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go +++ /dev/null @@ -1,128 +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. -*/ - -package fake - -import ( - api "k8s.io/client-go/pkg/api" - unversioned "k8s.io/client-go/pkg/api/unversioned" - v1 "k8s.io/client-go/pkg/api/v1" - v1alpha1 "k8s.io/client-go/pkg/apis/apps/v1alpha1" - labels "k8s.io/client-go/pkg/labels" - watch "k8s.io/client-go/pkg/watch" - testing "k8s.io/client-go/testing" -) - -// FakePetSets implements PetSetInterface -type FakePetSets struct { - Fake *FakeApps - ns string -} - -var petsetsResource = unversioned.GroupVersionResource{Group: "apps", Version: "v1alpha1", Resource: "petsets"} - -func (c *FakePetSets) Create(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error) { - obj, err := c.Fake. - Invokes(testing.NewCreateAction(petsetsResource, c.ns, petSet), &v1alpha1.PetSet{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha1.PetSet), err -} - -func (c *FakePetSets) Update(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateAction(petsetsResource, c.ns, petSet), &v1alpha1.PetSet{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha1.PetSet), err -} - -func (c *FakePetSets) UpdateStatus(petSet *v1alpha1.PetSet) (*v1alpha1.PetSet, error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceAction(petsetsResource, "status", c.ns, petSet), &v1alpha1.PetSet{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha1.PetSet), err -} - -func (c *FakePetSets) Delete(name string, options *v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteAction(petsetsResource, c.ns, name), &v1alpha1.PetSet{}) - - return err -} - -func (c *FakePetSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - action := testing.NewDeleteCollectionAction(petsetsResource, c.ns, listOptions) - - _, err := c.Fake.Invokes(action, &v1alpha1.PetSetList{}) - return err -} - -func (c *FakePetSets) Get(name string) (result *v1alpha1.PetSet, err error) { - obj, err := c.Fake. - Invokes(testing.NewGetAction(petsetsResource, c.ns, name), &v1alpha1.PetSet{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha1.PetSet), err -} - -func (c *FakePetSets) List(opts v1.ListOptions) (result *v1alpha1.PetSetList, err error) { - obj, err := c.Fake. - Invokes(testing.NewListAction(petsetsResource, c.ns, opts), &v1alpha1.PetSetList{}) - - if obj == nil { - return nil, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.PetSetList{} - for _, item := range obj.(*v1alpha1.PetSetList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested petSets. -func (c *FakePetSets) Watch(opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchAction(petsetsResource, c.ns, opts)) - -} - -// Patch applies the patch and returns the patched petSet. -func (c *FakePetSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PetSet, err error) { - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceAction(petsetsResource, c.ns, name, data, subresources...), &v1alpha1.PetSet{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha1.PetSet), err -} diff --git a/kubernetes/typed/apps/v1alpha1/fake/fake_statefulset.go b/kubernetes/typed/apps/v1alpha1/fake/fake_statefulset.go new file mode 100644 index 00000000..1697b39f --- /dev/null +++ b/kubernetes/typed/apps/v1alpha1/fake/fake_statefulset.go @@ -0,0 +1,128 @@ +/* +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. +*/ + +package fake + +import ( + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/apps/v1alpha1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" +) + +// FakeStatefulSets implements StatefulSetInterface +type FakeStatefulSets struct { + Fake *FakeApps + ns string +} + +var statefulsetsResource = unversioned.GroupVersionResource{Group: "apps", Version: "v1alpha1", Resource: "statefulsets"} + +func (c *FakeStatefulSets) Create(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error) { + obj, err := c.Fake. + Invokes(testing.NewCreateAction(statefulsetsResource, c.ns, statefulSet), &v1alpha1.StatefulSet{}) + + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.StatefulSet), err +} + +func (c *FakeStatefulSets) Update(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error) { + obj, err := c.Fake. + Invokes(testing.NewUpdateAction(statefulsetsResource, c.ns, statefulSet), &v1alpha1.StatefulSet{}) + + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.StatefulSet), err +} + +func (c *FakeStatefulSets) UpdateStatus(statefulSet *v1alpha1.StatefulSet) (*v1alpha1.StatefulSet, error) { + obj, err := c.Fake. + Invokes(testing.NewUpdateSubresourceAction(statefulsetsResource, "status", c.ns, statefulSet), &v1alpha1.StatefulSet{}) + + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.StatefulSet), err +} + +func (c *FakeStatefulSets) Delete(name string, options *v1.DeleteOptions) error { + _, err := c.Fake. + Invokes(testing.NewDeleteAction(statefulsetsResource, c.ns, name), &v1alpha1.StatefulSet{}) + + return err +} + +func (c *FakeStatefulSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { + action := testing.NewDeleteCollectionAction(statefulsetsResource, c.ns, listOptions) + + _, err := c.Fake.Invokes(action, &v1alpha1.StatefulSetList{}) + return err +} + +func (c *FakeStatefulSets) Get(name string) (result *v1alpha1.StatefulSet, err error) { + obj, err := c.Fake. + Invokes(testing.NewGetAction(statefulsetsResource, c.ns, name), &v1alpha1.StatefulSet{}) + + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.StatefulSet), err +} + +func (c *FakeStatefulSets) List(opts v1.ListOptions) (result *v1alpha1.StatefulSetList, err error) { + obj, err := c.Fake. + Invokes(testing.NewListAction(statefulsetsResource, c.ns, opts), &v1alpha1.StatefulSetList{}) + + if obj == nil { + return nil, err + } + + label, _, _ := testing.ExtractFromListOptions(opts) + if label == nil { + label = labels.Everything() + } + list := &v1alpha1.StatefulSetList{} + for _, item := range obj.(*v1alpha1.StatefulSetList).Items { + if label.Matches(labels.Set(item.Labels)) { + list.Items = append(list.Items, item) + } + } + return list, err +} + +// Watch returns a watch.Interface that watches the requested statefulSets. +func (c *FakeStatefulSets) Watch(opts v1.ListOptions) (watch.Interface, error) { + return c.Fake. + InvokesWatch(testing.NewWatchAction(statefulsetsResource, c.ns, opts)) + +} + +// Patch applies the patch and returns the patched statefulSet. +func (c *FakeStatefulSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.StatefulSet, err error) { + obj, err := c.Fake. + Invokes(testing.NewPatchSubresourceAction(statefulsetsResource, c.ns, name, data, subresources...), &v1alpha1.StatefulSet{}) + + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.StatefulSet), err +} diff --git a/kubernetes/typed/apps/v1alpha1/generated_expansion.go b/kubernetes/typed/apps/v1alpha1/generated_expansion.go index 439a241b..bbf6c914 100644 --- a/kubernetes/typed/apps/v1alpha1/generated_expansion.go +++ b/kubernetes/typed/apps/v1alpha1/generated_expansion.go @@ -16,4 +16,4 @@ limitations under the License. package v1alpha1 -type PetSetExpansion interface{} +type StatefulSetExpansion interface{} diff --git a/kubernetes/typed/apps/v1alpha1/petset.go b/kubernetes/typed/apps/v1alpha1/petset.go deleted file mode 100644 index 67fdd1ce..00000000 --- a/kubernetes/typed/apps/v1alpha1/petset.go +++ /dev/null @@ -1,166 +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. -*/ - -package v1alpha1 - -import ( - api "k8s.io/client-go/pkg/api" - v1 "k8s.io/client-go/pkg/api/v1" - v1alpha1 "k8s.io/client-go/pkg/apis/apps/v1alpha1" - watch "k8s.io/client-go/pkg/watch" -) - -// PetSetsGetter has a method to return a PetSetInterface. -// A group's client should implement this interface. -type PetSetsGetter interface { - PetSets(namespace string) PetSetInterface -} - -// PetSetInterface has methods to work with PetSet resources. -type PetSetInterface interface { - Create(*v1alpha1.PetSet) (*v1alpha1.PetSet, error) - Update(*v1alpha1.PetSet) (*v1alpha1.PetSet, error) - UpdateStatus(*v1alpha1.PetSet) (*v1alpha1.PetSet, error) - Delete(name string, options *v1.DeleteOptions) error - DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error - Get(name string) (*v1alpha1.PetSet, error) - List(opts v1.ListOptions) (*v1alpha1.PetSetList, error) - Watch(opts v1.ListOptions) (watch.Interface, error) - Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PetSet, err error) - PetSetExpansion -} - -// petSets implements PetSetInterface -type petSets struct { - client *AppsClient - ns string -} - -// newPetSets returns a PetSets -func newPetSets(c *AppsClient, namespace string) *petSets { - return &petSets{ - client: c, - ns: namespace, - } -} - -// Create takes the representation of a petSet and creates it. Returns the server's representation of the petSet, and an error, if there is any. -func (c *petSets) Create(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error) { - result = &v1alpha1.PetSet{} - err = c.client.Post(). - Namespace(c.ns). - Resource("petsets"). - Body(petSet). - Do(). - Into(result) - return -} - -// Update takes the representation of a petSet and updates it. Returns the server's representation of the petSet, and an error, if there is any. -func (c *petSets) Update(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error) { - result = &v1alpha1.PetSet{} - err = c.client.Put(). - Namespace(c.ns). - Resource("petsets"). - Name(petSet.Name). - Body(petSet). - Do(). - Into(result) - return -} - -func (c *petSets) UpdateStatus(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error) { - result = &v1alpha1.PetSet{} - err = c.client.Put(). - Namespace(c.ns). - Resource("petsets"). - Name(petSet.Name). - SubResource("status"). - Body(petSet). - Do(). - Into(result) - return -} - -// Delete takes name of the petSet and deletes it. Returns an error if one occurs. -func (c *petSets) Delete(name string, options *v1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("petsets"). - Name(name). - Body(options). - Do(). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *petSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("petsets"). - VersionedParams(&listOptions, api.ParameterCodec). - Body(options). - Do(). - Error() -} - -// Get takes name of the petSet, and returns the corresponding petSet object, and an error if there is any. -func (c *petSets) Get(name string) (result *v1alpha1.PetSet, err error) { - result = &v1alpha1.PetSet{} - err = c.client.Get(). - Namespace(c.ns). - Resource("petsets"). - Name(name). - Do(). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of PetSets that match those selectors. -func (c *petSets) List(opts v1.ListOptions) (result *v1alpha1.PetSetList, err error) { - result = &v1alpha1.PetSetList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("petsets"). - VersionedParams(&opts, api.ParameterCodec). - Do(). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested petSets. -func (c *petSets) Watch(opts v1.ListOptions) (watch.Interface, error) { - return c.client.Get(). - Prefix("watch"). - Namespace(c.ns). - Resource("petsets"). - VersionedParams(&opts, api.ParameterCodec). - Watch() -} - -// Patch applies the patch and returns the patched petSet. -func (c *petSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PetSet, err error) { - result = &v1alpha1.PetSet{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("petsets"). - SubResource(subresources...). - Name(name). - Body(data). - Do(). - Into(result) - return -} diff --git a/kubernetes/typed/apps/v1alpha1/statefulset.go b/kubernetes/typed/apps/v1alpha1/statefulset.go new file mode 100644 index 00000000..d5e3f9f8 --- /dev/null +++ b/kubernetes/typed/apps/v1alpha1/statefulset.go @@ -0,0 +1,167 @@ +/* +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. +*/ + +package v1alpha1 + +import ( + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/apps/v1alpha1" + watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" +) + +// StatefulSetsGetter has a method to return a StatefulSetInterface. +// A group's client should implement this interface. +type StatefulSetsGetter interface { + StatefulSets(namespace string) StatefulSetInterface +} + +// StatefulSetInterface has methods to work with StatefulSet resources. +type StatefulSetInterface interface { + Create(*v1alpha1.StatefulSet) (*v1alpha1.StatefulSet, error) + Update(*v1alpha1.StatefulSet) (*v1alpha1.StatefulSet, error) + UpdateStatus(*v1alpha1.StatefulSet) (*v1alpha1.StatefulSet, error) + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error + Get(name string) (*v1alpha1.StatefulSet, error) + List(opts v1.ListOptions) (*v1alpha1.StatefulSetList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) + Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.StatefulSet, err error) + StatefulSetExpansion +} + +// statefulSets implements StatefulSetInterface +type statefulSets struct { + client rest.Interface + ns string +} + +// newStatefulSets returns a StatefulSets +func newStatefulSets(c *AppsClient, namespace string) *statefulSets { + return &statefulSets{ + client: c.RESTClient(), + ns: namespace, + } +} + +// Create takes the representation of a statefulSet and creates it. Returns the server's representation of the statefulSet, and an error, if there is any. +func (c *statefulSets) Create(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error) { + result = &v1alpha1.StatefulSet{} + err = c.client.Post(). + Namespace(c.ns). + Resource("statefulsets"). + Body(statefulSet). + Do(). + Into(result) + return +} + +// Update takes the representation of a statefulSet and updates it. Returns the server's representation of the statefulSet, and an error, if there is any. +func (c *statefulSets) Update(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error) { + result = &v1alpha1.StatefulSet{} + err = c.client.Put(). + Namespace(c.ns). + Resource("statefulsets"). + Name(statefulSet.Name). + Body(statefulSet). + Do(). + Into(result) + return +} + +func (c *statefulSets) UpdateStatus(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error) { + result = &v1alpha1.StatefulSet{} + err = c.client.Put(). + Namespace(c.ns). + Resource("statefulsets"). + Name(statefulSet.Name). + SubResource("status"). + Body(statefulSet). + Do(). + Into(result) + return +} + +// Delete takes name of the statefulSet and deletes it. Returns an error if one occurs. +func (c *statefulSets) Delete(name string, options *v1.DeleteOptions) error { + return c.client.Delete(). + Namespace(c.ns). + Resource("statefulsets"). + Name(name). + Body(options). + Do(). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *statefulSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { + return c.client.Delete(). + Namespace(c.ns). + Resource("statefulsets"). + VersionedParams(&listOptions, api.ParameterCodec). + Body(options). + Do(). + Error() +} + +// Get takes name of the statefulSet, and returns the corresponding statefulSet object, and an error if there is any. +func (c *statefulSets) Get(name string) (result *v1alpha1.StatefulSet, err error) { + result = &v1alpha1.StatefulSet{} + err = c.client.Get(). + Namespace(c.ns). + Resource("statefulsets"). + Name(name). + Do(). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of StatefulSets that match those selectors. +func (c *statefulSets) List(opts v1.ListOptions) (result *v1alpha1.StatefulSetList, err error) { + result = &v1alpha1.StatefulSetList{} + err = c.client.Get(). + Namespace(c.ns). + Resource("statefulsets"). + VersionedParams(&opts, api.ParameterCodec). + Do(). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested statefulSets. +func (c *statefulSets) Watch(opts v1.ListOptions) (watch.Interface, error) { + return c.client.Get(). + Prefix("watch"). + Namespace(c.ns). + Resource("statefulsets"). + VersionedParams(&opts, api.ParameterCodec). + Watch() +} + +// Patch applies the patch and returns the patched statefulSet. +func (c *statefulSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.StatefulSet, err error) { + result = &v1alpha1.StatefulSet{} + err = c.client.Patch(pt). + Namespace(c.ns). + Resource("statefulsets"). + SubResource(subresources...). + Name(name). + Body(data). + Do(). + Into(result) + return +} diff --git a/kubernetes/typed/authentication/v1beta1/authentication_client.go b/kubernetes/typed/authentication/v1beta1/authentication_client.go index e619ca97..950096bb 100644 --- a/kubernetes/typed/authentication/v1beta1/authentication_client.go +++ b/kubernetes/typed/authentication/v1beta1/authentication_client.go @@ -24,13 +24,13 @@ import ( ) type AuthenticationInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface TokenReviewsGetter } // AuthenticationClient is used to interact with features provided by the Authentication group. type AuthenticationClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *AuthenticationClient) TokenReviews() TokenReviewInterface { @@ -61,7 +61,7 @@ func NewForConfigOrDie(c *rest.Config) *AuthenticationClient { } // New creates a new AuthenticationClient for the given RESTClient. -func New(c *rest.RESTClient) *AuthenticationClient { +func New(c rest.Interface) *AuthenticationClient { return &AuthenticationClient{c} } @@ -86,11 +86,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *AuthenticationClient) GetRESTClient() *rest.RESTClient { +func (c *AuthenticationClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go b/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go index 2179b381..8ff2dcd3 100644 --- a/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go +++ b/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go @@ -30,8 +30,9 @@ func (c *FakeAuthentication) TokenReviews() v1beta1.TokenReviewInterface { return &FakeTokenReviews{c} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeAuthentication) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeAuthentication) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/authentication/v1beta1/tokenreview.go b/kubernetes/typed/authentication/v1beta1/tokenreview.go index dc9313ba..8442ec61 100644 --- a/kubernetes/typed/authentication/v1beta1/tokenreview.go +++ b/kubernetes/typed/authentication/v1beta1/tokenreview.go @@ -16,6 +16,10 @@ limitations under the License. package v1beta1 +import ( + rest "k8s.io/client-go/rest" +) + // TokenReviewsGetter has a method to return a TokenReviewInterface. // A group's client should implement this interface. type TokenReviewsGetter interface { @@ -29,12 +33,12 @@ type TokenReviewInterface interface { // tokenReviews implements TokenReviewInterface type tokenReviews struct { - client *AuthenticationClient + client rest.Interface } // newTokenReviews returns a TokenReviews func newTokenReviews(c *AuthenticationClient) *tokenReviews { return &tokenReviews{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/authorization/v1beta1/authorization_client.go b/kubernetes/typed/authorization/v1beta1/authorization_client.go index 96081b29..a57434d6 100644 --- a/kubernetes/typed/authorization/v1beta1/authorization_client.go +++ b/kubernetes/typed/authorization/v1beta1/authorization_client.go @@ -24,7 +24,7 @@ import ( ) type AuthorizationInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface LocalSubjectAccessReviewsGetter SelfSubjectAccessReviewsGetter SubjectAccessReviewsGetter @@ -32,7 +32,7 @@ type AuthorizationInterface interface { // AuthorizationClient is used to interact with features provided by the Authorization group. type AuthorizationClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *AuthorizationClient) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface { @@ -71,7 +71,7 @@ func NewForConfigOrDie(c *rest.Config) *AuthorizationClient { } // New creates a new AuthorizationClient for the given RESTClient. -func New(c *rest.RESTClient) *AuthorizationClient { +func New(c rest.Interface) *AuthorizationClient { return &AuthorizationClient{c} } @@ -96,11 +96,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *AuthorizationClient) GetRESTClient() *rest.RESTClient { +func (c *AuthorizationClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go b/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go index a0544a83..bb240c08 100644 --- a/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go +++ b/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go @@ -38,8 +38,9 @@ func (c *FakeAuthorization) SubjectAccessReviews() v1beta1.SubjectAccessReviewIn return &FakeSubjectAccessReviews{c} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeAuthorization) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeAuthorization) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go index c605b8d0..62cc83a2 100644 --- a/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go @@ -16,6 +16,10 @@ limitations under the License. package v1beta1 +import ( + rest "k8s.io/client-go/rest" +) + // LocalSubjectAccessReviewsGetter has a method to return a LocalSubjectAccessReviewInterface. // A group's client should implement this interface. type LocalSubjectAccessReviewsGetter interface { @@ -29,14 +33,14 @@ type LocalSubjectAccessReviewInterface interface { // localSubjectAccessReviews implements LocalSubjectAccessReviewInterface type localSubjectAccessReviews struct { - client *AuthorizationClient + client rest.Interface ns string } // newLocalSubjectAccessReviews returns a LocalSubjectAccessReviews func newLocalSubjectAccessReviews(c *AuthorizationClient, namespace string) *localSubjectAccessReviews { return &localSubjectAccessReviews{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go index 7e0fd5fc..4a3273dc 100644 --- a/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go @@ -16,6 +16,10 @@ limitations under the License. package v1beta1 +import ( + rest "k8s.io/client-go/rest" +) + // SelfSubjectAccessReviewsGetter has a method to return a SelfSubjectAccessReviewInterface. // A group's client should implement this interface. type SelfSubjectAccessReviewsGetter interface { @@ -29,12 +33,12 @@ type SelfSubjectAccessReviewInterface interface { // selfSubjectAccessReviews implements SelfSubjectAccessReviewInterface type selfSubjectAccessReviews struct { - client *AuthorizationClient + client rest.Interface } // newSelfSubjectAccessReviews returns a SelfSubjectAccessReviews func newSelfSubjectAccessReviews(c *AuthorizationClient) *selfSubjectAccessReviews { return &selfSubjectAccessReviews{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go index 1c936721..9e1fe96d 100644 --- a/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go @@ -16,6 +16,10 @@ limitations under the License. package v1beta1 +import ( + rest "k8s.io/client-go/rest" +) + // SubjectAccessReviewsGetter has a method to return a SubjectAccessReviewInterface. // A group's client should implement this interface. type SubjectAccessReviewsGetter interface { @@ -29,12 +33,12 @@ type SubjectAccessReviewInterface interface { // subjectAccessReviews implements SubjectAccessReviewInterface type subjectAccessReviews struct { - client *AuthorizationClient + client rest.Interface } // newSubjectAccessReviews returns a SubjectAccessReviews func newSubjectAccessReviews(c *AuthorizationClient) *subjectAccessReviews { return &subjectAccessReviews{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/autoscaling/v1/autoscaling_client.go b/kubernetes/typed/autoscaling/v1/autoscaling_client.go index 62c27538..406916de 100644 --- a/kubernetes/typed/autoscaling/v1/autoscaling_client.go +++ b/kubernetes/typed/autoscaling/v1/autoscaling_client.go @@ -24,13 +24,13 @@ import ( ) type AutoscalingInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface HorizontalPodAutoscalersGetter } // AutoscalingClient is used to interact with features provided by the Autoscaling group. type AutoscalingClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *AutoscalingClient) HorizontalPodAutoscalers(namespace string) HorizontalPodAutoscalerInterface { @@ -61,7 +61,7 @@ func NewForConfigOrDie(c *rest.Config) *AutoscalingClient { } // New creates a new AutoscalingClient for the given RESTClient. -func New(c *rest.RESTClient) *AutoscalingClient { +func New(c rest.Interface) *AutoscalingClient { return &AutoscalingClient{c} } @@ -86,11 +86,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *AutoscalingClient) GetRESTClient() *rest.RESTClient { +func (c *AutoscalingClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go b/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go index b5e93f0f..4538431b 100644 --- a/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go +++ b/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go @@ -30,8 +30,9 @@ func (c *FakeAutoscaling) HorizontalPodAutoscalers(namespace string) v1.Horizont return &FakeHorizontalPodAutoscalers{c, namespace} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeAutoscaling) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeAutoscaling) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go b/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go index d344aa15..ed44db76 100644 --- a/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go +++ b/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go @@ -21,6 +21,7 @@ import ( api_v1 "k8s.io/client-go/pkg/api/v1" v1 "k8s.io/client-go/pkg/apis/autoscaling/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // HorizontalPodAutoscalersGetter has a method to return a HorizontalPodAutoscalerInterface. @@ -45,14 +46,14 @@ type HorizontalPodAutoscalerInterface interface { // horizontalPodAutoscalers implements HorizontalPodAutoscalerInterface type horizontalPodAutoscalers struct { - client *AutoscalingClient + client rest.Interface ns string } // newHorizontalPodAutoscalers returns a HorizontalPodAutoscalers func newHorizontalPodAutoscalers(c *AutoscalingClient, namespace string) *horizontalPodAutoscalers { return &horizontalPodAutoscalers{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/batch/v1/batch_client.go b/kubernetes/typed/batch/v1/batch_client.go index e6660581..fb7ab36c 100644 --- a/kubernetes/typed/batch/v1/batch_client.go +++ b/kubernetes/typed/batch/v1/batch_client.go @@ -24,13 +24,13 @@ import ( ) type BatchInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface JobsGetter } // BatchClient is used to interact with features provided by the Batch group. type BatchClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *BatchClient) Jobs(namespace string) JobInterface { @@ -61,7 +61,7 @@ func NewForConfigOrDie(c *rest.Config) *BatchClient { } // New creates a new BatchClient for the given RESTClient. -func New(c *rest.RESTClient) *BatchClient { +func New(c rest.Interface) *BatchClient { return &BatchClient{c} } @@ -86,11 +86,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *BatchClient) GetRESTClient() *rest.RESTClient { +func (c *BatchClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/batch/v1/fake/fake_batch_client.go b/kubernetes/typed/batch/v1/fake/fake_batch_client.go index bed84037..47e4dbf7 100644 --- a/kubernetes/typed/batch/v1/fake/fake_batch_client.go +++ b/kubernetes/typed/batch/v1/fake/fake_batch_client.go @@ -30,8 +30,9 @@ func (c *FakeBatch) Jobs(namespace string) v1.JobInterface { return &FakeJobs{c, namespace} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeBatch) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeBatch) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/batch/v1/job.go b/kubernetes/typed/batch/v1/job.go index 16d50308..5d7d9a25 100644 --- a/kubernetes/typed/batch/v1/job.go +++ b/kubernetes/typed/batch/v1/job.go @@ -21,6 +21,7 @@ import ( api_v1 "k8s.io/client-go/pkg/api/v1" v1 "k8s.io/client-go/pkg/apis/batch/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // JobsGetter has a method to return a JobInterface. @@ -45,14 +46,14 @@ type JobInterface interface { // jobs implements JobInterface type jobs struct { - client *BatchClient + client rest.Interface ns string } // newJobs returns a Jobs func newJobs(c *BatchClient, namespace string) *jobs { return &jobs{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/certificates/v1alpha1/certificates_client.go b/kubernetes/typed/certificates/v1alpha1/certificates_client.go index 0d0df09b..872367ea 100644 --- a/kubernetes/typed/certificates/v1alpha1/certificates_client.go +++ b/kubernetes/typed/certificates/v1alpha1/certificates_client.go @@ -24,13 +24,13 @@ import ( ) type CertificatesInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface CertificateSigningRequestsGetter } // CertificatesClient is used to interact with features provided by the Certificates group. type CertificatesClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *CertificatesClient) CertificateSigningRequests() CertificateSigningRequestInterface { @@ -61,7 +61,7 @@ func NewForConfigOrDie(c *rest.Config) *CertificatesClient { } // New creates a new CertificatesClient for the given RESTClient. -func New(c *rest.RESTClient) *CertificatesClient { +func New(c rest.Interface) *CertificatesClient { return &CertificatesClient{c} } @@ -86,11 +86,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *CertificatesClient) GetRESTClient() *rest.RESTClient { +func (c *CertificatesClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go b/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go index 4ea8cda9..17268742 100644 --- a/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go +++ b/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/certificates/v1alpha1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // CertificateSigningRequestsGetter has a method to return a CertificateSigningRequestInterface. @@ -45,13 +46,13 @@ type CertificateSigningRequestInterface interface { // certificateSigningRequests implements CertificateSigningRequestInterface type certificateSigningRequests struct { - client *CertificatesClient + client rest.Interface } // newCertificateSigningRequests returns a CertificateSigningRequests func newCertificateSigningRequests(c *CertificatesClient) *certificateSigningRequests { return &certificateSigningRequests{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go b/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go index eff7ba47..f3ab6545 100644 --- a/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go +++ b/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go @@ -30,8 +30,9 @@ func (c *FakeCertificates) CertificateSigningRequests() v1alpha1.CertificateSign return &FakeCertificateSigningRequests{c} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeCertificates) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeCertificates) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/core/v1/componentstatus.go b/kubernetes/typed/core/v1/componentstatus.go index 7eb6708f..cf9896eb 100644 --- a/kubernetes/typed/core/v1/componentstatus.go +++ b/kubernetes/typed/core/v1/componentstatus.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ComponentStatusesGetter has a method to return a ComponentStatusInterface. @@ -43,13 +44,13 @@ type ComponentStatusInterface interface { // componentStatuses implements ComponentStatusInterface type componentStatuses struct { - client *CoreClient + client rest.Interface } // newComponentStatuses returns a ComponentStatuses func newComponentStatuses(c *CoreClient) *componentStatuses { return &componentStatuses{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/core/v1/configmap.go b/kubernetes/typed/core/v1/configmap.go index 7a67e686..88573f15 100644 --- a/kubernetes/typed/core/v1/configmap.go +++ b/kubernetes/typed/core/v1/configmap.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ConfigMapsGetter has a method to return a ConfigMapInterface. @@ -43,14 +44,14 @@ type ConfigMapInterface interface { // configMaps implements ConfigMapInterface type configMaps struct { - client *CoreClient + client rest.Interface ns string } // newConfigMaps returns a ConfigMaps func newConfigMaps(c *CoreClient, namespace string) *configMaps { return &configMaps{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/core_client.go b/kubernetes/typed/core/v1/core_client.go index 219621e3..c01c7c21 100644 --- a/kubernetes/typed/core/v1/core_client.go +++ b/kubernetes/typed/core/v1/core_client.go @@ -24,7 +24,7 @@ import ( ) type CoreInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface ComponentStatusesGetter ConfigMapsGetter EndpointsGetter @@ -45,7 +45,7 @@ type CoreInterface interface { // CoreClient is used to interact with features provided by the Core group. type CoreClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *CoreClient) ComponentStatuses() ComponentStatusInterface { @@ -136,7 +136,7 @@ func NewForConfigOrDie(c *rest.Config) *CoreClient { } // New creates a new CoreClient for the given RESTClient. -func New(c *rest.RESTClient) *CoreClient { +func New(c rest.Interface) *CoreClient { return &CoreClient{c} } @@ -161,11 +161,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *CoreClient) GetRESTClient() *rest.RESTClient { +func (c *CoreClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/core/v1/endpoints.go b/kubernetes/typed/core/v1/endpoints.go index 70d4e3ab..92d03b77 100644 --- a/kubernetes/typed/core/v1/endpoints.go +++ b/kubernetes/typed/core/v1/endpoints.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // EndpointsGetter has a method to return a EndpointsInterface. @@ -43,14 +44,14 @@ type EndpointsInterface interface { // endpoints implements EndpointsInterface type endpoints struct { - client *CoreClient + client rest.Interface ns string } // newEndpoints returns a Endpoints func newEndpoints(c *CoreClient, namespace string) *endpoints { return &endpoints{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/event.go b/kubernetes/typed/core/v1/event.go index 223dce26..fcd37e20 100644 --- a/kubernetes/typed/core/v1/event.go +++ b/kubernetes/typed/core/v1/event.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // EventsGetter has a method to return a EventInterface. @@ -43,14 +44,14 @@ type EventInterface interface { // events implements EventInterface type events struct { - client *CoreClient + client rest.Interface ns string } // newEvents returns a Events func newEvents(c *CoreClient, namespace string) *events { return &events{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/fake/fake_core_client.go b/kubernetes/typed/core/v1/fake/fake_core_client.go index 3db7c6db..149c989f 100644 --- a/kubernetes/typed/core/v1/fake/fake_core_client.go +++ b/kubernetes/typed/core/v1/fake/fake_core_client.go @@ -90,8 +90,9 @@ func (c *FakeCore) ServiceAccounts(namespace string) v1.ServiceAccountInterface return &FakeServiceAccounts{c, namespace} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeCore) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeCore) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/core/v1/limitrange.go b/kubernetes/typed/core/v1/limitrange.go index d3390238..4b1672b6 100644 --- a/kubernetes/typed/core/v1/limitrange.go +++ b/kubernetes/typed/core/v1/limitrange.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // LimitRangesGetter has a method to return a LimitRangeInterface. @@ -43,14 +44,14 @@ type LimitRangeInterface interface { // limitRanges implements LimitRangeInterface type limitRanges struct { - client *CoreClient + client rest.Interface ns string } // newLimitRanges returns a LimitRanges func newLimitRanges(c *CoreClient, namespace string) *limitRanges { return &limitRanges{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/namespace.go b/kubernetes/typed/core/v1/namespace.go index 49390b29..d00aded8 100644 --- a/kubernetes/typed/core/v1/namespace.go +++ b/kubernetes/typed/core/v1/namespace.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // NamespacesGetter has a method to return a NamespaceInterface. @@ -44,13 +45,13 @@ type NamespaceInterface interface { // namespaces implements NamespaceInterface type namespaces struct { - client *CoreClient + client rest.Interface } // newNamespaces returns a Namespaces func newNamespaces(c *CoreClient) *namespaces { return &namespaces{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/core/v1/node.go b/kubernetes/typed/core/v1/node.go index fdfaaeb1..60bc523b 100644 --- a/kubernetes/typed/core/v1/node.go +++ b/kubernetes/typed/core/v1/node.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // NodesGetter has a method to return a NodeInterface. @@ -44,13 +45,13 @@ type NodeInterface interface { // nodes implements NodeInterface type nodes struct { - client *CoreClient + client rest.Interface } // newNodes returns a Nodes func newNodes(c *CoreClient) *nodes { return &nodes{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/core/v1/persistentvolume.go b/kubernetes/typed/core/v1/persistentvolume.go index f17282b4..01e30235 100644 --- a/kubernetes/typed/core/v1/persistentvolume.go +++ b/kubernetes/typed/core/v1/persistentvolume.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // PersistentVolumesGetter has a method to return a PersistentVolumeInterface. @@ -44,13 +45,13 @@ type PersistentVolumeInterface interface { // persistentVolumes implements PersistentVolumeInterface type persistentVolumes struct { - client *CoreClient + client rest.Interface } // newPersistentVolumes returns a PersistentVolumes func newPersistentVolumes(c *CoreClient) *persistentVolumes { return &persistentVolumes{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/core/v1/persistentvolumeclaim.go b/kubernetes/typed/core/v1/persistentvolumeclaim.go index f9a513a9..37267fef 100644 --- a/kubernetes/typed/core/v1/persistentvolumeclaim.go +++ b/kubernetes/typed/core/v1/persistentvolumeclaim.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // PersistentVolumeClaimsGetter has a method to return a PersistentVolumeClaimInterface. @@ -44,14 +45,14 @@ type PersistentVolumeClaimInterface interface { // persistentVolumeClaims implements PersistentVolumeClaimInterface type persistentVolumeClaims struct { - client *CoreClient + client rest.Interface ns string } // newPersistentVolumeClaims returns a PersistentVolumeClaims func newPersistentVolumeClaims(c *CoreClient, namespace string) *persistentVolumeClaims { return &persistentVolumeClaims{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/pod.go b/kubernetes/typed/core/v1/pod.go index 7e640ad2..4ac13006 100644 --- a/kubernetes/typed/core/v1/pod.go +++ b/kubernetes/typed/core/v1/pod.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // PodsGetter has a method to return a PodInterface. @@ -44,14 +45,14 @@ type PodInterface interface { // pods implements PodInterface type pods struct { - client *CoreClient + client rest.Interface ns string } // newPods returns a Pods func newPods(c *CoreClient, namespace string) *pods { return &pods{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/podtemplate.go b/kubernetes/typed/core/v1/podtemplate.go index 6369d49f..ce2a83fb 100644 --- a/kubernetes/typed/core/v1/podtemplate.go +++ b/kubernetes/typed/core/v1/podtemplate.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // PodTemplatesGetter has a method to return a PodTemplateInterface. @@ -43,14 +44,14 @@ type PodTemplateInterface interface { // podTemplates implements PodTemplateInterface type podTemplates struct { - client *CoreClient + client rest.Interface ns string } // newPodTemplates returns a PodTemplates func newPodTemplates(c *CoreClient, namespace string) *podTemplates { return &podTemplates{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/replicationcontroller.go b/kubernetes/typed/core/v1/replicationcontroller.go index e08e7139..a01a907f 100644 --- a/kubernetes/typed/core/v1/replicationcontroller.go +++ b/kubernetes/typed/core/v1/replicationcontroller.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ReplicationControllersGetter has a method to return a ReplicationControllerInterface. @@ -44,14 +45,14 @@ type ReplicationControllerInterface interface { // replicationControllers implements ReplicationControllerInterface type replicationControllers struct { - client *CoreClient + client rest.Interface ns string } // newReplicationControllers returns a ReplicationControllers func newReplicationControllers(c *CoreClient, namespace string) *replicationControllers { return &replicationControllers{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/resourcequota.go b/kubernetes/typed/core/v1/resourcequota.go index 542e55f1..1c8bae26 100644 --- a/kubernetes/typed/core/v1/resourcequota.go +++ b/kubernetes/typed/core/v1/resourcequota.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ResourceQuotasGetter has a method to return a ResourceQuotaInterface. @@ -44,14 +45,14 @@ type ResourceQuotaInterface interface { // resourceQuotas implements ResourceQuotaInterface type resourceQuotas struct { - client *CoreClient + client rest.Interface ns string } // newResourceQuotas returns a ResourceQuotas func newResourceQuotas(c *CoreClient, namespace string) *resourceQuotas { return &resourceQuotas{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/secret.go b/kubernetes/typed/core/v1/secret.go index 36dbe47c..31f442ce 100644 --- a/kubernetes/typed/core/v1/secret.go +++ b/kubernetes/typed/core/v1/secret.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // SecretsGetter has a method to return a SecretInterface. @@ -43,14 +44,14 @@ type SecretInterface interface { // secrets implements SecretInterface type secrets struct { - client *CoreClient + client rest.Interface ns string } // newSecrets returns a Secrets func newSecrets(c *CoreClient, namespace string) *secrets { return &secrets{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/service.go b/kubernetes/typed/core/v1/service.go index a8707629..9ae2e774 100644 --- a/kubernetes/typed/core/v1/service.go +++ b/kubernetes/typed/core/v1/service.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ServicesGetter has a method to return a ServiceInterface. @@ -44,14 +45,14 @@ type ServiceInterface interface { // services implements ServiceInterface type services struct { - client *CoreClient + client rest.Interface ns string } // newServices returns a Services func newServices(c *CoreClient, namespace string) *services { return &services{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/core/v1/serviceaccount.go b/kubernetes/typed/core/v1/serviceaccount.go index e3a5b537..0d907710 100644 --- a/kubernetes/typed/core/v1/serviceaccount.go +++ b/kubernetes/typed/core/v1/serviceaccount.go @@ -20,6 +20,7 @@ import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ServiceAccountsGetter has a method to return a ServiceAccountInterface. @@ -43,14 +44,14 @@ type ServiceAccountInterface interface { // serviceAccounts implements ServiceAccountInterface type serviceAccounts struct { - client *CoreClient + client rest.Interface ns string } // newServiceAccounts returns a ServiceAccounts func newServiceAccounts(c *CoreClient, namespace string) *serviceAccounts { return &serviceAccounts{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/extensions/v1beta1/daemonset.go b/kubernetes/typed/extensions/v1beta1/daemonset.go index e003059b..bdd0aaff 100644 --- a/kubernetes/typed/extensions/v1beta1/daemonset.go +++ b/kubernetes/typed/extensions/v1beta1/daemonset.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // DaemonSetsGetter has a method to return a DaemonSetInterface. @@ -45,14 +46,14 @@ type DaemonSetInterface interface { // daemonSets implements DaemonSetInterface type daemonSets struct { - client *ExtensionsClient + client rest.Interface ns string } // newDaemonSets returns a DaemonSets func newDaemonSets(c *ExtensionsClient, namespace string) *daemonSets { return &daemonSets{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/extensions/v1beta1/deployment.go b/kubernetes/typed/extensions/v1beta1/deployment.go index 3fb3d038..9e60781b 100644 --- a/kubernetes/typed/extensions/v1beta1/deployment.go +++ b/kubernetes/typed/extensions/v1beta1/deployment.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // DeploymentsGetter has a method to return a DeploymentInterface. @@ -45,14 +46,14 @@ type DeploymentInterface interface { // deployments implements DeploymentInterface type deployments struct { - client *ExtensionsClient + client rest.Interface ns string } // newDeployments returns a Deployments func newDeployments(c *ExtensionsClient, namespace string) *deployments { return &deployments{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/extensions/v1beta1/extensions_client.go b/kubernetes/typed/extensions/v1beta1/extensions_client.go index 72b448ec..cab9ab58 100644 --- a/kubernetes/typed/extensions/v1beta1/extensions_client.go +++ b/kubernetes/typed/extensions/v1beta1/extensions_client.go @@ -24,7 +24,7 @@ import ( ) type ExtensionsInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface DaemonSetsGetter DeploymentsGetter IngressesGetter @@ -37,7 +37,7 @@ type ExtensionsInterface interface { // ExtensionsClient is used to interact with features provided by the Extensions group. type ExtensionsClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *ExtensionsClient) DaemonSets(namespace string) DaemonSetInterface { @@ -96,7 +96,7 @@ func NewForConfigOrDie(c *rest.Config) *ExtensionsClient { } // New creates a new ExtensionsClient for the given RESTClient. -func New(c *rest.RESTClient) *ExtensionsClient { +func New(c rest.Interface) *ExtensionsClient { return &ExtensionsClient{c} } @@ -121,11 +121,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *ExtensionsClient) GetRESTClient() *rest.RESTClient { +func (c *ExtensionsClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go b/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go index aa5d1097..dfb44c82 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go @@ -58,8 +58,9 @@ func (c *FakeExtensions) ThirdPartyResources() v1beta1.ThirdPartyResourceInterfa return &FakeThirdPartyResources{c} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeExtensions) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeExtensions) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/extensions/v1beta1/ingress.go b/kubernetes/typed/extensions/v1beta1/ingress.go index 6f70218b..d6a831fc 100644 --- a/kubernetes/typed/extensions/v1beta1/ingress.go +++ b/kubernetes/typed/extensions/v1beta1/ingress.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // IngressesGetter has a method to return a IngressInterface. @@ -45,14 +46,14 @@ type IngressInterface interface { // ingresses implements IngressInterface type ingresses struct { - client *ExtensionsClient + client rest.Interface ns string } // newIngresses returns a Ingresses func newIngresses(c *ExtensionsClient, namespace string) *ingresses { return &ingresses{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/extensions/v1beta1/job.go b/kubernetes/typed/extensions/v1beta1/job.go index c5991f54..8984a301 100644 --- a/kubernetes/typed/extensions/v1beta1/job.go +++ b/kubernetes/typed/extensions/v1beta1/job.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // JobsGetter has a method to return a JobInterface. @@ -45,14 +46,14 @@ type JobInterface interface { // jobs implements JobInterface type jobs struct { - client *ExtensionsClient + client rest.Interface ns string } // newJobs returns a Jobs func newJobs(c *ExtensionsClient, namespace string) *jobs { return &jobs{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go b/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go index 1b9b6bbe..f2841375 100644 --- a/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go +++ b/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // PodSecurityPoliciesGetter has a method to return a PodSecurityPolicyInterface. @@ -44,13 +45,13 @@ type PodSecurityPolicyInterface interface { // podSecurityPolicies implements PodSecurityPolicyInterface type podSecurityPolicies struct { - client *ExtensionsClient + client rest.Interface } // newPodSecurityPolicies returns a PodSecurityPolicies func newPodSecurityPolicies(c *ExtensionsClient) *podSecurityPolicies { return &podSecurityPolicies{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/extensions/v1beta1/replicaset.go b/kubernetes/typed/extensions/v1beta1/replicaset.go index 947bc82d..f0f8bc77 100644 --- a/kubernetes/typed/extensions/v1beta1/replicaset.go +++ b/kubernetes/typed/extensions/v1beta1/replicaset.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ReplicaSetsGetter has a method to return a ReplicaSetInterface. @@ -45,14 +46,14 @@ type ReplicaSetInterface interface { // replicaSets implements ReplicaSetInterface type replicaSets struct { - client *ExtensionsClient + client rest.Interface ns string } // newReplicaSets returns a ReplicaSets func newReplicaSets(c *ExtensionsClient, namespace string) *replicaSets { return &replicaSets{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/extensions/v1beta1/scale.go b/kubernetes/typed/extensions/v1beta1/scale.go index 3a7be158..90c7ed5b 100644 --- a/kubernetes/typed/extensions/v1beta1/scale.go +++ b/kubernetes/typed/extensions/v1beta1/scale.go @@ -16,6 +16,10 @@ limitations under the License. package v1beta1 +import ( + rest "k8s.io/client-go/rest" +) + // ScalesGetter has a method to return a ScaleInterface. // A group's client should implement this interface. type ScalesGetter interface { @@ -29,14 +33,14 @@ type ScaleInterface interface { // scales implements ScaleInterface type scales struct { - client *ExtensionsClient + client rest.Interface ns string } // newScales returns a Scales func newScales(c *ExtensionsClient, namespace string) *scales { return &scales{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go b/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go index 409dcd78..18b30c0f 100644 --- a/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go +++ b/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ThirdPartyResourcesGetter has a method to return a ThirdPartyResourceInterface. @@ -44,13 +45,13 @@ type ThirdPartyResourceInterface interface { // thirdPartyResources implements ThirdPartyResourceInterface type thirdPartyResources struct { - client *ExtensionsClient + client rest.Interface } // newThirdPartyResources returns a ThirdPartyResources func newThirdPartyResources(c *ExtensionsClient) *thirdPartyResources { return &thirdPartyResources{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go b/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go index b809c2f8..b62f8dfa 100644 --- a/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go +++ b/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go @@ -30,8 +30,9 @@ func (c *FakePolicy) PodDisruptionBudgets(namespace string) v1alpha1.PodDisrupti return &FakePodDisruptionBudgets{c, namespace} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakePolicy) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakePolicy) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go b/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go index a59695a5..3618bbab 100644 --- a/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go +++ b/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go @@ -21,6 +21,7 @@ import ( 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" ) // PodDisruptionBudgetsGetter has a method to return a PodDisruptionBudgetInterface. @@ -45,14 +46,14 @@ type PodDisruptionBudgetInterface interface { // podDisruptionBudgets implements PodDisruptionBudgetInterface type podDisruptionBudgets struct { - client *PolicyClient + client rest.Interface ns string } // newPodDisruptionBudgets returns a PodDisruptionBudgets func newPodDisruptionBudgets(c *PolicyClient, namespace string) *podDisruptionBudgets { return &podDisruptionBudgets{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/policy/v1alpha1/policy_client.go b/kubernetes/typed/policy/v1alpha1/policy_client.go index 4400f5c8..6d48a074 100644 --- a/kubernetes/typed/policy/v1alpha1/policy_client.go +++ b/kubernetes/typed/policy/v1alpha1/policy_client.go @@ -24,13 +24,13 @@ import ( ) type PolicyInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface PodDisruptionBudgetsGetter } // PolicyClient is used to interact with features provided by the Policy group. type PolicyClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *PolicyClient) PodDisruptionBudgets(namespace string) PodDisruptionBudgetInterface { @@ -61,7 +61,7 @@ func NewForConfigOrDie(c *rest.Config) *PolicyClient { } // New creates a new PolicyClient for the given RESTClient. -func New(c *rest.RESTClient) *PolicyClient { +func New(c rest.Interface) *PolicyClient { return &PolicyClient{c} } @@ -86,11 +86,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *PolicyClient) GetRESTClient() *rest.RESTClient { +func (c *PolicyClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/rbac/v1alpha1/clusterrole.go b/kubernetes/typed/rbac/v1alpha1/clusterrole.go index 04377c52..d62f5ed7 100644 --- a/kubernetes/typed/rbac/v1alpha1/clusterrole.go +++ b/kubernetes/typed/rbac/v1alpha1/clusterrole.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ClusterRolesGetter has a method to return a ClusterRoleInterface. @@ -44,13 +45,13 @@ type ClusterRoleInterface interface { // clusterRoles implements ClusterRoleInterface type clusterRoles struct { - client *RbacClient + client rest.Interface } // newClusterRoles returns a ClusterRoles func newClusterRoles(c *RbacClient) *clusterRoles { return &clusterRoles{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go b/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go index 4b4cc8e5..d068327a 100644 --- a/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go +++ b/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // ClusterRoleBindingsGetter has a method to return a ClusterRoleBindingInterface. @@ -44,13 +45,13 @@ type ClusterRoleBindingInterface interface { // clusterRoleBindings implements ClusterRoleBindingInterface type clusterRoleBindings struct { - client *RbacClient + client rest.Interface } // newClusterRoleBindings returns a ClusterRoleBindings func newClusterRoleBindings(c *RbacClient) *clusterRoleBindings { return &clusterRoleBindings{ - client: c, + client: c.RESTClient(), } } diff --git a/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go b/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go index e8f06d23..a451b023 100644 --- a/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go +++ b/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go @@ -42,8 +42,9 @@ func (c *FakeRbac) RoleBindings(namespace string) v1alpha1.RoleBindingInterface return &FakeRoleBindings{c, namespace} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeRbac) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeRbac) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/rbac/v1alpha1/rbac_client.go b/kubernetes/typed/rbac/v1alpha1/rbac_client.go index ee30e6b0..47814d0c 100644 --- a/kubernetes/typed/rbac/v1alpha1/rbac_client.go +++ b/kubernetes/typed/rbac/v1alpha1/rbac_client.go @@ -24,7 +24,7 @@ import ( ) type RbacInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface ClusterRolesGetter ClusterRoleBindingsGetter RolesGetter @@ -33,7 +33,7 @@ type RbacInterface interface { // RbacClient is used to interact with features provided by the Rbac group. type RbacClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *RbacClient) ClusterRoles() ClusterRoleInterface { @@ -76,7 +76,7 @@ func NewForConfigOrDie(c *rest.Config) *RbacClient { } // New creates a new RbacClient for the given RESTClient. -func New(c *rest.RESTClient) *RbacClient { +func New(c rest.Interface) *RbacClient { return &RbacClient{c} } @@ -101,11 +101,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *RbacClient) GetRESTClient() *rest.RESTClient { +func (c *RbacClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/rbac/v1alpha1/role.go b/kubernetes/typed/rbac/v1alpha1/role.go index 1fd87590..49e8d8ab 100644 --- a/kubernetes/typed/rbac/v1alpha1/role.go +++ b/kubernetes/typed/rbac/v1alpha1/role.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // RolesGetter has a method to return a RoleInterface. @@ -44,14 +45,14 @@ type RoleInterface interface { // roles implements RoleInterface type roles struct { - client *RbacClient + client rest.Interface ns string } // newRoles returns a Roles func newRoles(c *RbacClient, namespace string) *roles { return &roles{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/rbac/v1alpha1/rolebinding.go b/kubernetes/typed/rbac/v1alpha1/rolebinding.go index a0005245..c1792d4e 100644 --- a/kubernetes/typed/rbac/v1alpha1/rolebinding.go +++ b/kubernetes/typed/rbac/v1alpha1/rolebinding.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // RoleBindingsGetter has a method to return a RoleBindingInterface. @@ -44,14 +45,14 @@ type RoleBindingInterface interface { // roleBindings implements RoleBindingInterface type roleBindings struct { - client *RbacClient + client rest.Interface ns string } // newRoleBindings returns a RoleBindings func newRoleBindings(c *RbacClient, namespace string) *roleBindings { return &roleBindings{ - client: c, + client: c.RESTClient(), ns: namespace, } } diff --git a/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go b/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go index 5095923b..11820452 100644 --- a/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go +++ b/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go @@ -30,8 +30,9 @@ func (c *FakeStorage) StorageClasses() v1beta1.StorageClassInterface { return &FakeStorageClasses{c} } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *FakeStorage) GetRESTClient() *rest.RESTClient { - return nil +func (c *FakeStorage) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret } diff --git a/kubernetes/typed/storage/v1beta1/storage_client.go b/kubernetes/typed/storage/v1beta1/storage_client.go index 223c0e8a..bb639446 100644 --- a/kubernetes/typed/storage/v1beta1/storage_client.go +++ b/kubernetes/typed/storage/v1beta1/storage_client.go @@ -24,13 +24,13 @@ import ( ) type StorageInterface interface { - GetRESTClient() *rest.RESTClient + RESTClient() rest.Interface StorageClassesGetter } // StorageClient is used to interact with features provided by the Storage group. type StorageClient struct { - *rest.RESTClient + restClient rest.Interface } func (c *StorageClient) StorageClasses() StorageClassInterface { @@ -61,7 +61,7 @@ func NewForConfigOrDie(c *rest.Config) *StorageClient { } // New creates a new StorageClient for the given RESTClient. -func New(c *rest.RESTClient) *StorageClient { +func New(c rest.Interface) *StorageClient { return &StorageClient{c} } @@ -86,11 +86,11 @@ func setConfigDefaults(config *rest.Config) error { return nil } -// GetRESTClient returns a RESTClient that is used to communicate +// RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. -func (c *StorageClient) GetRESTClient() *rest.RESTClient { +func (c *StorageClient) RESTClient() rest.Interface { if c == nil { return nil } - return c.RESTClient + return c.restClient } diff --git a/kubernetes/typed/storage/v1beta1/storageclass.go b/kubernetes/typed/storage/v1beta1/storageclass.go index 77a52434..3c37b9e9 100644 --- a/kubernetes/typed/storage/v1beta1/storageclass.go +++ b/kubernetes/typed/storage/v1beta1/storageclass.go @@ -21,6 +21,7 @@ import ( v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/storage/v1beta1" watch "k8s.io/client-go/pkg/watch" + rest "k8s.io/client-go/rest" ) // StorageClassesGetter has a method to return a StorageClassInterface. @@ -44,13 +45,13 @@ type StorageClassInterface interface { // storageClasses implements StorageClassInterface type storageClasses struct { - client *StorageClient + client rest.Interface } // newStorageClasses returns a StorageClasses func newStorageClasses(c *StorageClient) *storageClasses { return &storageClasses{ - client: c, + client: c.RESTClient(), } } diff --git a/pkg/api/conversion.go b/pkg/api/conversion.go index d67d8948..3ff0a158 100644 --- a/pkg/api/conversion.go +++ b/pkg/api/conversion.go @@ -153,6 +153,7 @@ func Convert_bool_To_Pointer_bool(in *bool, out **bool, s conversion.Scope) erro return nil } +// +k8s:conversion-fn=drop func Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(in, out *unversioned.TypeMeta, s conversion.Scope) error { // These values are explicitly not copied //out.APIVersion = in.APIVersion @@ -160,16 +161,19 @@ func Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(in, out *unversioned.T return nil } +// +k8s:conversion-fn=copy-only func Convert_unversioned_ListMeta_To_unversioned_ListMeta(in, out *unversioned.ListMeta, s conversion.Scope) error { *out = *in return nil } +// +k8s:conversion-fn=copy-only func Convert_intstr_IntOrString_To_intstr_IntOrString(in, out *intstr.IntOrString, s conversion.Scope) error { *out = *in return nil } +// +k8s:conversion-fn=copy-only func Convert_unversioned_Time_To_unversioned_Time(in *unversioned.Time, out *unversioned.Time, s conversion.Scope) error { // Cannot deep copy these, because time.Time has unexported fields. *out = *in @@ -219,6 +223,7 @@ func Convert_fields_Selector_To_string(in *fields.Selector, out *string, s conve return nil } +// +k8s:conversion-fn=copy-only func Convert_resource_Quantity_To_resource_Quantity(in *resource.Quantity, out *resource.Quantity, s conversion.Scope) error { *out = *in return nil diff --git a/pkg/api/helpers.go b/pkg/api/helpers.go index e625eadf..8f494c19 100644 --- a/pkg/api/helpers.go +++ b/pkg/api/helpers.go @@ -120,6 +120,22 @@ func IsStandardContainerResourceName(str string) bool { return standardContainerResources.Has(str) } +// IsOpaqueIntResourceName returns true if the resource name has the opaque +// integer resource prefix. +func IsOpaqueIntResourceName(name ResourceName) bool { + return strings.HasPrefix(string(name), ResourceOpaqueIntPrefix) +} + +// OpaqueIntResourceName returns a ResourceName with the canonical opaque +// integer prefix prepended. If the argument already has the prefix, it is +// returned unmodified. +func OpaqueIntResourceName(name string) ResourceName { + if IsOpaqueIntResourceName(ResourceName(name)) { + return ResourceName(name) + } + return ResourceName(fmt.Sprintf("%s%s", ResourceOpaqueIntPrefix, name)) +} + var standardLimitRangeTypes = sets.NewString( string(LimitTypePod), string(LimitTypeContainer), @@ -171,6 +187,7 @@ var standardResources = sets.NewString( string(ResourceConfigMaps), string(ResourcePersistentVolumeClaims), string(ResourceStorage), + string(ResourceRequestsStorage), ) // IsStandardResourceName returns true if the resource is known to the system @@ -192,7 +209,7 @@ var integerResources = sets.NewString( // IsIntegerResourceName returns true if the resource is measured in integer values func IsIntegerResourceName(str string) bool { - return integerResources.Has(str) + return integerResources.Has(str) || IsOpaqueIntResourceName(ResourceName(str)) } // NewDeleteOptions returns a DeleteOptions indicating the resource should @@ -236,6 +253,20 @@ var standardFinalizers = sets.NewString( FinalizerOrphan, ) +// HasAnnotation returns a bool if passed in annotation exists +func HasAnnotation(obj ObjectMeta, ann string) bool { + _, found := obj.Annotations[ann] + return found +} + +// SetMetaDataAnnotation sets the annotation and value +func SetMetaDataAnnotation(obj *ObjectMeta, ann string, value string) { + if obj.Annotations == nil { + obj.Annotations = make(map[string]string) + } + obj.Annotations[ann] = value +} + func IsStandardFinalizerName(str string) bool { return standardFinalizers.Has(str) } @@ -402,7 +433,7 @@ func NodeSelectorRequirementsAsSelector(nsm []NodeSelectorRequirement) (labels.S default: return nil, fmt.Errorf("%q is not a valid node selector operator", expr.Operator) } - r, err := labels.NewRequirement(expr.Key, op, sets.NewString(expr.Values...)) + r, err := labels.NewRequirement(expr.Key, op, expr.Values) if err != nil { return nil, err } @@ -512,7 +543,6 @@ func TolerationToleratesTaint(toleration *Toleration, taint *Taint) bool { return true } return false - } // TaintToleratedByTolerations checks if taint is tolerated by any of the tolerations. diff --git a/pkg/api/resource/generated.pb.go b/pkg/api/resource/generated.pb.go index f591559d..d70ee307 100644 --- a/pkg/api/resource/generated.pb.go +++ b/pkg/api/resource/generated.pb.go @@ -51,19 +51,20 @@ func init() { } var fileDescriptorGenerated = []byte{ - // 222 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x32, 0xca, 0xb6, 0x28, 0xd6, - 0xcb, 0xcc, 0xd7, 0xcf, 0x2e, 0x4d, 0x4a, 0x2d, 0xca, 0x4b, 0x2d, 0x49, 0x2d, 0xd6, 0x2f, 0xc8, - 0x4e, 0xd7, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x4f, - 0x4f, 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, - 0x82, 0xe8, 0xd1, 0x43, 0xe8, 0xd1, 0x03, 0xea, 0xd1, 0x03, 0xea, 0xd1, 0x83, 0xe9, 0x91, 0xd2, - 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0x4f, 0xcf, 0xd7, - 0x07, 0x6b, 0x4d, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0x62, 0xa4, 0x94, 0x21, 0x76, - 0x67, 0x94, 0x96, 0x64, 0xe6, 0xe8, 0x67, 0xe6, 0x95, 0x14, 0x97, 0x14, 0xa1, 0xbb, 0x42, 0xc9, - 0x82, 0x8b, 0x23, 0xb0, 0x34, 0x31, 0xaf, 0x24, 0xb3, 0xa4, 0x52, 0x48, 0x8c, 0x8b, 0x0d, 0xa8, - 0x24, 0x33, 0x2f, 0x5d, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0xca, 0xb3, 0x12, 0x99, 0xb1, - 0x40, 0x9e, 0xa1, 0x63, 0xa1, 0x3c, 0xc3, 0x04, 0x20, 0x5e, 0x00, 0xc4, 0x0d, 0x77, 0x14, 0x18, - 0x9c, 0xb4, 0x4e, 0x3c, 0x94, 0x63, 0xb8, 0x00, 0xc4, 0x37, 0x80, 0xb8, 0xe1, 0x91, 0x1c, 0xe3, - 0x09, 0x20, 0xbe, 0x00, 0xc4, 0x0f, 0x80, 0x78, 0xc2, 0x63, 0x39, 0x86, 0x28, 0x0e, 0x98, 0x3f, - 0x00, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0x1c, 0x7f, 0xff, 0x20, 0x01, 0x00, 0x00, + // 236 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x8f, 0xa1, 0x4e, 0x03, 0x41, + 0x10, 0x86, 0x67, 0x0d, 0x29, 0x27, 0x1b, 0x42, 0x48, 0xc5, 0x5e, 0x53, 0x45, 0x48, 0xd8, 0x09, + 0xa8, 0x06, 0xc9, 0x1b, 0x80, 0xc4, 0xdd, 0x95, 0x61, 0x99, 0x1c, 0xec, 0x6e, 0x76, 0x67, 0x05, + 0xae, 0x12, 0x59, 0x89, 0xec, 0xbd, 0x4d, 0x65, 0x25, 0x02, 0xc1, 0x1d, 0x2f, 0x42, 0x72, 0xa5, + 0x21, 0x21, 0xb8, 0xf9, 0xc4, 0x37, 0xf9, 0xfe, 0xe2, 0xb2, 0x99, 0x27, 0xc3, 0x1e, 0x9b, 0x5c, + 0x53, 0x74, 0x24, 0x94, 0x30, 0x34, 0x16, 0xab, 0xc0, 0x18, 0x29, 0xf9, 0x1c, 0x17, 0x84, 0x96, + 0x1c, 0xc5, 0x4a, 0xe8, 0xde, 0x84, 0xe8, 0xc5, 0x8f, 0x67, 0x3b, 0xc7, 0xfc, 0x3a, 0x26, 0x34, + 0xd6, 0x54, 0x81, 0xcd, 0xde, 0x99, 0x9c, 0x5b, 0x96, 0xc7, 0x5c, 0x9b, 0x85, 0x7f, 0x46, 0xeb, + 0xad, 0xc7, 0x41, 0xad, 0xf3, 0xc3, 0x40, 0x03, 0x0c, 0xd7, 0xee, 0xe5, 0xe4, 0xe2, 0xff, 0x8c, + 0x2c, 0xfc, 0x84, 0xec, 0x24, 0x49, 0xfc, 0x5b, 0x31, 0x9b, 0x17, 0xa3, 0x9b, 0x5c, 0x39, 0x61, + 0x79, 0x19, 0x1f, 0x17, 0x07, 0x49, 0x22, 0x3b, 0x7b, 0xa2, 0xa6, 0xea, 0xf4, 0xf0, 0xf6, 0x87, + 0xae, 0x8e, 0xde, 0xd6, 0x25, 0xbc, 0xb6, 0x25, 0xac, 0xda, 0x12, 0xd6, 0x6d, 0x09, 0xcb, 0x8f, + 0x29, 0x5c, 0x9f, 0x6d, 0x3a, 0x0d, 0xdb, 0x4e, 0xc3, 0x7b, 0xa7, 0x61, 0xd9, 0x6b, 0xb5, 0xe9, + 0xb5, 0xda, 0xf6, 0x5a, 0x7d, 0xf6, 0x5a, 0xad, 0xbe, 0x34, 0xdc, 0x8d, 0xf6, 0x3b, 0xbe, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x90, 0x1c, 0x7f, 0xff, 0x20, 0x01, 0x00, 0x00, } diff --git a/pkg/api/resource/generated.proto b/pkg/api/resource/generated.proto index a125e3ae..c26921d5 100644 --- a/pkg/api/resource/generated.proto +++ b/pkg/api/resource/generated.proto @@ -21,7 +21,7 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.api.resource; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". option go_package = "resource"; diff --git a/pkg/api/testapi/testapi.go b/pkg/api/testapi/testapi.go index f60a357c..274be581 100644 --- a/pkg/api/testapi/testapi.go +++ b/pkg/api/testapi/testapi.go @@ -93,11 +93,11 @@ type TestGroup struct { func init() { if apiMediaType := os.Getenv("KUBE_TEST_API_TYPE"); len(apiMediaType) > 0 { var ok bool - mediaType, options, err := mime.ParseMediaType(apiMediaType) + mediaType, _, err := mime.ParseMediaType(apiMediaType) if err != nil { panic(err) } - serializer, ok = api.Codecs.SerializerForMediaType(mediaType, options) + serializer, ok = runtime.SerializerInfoForMediaType(api.Codecs.SupportedMediaTypes(), mediaType) if !ok { panic(fmt.Sprintf("no serializer for %s", apiMediaType)) } @@ -105,11 +105,11 @@ func init() { if storageMediaType := StorageMediaType(); len(storageMediaType) > 0 { var ok bool - mediaType, options, err := mime.ParseMediaType(storageMediaType) + mediaType, _, err := mime.ParseMediaType(storageMediaType) if err != nil { panic(err) } - storageSerializer, ok = api.Codecs.SerializerForMediaType(mediaType, options) + storageSerializer, ok = runtime.SerializerInfoForMediaType(api.Codecs.SupportedMediaTypes(), mediaType) if !ok { panic(fmt.Sprintf("no serializer for %s", storageMediaType)) } @@ -312,7 +312,7 @@ func (g TestGroup) Codec() runtime.Codec { if serializer.Serializer == nil { return api.Codecs.LegacyCodec(g.externalGroupVersion) } - return api.Codecs.CodecForVersions(serializer, api.Codecs.UniversalDeserializer(), unversioned.GroupVersions{g.externalGroupVersion}, nil) + return api.Codecs.CodecForVersions(serializer.Serializer, api.Codecs.UniversalDeserializer(), unversioned.GroupVersions{g.externalGroupVersion}, nil) } // NegotiatedSerializer returns the negotiated serializer for the server. @@ -452,11 +452,11 @@ func GetCodecForObject(obj runtime.Object) (runtime.Codec, error) { } // Codec used for unversioned types if api.Scheme.Recognizes(kind) { - serializer, ok := api.Codecs.SerializerForFileExtension("json") + serializer, ok := runtime.SerializerInfoForMediaType(api.Codecs.SupportedMediaTypes(), runtime.ContentTypeJSON) if !ok { return nil, fmt.Errorf("no serializer registered for json") } - return serializer, nil + return serializer.Serializer, nil } return nil, fmt.Errorf("unexpected kind: %v", kind) } diff --git a/pkg/api/types.generated.go b/pkg/api/types.generated.go index f192baf9..d82c3e34 100644 --- a/pkg/api/types.generated.go +++ b/pkg/api/types.generated.go @@ -26573,7 +26573,7 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Weight = 0 } else { - x.Weight = int(r.DecodeInt(codecSelferBitsize1234)) + x.Weight = int32(r.DecodeInt(32)) } case "podAffinityTerm": if r.TryDecodeAsNil() { @@ -26610,7 +26610,7 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Weight = 0 } else { - x.Weight = int(r.DecodeInt(codecSelferBitsize1234)) + x.Weight = int32(r.DecodeInt(32)) } yyj1969++ if yyhl1969 { @@ -32527,16 +32527,15 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep2477 := !z.EncBinary() yy2arr2477 := z.EncBasicHandle().StructToArray - var yyq2477 [6]bool + var yyq2477 [5]bool _, _, _ = yysep2477, yyq2477, yy2arr2477 const yyr2477 bool = false yyq2477[2] = true - yyq2477[3] = true - yyq2477[4] = x.Reason != "" - yyq2477[5] = x.Message != "" + yyq2477[3] = x.Reason != "" + yyq2477[4] = x.Message != "" var yynn2477 int if yyr2477 || yy2arr2477 { - r.EncodeArrayStart(6) + r.EncodeArrayStart(5) } else { yynn2477 = 2 for _, b := range yyq2477 { @@ -32568,7 +32567,7 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2477 || yy2arr2477 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2477[2] { - yy2481 := &x.LastProbeTime + yy2481 := &x.LastTransitionTime yym2482 := z.EncBinary() _ = yym2482 if false { @@ -32586,9 +32585,9 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq2477[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2483 := &x.LastProbeTime + yy2483 := &x.LastTransitionTime yym2484 := z.EncBinary() _ = yym2484 if false { @@ -32605,45 +32604,8 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2477 || yy2arr2477 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2477[3] { - yy2486 := &x.LastTransitionTime - yym2487 := z.EncBinary() - _ = yym2487 - if false { - } else if z.HasExtensions() && z.EncExt(yy2486) { - } else if yym2487 { - z.EncBinaryMarshal(yy2486) - } else if !yym2487 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2486) - } else { - z.EncFallback(yy2486) - } - } else { - r.EncodeNil() - } - } else { - if yyq2477[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2488 := &x.LastTransitionTime - yym2489 := z.EncBinary() - _ = yym2489 - if false { - } else if z.HasExtensions() && z.EncExt(yy2488) { - } else if yym2489 { - z.EncBinaryMarshal(yy2488) - } else if !yym2489 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2488) - } else { - z.EncFallback(yy2488) - } - } - } - if yyr2477 || yy2arr2477 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2477[4] { - yym2491 := z.EncBinary() - _ = yym2491 + yym2486 := z.EncBinary() + _ = yym2486 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -32652,12 +32614,12 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2477[4] { + if yyq2477[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2492 := z.EncBinary() - _ = yym2492 + yym2487 := z.EncBinary() + _ = yym2487 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -32666,9 +32628,9 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2477 || yy2arr2477 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2477[5] { - yym2494 := z.EncBinary() - _ = yym2494 + if yyq2477[4] { + yym2489 := z.EncBinary() + _ = yym2489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -32677,12 +32639,12 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2477[5] { + if yyq2477[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2495 := z.EncBinary() - _ = yym2495 + yym2490 := z.EncBinary() + _ = yym2490 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -32702,25 +32664,25 @@ func (x *ReplicationControllerCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2496 := z.DecBinary() - _ = yym2496 + yym2491 := z.DecBinary() + _ = yym2491 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2497 := r.ContainerType() - if yyct2497 == codecSelferValueTypeMap1234 { - yyl2497 := r.ReadMapStart() - if yyl2497 == 0 { + yyct2492 := r.ContainerType() + if yyct2492 == codecSelferValueTypeMap1234 { + yyl2492 := r.ReadMapStart() + if yyl2492 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2497, d) + x.codecDecodeSelfFromMap(yyl2492, d) } - } else if yyct2497 == codecSelferValueTypeArray1234 { - yyl2497 := r.ReadArrayStart() - if yyl2497 == 0 { + } else if yyct2492 == codecSelferValueTypeArray1234 { + yyl2492 := r.ReadArrayStart() + if yyl2492 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2497, d) + x.codecDecodeSelfFromArray(yyl2492, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32732,12 +32694,12 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2498Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2498Slc - var yyhl2498 bool = l >= 0 - for yyj2498 := 0; ; yyj2498++ { - if yyhl2498 { - if yyj2498 >= l { + var yys2493Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2493Slc + var yyhl2493 bool = l >= 0 + for yyj2493 := 0; ; yyj2493++ { + if yyhl2493 { + if yyj2493 >= l { break } } else { @@ -32746,10 +32708,10 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2498Slc = r.DecodeBytes(yys2498Slc, true, true) - yys2498 := string(yys2498Slc) + yys2493Slc = r.DecodeBytes(yys2493Slc, true, true) + yys2493 := string(yys2493Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2498 { + switch yys2493 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -32762,38 +32724,21 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 } else { x.Status = ConditionStatus(r.DecodeString()) } - case "lastProbeTime": - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg2_unversioned.Time{} - } else { - yyv2501 := &x.LastProbeTime - yym2502 := z.DecBinary() - _ = yym2502 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2501) { - } else if yym2502 { - z.DecBinaryUnmarshal(yyv2501) - } else if !yym2502 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2501) - } else { - z.DecFallback(yyv2501, false) - } - } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2503 := &x.LastTransitionTime - yym2504 := z.DecBinary() - _ = yym2504 + yyv2496 := &x.LastTransitionTime + yym2497 := z.DecBinary() + _ = yym2497 if false { - } else if z.HasExtensions() && z.DecExt(yyv2503) { - } else if yym2504 { - z.DecBinaryUnmarshal(yyv2503) - } else if !yym2504 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2503) + } else if z.HasExtensions() && z.DecExt(yyv2496) { + } else if yym2497 { + z.DecBinaryUnmarshal(yyv2496) + } else if !yym2497 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2496) } else { - z.DecFallback(yyv2503, false) + z.DecFallback(yyv2496, false) } } case "reason": @@ -32809,9 +32754,9 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2498) - } // end switch yys2498 - } // end for yyj2498 + z.DecStructFieldNotFound(-1, yys2493) + } // end switch yys2493 + } // end for yyj2493 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32819,16 +32764,16 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2507 int - var yyb2507 bool - var yyhl2507 bool = l >= 0 - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + var yyj2500 int + var yyb2500 bool + var yyhl2500 bool = l >= 0 + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb2507 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb2507 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32838,13 +32783,13 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code } else { x.Type = ReplicationControllerConditionType(r.DecodeString()) } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb2507 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb2507 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32854,40 +32799,13 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb2507 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb2507 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg2_unversioned.Time{} - } else { - yyv2510 := &x.LastProbeTime - yym2511 := z.DecBinary() - _ = yym2511 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2510) { - } else if yym2511 { - z.DecBinaryUnmarshal(yyv2510) - } else if !yym2511 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2510) - } else { - z.DecFallback(yyv2510, false) - } - } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l - } else { - yyb2507 = r.CheckBreak() - } - if yyb2507 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32895,26 +32813,26 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2512 := &x.LastTransitionTime - yym2513 := z.DecBinary() - _ = yym2513 + yyv2503 := &x.LastTransitionTime + yym2504 := z.DecBinary() + _ = yym2504 if false { - } else if z.HasExtensions() && z.DecExt(yyv2512) { - } else if yym2513 { - z.DecBinaryUnmarshal(yyv2512) - } else if !yym2513 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2512) + } else if z.HasExtensions() && z.DecExt(yyv2503) { + } else if yym2504 { + z.DecBinaryUnmarshal(yyv2503) + } else if !yym2504 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2503) } else { - z.DecFallback(yyv2512, false) + z.DecFallback(yyv2503, false) } } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb2507 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb2507 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32924,13 +32842,13 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code } else { x.Reason = string(r.DecodeString()) } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb2507 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb2507 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32941,17 +32859,17 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code x.Message = string(r.DecodeString()) } for { - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb2507 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb2507 { + if yyb2500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2507-1, "") + z.DecStructFieldNotFound(yyj2500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32963,39 +32881,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2516 := z.EncBinary() - _ = yym2516 + yym2507 := z.EncBinary() + _ = yym2507 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2517 := !z.EncBinary() - yy2arr2517 := z.EncBasicHandle().StructToArray - var yyq2517 [5]bool - _, _, _ = yysep2517, yyq2517, yy2arr2517 - const yyr2517 bool = false - yyq2517[0] = x.Kind != "" - yyq2517[1] = x.APIVersion != "" - yyq2517[2] = true - yyq2517[3] = true - yyq2517[4] = true - var yynn2517 int - if yyr2517 || yy2arr2517 { + yysep2508 := !z.EncBinary() + yy2arr2508 := z.EncBasicHandle().StructToArray + var yyq2508 [5]bool + _, _, _ = yysep2508, yyq2508, yy2arr2508 + const yyr2508 bool = false + yyq2508[0] = x.Kind != "" + yyq2508[1] = x.APIVersion != "" + yyq2508[2] = true + yyq2508[3] = true + yyq2508[4] = true + var yynn2508 int + if yyr2508 || yy2arr2508 { r.EncodeArrayStart(5) } else { - yynn2517 = 0 - for _, b := range yyq2517 { + yynn2508 = 0 + for _, b := range yyq2508 { if b { - yynn2517++ + yynn2508++ } } - r.EncodeMapStart(yynn2517) - yynn2517 = 0 + r.EncodeMapStart(yynn2508) + yynn2508 = 0 } - if yyr2517 || yy2arr2517 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2517[0] { - yym2519 := z.EncBinary() - _ = yym2519 + if yyq2508[0] { + yym2510 := z.EncBinary() + _ = yym2510 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33004,23 +32922,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2517[0] { + if yyq2508[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2520 := z.EncBinary() - _ = yym2520 + yym2511 := z.EncBinary() + _ = yym2511 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2517 || yy2arr2517 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2517[1] { - yym2522 := z.EncBinary() - _ = yym2522 + if yyq2508[1] { + yym2513 := z.EncBinary() + _ = yym2513 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33029,70 +32947,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2517[1] { + if yyq2508[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2523 := z.EncBinary() - _ = yym2523 + yym2514 := z.EncBinary() + _ = yym2514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2517 || yy2arr2517 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2517[2] { - yy2525 := &x.ObjectMeta - yy2525.CodecEncodeSelf(e) + if yyq2508[2] { + yy2516 := &x.ObjectMeta + yy2516.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2517[2] { + if yyq2508[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2526 := &x.ObjectMeta - yy2526.CodecEncodeSelf(e) + yy2517 := &x.ObjectMeta + yy2517.CodecEncodeSelf(e) } } - if yyr2517 || yy2arr2517 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2517[3] { - yy2528 := &x.Spec - yy2528.CodecEncodeSelf(e) + if yyq2508[3] { + yy2519 := &x.Spec + yy2519.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2517[3] { + if yyq2508[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2529 := &x.Spec - yy2529.CodecEncodeSelf(e) + yy2520 := &x.Spec + yy2520.CodecEncodeSelf(e) } } - if yyr2517 || yy2arr2517 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2517[4] { - yy2531 := &x.Status - yy2531.CodecEncodeSelf(e) + if yyq2508[4] { + yy2522 := &x.Status + yy2522.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2517[4] { + if yyq2508[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2532 := &x.Status - yy2532.CodecEncodeSelf(e) + yy2523 := &x.Status + yy2523.CodecEncodeSelf(e) } } - if yyr2517 || yy2arr2517 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33105,25 +33023,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2533 := z.DecBinary() - _ = yym2533 + yym2524 := z.DecBinary() + _ = yym2524 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2534 := r.ContainerType() - if yyct2534 == codecSelferValueTypeMap1234 { - yyl2534 := r.ReadMapStart() - if yyl2534 == 0 { + yyct2525 := r.ContainerType() + if yyct2525 == codecSelferValueTypeMap1234 { + yyl2525 := r.ReadMapStart() + if yyl2525 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2534, d) + x.codecDecodeSelfFromMap(yyl2525, d) } - } else if yyct2534 == codecSelferValueTypeArray1234 { - yyl2534 := r.ReadArrayStart() - if yyl2534 == 0 { + } else if yyct2525 == codecSelferValueTypeArray1234 { + yyl2525 := r.ReadArrayStart() + if yyl2525 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2534, d) + x.codecDecodeSelfFromArray(yyl2525, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33135,12 +33053,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2535Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2535Slc - var yyhl2535 bool = l >= 0 - for yyj2535 := 0; ; yyj2535++ { - if yyhl2535 { - if yyj2535 >= l { + var yys2526Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2526Slc + var yyhl2526 bool = l >= 0 + for yyj2526 := 0; ; yyj2526++ { + if yyhl2526 { + if yyj2526 >= l { break } } else { @@ -33149,10 +33067,10 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2535Slc = r.DecodeBytes(yys2535Slc, true, true) - yys2535 := string(yys2535Slc) + yys2526Slc = r.DecodeBytes(yys2526Slc, true, true) + yys2526 := string(yys2526Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2535 { + switch yys2526 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33169,27 +33087,27 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2538 := &x.ObjectMeta - yyv2538.CodecDecodeSelf(d) + yyv2529 := &x.ObjectMeta + yyv2529.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2539 := &x.Spec - yyv2539.CodecDecodeSelf(d) + yyv2530 := &x.Spec + yyv2530.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2540 := &x.Status - yyv2540.CodecDecodeSelf(d) + yyv2531 := &x.Status + yyv2531.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2535) - } // end switch yys2535 - } // end for yyj2535 + z.DecStructFieldNotFound(-1, yys2526) + } // end switch yys2526 + } // end for yyj2526 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33197,16 +33115,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2541 int - var yyb2541 bool - var yyhl2541 bool = l >= 0 - yyj2541++ - if yyhl2541 { - yyb2541 = yyj2541 > l + var yyj2532 int + var yyb2532 bool + var yyhl2532 bool = l >= 0 + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb2541 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb2541 { + if yyb2532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33216,13 +33134,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj2541++ - if yyhl2541 { - yyb2541 = yyj2541 > l + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb2541 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb2541 { + if yyb2532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33232,13 +33150,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj2541++ - if yyhl2541 { - yyb2541 = yyj2541 > l + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb2541 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb2541 { + if yyb2532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33246,16 +33164,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2544 := &x.ObjectMeta - yyv2544.CodecDecodeSelf(d) + yyv2535 := &x.ObjectMeta + yyv2535.CodecDecodeSelf(d) } - yyj2541++ - if yyhl2541 { - yyb2541 = yyj2541 > l + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb2541 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb2541 { + if yyb2532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33263,16 +33181,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2545 := &x.Spec - yyv2545.CodecDecodeSelf(d) + yyv2536 := &x.Spec + yyv2536.CodecDecodeSelf(d) } - yyj2541++ - if yyhl2541 { - yyb2541 = yyj2541 > l + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb2541 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb2541 { + if yyb2532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33280,21 +33198,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2546 := &x.Status - yyv2546.CodecDecodeSelf(d) + yyv2537 := &x.Status + yyv2537.CodecDecodeSelf(d) } for { - yyj2541++ - if yyhl2541 { - yyb2541 = yyj2541 > l + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb2541 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb2541 { + if yyb2532 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2541-1, "") + z.DecStructFieldNotFound(yyj2532-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33306,37 +33224,37 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2547 := z.EncBinary() - _ = yym2547 + yym2538 := z.EncBinary() + _ = yym2538 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2548 := !z.EncBinary() - yy2arr2548 := z.EncBasicHandle().StructToArray - var yyq2548 [4]bool - _, _, _ = yysep2548, yyq2548, yy2arr2548 - const yyr2548 bool = false - yyq2548[0] = x.Kind != "" - yyq2548[1] = x.APIVersion != "" - yyq2548[2] = true - var yynn2548 int - if yyr2548 || yy2arr2548 { + yysep2539 := !z.EncBinary() + yy2arr2539 := z.EncBasicHandle().StructToArray + var yyq2539 [4]bool + _, _, _ = yysep2539, yyq2539, yy2arr2539 + const yyr2539 bool = false + yyq2539[0] = x.Kind != "" + yyq2539[1] = x.APIVersion != "" + yyq2539[2] = true + var yynn2539 int + if yyr2539 || yy2arr2539 { r.EncodeArrayStart(4) } else { - yynn2548 = 1 - for _, b := range yyq2548 { + yynn2539 = 1 + for _, b := range yyq2539 { if b { - yynn2548++ + yynn2539++ } } - r.EncodeMapStart(yynn2548) - yynn2548 = 0 + r.EncodeMapStart(yynn2539) + yynn2539 = 0 } - if yyr2548 || yy2arr2548 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2548[0] { - yym2550 := z.EncBinary() - _ = yym2550 + if yyq2539[0] { + yym2541 := z.EncBinary() + _ = yym2541 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33345,23 +33263,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2548[0] { + if yyq2539[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2551 := z.EncBinary() - _ = yym2551 + yym2542 := z.EncBinary() + _ = yym2542 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2548 || yy2arr2548 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2548[1] { - yym2553 := z.EncBinary() - _ = yym2553 + if yyq2539[1] { + yym2544 := z.EncBinary() + _ = yym2544 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33370,54 +33288,54 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2548[1] { + if yyq2539[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2554 := z.EncBinary() - _ = yym2554 + yym2545 := z.EncBinary() + _ = yym2545 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2548 || yy2arr2548 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2548[2] { - yy2556 := &x.ListMeta - yym2557 := z.EncBinary() - _ = yym2557 + if yyq2539[2] { + yy2547 := &x.ListMeta + yym2548 := z.EncBinary() + _ = yym2548 if false { - } else if z.HasExtensions() && z.EncExt(yy2556) { + } else if z.HasExtensions() && z.EncExt(yy2547) { } else { - z.EncFallback(yy2556) + z.EncFallback(yy2547) } } else { r.EncodeNil() } } else { - if yyq2548[2] { + if yyq2539[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2558 := &x.ListMeta - yym2559 := z.EncBinary() - _ = yym2559 + yy2549 := &x.ListMeta + yym2550 := z.EncBinary() + _ = yym2550 if false { - } else if z.HasExtensions() && z.EncExt(yy2558) { + } else if z.HasExtensions() && z.EncExt(yy2549) { } else { - z.EncFallback(yy2558) + z.EncFallback(yy2549) } } } - if yyr2548 || yy2arr2548 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2561 := z.EncBinary() - _ = yym2561 + yym2552 := z.EncBinary() + _ = yym2552 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -33430,15 +33348,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2562 := z.EncBinary() - _ = yym2562 + yym2553 := z.EncBinary() + _ = yym2553 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2548 || yy2arr2548 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33451,25 +33369,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2563 := z.DecBinary() - _ = yym2563 + yym2554 := z.DecBinary() + _ = yym2554 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2564 := r.ContainerType() - if yyct2564 == codecSelferValueTypeMap1234 { - yyl2564 := r.ReadMapStart() - if yyl2564 == 0 { + yyct2555 := r.ContainerType() + if yyct2555 == codecSelferValueTypeMap1234 { + yyl2555 := r.ReadMapStart() + if yyl2555 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2564, d) + x.codecDecodeSelfFromMap(yyl2555, d) } - } else if yyct2564 == codecSelferValueTypeArray1234 { - yyl2564 := r.ReadArrayStart() - if yyl2564 == 0 { + } else if yyct2555 == codecSelferValueTypeArray1234 { + yyl2555 := r.ReadArrayStart() + if yyl2555 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2564, d) + x.codecDecodeSelfFromArray(yyl2555, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33481,12 +33399,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2565Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2565Slc - var yyhl2565 bool = l >= 0 - for yyj2565 := 0; ; yyj2565++ { - if yyhl2565 { - if yyj2565 >= l { + var yys2556Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2556Slc + var yyhl2556 bool = l >= 0 + for yyj2556 := 0; ; yyj2556++ { + if yyhl2556 { + if yyj2556 >= l { break } } else { @@ -33495,10 +33413,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2565Slc = r.DecodeBytes(yys2565Slc, true, true) - yys2565 := string(yys2565Slc) + yys2556Slc = r.DecodeBytes(yys2556Slc, true, true) + yys2556 := string(yys2556Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2565 { + switch yys2556 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33515,31 +33433,31 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2568 := &x.ListMeta - yym2569 := z.DecBinary() - _ = yym2569 + yyv2559 := &x.ListMeta + yym2560 := z.DecBinary() + _ = yym2560 if false { - } else if z.HasExtensions() && z.DecExt(yyv2568) { + } else if z.HasExtensions() && z.DecExt(yyv2559) { } else { - z.DecFallback(yyv2568, false) + z.DecFallback(yyv2559, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2570 := &x.Items - yym2571 := z.DecBinary() - _ = yym2571 + yyv2561 := &x.Items + yym2562 := z.DecBinary() + _ = yym2562 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2570), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2561), d) } } default: - z.DecStructFieldNotFound(-1, yys2565) - } // end switch yys2565 - } // end for yyj2565 + z.DecStructFieldNotFound(-1, yys2556) + } // end switch yys2556 + } // end for yyj2556 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33547,16 +33465,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2572 int - var yyb2572 bool - var yyhl2572 bool = l >= 0 - yyj2572++ - if yyhl2572 { - yyb2572 = yyj2572 > l + var yyj2563 int + var yyb2563 bool + var yyhl2563 bool = l >= 0 + yyj2563++ + if yyhl2563 { + yyb2563 = yyj2563 > l } else { - yyb2572 = r.CheckBreak() + yyb2563 = r.CheckBreak() } - if yyb2572 { + if yyb2563 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33566,13 +33484,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj2572++ - if yyhl2572 { - yyb2572 = yyj2572 > l + yyj2563++ + if yyhl2563 { + yyb2563 = yyj2563 > l } else { - yyb2572 = r.CheckBreak() + yyb2563 = r.CheckBreak() } - if yyb2572 { + if yyb2563 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33582,13 +33500,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - yyj2572++ - if yyhl2572 { - yyb2572 = yyj2572 > l + yyj2563++ + if yyhl2563 { + yyb2563 = yyj2563 > l } else { - yyb2572 = r.CheckBreak() + yyb2563 = r.CheckBreak() } - if yyb2572 { + if yyb2563 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33596,22 +33514,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2575 := &x.ListMeta - yym2576 := z.DecBinary() - _ = yym2576 + yyv2566 := &x.ListMeta + yym2567 := z.DecBinary() + _ = yym2567 if false { - } else if z.HasExtensions() && z.DecExt(yyv2575) { + } else if z.HasExtensions() && z.DecExt(yyv2566) { } else { - z.DecFallback(yyv2575, false) + z.DecFallback(yyv2566, false) } } - yyj2572++ - if yyhl2572 { - yyb2572 = yyj2572 > l + yyj2563++ + if yyhl2563 { + yyb2563 = yyj2563 > l } else { - yyb2572 = r.CheckBreak() + yyb2563 = r.CheckBreak() } - if yyb2572 { + if yyb2563 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33619,26 +33537,26 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2577 := &x.Items - yym2578 := z.DecBinary() - _ = yym2578 + yyv2568 := &x.Items + yym2569 := z.DecBinary() + _ = yym2569 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2577), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2568), d) } } for { - yyj2572++ - if yyhl2572 { - yyb2572 = yyj2572 > l + yyj2563++ + if yyhl2563 { + yyb2563 = yyj2563 > l } else { - yyb2572 = r.CheckBreak() + yyb2563 = r.CheckBreak() } - if yyb2572 { + if yyb2563 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2572-1, "") + z.DecStructFieldNotFound(yyj2563-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33650,37 +33568,37 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2579 := z.EncBinary() - _ = yym2579 + yym2570 := z.EncBinary() + _ = yym2570 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2580 := !z.EncBinary() - yy2arr2580 := z.EncBasicHandle().StructToArray - var yyq2580 [4]bool - _, _, _ = yysep2580, yyq2580, yy2arr2580 - const yyr2580 bool = false - yyq2580[0] = x.Kind != "" - yyq2580[1] = x.APIVersion != "" - yyq2580[2] = true - var yynn2580 int - if yyr2580 || yy2arr2580 { + yysep2571 := !z.EncBinary() + yy2arr2571 := z.EncBasicHandle().StructToArray + var yyq2571 [4]bool + _, _, _ = yysep2571, yyq2571, yy2arr2571 + const yyr2571 bool = false + yyq2571[0] = x.Kind != "" + yyq2571[1] = x.APIVersion != "" + yyq2571[2] = true + var yynn2571 int + if yyr2571 || yy2arr2571 { r.EncodeArrayStart(4) } else { - yynn2580 = 1 - for _, b := range yyq2580 { + yynn2571 = 1 + for _, b := range yyq2571 { if b { - yynn2580++ + yynn2571++ } } - r.EncodeMapStart(yynn2580) - yynn2580 = 0 + r.EncodeMapStart(yynn2571) + yynn2571 = 0 } - if yyr2580 || yy2arr2580 { + if yyr2571 || yy2arr2571 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2580[0] { - yym2582 := z.EncBinary() - _ = yym2582 + if yyq2571[0] { + yym2573 := z.EncBinary() + _ = yym2573 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33689,23 +33607,23 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2580[0] { + if yyq2571[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2583 := z.EncBinary() - _ = yym2583 + yym2574 := z.EncBinary() + _ = yym2574 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2580 || yy2arr2580 { + if yyr2571 || yy2arr2571 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2580[1] { - yym2585 := z.EncBinary() - _ = yym2585 + if yyq2571[1] { + yym2576 := z.EncBinary() + _ = yym2576 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33714,54 +33632,54 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2580[1] { + if yyq2571[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2586 := z.EncBinary() - _ = yym2586 + yym2577 := z.EncBinary() + _ = yym2577 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2580 || yy2arr2580 { + if yyr2571 || yy2arr2571 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2580[2] { - yy2588 := &x.ListMeta - yym2589 := z.EncBinary() - _ = yym2589 + if yyq2571[2] { + yy2579 := &x.ListMeta + yym2580 := z.EncBinary() + _ = yym2580 if false { - } else if z.HasExtensions() && z.EncExt(yy2588) { + } else if z.HasExtensions() && z.EncExt(yy2579) { } else { - z.EncFallback(yy2588) + z.EncFallback(yy2579) } } else { r.EncodeNil() } } else { - if yyq2580[2] { + if yyq2571[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2590 := &x.ListMeta - yym2591 := z.EncBinary() - _ = yym2591 + yy2581 := &x.ListMeta + yym2582 := z.EncBinary() + _ = yym2582 if false { - } else if z.HasExtensions() && z.EncExt(yy2590) { + } else if z.HasExtensions() && z.EncExt(yy2581) { } else { - z.EncFallback(yy2590) + z.EncFallback(yy2581) } } } - if yyr2580 || yy2arr2580 { + if yyr2571 || yy2arr2571 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2593 := z.EncBinary() - _ = yym2593 + yym2584 := z.EncBinary() + _ = yym2584 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -33774,15 +33692,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2594 := z.EncBinary() - _ = yym2594 + yym2585 := z.EncBinary() + _ = yym2585 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2580 || yy2arr2580 { + if yyr2571 || yy2arr2571 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33795,25 +33713,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2595 := z.DecBinary() - _ = yym2595 + yym2586 := z.DecBinary() + _ = yym2586 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2596 := r.ContainerType() - if yyct2596 == codecSelferValueTypeMap1234 { - yyl2596 := r.ReadMapStart() - if yyl2596 == 0 { + yyct2587 := r.ContainerType() + if yyct2587 == codecSelferValueTypeMap1234 { + yyl2587 := r.ReadMapStart() + if yyl2587 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2596, d) + x.codecDecodeSelfFromMap(yyl2587, d) } - } else if yyct2596 == codecSelferValueTypeArray1234 { - yyl2596 := r.ReadArrayStart() - if yyl2596 == 0 { + } else if yyct2587 == codecSelferValueTypeArray1234 { + yyl2587 := r.ReadArrayStart() + if yyl2587 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2596, d) + x.codecDecodeSelfFromArray(yyl2587, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33825,12 +33743,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2597Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2597Slc - var yyhl2597 bool = l >= 0 - for yyj2597 := 0; ; yyj2597++ { - if yyhl2597 { - if yyj2597 >= l { + var yys2588Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2588Slc + var yyhl2588 bool = l >= 0 + for yyj2588 := 0; ; yyj2588++ { + if yyhl2588 { + if yyj2588 >= l { break } } else { @@ -33839,10 +33757,10 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2597Slc = r.DecodeBytes(yys2597Slc, true, true) - yys2597 := string(yys2597Slc) + yys2588Slc = r.DecodeBytes(yys2588Slc, true, true) + yys2588 := string(yys2588Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2597 { + switch yys2588 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33859,31 +33777,31 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2600 := &x.ListMeta - yym2601 := z.DecBinary() - _ = yym2601 + yyv2591 := &x.ListMeta + yym2592 := z.DecBinary() + _ = yym2592 if false { - } else if z.HasExtensions() && z.DecExt(yyv2600) { + } else if z.HasExtensions() && z.DecExt(yyv2591) { } else { - z.DecFallback(yyv2600, false) + z.DecFallback(yyv2591, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2602 := &x.Items - yym2603 := z.DecBinary() - _ = yym2603 + yyv2593 := &x.Items + yym2594 := z.DecBinary() + _ = yym2594 if false { } else { - h.decSliceService((*[]Service)(yyv2602), d) + h.decSliceService((*[]Service)(yyv2593), d) } } default: - z.DecStructFieldNotFound(-1, yys2597) - } // end switch yys2597 - } // end for yyj2597 + z.DecStructFieldNotFound(-1, yys2588) + } // end switch yys2588 + } // end for yyj2588 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33891,16 +33809,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2604 int - var yyb2604 bool - var yyhl2604 bool = l >= 0 - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + var yyj2595 int + var yyb2595 bool + var yyhl2595 bool = l >= 0 + yyj2595++ + if yyhl2595 { + yyb2595 = yyj2595 > l } else { - yyb2604 = r.CheckBreak() + yyb2595 = r.CheckBreak() } - if yyb2604 { + if yyb2595 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33910,13 +33828,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2595++ + if yyhl2595 { + yyb2595 = yyj2595 > l } else { - yyb2604 = r.CheckBreak() + yyb2595 = r.CheckBreak() } - if yyb2604 { + if yyb2595 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33926,13 +33844,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2595++ + if yyhl2595 { + yyb2595 = yyj2595 > l } else { - yyb2604 = r.CheckBreak() + yyb2595 = r.CheckBreak() } - if yyb2604 { + if yyb2595 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33940,22 +33858,22 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2607 := &x.ListMeta - yym2608 := z.DecBinary() - _ = yym2608 + yyv2598 := &x.ListMeta + yym2599 := z.DecBinary() + _ = yym2599 if false { - } else if z.HasExtensions() && z.DecExt(yyv2607) { + } else if z.HasExtensions() && z.DecExt(yyv2598) { } else { - z.DecFallback(yyv2607, false) + z.DecFallback(yyv2598, false) } } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2595++ + if yyhl2595 { + yyb2595 = yyj2595 > l } else { - yyb2604 = r.CheckBreak() + yyb2595 = r.CheckBreak() } - if yyb2604 { + if yyb2595 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33963,26 +33881,26 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2609 := &x.Items - yym2610 := z.DecBinary() - _ = yym2610 + yyv2600 := &x.Items + yym2601 := z.DecBinary() + _ = yym2601 if false { } else { - h.decSliceService((*[]Service)(yyv2609), d) + h.decSliceService((*[]Service)(yyv2600), d) } } for { - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2595++ + if yyhl2595 { + yyb2595 = yyj2595 > l } else { - yyb2604 = r.CheckBreak() + yyb2595 = r.CheckBreak() } - if yyb2604 { + if yyb2595 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2604-1, "") + z.DecStructFieldNotFound(yyj2595-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33991,8 +33909,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2611 := z.EncBinary() - _ = yym2611 + yym2602 := z.EncBinary() + _ = yym2602 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -34004,8 +33922,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2612 := z.DecBinary() - _ = yym2612 + yym2603 := z.DecBinary() + _ = yym2603 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -34017,8 +33935,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2613 := z.EncBinary() - _ = yym2613 + yym2604 := z.EncBinary() + _ = yym2604 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -34030,8 +33948,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2614 := z.DecBinary() - _ = yym2614 + yym2605 := z.DecBinary() + _ = yym2605 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -34046,48 +33964,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2615 := z.EncBinary() - _ = yym2615 + yym2606 := z.EncBinary() + _ = yym2606 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2616 := !z.EncBinary() - yy2arr2616 := z.EncBasicHandle().StructToArray - var yyq2616 [1]bool - _, _, _ = yysep2616, yyq2616, yy2arr2616 - const yyr2616 bool = false - yyq2616[0] = true - var yynn2616 int - if yyr2616 || yy2arr2616 { + yysep2607 := !z.EncBinary() + yy2arr2607 := z.EncBasicHandle().StructToArray + var yyq2607 [1]bool + _, _, _ = yysep2607, yyq2607, yy2arr2607 + const yyr2607 bool = false + yyq2607[0] = true + var yynn2607 int + if yyr2607 || yy2arr2607 { r.EncodeArrayStart(1) } else { - yynn2616 = 0 - for _, b := range yyq2616 { + yynn2607 = 0 + for _, b := range yyq2607 { if b { - yynn2616++ + yynn2607++ } } - r.EncodeMapStart(yynn2616) - yynn2616 = 0 + r.EncodeMapStart(yynn2607) + yynn2607 = 0 } - if yyr2616 || yy2arr2616 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2616[0] { - yy2618 := &x.LoadBalancer - yy2618.CodecEncodeSelf(e) + if yyq2607[0] { + yy2609 := &x.LoadBalancer + yy2609.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2616[0] { + if yyq2607[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2619 := &x.LoadBalancer - yy2619.CodecEncodeSelf(e) + yy2610 := &x.LoadBalancer + yy2610.CodecEncodeSelf(e) } } - if yyr2616 || yy2arr2616 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34100,25 +34018,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2620 := z.DecBinary() - _ = yym2620 + yym2611 := z.DecBinary() + _ = yym2611 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2621 := r.ContainerType() - if yyct2621 == codecSelferValueTypeMap1234 { - yyl2621 := r.ReadMapStart() - if yyl2621 == 0 { + yyct2612 := r.ContainerType() + if yyct2612 == codecSelferValueTypeMap1234 { + yyl2612 := r.ReadMapStart() + if yyl2612 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2621, d) + x.codecDecodeSelfFromMap(yyl2612, d) } - } else if yyct2621 == codecSelferValueTypeArray1234 { - yyl2621 := r.ReadArrayStart() - if yyl2621 == 0 { + } else if yyct2612 == codecSelferValueTypeArray1234 { + yyl2612 := r.ReadArrayStart() + if yyl2612 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2621, d) + x.codecDecodeSelfFromArray(yyl2612, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34130,12 +34048,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2622Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2622Slc - var yyhl2622 bool = l >= 0 - for yyj2622 := 0; ; yyj2622++ { - if yyhl2622 { - if yyj2622 >= l { + var yys2613Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2613Slc + var yyhl2613 bool = l >= 0 + for yyj2613 := 0; ; yyj2613++ { + if yyhl2613 { + if yyj2613 >= l { break } } else { @@ -34144,21 +34062,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2622Slc = r.DecodeBytes(yys2622Slc, true, true) - yys2622 := string(yys2622Slc) + yys2613Slc = r.DecodeBytes(yys2613Slc, true, true) + yys2613 := string(yys2613Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2622 { + switch yys2613 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2623 := &x.LoadBalancer - yyv2623.CodecDecodeSelf(d) + yyv2614 := &x.LoadBalancer + yyv2614.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2622) - } // end switch yys2622 - } // end for yyj2622 + z.DecStructFieldNotFound(-1, yys2613) + } // end switch yys2613 + } // end for yyj2613 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34166,16 +34084,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2624 int - var yyb2624 bool - var yyhl2624 bool = l >= 0 - yyj2624++ - if yyhl2624 { - yyb2624 = yyj2624 > l + var yyj2615 int + var yyb2615 bool + var yyhl2615 bool = l >= 0 + yyj2615++ + if yyhl2615 { + yyb2615 = yyj2615 > l } else { - yyb2624 = r.CheckBreak() + yyb2615 = r.CheckBreak() } - if yyb2624 { + if yyb2615 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34183,21 +34101,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2625 := &x.LoadBalancer - yyv2625.CodecDecodeSelf(d) + yyv2616 := &x.LoadBalancer + yyv2616.CodecDecodeSelf(d) } for { - yyj2624++ - if yyhl2624 { - yyb2624 = yyj2624 > l + yyj2615++ + if yyhl2615 { + yyb2615 = yyj2615 > l } else { - yyb2624 = r.CheckBreak() + yyb2615 = r.CheckBreak() } - if yyb2624 { + if yyb2615 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2624-1, "") + z.DecStructFieldNotFound(yyj2615-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34209,38 +34127,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2626 := z.EncBinary() - _ = yym2626 + yym2617 := z.EncBinary() + _ = yym2617 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2627 := !z.EncBinary() - yy2arr2627 := z.EncBasicHandle().StructToArray - var yyq2627 [1]bool - _, _, _ = yysep2627, yyq2627, yy2arr2627 - const yyr2627 bool = false - yyq2627[0] = len(x.Ingress) != 0 - var yynn2627 int - if yyr2627 || yy2arr2627 { + yysep2618 := !z.EncBinary() + yy2arr2618 := z.EncBasicHandle().StructToArray + var yyq2618 [1]bool + _, _, _ = yysep2618, yyq2618, yy2arr2618 + const yyr2618 bool = false + yyq2618[0] = len(x.Ingress) != 0 + var yynn2618 int + if yyr2618 || yy2arr2618 { r.EncodeArrayStart(1) } else { - yynn2627 = 0 - for _, b := range yyq2627 { + yynn2618 = 0 + for _, b := range yyq2618 { if b { - yynn2627++ + yynn2618++ } } - r.EncodeMapStart(yynn2627) - yynn2627 = 0 + r.EncodeMapStart(yynn2618) + yynn2618 = 0 } - if yyr2627 || yy2arr2627 { + if yyr2618 || yy2arr2618 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2627[0] { + if yyq2618[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym2629 := z.EncBinary() - _ = yym2629 + yym2620 := z.EncBinary() + _ = yym2620 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -34250,15 +34168,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2627[0] { + if yyq2618[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym2630 := z.EncBinary() - _ = yym2630 + yym2621 := z.EncBinary() + _ = yym2621 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -34266,7 +34184,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2627 || yy2arr2627 { + if yyr2618 || yy2arr2618 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34279,25 +34197,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2631 := z.DecBinary() - _ = yym2631 + yym2622 := z.DecBinary() + _ = yym2622 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2632 := r.ContainerType() - if yyct2632 == codecSelferValueTypeMap1234 { - yyl2632 := r.ReadMapStart() - if yyl2632 == 0 { + yyct2623 := r.ContainerType() + if yyct2623 == codecSelferValueTypeMap1234 { + yyl2623 := r.ReadMapStart() + if yyl2623 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2632, d) + x.codecDecodeSelfFromMap(yyl2623, d) } - } else if yyct2632 == codecSelferValueTypeArray1234 { - yyl2632 := r.ReadArrayStart() - if yyl2632 == 0 { + } else if yyct2623 == codecSelferValueTypeArray1234 { + yyl2623 := r.ReadArrayStart() + if yyl2623 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2632, d) + x.codecDecodeSelfFromArray(yyl2623, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34309,12 +34227,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2633Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2633Slc - var yyhl2633 bool = l >= 0 - for yyj2633 := 0; ; yyj2633++ { - if yyhl2633 { - if yyj2633 >= l { + var yys2624Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2624Slc + var yyhl2624 bool = l >= 0 + for yyj2624 := 0; ; yyj2624++ { + if yyhl2624 { + if yyj2624 >= l { break } } else { @@ -34323,26 +34241,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2633Slc = r.DecodeBytes(yys2633Slc, true, true) - yys2633 := string(yys2633Slc) + yys2624Slc = r.DecodeBytes(yys2624Slc, true, true) + yys2624 := string(yys2624Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2633 { + switch yys2624 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2634 := &x.Ingress - yym2635 := z.DecBinary() - _ = yym2635 + yyv2625 := &x.Ingress + yym2626 := z.DecBinary() + _ = yym2626 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2634), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2625), d) } } default: - z.DecStructFieldNotFound(-1, yys2633) - } // end switch yys2633 - } // end for yyj2633 + z.DecStructFieldNotFound(-1, yys2624) + } // end switch yys2624 + } // end for yyj2624 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34350,16 +34268,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2636 int - var yyb2636 bool - var yyhl2636 bool = l >= 0 - yyj2636++ - if yyhl2636 { - yyb2636 = yyj2636 > l + var yyj2627 int + var yyb2627 bool + var yyhl2627 bool = l >= 0 + yyj2627++ + if yyhl2627 { + yyb2627 = yyj2627 > l } else { - yyb2636 = r.CheckBreak() + yyb2627 = r.CheckBreak() } - if yyb2636 { + if yyb2627 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34367,26 +34285,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2637 := &x.Ingress - yym2638 := z.DecBinary() - _ = yym2638 + yyv2628 := &x.Ingress + yym2629 := z.DecBinary() + _ = yym2629 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2637), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2628), d) } } for { - yyj2636++ - if yyhl2636 { - yyb2636 = yyj2636 > l + yyj2627++ + if yyhl2627 { + yyb2627 = yyj2627 > l } else { - yyb2636 = r.CheckBreak() + yyb2627 = r.CheckBreak() } - if yyb2636 { + if yyb2627 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2636-1, "") + z.DecStructFieldNotFound(yyj2627-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34398,36 +34316,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2639 := z.EncBinary() - _ = yym2639 + yym2630 := z.EncBinary() + _ = yym2630 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2640 := !z.EncBinary() - yy2arr2640 := z.EncBasicHandle().StructToArray - var yyq2640 [2]bool - _, _, _ = yysep2640, yyq2640, yy2arr2640 - const yyr2640 bool = false - yyq2640[0] = x.IP != "" - yyq2640[1] = x.Hostname != "" - var yynn2640 int - if yyr2640 || yy2arr2640 { + yysep2631 := !z.EncBinary() + yy2arr2631 := z.EncBasicHandle().StructToArray + var yyq2631 [2]bool + _, _, _ = yysep2631, yyq2631, yy2arr2631 + const yyr2631 bool = false + yyq2631[0] = x.IP != "" + yyq2631[1] = x.Hostname != "" + var yynn2631 int + if yyr2631 || yy2arr2631 { r.EncodeArrayStart(2) } else { - yynn2640 = 0 - for _, b := range yyq2640 { + yynn2631 = 0 + for _, b := range yyq2631 { if b { - yynn2640++ + yynn2631++ } } - r.EncodeMapStart(yynn2640) - yynn2640 = 0 + r.EncodeMapStart(yynn2631) + yynn2631 = 0 } - if yyr2640 || yy2arr2640 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2640[0] { - yym2642 := z.EncBinary() - _ = yym2642 + if yyq2631[0] { + yym2633 := z.EncBinary() + _ = yym2633 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -34436,23 +34354,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2640[0] { + if yyq2631[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2643 := z.EncBinary() - _ = yym2643 + yym2634 := z.EncBinary() + _ = yym2634 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2640 || yy2arr2640 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2640[1] { - yym2645 := z.EncBinary() - _ = yym2645 + if yyq2631[1] { + yym2636 := z.EncBinary() + _ = yym2636 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -34461,19 +34379,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2640[1] { + if yyq2631[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2646 := z.EncBinary() - _ = yym2646 + yym2637 := z.EncBinary() + _ = yym2637 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2640 || yy2arr2640 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34486,25 +34404,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2647 := z.DecBinary() - _ = yym2647 + yym2638 := z.DecBinary() + _ = yym2638 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2648 := r.ContainerType() - if yyct2648 == codecSelferValueTypeMap1234 { - yyl2648 := r.ReadMapStart() - if yyl2648 == 0 { + yyct2639 := r.ContainerType() + if yyct2639 == codecSelferValueTypeMap1234 { + yyl2639 := r.ReadMapStart() + if yyl2639 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2648, d) + x.codecDecodeSelfFromMap(yyl2639, d) } - } else if yyct2648 == codecSelferValueTypeArray1234 { - yyl2648 := r.ReadArrayStart() - if yyl2648 == 0 { + } else if yyct2639 == codecSelferValueTypeArray1234 { + yyl2639 := r.ReadArrayStart() + if yyl2639 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2648, d) + x.codecDecodeSelfFromArray(yyl2639, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34516,12 +34434,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2649Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2649Slc - var yyhl2649 bool = l >= 0 - for yyj2649 := 0; ; yyj2649++ { - if yyhl2649 { - if yyj2649 >= l { + var yys2640Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2640Slc + var yyhl2640 bool = l >= 0 + for yyj2640 := 0; ; yyj2640++ { + if yyhl2640 { + if yyj2640 >= l { break } } else { @@ -34530,10 +34448,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2649Slc = r.DecodeBytes(yys2649Slc, true, true) - yys2649 := string(yys2649Slc) + yys2640Slc = r.DecodeBytes(yys2640Slc, true, true) + yys2640 := string(yys2640Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2649 { + switch yys2640 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -34547,9 +34465,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2649) - } // end switch yys2649 - } // end for yyj2649 + z.DecStructFieldNotFound(-1, yys2640) + } // end switch yys2640 + } // end for yyj2640 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34557,16 +34475,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2652 int - var yyb2652 bool - var yyhl2652 bool = l >= 0 - yyj2652++ - if yyhl2652 { - yyb2652 = yyj2652 > l + var yyj2643 int + var yyb2643 bool + var yyhl2643 bool = l >= 0 + yyj2643++ + if yyhl2643 { + yyb2643 = yyj2643 > l } else { - yyb2652 = r.CheckBreak() + yyb2643 = r.CheckBreak() } - if yyb2652 { + if yyb2643 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34576,13 +34494,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj2652++ - if yyhl2652 { - yyb2652 = yyj2652 > l + yyj2643++ + if yyhl2643 { + yyb2643 = yyj2643 > l } else { - yyb2652 = r.CheckBreak() + yyb2643 = r.CheckBreak() } - if yyb2652 { + if yyb2643 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34593,17 +34511,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj2652++ - if yyhl2652 { - yyb2652 = yyj2652 > l + yyj2643++ + if yyhl2643 { + yyb2643 = yyj2643 > l } else { - yyb2652 = r.CheckBreak() + yyb2643 = r.CheckBreak() } - if yyb2652 { + if yyb2643 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2652-1, "") + z.DecStructFieldNotFound(yyj2643-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34615,57 +34533,57 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2655 := z.EncBinary() - _ = yym2655 + yym2646 := z.EncBinary() + _ = yym2646 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2656 := !z.EncBinary() - yy2arr2656 := z.EncBasicHandle().StructToArray - var yyq2656 [9]bool - _, _, _ = yysep2656, yyq2656, yy2arr2656 - const yyr2656 bool = false - yyq2656[0] = x.Type != "" - yyq2656[3] = x.ClusterIP != "" - yyq2656[5] = len(x.ExternalIPs) != 0 - yyq2656[6] = x.LoadBalancerIP != "" - yyq2656[7] = x.SessionAffinity != "" - yyq2656[8] = len(x.LoadBalancerSourceRanges) != 0 - var yynn2656 int - if yyr2656 || yy2arr2656 { + yysep2647 := !z.EncBinary() + yy2arr2647 := z.EncBasicHandle().StructToArray + var yyq2647 [9]bool + _, _, _ = yysep2647, yyq2647, yy2arr2647 + const yyr2647 bool = false + yyq2647[0] = x.Type != "" + yyq2647[3] = x.ClusterIP != "" + yyq2647[5] = len(x.ExternalIPs) != 0 + yyq2647[6] = x.LoadBalancerIP != "" + yyq2647[7] = x.SessionAffinity != "" + yyq2647[8] = len(x.LoadBalancerSourceRanges) != 0 + var yynn2647 int + if yyr2647 || yy2arr2647 { r.EncodeArrayStart(9) } else { - yynn2656 = 3 - for _, b := range yyq2656 { + yynn2647 = 3 + for _, b := range yyq2647 { if b { - yynn2656++ + yynn2647++ } } - r.EncodeMapStart(yynn2656) - yynn2656 = 0 + r.EncodeMapStart(yynn2647) + yynn2647 = 0 } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2656[0] { + if yyq2647[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2656[0] { + if yyq2647[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2659 := z.EncBinary() - _ = yym2659 + yym2650 := z.EncBinary() + _ = yym2650 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -34678,21 +34596,21 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2660 := z.EncBinary() - _ = yym2660 + yym2651 := z.EncBinary() + _ = yym2651 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Selector == nil { r.EncodeNil() } else { - yym2662 := z.EncBinary() - _ = yym2662 + yym2653 := z.EncBinary() + _ = yym2653 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -34705,19 +34623,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym2663 := z.EncBinary() - _ = yym2663 + yym2654 := z.EncBinary() + _ = yym2654 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) } } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2656[3] { - yym2665 := z.EncBinary() - _ = yym2665 + if yyq2647[3] { + yym2656 := z.EncBinary() + _ = yym2656 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -34726,22 +34644,22 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2656[3] { + if yyq2647[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2666 := z.EncBinary() - _ = yym2666 + yym2657 := z.EncBinary() + _ = yym2657 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2668 := z.EncBinary() - _ = yym2668 + yym2659 := z.EncBinary() + _ = yym2659 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) @@ -34750,21 +34668,21 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ExternalName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2669 := z.EncBinary() - _ = yym2669 + yym2660 := z.EncBinary() + _ = yym2660 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2656[5] { + if yyq2647[5] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2671 := z.EncBinary() - _ = yym2671 + yym2662 := z.EncBinary() + _ = yym2662 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -34774,15 +34692,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2656[5] { + if yyq2647[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2672 := z.EncBinary() - _ = yym2672 + yym2663 := z.EncBinary() + _ = yym2663 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -34790,11 +34708,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2656[6] { - yym2674 := z.EncBinary() - _ = yym2674 + if yyq2647[6] { + yym2665 := z.EncBinary() + _ = yym2665 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -34803,41 +34721,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2656[6] { + if yyq2647[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2675 := z.EncBinary() - _ = yym2675 + yym2666 := z.EncBinary() + _ = yym2666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2656[7] { + if yyq2647[7] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2656[7] { + if yyq2647[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2656[8] { + if yyq2647[8] { if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2678 := z.EncBinary() - _ = yym2678 + yym2669 := z.EncBinary() + _ = yym2669 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -34847,15 +34765,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2656[8] { + if yyq2647[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerSourceRanges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2679 := z.EncBinary() - _ = yym2679 + yym2670 := z.EncBinary() + _ = yym2670 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -34863,7 +34781,7 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2656 || yy2arr2656 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34876,25 +34794,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2680 := z.DecBinary() - _ = yym2680 + yym2671 := z.DecBinary() + _ = yym2671 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2681 := r.ContainerType() - if yyct2681 == codecSelferValueTypeMap1234 { - yyl2681 := r.ReadMapStart() - if yyl2681 == 0 { + yyct2672 := r.ContainerType() + if yyct2672 == codecSelferValueTypeMap1234 { + yyl2672 := r.ReadMapStart() + if yyl2672 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2681, d) + x.codecDecodeSelfFromMap(yyl2672, d) } - } else if yyct2681 == codecSelferValueTypeArray1234 { - yyl2681 := r.ReadArrayStart() - if yyl2681 == 0 { + } else if yyct2672 == codecSelferValueTypeArray1234 { + yyl2672 := r.ReadArrayStart() + if yyl2672 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2681, d) + x.codecDecodeSelfFromArray(yyl2672, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34906,12 +34824,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2682Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2682Slc - var yyhl2682 bool = l >= 0 - for yyj2682 := 0; ; yyj2682++ { - if yyhl2682 { - if yyj2682 >= l { + var yys2673Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2673Slc + var yyhl2673 bool = l >= 0 + for yyj2673 := 0; ; yyj2673++ { + if yyhl2673 { + if yyj2673 >= l { break } } else { @@ -34920,10 +34838,10 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2682Slc = r.DecodeBytes(yys2682Slc, true, true) - yys2682 := string(yys2682Slc) + yys2673Slc = r.DecodeBytes(yys2673Slc, true, true) + yys2673 := string(yys2673Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2682 { + switch yys2673 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -34934,24 +34852,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2684 := &x.Ports - yym2685 := z.DecBinary() - _ = yym2685 + yyv2675 := &x.Ports + yym2676 := z.DecBinary() + _ = yym2676 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2684), d) + h.decSliceServicePort((*[]ServicePort)(yyv2675), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2686 := &x.Selector - yym2687 := z.DecBinary() - _ = yym2687 + yyv2677 := &x.Selector + yym2678 := z.DecBinary() + _ = yym2678 if false { } else { - z.F.DecMapStringStringX(yyv2686, false, d) + z.F.DecMapStringStringX(yyv2677, false, d) } } case "clusterIP": @@ -34970,12 +34888,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2690 := &x.ExternalIPs - yym2691 := z.DecBinary() - _ = yym2691 + yyv2681 := &x.ExternalIPs + yym2682 := z.DecBinary() + _ = yym2682 if false { } else { - z.F.DecSliceStringX(yyv2690, false, d) + z.F.DecSliceStringX(yyv2681, false, d) } } case "loadBalancerIP": @@ -34994,18 +34912,18 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2694 := &x.LoadBalancerSourceRanges - yym2695 := z.DecBinary() - _ = yym2695 + yyv2685 := &x.LoadBalancerSourceRanges + yym2686 := z.DecBinary() + _ = yym2686 if false { } else { - z.F.DecSliceStringX(yyv2694, false, d) + z.F.DecSliceStringX(yyv2685, false, d) } } default: - z.DecStructFieldNotFound(-1, yys2682) - } // end switch yys2682 - } // end for yyj2682 + z.DecStructFieldNotFound(-1, yys2673) + } // end switch yys2673 + } // end for yyj2673 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35013,16 +34931,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2696 int - var yyb2696 bool - var yyhl2696 bool = l >= 0 - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + var yyj2687 int + var yyb2687 bool + var yyhl2687 bool = l >= 0 + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35032,13 +34950,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35046,21 +34964,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2698 := &x.Ports - yym2699 := z.DecBinary() - _ = yym2699 + yyv2689 := &x.Ports + yym2690 := z.DecBinary() + _ = yym2690 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2698), d) + h.decSliceServicePort((*[]ServicePort)(yyv2689), d) } } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35068,21 +34986,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2700 := &x.Selector - yym2701 := z.DecBinary() - _ = yym2701 + yyv2691 := &x.Selector + yym2692 := z.DecBinary() + _ = yym2692 if false { } else { - z.F.DecMapStringStringX(yyv2700, false, d) + z.F.DecMapStringStringX(yyv2691, false, d) } } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35092,13 +35010,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35108,13 +35026,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalName = string(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35122,21 +35040,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2704 := &x.ExternalIPs - yym2705 := z.DecBinary() - _ = yym2705 + yyv2695 := &x.ExternalIPs + yym2696 := z.DecBinary() + _ = yym2696 if false { } else { - z.F.DecSliceStringX(yyv2704, false, d) + z.F.DecSliceStringX(yyv2695, false, d) } } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35146,13 +35064,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35162,13 +35080,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35176,26 +35094,26 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2708 := &x.LoadBalancerSourceRanges - yym2709 := z.DecBinary() - _ = yym2709 + yyv2699 := &x.LoadBalancerSourceRanges + yym2700 := z.DecBinary() + _ = yym2700 if false { } else { - z.F.DecSliceStringX(yyv2708, false, d) + z.F.DecSliceStringX(yyv2699, false, d) } } for { - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2687++ + if yyhl2687 { + yyb2687 = yyj2687 > l } else { - yyb2696 = r.CheckBreak() + yyb2687 = r.CheckBreak() } - if yyb2696 { + if yyb2687 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2696-1, "") + z.DecStructFieldNotFound(yyj2687-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35207,33 +35125,33 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2710 := z.EncBinary() - _ = yym2710 + yym2701 := z.EncBinary() + _ = yym2701 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2711 := !z.EncBinary() - yy2arr2711 := z.EncBasicHandle().StructToArray - var yyq2711 [5]bool - _, _, _ = yysep2711, yyq2711, yy2arr2711 - const yyr2711 bool = false - var yynn2711 int - if yyr2711 || yy2arr2711 { + yysep2702 := !z.EncBinary() + yy2arr2702 := z.EncBasicHandle().StructToArray + var yyq2702 [5]bool + _, _, _ = yysep2702, yyq2702, yy2arr2702 + const yyr2702 bool = false + var yynn2702 int + if yyr2702 || yy2arr2702 { r.EncodeArrayStart(5) } else { - yynn2711 = 5 - for _, b := range yyq2711 { + yynn2702 = 5 + for _, b := range yyq2702 { if b { - yynn2711++ + yynn2702++ } } - r.EncodeMapStart(yynn2711) - yynn2711 = 0 + r.EncodeMapStart(yynn2702) + yynn2702 = 0 } - if yyr2711 || yy2arr2711 { + if yyr2702 || yy2arr2702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2713 := z.EncBinary() - _ = yym2713 + yym2704 := z.EncBinary() + _ = yym2704 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -35242,14 +35160,14 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2714 := z.EncBinary() - _ = yym2714 + yym2705 := z.EncBinary() + _ = yym2705 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2711 || yy2arr2711 { + if yyr2702 || yy2arr2702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Protocol.CodecEncodeSelf(e) } else { @@ -35258,10 +35176,10 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } - if yyr2711 || yy2arr2711 { + if yyr2702 || yy2arr2702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2717 := z.EncBinary() - _ = yym2717 + yym2708 := z.EncBinary() + _ = yym2708 if false { } else { r.EncodeInt(int64(x.Port)) @@ -35270,44 +35188,44 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2718 := z.EncBinary() - _ = yym2718 + yym2709 := z.EncBinary() + _ = yym2709 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2711 || yy2arr2711 { + if yyr2702 || yy2arr2702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2720 := &x.TargetPort - yym2721 := z.EncBinary() - _ = yym2721 + yy2711 := &x.TargetPort + yym2712 := z.EncBinary() + _ = yym2712 if false { - } else if z.HasExtensions() && z.EncExt(yy2720) { - } else if !yym2721 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2720) + } else if z.HasExtensions() && z.EncExt(yy2711) { + } else if !yym2712 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2711) } else { - z.EncFallback(yy2720) + z.EncFallback(yy2711) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2722 := &x.TargetPort - yym2723 := z.EncBinary() - _ = yym2723 + yy2713 := &x.TargetPort + yym2714 := z.EncBinary() + _ = yym2714 if false { - } else if z.HasExtensions() && z.EncExt(yy2722) { - } else if !yym2723 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2722) + } else if z.HasExtensions() && z.EncExt(yy2713) { + } else if !yym2714 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2713) } else { - z.EncFallback(yy2722) + z.EncFallback(yy2713) } } - if yyr2711 || yy2arr2711 { + if yyr2702 || yy2arr2702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2725 := z.EncBinary() - _ = yym2725 + yym2716 := z.EncBinary() + _ = yym2716 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -35316,14 +35234,14 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2726 := z.EncBinary() - _ = yym2726 + yym2717 := z.EncBinary() + _ = yym2717 if false { } else { r.EncodeInt(int64(x.NodePort)) } } - if yyr2711 || yy2arr2711 { + if yyr2702 || yy2arr2702 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35336,25 +35254,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2727 := z.DecBinary() - _ = yym2727 + yym2718 := z.DecBinary() + _ = yym2718 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2728 := r.ContainerType() - if yyct2728 == codecSelferValueTypeMap1234 { - yyl2728 := r.ReadMapStart() - if yyl2728 == 0 { + yyct2719 := r.ContainerType() + if yyct2719 == codecSelferValueTypeMap1234 { + yyl2719 := r.ReadMapStart() + if yyl2719 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2728, d) + x.codecDecodeSelfFromMap(yyl2719, d) } - } else if yyct2728 == codecSelferValueTypeArray1234 { - yyl2728 := r.ReadArrayStart() - if yyl2728 == 0 { + } else if yyct2719 == codecSelferValueTypeArray1234 { + yyl2719 := r.ReadArrayStart() + if yyl2719 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2728, d) + x.codecDecodeSelfFromArray(yyl2719, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35366,12 +35284,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2729Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2729Slc - var yyhl2729 bool = l >= 0 - for yyj2729 := 0; ; yyj2729++ { - if yyhl2729 { - if yyj2729 >= l { + var yys2720Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2720Slc + var yyhl2720 bool = l >= 0 + for yyj2720 := 0; ; yyj2720++ { + if yyhl2720 { + if yyj2720 >= l { break } } else { @@ -35380,10 +35298,10 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2729Slc = r.DecodeBytes(yys2729Slc, true, true) - yys2729 := string(yys2729Slc) + yys2720Slc = r.DecodeBytes(yys2720Slc, true, true) + yys2720 := string(yys2720Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2729 { + switch yys2720 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -35406,15 +35324,15 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2733 := &x.TargetPort - yym2734 := z.DecBinary() - _ = yym2734 + yyv2724 := &x.TargetPort + yym2725 := z.DecBinary() + _ = yym2725 if false { - } else if z.HasExtensions() && z.DecExt(yyv2733) { - } else if !yym2734 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2733) + } else if z.HasExtensions() && z.DecExt(yyv2724) { + } else if !yym2725 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2724) } else { - z.DecFallback(yyv2733, false) + z.DecFallback(yyv2724, false) } } case "nodePort": @@ -35424,9 +35342,9 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys2729) - } // end switch yys2729 - } // end for yyj2729 + z.DecStructFieldNotFound(-1, yys2720) + } // end switch yys2720 + } // end for yyj2720 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35434,16 +35352,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2736 int - var yyb2736 bool - var yyhl2736 bool = l >= 0 - yyj2736++ - if yyhl2736 { - yyb2736 = yyj2736 > l + var yyj2727 int + var yyb2727 bool + var yyhl2727 bool = l >= 0 + yyj2727++ + if yyhl2727 { + yyb2727 = yyj2727 > l } else { - yyb2736 = r.CheckBreak() + yyb2727 = r.CheckBreak() } - if yyb2736 { + if yyb2727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35453,13 +35371,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2736++ - if yyhl2736 { - yyb2736 = yyj2736 > l + yyj2727++ + if yyhl2727 { + yyb2727 = yyj2727 > l } else { - yyb2736 = r.CheckBreak() + yyb2727 = r.CheckBreak() } - if yyb2736 { + if yyb2727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35469,13 +35387,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj2736++ - if yyhl2736 { - yyb2736 = yyj2736 > l + yyj2727++ + if yyhl2727 { + yyb2727 = yyj2727 > l } else { - yyb2736 = r.CheckBreak() + yyb2727 = r.CheckBreak() } - if yyb2736 { + if yyb2727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35485,13 +35403,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2736++ - if yyhl2736 { - yyb2736 = yyj2736 > l + yyj2727++ + if yyhl2727 { + yyb2727 = yyj2727 > l } else { - yyb2736 = r.CheckBreak() + yyb2727 = r.CheckBreak() } - if yyb2736 { + if yyb2727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35499,24 +35417,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2740 := &x.TargetPort - yym2741 := z.DecBinary() - _ = yym2741 + yyv2731 := &x.TargetPort + yym2732 := z.DecBinary() + _ = yym2732 if false { - } else if z.HasExtensions() && z.DecExt(yyv2740) { - } else if !yym2741 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2740) + } else if z.HasExtensions() && z.DecExt(yyv2731) { + } else if !yym2732 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2731) } else { - z.DecFallback(yyv2740, false) + z.DecFallback(yyv2731, false) } } - yyj2736++ - if yyhl2736 { - yyb2736 = yyj2736 > l + yyj2727++ + if yyhl2727 { + yyb2727 = yyj2727 > l } else { - yyb2736 = r.CheckBreak() + yyb2727 = r.CheckBreak() } - if yyb2736 { + if yyb2727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35527,17 +35445,17 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } for { - yyj2736++ - if yyhl2736 { - yyb2736 = yyj2736 > l + yyj2727++ + if yyhl2727 { + yyb2727 = yyj2727 > l } else { - yyb2736 = r.CheckBreak() + yyb2727 = r.CheckBreak() } - if yyb2736 { + if yyb2727 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2736-1, "") + z.DecStructFieldNotFound(yyj2727-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35549,39 +35467,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2743 := z.EncBinary() - _ = yym2743 + yym2734 := z.EncBinary() + _ = yym2734 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2744 := !z.EncBinary() - yy2arr2744 := z.EncBasicHandle().StructToArray - var yyq2744 [5]bool - _, _, _ = yysep2744, yyq2744, yy2arr2744 - const yyr2744 bool = false - yyq2744[0] = x.Kind != "" - yyq2744[1] = x.APIVersion != "" - yyq2744[2] = true - yyq2744[3] = true - yyq2744[4] = true - var yynn2744 int - if yyr2744 || yy2arr2744 { + yysep2735 := !z.EncBinary() + yy2arr2735 := z.EncBasicHandle().StructToArray + var yyq2735 [5]bool + _, _, _ = yysep2735, yyq2735, yy2arr2735 + const yyr2735 bool = false + yyq2735[0] = x.Kind != "" + yyq2735[1] = x.APIVersion != "" + yyq2735[2] = true + yyq2735[3] = true + yyq2735[4] = true + var yynn2735 int + if yyr2735 || yy2arr2735 { r.EncodeArrayStart(5) } else { - yynn2744 = 0 - for _, b := range yyq2744 { + yynn2735 = 0 + for _, b := range yyq2735 { if b { - yynn2744++ + yynn2735++ } } - r.EncodeMapStart(yynn2744) - yynn2744 = 0 + r.EncodeMapStart(yynn2735) + yynn2735 = 0 } - if yyr2744 || yy2arr2744 { + if yyr2735 || yy2arr2735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2744[0] { - yym2746 := z.EncBinary() - _ = yym2746 + if yyq2735[0] { + yym2737 := z.EncBinary() + _ = yym2737 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35590,23 +35508,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2744[0] { + if yyq2735[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2747 := z.EncBinary() - _ = yym2747 + yym2738 := z.EncBinary() + _ = yym2738 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2744 || yy2arr2744 { + if yyr2735 || yy2arr2735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2744[1] { - yym2749 := z.EncBinary() - _ = yym2749 + if yyq2735[1] { + yym2740 := z.EncBinary() + _ = yym2740 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35615,70 +35533,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2744[1] { + if yyq2735[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2750 := z.EncBinary() - _ = yym2750 + yym2741 := z.EncBinary() + _ = yym2741 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2744 || yy2arr2744 { + if yyr2735 || yy2arr2735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2744[2] { - yy2752 := &x.ObjectMeta - yy2752.CodecEncodeSelf(e) + if yyq2735[2] { + yy2743 := &x.ObjectMeta + yy2743.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2744[2] { + if yyq2735[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2753 := &x.ObjectMeta - yy2753.CodecEncodeSelf(e) + yy2744 := &x.ObjectMeta + yy2744.CodecEncodeSelf(e) } } - if yyr2744 || yy2arr2744 { + if yyr2735 || yy2arr2735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2744[3] { - yy2755 := &x.Spec - yy2755.CodecEncodeSelf(e) + if yyq2735[3] { + yy2746 := &x.Spec + yy2746.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2744[3] { + if yyq2735[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2756 := &x.Spec - yy2756.CodecEncodeSelf(e) + yy2747 := &x.Spec + yy2747.CodecEncodeSelf(e) } } - if yyr2744 || yy2arr2744 { + if yyr2735 || yy2arr2735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2744[4] { - yy2758 := &x.Status - yy2758.CodecEncodeSelf(e) + if yyq2735[4] { + yy2749 := &x.Status + yy2749.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2744[4] { + if yyq2735[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2759 := &x.Status - yy2759.CodecEncodeSelf(e) + yy2750 := &x.Status + yy2750.CodecEncodeSelf(e) } } - if yyr2744 || yy2arr2744 { + if yyr2735 || yy2arr2735 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35691,25 +35609,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2760 := z.DecBinary() - _ = yym2760 + yym2751 := z.DecBinary() + _ = yym2751 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2761 := r.ContainerType() - if yyct2761 == codecSelferValueTypeMap1234 { - yyl2761 := r.ReadMapStart() - if yyl2761 == 0 { + yyct2752 := r.ContainerType() + if yyct2752 == codecSelferValueTypeMap1234 { + yyl2752 := r.ReadMapStart() + if yyl2752 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2761, d) + x.codecDecodeSelfFromMap(yyl2752, d) } - } else if yyct2761 == codecSelferValueTypeArray1234 { - yyl2761 := r.ReadArrayStart() - if yyl2761 == 0 { + } else if yyct2752 == codecSelferValueTypeArray1234 { + yyl2752 := r.ReadArrayStart() + if yyl2752 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2761, d) + x.codecDecodeSelfFromArray(yyl2752, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35721,12 +35639,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2762Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2762Slc - var yyhl2762 bool = l >= 0 - for yyj2762 := 0; ; yyj2762++ { - if yyhl2762 { - if yyj2762 >= l { + var yys2753Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2753Slc + var yyhl2753 bool = l >= 0 + for yyj2753 := 0; ; yyj2753++ { + if yyhl2753 { + if yyj2753 >= l { break } } else { @@ -35735,10 +35653,10 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2762Slc = r.DecodeBytes(yys2762Slc, true, true) - yys2762 := string(yys2762Slc) + yys2753Slc = r.DecodeBytes(yys2753Slc, true, true) + yys2753 := string(yys2753Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2762 { + switch yys2753 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35755,27 +35673,27 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2765 := &x.ObjectMeta - yyv2765.CodecDecodeSelf(d) + yyv2756 := &x.ObjectMeta + yyv2756.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2766 := &x.Spec - yyv2766.CodecDecodeSelf(d) + yyv2757 := &x.Spec + yyv2757.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2767 := &x.Status - yyv2767.CodecDecodeSelf(d) + yyv2758 := &x.Status + yyv2758.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2762) - } // end switch yys2762 - } // end for yyj2762 + z.DecStructFieldNotFound(-1, yys2753) + } // end switch yys2753 + } // end for yyj2753 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35783,16 +35701,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2768 int - var yyb2768 bool - var yyhl2768 bool = l >= 0 - yyj2768++ - if yyhl2768 { - yyb2768 = yyj2768 > l + var yyj2759 int + var yyb2759 bool + var yyhl2759 bool = l >= 0 + yyj2759++ + if yyhl2759 { + yyb2759 = yyj2759 > l } else { - yyb2768 = r.CheckBreak() + yyb2759 = r.CheckBreak() } - if yyb2768 { + if yyb2759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35802,13 +35720,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2768++ - if yyhl2768 { - yyb2768 = yyj2768 > l + yyj2759++ + if yyhl2759 { + yyb2759 = yyj2759 > l } else { - yyb2768 = r.CheckBreak() + yyb2759 = r.CheckBreak() } - if yyb2768 { + if yyb2759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35818,13 +35736,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2768++ - if yyhl2768 { - yyb2768 = yyj2768 > l + yyj2759++ + if yyhl2759 { + yyb2759 = yyj2759 > l } else { - yyb2768 = r.CheckBreak() + yyb2759 = r.CheckBreak() } - if yyb2768 { + if yyb2759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35832,16 +35750,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2771 := &x.ObjectMeta - yyv2771.CodecDecodeSelf(d) + yyv2762 := &x.ObjectMeta + yyv2762.CodecDecodeSelf(d) } - yyj2768++ - if yyhl2768 { - yyb2768 = yyj2768 > l + yyj2759++ + if yyhl2759 { + yyb2759 = yyj2759 > l } else { - yyb2768 = r.CheckBreak() + yyb2759 = r.CheckBreak() } - if yyb2768 { + if yyb2759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35849,16 +35767,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2772 := &x.Spec - yyv2772.CodecDecodeSelf(d) + yyv2763 := &x.Spec + yyv2763.CodecDecodeSelf(d) } - yyj2768++ - if yyhl2768 { - yyb2768 = yyj2768 > l + yyj2759++ + if yyhl2759 { + yyb2759 = yyj2759 > l } else { - yyb2768 = r.CheckBreak() + yyb2759 = r.CheckBreak() } - if yyb2768 { + if yyb2759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35866,21 +35784,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2773 := &x.Status - yyv2773.CodecDecodeSelf(d) + yyv2764 := &x.Status + yyv2764.CodecDecodeSelf(d) } for { - yyj2768++ - if yyhl2768 { - yyb2768 = yyj2768 > l + yyj2759++ + if yyhl2759 { + yyb2759 = yyj2759 > l } else { - yyb2768 = r.CheckBreak() + yyb2759 = r.CheckBreak() } - if yyb2768 { + if yyb2759 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2768-1, "") + z.DecStructFieldNotFound(yyj2759-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35892,38 +35810,38 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2774 := z.EncBinary() - _ = yym2774 + yym2765 := z.EncBinary() + _ = yym2765 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2775 := !z.EncBinary() - yy2arr2775 := z.EncBasicHandle().StructToArray - var yyq2775 [5]bool - _, _, _ = yysep2775, yyq2775, yy2arr2775 - const yyr2775 bool = false - yyq2775[0] = x.Kind != "" - yyq2775[1] = x.APIVersion != "" - yyq2775[2] = true - yyq2775[4] = len(x.ImagePullSecrets) != 0 - var yynn2775 int - if yyr2775 || yy2arr2775 { + yysep2766 := !z.EncBinary() + yy2arr2766 := z.EncBasicHandle().StructToArray + var yyq2766 [5]bool + _, _, _ = yysep2766, yyq2766, yy2arr2766 + const yyr2766 bool = false + yyq2766[0] = x.Kind != "" + yyq2766[1] = x.APIVersion != "" + yyq2766[2] = true + yyq2766[4] = len(x.ImagePullSecrets) != 0 + var yynn2766 int + if yyr2766 || yy2arr2766 { r.EncodeArrayStart(5) } else { - yynn2775 = 1 - for _, b := range yyq2775 { + yynn2766 = 1 + for _, b := range yyq2766 { if b { - yynn2775++ + yynn2766++ } } - r.EncodeMapStart(yynn2775) - yynn2775 = 0 + r.EncodeMapStart(yynn2766) + yynn2766 = 0 } - if yyr2775 || yy2arr2775 { + if yyr2766 || yy2arr2766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2775[0] { - yym2777 := z.EncBinary() - _ = yym2777 + if yyq2766[0] { + yym2768 := z.EncBinary() + _ = yym2768 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35932,23 +35850,23 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2775[0] { + if yyq2766[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2778 := z.EncBinary() - _ = yym2778 + yym2769 := z.EncBinary() + _ = yym2769 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2775 || yy2arr2775 { + if yyr2766 || yy2arr2766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2775[1] { - yym2780 := z.EncBinary() - _ = yym2780 + if yyq2766[1] { + yym2771 := z.EncBinary() + _ = yym2771 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35957,42 +35875,42 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2775[1] { + if yyq2766[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2781 := z.EncBinary() - _ = yym2781 + yym2772 := z.EncBinary() + _ = yym2772 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2775 || yy2arr2775 { + if yyr2766 || yy2arr2766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2775[2] { - yy2783 := &x.ObjectMeta - yy2783.CodecEncodeSelf(e) + if yyq2766[2] { + yy2774 := &x.ObjectMeta + yy2774.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2775[2] { + if yyq2766[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2784 := &x.ObjectMeta - yy2784.CodecEncodeSelf(e) + yy2775 := &x.ObjectMeta + yy2775.CodecEncodeSelf(e) } } - if yyr2775 || yy2arr2775 { + if yyr2766 || yy2arr2766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Secrets == nil { r.EncodeNil() } else { - yym2786 := z.EncBinary() - _ = yym2786 + yym2777 := z.EncBinary() + _ = yym2777 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -36005,22 +35923,22 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x.Secrets == nil { r.EncodeNil() } else { - yym2787 := z.EncBinary() - _ = yym2787 + yym2778 := z.EncBinary() + _ = yym2778 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) } } } - if yyr2775 || yy2arr2775 { + if yyr2766 || yy2arr2766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2775[4] { + if yyq2766[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2789 := z.EncBinary() - _ = yym2789 + yym2780 := z.EncBinary() + _ = yym2780 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -36030,15 +35948,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2775[4] { + if yyq2766[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2790 := z.EncBinary() - _ = yym2790 + yym2781 := z.EncBinary() + _ = yym2781 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -36046,7 +35964,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2775 || yy2arr2775 { + if yyr2766 || yy2arr2766 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36059,25 +35977,25 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2791 := z.DecBinary() - _ = yym2791 + yym2782 := z.DecBinary() + _ = yym2782 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2792 := r.ContainerType() - if yyct2792 == codecSelferValueTypeMap1234 { - yyl2792 := r.ReadMapStart() - if yyl2792 == 0 { + yyct2783 := r.ContainerType() + if yyct2783 == codecSelferValueTypeMap1234 { + yyl2783 := r.ReadMapStart() + if yyl2783 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2792, d) + x.codecDecodeSelfFromMap(yyl2783, d) } - } else if yyct2792 == codecSelferValueTypeArray1234 { - yyl2792 := r.ReadArrayStart() - if yyl2792 == 0 { + } else if yyct2783 == codecSelferValueTypeArray1234 { + yyl2783 := r.ReadArrayStart() + if yyl2783 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2792, d) + x.codecDecodeSelfFromArray(yyl2783, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36089,12 +36007,12 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2793Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2793Slc - var yyhl2793 bool = l >= 0 - for yyj2793 := 0; ; yyj2793++ { - if yyhl2793 { - if yyj2793 >= l { + var yys2784Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2784Slc + var yyhl2784 bool = l >= 0 + for yyj2784 := 0; ; yyj2784++ { + if yyhl2784 { + if yyj2784 >= l { break } } else { @@ -36103,10 +36021,10 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2793Slc = r.DecodeBytes(yys2793Slc, true, true) - yys2793 := string(yys2793Slc) + yys2784Slc = r.DecodeBytes(yys2784Slc, true, true) + yys2784 := string(yys2784Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2793 { + switch yys2784 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36123,37 +36041,37 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2796 := &x.ObjectMeta - yyv2796.CodecDecodeSelf(d) + yyv2787 := &x.ObjectMeta + yyv2787.CodecDecodeSelf(d) } case "secrets": if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2797 := &x.Secrets - yym2798 := z.DecBinary() - _ = yym2798 + yyv2788 := &x.Secrets + yym2789 := z.DecBinary() + _ = yym2789 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2797), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2788), d) } } case "imagePullSecrets": if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2799 := &x.ImagePullSecrets - yym2800 := z.DecBinary() - _ = yym2800 + yyv2790 := &x.ImagePullSecrets + yym2791 := z.DecBinary() + _ = yym2791 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2799), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2790), d) } } default: - z.DecStructFieldNotFound(-1, yys2793) - } // end switch yys2793 - } // end for yyj2793 + z.DecStructFieldNotFound(-1, yys2784) + } // end switch yys2784 + } // end for yyj2784 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36161,16 +36079,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2801 int - var yyb2801 bool - var yyhl2801 bool = l >= 0 - yyj2801++ - if yyhl2801 { - yyb2801 = yyj2801 > l + var yyj2792 int + var yyb2792 bool + var yyhl2792 bool = l >= 0 + yyj2792++ + if yyhl2792 { + yyb2792 = yyj2792 > l } else { - yyb2801 = r.CheckBreak() + yyb2792 = r.CheckBreak() } - if yyb2801 { + if yyb2792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36180,13 +36098,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2801++ - if yyhl2801 { - yyb2801 = yyj2801 > l + yyj2792++ + if yyhl2792 { + yyb2792 = yyj2792 > l } else { - yyb2801 = r.CheckBreak() + yyb2792 = r.CheckBreak() } - if yyb2801 { + if yyb2792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36196,13 +36114,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2801++ - if yyhl2801 { - yyb2801 = yyj2801 > l + yyj2792++ + if yyhl2792 { + yyb2792 = yyj2792 > l } else { - yyb2801 = r.CheckBreak() + yyb2792 = r.CheckBreak() } - if yyb2801 { + if yyb2792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36210,16 +36128,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2804 := &x.ObjectMeta - yyv2804.CodecDecodeSelf(d) + yyv2795 := &x.ObjectMeta + yyv2795.CodecDecodeSelf(d) } - yyj2801++ - if yyhl2801 { - yyb2801 = yyj2801 > l + yyj2792++ + if yyhl2792 { + yyb2792 = yyj2792 > l } else { - yyb2801 = r.CheckBreak() + yyb2792 = r.CheckBreak() } - if yyb2801 { + if yyb2792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36227,21 +36145,21 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2805 := &x.Secrets - yym2806 := z.DecBinary() - _ = yym2806 + yyv2796 := &x.Secrets + yym2797 := z.DecBinary() + _ = yym2797 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2805), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2796), d) } } - yyj2801++ - if yyhl2801 { - yyb2801 = yyj2801 > l + yyj2792++ + if yyhl2792 { + yyb2792 = yyj2792 > l } else { - yyb2801 = r.CheckBreak() + yyb2792 = r.CheckBreak() } - if yyb2801 { + if yyb2792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36249,26 +36167,26 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2807 := &x.ImagePullSecrets - yym2808 := z.DecBinary() - _ = yym2808 + yyv2798 := &x.ImagePullSecrets + yym2799 := z.DecBinary() + _ = yym2799 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2807), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2798), d) } } for { - yyj2801++ - if yyhl2801 { - yyb2801 = yyj2801 > l + yyj2792++ + if yyhl2792 { + yyb2792 = yyj2792 > l } else { - yyb2801 = r.CheckBreak() + yyb2792 = r.CheckBreak() } - if yyb2801 { + if yyb2792 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2801-1, "") + z.DecStructFieldNotFound(yyj2792-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36280,37 +36198,37 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2809 := z.EncBinary() - _ = yym2809 + yym2800 := z.EncBinary() + _ = yym2800 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2810 := !z.EncBinary() - yy2arr2810 := z.EncBasicHandle().StructToArray - var yyq2810 [4]bool - _, _, _ = yysep2810, yyq2810, yy2arr2810 - const yyr2810 bool = false - yyq2810[0] = x.Kind != "" - yyq2810[1] = x.APIVersion != "" - yyq2810[2] = true - var yynn2810 int - if yyr2810 || yy2arr2810 { + yysep2801 := !z.EncBinary() + yy2arr2801 := z.EncBasicHandle().StructToArray + var yyq2801 [4]bool + _, _, _ = yysep2801, yyq2801, yy2arr2801 + const yyr2801 bool = false + yyq2801[0] = x.Kind != "" + yyq2801[1] = x.APIVersion != "" + yyq2801[2] = true + var yynn2801 int + if yyr2801 || yy2arr2801 { r.EncodeArrayStart(4) } else { - yynn2810 = 1 - for _, b := range yyq2810 { + yynn2801 = 1 + for _, b := range yyq2801 { if b { - yynn2810++ + yynn2801++ } } - r.EncodeMapStart(yynn2810) - yynn2810 = 0 + r.EncodeMapStart(yynn2801) + yynn2801 = 0 } - if yyr2810 || yy2arr2810 { + if yyr2801 || yy2arr2801 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2810[0] { - yym2812 := z.EncBinary() - _ = yym2812 + if yyq2801[0] { + yym2803 := z.EncBinary() + _ = yym2803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36319,23 +36237,23 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2810[0] { + if yyq2801[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2813 := z.EncBinary() - _ = yym2813 + yym2804 := z.EncBinary() + _ = yym2804 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2810 || yy2arr2810 { + if yyr2801 || yy2arr2801 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2810[1] { - yym2815 := z.EncBinary() - _ = yym2815 + if yyq2801[1] { + yym2806 := z.EncBinary() + _ = yym2806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36344,54 +36262,54 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2810[1] { + if yyq2801[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2816 := z.EncBinary() - _ = yym2816 + yym2807 := z.EncBinary() + _ = yym2807 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2810 || yy2arr2810 { + if yyr2801 || yy2arr2801 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2810[2] { - yy2818 := &x.ListMeta - yym2819 := z.EncBinary() - _ = yym2819 + if yyq2801[2] { + yy2809 := &x.ListMeta + yym2810 := z.EncBinary() + _ = yym2810 if false { - } else if z.HasExtensions() && z.EncExt(yy2818) { + } else if z.HasExtensions() && z.EncExt(yy2809) { } else { - z.EncFallback(yy2818) + z.EncFallback(yy2809) } } else { r.EncodeNil() } } else { - if yyq2810[2] { + if yyq2801[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2820 := &x.ListMeta - yym2821 := z.EncBinary() - _ = yym2821 + yy2811 := &x.ListMeta + yym2812 := z.EncBinary() + _ = yym2812 if false { - } else if z.HasExtensions() && z.EncExt(yy2820) { + } else if z.HasExtensions() && z.EncExt(yy2811) { } else { - z.EncFallback(yy2820) + z.EncFallback(yy2811) } } } - if yyr2810 || yy2arr2810 { + if yyr2801 || yy2arr2801 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2823 := z.EncBinary() - _ = yym2823 + yym2814 := z.EncBinary() + _ = yym2814 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) @@ -36404,15 +36322,15 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2824 := z.EncBinary() - _ = yym2824 + yym2815 := z.EncBinary() + _ = yym2815 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2810 || yy2arr2810 { + if yyr2801 || yy2arr2801 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36425,25 +36343,25 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2825 := z.DecBinary() - _ = yym2825 + yym2816 := z.DecBinary() + _ = yym2816 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2826 := r.ContainerType() - if yyct2826 == codecSelferValueTypeMap1234 { - yyl2826 := r.ReadMapStart() - if yyl2826 == 0 { + yyct2817 := r.ContainerType() + if yyct2817 == codecSelferValueTypeMap1234 { + yyl2817 := r.ReadMapStart() + if yyl2817 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2826, d) + x.codecDecodeSelfFromMap(yyl2817, d) } - } else if yyct2826 == codecSelferValueTypeArray1234 { - yyl2826 := r.ReadArrayStart() - if yyl2826 == 0 { + } else if yyct2817 == codecSelferValueTypeArray1234 { + yyl2817 := r.ReadArrayStart() + if yyl2817 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2826, d) + x.codecDecodeSelfFromArray(yyl2817, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36455,12 +36373,12 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2827Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2827Slc - var yyhl2827 bool = l >= 0 - for yyj2827 := 0; ; yyj2827++ { - if yyhl2827 { - if yyj2827 >= l { + var yys2818Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2818Slc + var yyhl2818 bool = l >= 0 + for yyj2818 := 0; ; yyj2818++ { + if yyhl2818 { + if yyj2818 >= l { break } } else { @@ -36469,10 +36387,10 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2827Slc = r.DecodeBytes(yys2827Slc, true, true) - yys2827 := string(yys2827Slc) + yys2818Slc = r.DecodeBytes(yys2818Slc, true, true) + yys2818 := string(yys2818Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2827 { + switch yys2818 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36489,31 +36407,31 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2830 := &x.ListMeta - yym2831 := z.DecBinary() - _ = yym2831 + yyv2821 := &x.ListMeta + yym2822 := z.DecBinary() + _ = yym2822 if false { - } else if z.HasExtensions() && z.DecExt(yyv2830) { + } else if z.HasExtensions() && z.DecExt(yyv2821) { } else { - z.DecFallback(yyv2830, false) + z.DecFallback(yyv2821, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2832 := &x.Items - yym2833 := z.DecBinary() - _ = yym2833 + yyv2823 := &x.Items + yym2824 := z.DecBinary() + _ = yym2824 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2832), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2823), d) } } default: - z.DecStructFieldNotFound(-1, yys2827) - } // end switch yys2827 - } // end for yyj2827 + z.DecStructFieldNotFound(-1, yys2818) + } // end switch yys2818 + } // end for yyj2818 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36521,16 +36439,16 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2834 int - var yyb2834 bool - var yyhl2834 bool = l >= 0 - yyj2834++ - if yyhl2834 { - yyb2834 = yyj2834 > l + var yyj2825 int + var yyb2825 bool + var yyhl2825 bool = l >= 0 + yyj2825++ + if yyhl2825 { + yyb2825 = yyj2825 > l } else { - yyb2834 = r.CheckBreak() + yyb2825 = r.CheckBreak() } - if yyb2834 { + if yyb2825 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36540,13 +36458,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj2834++ - if yyhl2834 { - yyb2834 = yyj2834 > l + yyj2825++ + if yyhl2825 { + yyb2825 = yyj2825 > l } else { - yyb2834 = r.CheckBreak() + yyb2825 = r.CheckBreak() } - if yyb2834 { + if yyb2825 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36556,13 +36474,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj2834++ - if yyhl2834 { - yyb2834 = yyj2834 > l + yyj2825++ + if yyhl2825 { + yyb2825 = yyj2825 > l } else { - yyb2834 = r.CheckBreak() + yyb2825 = r.CheckBreak() } - if yyb2834 { + if yyb2825 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36570,22 +36488,22 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2837 := &x.ListMeta - yym2838 := z.DecBinary() - _ = yym2838 + yyv2828 := &x.ListMeta + yym2829 := z.DecBinary() + _ = yym2829 if false { - } else if z.HasExtensions() && z.DecExt(yyv2837) { + } else if z.HasExtensions() && z.DecExt(yyv2828) { } else { - z.DecFallback(yyv2837, false) + z.DecFallback(yyv2828, false) } } - yyj2834++ - if yyhl2834 { - yyb2834 = yyj2834 > l + yyj2825++ + if yyhl2825 { + yyb2825 = yyj2825 > l } else { - yyb2834 = r.CheckBreak() + yyb2825 = r.CheckBreak() } - if yyb2834 { + if yyb2825 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36593,26 +36511,26 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2839 := &x.Items - yym2840 := z.DecBinary() - _ = yym2840 + yyv2830 := &x.Items + yym2831 := z.DecBinary() + _ = yym2831 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2839), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2830), d) } } for { - yyj2834++ - if yyhl2834 { - yyb2834 = yyj2834 > l + yyj2825++ + if yyhl2825 { + yyb2825 = yyj2825 > l } else { - yyb2834 = r.CheckBreak() + yyb2825 = r.CheckBreak() } - if yyb2834 { + if yyb2825 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2834-1, "") + z.DecStructFieldNotFound(yyj2825-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36624,37 +36542,37 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2841 := z.EncBinary() - _ = yym2841 + yym2832 := z.EncBinary() + _ = yym2832 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2842 := !z.EncBinary() - yy2arr2842 := z.EncBasicHandle().StructToArray - var yyq2842 [4]bool - _, _, _ = yysep2842, yyq2842, yy2arr2842 - const yyr2842 bool = false - yyq2842[0] = x.Kind != "" - yyq2842[1] = x.APIVersion != "" - yyq2842[2] = true - var yynn2842 int - if yyr2842 || yy2arr2842 { + yysep2833 := !z.EncBinary() + yy2arr2833 := z.EncBasicHandle().StructToArray + var yyq2833 [4]bool + _, _, _ = yysep2833, yyq2833, yy2arr2833 + const yyr2833 bool = false + yyq2833[0] = x.Kind != "" + yyq2833[1] = x.APIVersion != "" + yyq2833[2] = true + var yynn2833 int + if yyr2833 || yy2arr2833 { r.EncodeArrayStart(4) } else { - yynn2842 = 1 - for _, b := range yyq2842 { + yynn2833 = 1 + for _, b := range yyq2833 { if b { - yynn2842++ + yynn2833++ } } - r.EncodeMapStart(yynn2842) - yynn2842 = 0 + r.EncodeMapStart(yynn2833) + yynn2833 = 0 } - if yyr2842 || yy2arr2842 { + if yyr2833 || yy2arr2833 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2842[0] { - yym2844 := z.EncBinary() - _ = yym2844 + if yyq2833[0] { + yym2835 := z.EncBinary() + _ = yym2835 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36663,23 +36581,23 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2842[0] { + if yyq2833[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2845 := z.EncBinary() - _ = yym2845 + yym2836 := z.EncBinary() + _ = yym2836 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2842 || yy2arr2842 { + if yyr2833 || yy2arr2833 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2842[1] { - yym2847 := z.EncBinary() - _ = yym2847 + if yyq2833[1] { + yym2838 := z.EncBinary() + _ = yym2838 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36688,42 +36606,42 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2842[1] { + if yyq2833[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2848 := z.EncBinary() - _ = yym2848 + yym2839 := z.EncBinary() + _ = yym2839 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2842 || yy2arr2842 { + if yyr2833 || yy2arr2833 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2842[2] { - yy2850 := &x.ObjectMeta - yy2850.CodecEncodeSelf(e) + if yyq2833[2] { + yy2841 := &x.ObjectMeta + yy2841.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2842[2] { + if yyq2833[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2851 := &x.ObjectMeta - yy2851.CodecEncodeSelf(e) + yy2842 := &x.ObjectMeta + yy2842.CodecEncodeSelf(e) } } - if yyr2842 || yy2arr2842 { + if yyr2833 || yy2arr2833 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subsets == nil { r.EncodeNil() } else { - yym2853 := z.EncBinary() - _ = yym2853 + yym2844 := z.EncBinary() + _ = yym2844 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) @@ -36736,15 +36654,15 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subsets == nil { r.EncodeNil() } else { - yym2854 := z.EncBinary() - _ = yym2854 + yym2845 := z.EncBinary() + _ = yym2845 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) } } } - if yyr2842 || yy2arr2842 { + if yyr2833 || yy2arr2833 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36757,25 +36675,25 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2855 := z.DecBinary() - _ = yym2855 + yym2846 := z.DecBinary() + _ = yym2846 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2856 := r.ContainerType() - if yyct2856 == codecSelferValueTypeMap1234 { - yyl2856 := r.ReadMapStart() - if yyl2856 == 0 { + yyct2847 := r.ContainerType() + if yyct2847 == codecSelferValueTypeMap1234 { + yyl2847 := r.ReadMapStart() + if yyl2847 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2856, d) + x.codecDecodeSelfFromMap(yyl2847, d) } - } else if yyct2856 == codecSelferValueTypeArray1234 { - yyl2856 := r.ReadArrayStart() - if yyl2856 == 0 { + } else if yyct2847 == codecSelferValueTypeArray1234 { + yyl2847 := r.ReadArrayStart() + if yyl2847 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2856, d) + x.codecDecodeSelfFromArray(yyl2847, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36787,12 +36705,12 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2857Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2857Slc - var yyhl2857 bool = l >= 0 - for yyj2857 := 0; ; yyj2857++ { - if yyhl2857 { - if yyj2857 >= l { + var yys2848Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2848Slc + var yyhl2848 bool = l >= 0 + for yyj2848 := 0; ; yyj2848++ { + if yyhl2848 { + if yyj2848 >= l { break } } else { @@ -36801,10 +36719,10 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2857Slc = r.DecodeBytes(yys2857Slc, true, true) - yys2857 := string(yys2857Slc) + yys2848Slc = r.DecodeBytes(yys2848Slc, true, true) + yys2848 := string(yys2848Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2857 { + switch yys2848 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36821,25 +36739,25 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2860 := &x.ObjectMeta - yyv2860.CodecDecodeSelf(d) + yyv2851 := &x.ObjectMeta + yyv2851.CodecDecodeSelf(d) } case "Subsets": if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2861 := &x.Subsets - yym2862 := z.DecBinary() - _ = yym2862 + yyv2852 := &x.Subsets + yym2853 := z.DecBinary() + _ = yym2853 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2861), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2852), d) } } default: - z.DecStructFieldNotFound(-1, yys2857) - } // end switch yys2857 - } // end for yyj2857 + z.DecStructFieldNotFound(-1, yys2848) + } // end switch yys2848 + } // end for yyj2848 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36847,16 +36765,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2863 int - var yyb2863 bool - var yyhl2863 bool = l >= 0 - yyj2863++ - if yyhl2863 { - yyb2863 = yyj2863 > l + var yyj2854 int + var yyb2854 bool + var yyhl2854 bool = l >= 0 + yyj2854++ + if yyhl2854 { + yyb2854 = yyj2854 > l } else { - yyb2863 = r.CheckBreak() + yyb2854 = r.CheckBreak() } - if yyb2863 { + if yyb2854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36866,13 +36784,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2863++ - if yyhl2863 { - yyb2863 = yyj2863 > l + yyj2854++ + if yyhl2854 { + yyb2854 = yyj2854 > l } else { - yyb2863 = r.CheckBreak() + yyb2854 = r.CheckBreak() } - if yyb2863 { + if yyb2854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36882,13 +36800,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2863++ - if yyhl2863 { - yyb2863 = yyj2863 > l + yyj2854++ + if yyhl2854 { + yyb2854 = yyj2854 > l } else { - yyb2863 = r.CheckBreak() + yyb2854 = r.CheckBreak() } - if yyb2863 { + if yyb2854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36896,16 +36814,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2866 := &x.ObjectMeta - yyv2866.CodecDecodeSelf(d) + yyv2857 := &x.ObjectMeta + yyv2857.CodecDecodeSelf(d) } - yyj2863++ - if yyhl2863 { - yyb2863 = yyj2863 > l + yyj2854++ + if yyhl2854 { + yyb2854 = yyj2854 > l } else { - yyb2863 = r.CheckBreak() + yyb2854 = r.CheckBreak() } - if yyb2863 { + if yyb2854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36913,26 +36831,26 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2867 := &x.Subsets - yym2868 := z.DecBinary() - _ = yym2868 + yyv2858 := &x.Subsets + yym2859 := z.DecBinary() + _ = yym2859 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2867), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2858), d) } } for { - yyj2863++ - if yyhl2863 { - yyb2863 = yyj2863 > l + yyj2854++ + if yyhl2854 { + yyb2854 = yyj2854 > l } else { - yyb2863 = r.CheckBreak() + yyb2854 = r.CheckBreak() } - if yyb2863 { + if yyb2854 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2863-1, "") + z.DecStructFieldNotFound(yyj2854-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36944,36 +36862,36 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2869 := z.EncBinary() - _ = yym2869 + yym2860 := z.EncBinary() + _ = yym2860 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2870 := !z.EncBinary() - yy2arr2870 := z.EncBasicHandle().StructToArray - var yyq2870 [3]bool - _, _, _ = yysep2870, yyq2870, yy2arr2870 - const yyr2870 bool = false - var yynn2870 int - if yyr2870 || yy2arr2870 { + yysep2861 := !z.EncBinary() + yy2arr2861 := z.EncBasicHandle().StructToArray + var yyq2861 [3]bool + _, _, _ = yysep2861, yyq2861, yy2arr2861 + const yyr2861 bool = false + var yynn2861 int + if yyr2861 || yy2arr2861 { r.EncodeArrayStart(3) } else { - yynn2870 = 3 - for _, b := range yyq2870 { + yynn2861 = 3 + for _, b := range yyq2861 { if b { - yynn2870++ + yynn2861++ } } - r.EncodeMapStart(yynn2870) - yynn2870 = 0 + r.EncodeMapStart(yynn2861) + yynn2861 = 0 } - if yyr2870 || yy2arr2870 { + if yyr2861 || yy2arr2861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2872 := z.EncBinary() - _ = yym2872 + yym2863 := z.EncBinary() + _ = yym2863 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -36986,21 +36904,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Addresses == nil { r.EncodeNil() } else { - yym2873 := z.EncBinary() - _ = yym2873 + yym2864 := z.EncBinary() + _ = yym2864 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) } } } - if yyr2870 || yy2arr2870 { + if yyr2861 || yy2arr2861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2875 := z.EncBinary() - _ = yym2875 + yym2866 := z.EncBinary() + _ = yym2866 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -37013,21 +36931,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2876 := z.EncBinary() - _ = yym2876 + yym2867 := z.EncBinary() + _ = yym2867 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) } } } - if yyr2870 || yy2arr2870 { + if yyr2861 || yy2arr2861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2878 := z.EncBinary() - _ = yym2878 + yym2869 := z.EncBinary() + _ = yym2869 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -37040,15 +36958,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2879 := z.EncBinary() - _ = yym2879 + yym2870 := z.EncBinary() + _ = yym2870 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) } } } - if yyr2870 || yy2arr2870 { + if yyr2861 || yy2arr2861 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37061,25 +36979,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2880 := z.DecBinary() - _ = yym2880 + yym2871 := z.DecBinary() + _ = yym2871 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2881 := r.ContainerType() - if yyct2881 == codecSelferValueTypeMap1234 { - yyl2881 := r.ReadMapStart() - if yyl2881 == 0 { + yyct2872 := r.ContainerType() + if yyct2872 == codecSelferValueTypeMap1234 { + yyl2872 := r.ReadMapStart() + if yyl2872 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2881, d) + x.codecDecodeSelfFromMap(yyl2872, d) } - } else if yyct2881 == codecSelferValueTypeArray1234 { - yyl2881 := r.ReadArrayStart() - if yyl2881 == 0 { + } else if yyct2872 == codecSelferValueTypeArray1234 { + yyl2872 := r.ReadArrayStart() + if yyl2872 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2881, d) + x.codecDecodeSelfFromArray(yyl2872, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37091,12 +37009,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2882Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2882Slc - var yyhl2882 bool = l >= 0 - for yyj2882 := 0; ; yyj2882++ { - if yyhl2882 { - if yyj2882 >= l { + var yys2873Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2873Slc + var yyhl2873 bool = l >= 0 + for yyj2873 := 0; ; yyj2873++ { + if yyhl2873 { + if yyj2873 >= l { break } } else { @@ -37105,50 +37023,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2882Slc = r.DecodeBytes(yys2882Slc, true, true) - yys2882 := string(yys2882Slc) + yys2873Slc = r.DecodeBytes(yys2873Slc, true, true) + yys2873 := string(yys2873Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2882 { + switch yys2873 { case "Addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2883 := &x.Addresses - yym2884 := z.DecBinary() - _ = yym2884 + yyv2874 := &x.Addresses + yym2875 := z.DecBinary() + _ = yym2875 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2883), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2874), d) } } case "NotReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2885 := &x.NotReadyAddresses - yym2886 := z.DecBinary() - _ = yym2886 + yyv2876 := &x.NotReadyAddresses + yym2877 := z.DecBinary() + _ = yym2877 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2885), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2876), d) } } case "Ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2887 := &x.Ports - yym2888 := z.DecBinary() - _ = yym2888 + yyv2878 := &x.Ports + yym2879 := z.DecBinary() + _ = yym2879 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2887), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2878), d) } } default: - z.DecStructFieldNotFound(-1, yys2882) - } // end switch yys2882 - } // end for yyj2882 + z.DecStructFieldNotFound(-1, yys2873) + } // end switch yys2873 + } // end for yyj2873 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37156,16 +37074,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2889 int - var yyb2889 bool - var yyhl2889 bool = l >= 0 - yyj2889++ - if yyhl2889 { - yyb2889 = yyj2889 > l + var yyj2880 int + var yyb2880 bool + var yyhl2880 bool = l >= 0 + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2889 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2889 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37173,21 +37091,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2890 := &x.Addresses - yym2891 := z.DecBinary() - _ = yym2891 + yyv2881 := &x.Addresses + yym2882 := z.DecBinary() + _ = yym2882 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2890), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2881), d) } } - yyj2889++ - if yyhl2889 { - yyb2889 = yyj2889 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2889 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2889 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37195,21 +37113,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2892 := &x.NotReadyAddresses - yym2893 := z.DecBinary() - _ = yym2893 + yyv2883 := &x.NotReadyAddresses + yym2884 := z.DecBinary() + _ = yym2884 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2892), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2883), d) } } - yyj2889++ - if yyhl2889 { - yyb2889 = yyj2889 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2889 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2889 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37217,26 +37135,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2894 := &x.Ports - yym2895 := z.DecBinary() - _ = yym2895 + yyv2885 := &x.Ports + yym2886 := z.DecBinary() + _ = yym2886 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2894), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2885), d) } } for { - yyj2889++ - if yyhl2889 { - yyb2889 = yyj2889 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2889 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2889 { + if yyb2880 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2889-1, "") + z.DecStructFieldNotFound(yyj2880-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37248,35 +37166,35 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2896 := z.EncBinary() - _ = yym2896 + yym2887 := z.EncBinary() + _ = yym2887 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2897 := !z.EncBinary() - yy2arr2897 := z.EncBasicHandle().StructToArray - var yyq2897 [4]bool - _, _, _ = yysep2897, yyq2897, yy2arr2897 - const yyr2897 bool = false - yyq2897[1] = x.Hostname != "" - yyq2897[2] = x.NodeName != nil - var yynn2897 int - if yyr2897 || yy2arr2897 { + yysep2888 := !z.EncBinary() + yy2arr2888 := z.EncBasicHandle().StructToArray + var yyq2888 [4]bool + _, _, _ = yysep2888, yyq2888, yy2arr2888 + const yyr2888 bool = false + yyq2888[1] = x.Hostname != "" + yyq2888[2] = x.NodeName != nil + var yynn2888 int + if yyr2888 || yy2arr2888 { r.EncodeArrayStart(4) } else { - yynn2897 = 2 - for _, b := range yyq2897 { + yynn2888 = 2 + for _, b := range yyq2888 { if b { - yynn2897++ + yynn2888++ } } - r.EncodeMapStart(yynn2897) - yynn2897 = 0 + r.EncodeMapStart(yynn2888) + yynn2888 = 0 } - if yyr2897 || yy2arr2897 { + if yyr2888 || yy2arr2888 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2899 := z.EncBinary() - _ = yym2899 + yym2890 := z.EncBinary() + _ = yym2890 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -37285,18 +37203,18 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("IP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2900 := z.EncBinary() - _ = yym2900 + yym2891 := z.EncBinary() + _ = yym2891 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2897 || yy2arr2897 { + if yyr2888 || yy2arr2888 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2897[1] { - yym2902 := z.EncBinary() - _ = yym2902 + if yyq2888[1] { + yym2893 := z.EncBinary() + _ = yym2893 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -37305,54 +37223,54 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2897[1] { + if yyq2888[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2903 := z.EncBinary() - _ = yym2903 + yym2894 := z.EncBinary() + _ = yym2894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2897 || yy2arr2897 { + if yyr2888 || yy2arr2888 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2897[2] { + if yyq2888[2] { if x.NodeName == nil { r.EncodeNil() } else { - yy2905 := *x.NodeName - yym2906 := z.EncBinary() - _ = yym2906 + yy2896 := *x.NodeName + yym2897 := z.EncBinary() + _ = yym2897 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2905)) + r.EncodeString(codecSelferC_UTF81234, string(yy2896)) } } } else { r.EncodeNil() } } else { - if yyq2897[2] { + if yyq2888[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeName == nil { r.EncodeNil() } else { - yy2907 := *x.NodeName - yym2908 := z.EncBinary() - _ = yym2908 + yy2898 := *x.NodeName + yym2899 := z.EncBinary() + _ = yym2899 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2907)) + r.EncodeString(codecSelferC_UTF81234, string(yy2898)) } } } } - if yyr2897 || yy2arr2897 { + if yyr2888 || yy2arr2888 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetRef == nil { r.EncodeNil() @@ -37369,7 +37287,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { x.TargetRef.CodecEncodeSelf(e) } } - if yyr2897 || yy2arr2897 { + if yyr2888 || yy2arr2888 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37382,25 +37300,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2910 := z.DecBinary() - _ = yym2910 + yym2901 := z.DecBinary() + _ = yym2901 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2911 := r.ContainerType() - if yyct2911 == codecSelferValueTypeMap1234 { - yyl2911 := r.ReadMapStart() - if yyl2911 == 0 { + yyct2902 := r.ContainerType() + if yyct2902 == codecSelferValueTypeMap1234 { + yyl2902 := r.ReadMapStart() + if yyl2902 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2911, d) + x.codecDecodeSelfFromMap(yyl2902, d) } - } else if yyct2911 == codecSelferValueTypeArray1234 { - yyl2911 := r.ReadArrayStart() - if yyl2911 == 0 { + } else if yyct2902 == codecSelferValueTypeArray1234 { + yyl2902 := r.ReadArrayStart() + if yyl2902 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2911, d) + x.codecDecodeSelfFromArray(yyl2902, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37412,12 +37330,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2912Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2912Slc - var yyhl2912 bool = l >= 0 - for yyj2912 := 0; ; yyj2912++ { - if yyhl2912 { - if yyj2912 >= l { + var yys2903Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2903Slc + var yyhl2903 bool = l >= 0 + for yyj2903 := 0; ; yyj2903++ { + if yyhl2903 { + if yyj2903 >= l { break } } else { @@ -37426,10 +37344,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2912Slc = r.DecodeBytes(yys2912Slc, true, true) - yys2912 := string(yys2912Slc) + yys2903Slc = r.DecodeBytes(yys2903Slc, true, true) + yys2903 := string(yys2903Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2912 { + switch yys2903 { case "IP": if r.TryDecodeAsNil() { x.IP = "" @@ -37451,8 +37369,8 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.NodeName == nil { x.NodeName = new(string) } - yym2916 := z.DecBinary() - _ = yym2916 + yym2907 := z.DecBinary() + _ = yym2907 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() @@ -37470,9 +37388,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2912) - } // end switch yys2912 - } // end for yyj2912 + z.DecStructFieldNotFound(-1, yys2903) + } // end switch yys2903 + } // end for yyj2903 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37480,16 +37398,16 @@ func (x *EndpointAddress) 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 yyj2909 int + var yyb2909 bool + var yyhl2909 bool = l >= 0 + yyj2909++ + if yyhl2909 { + yyb2909 = yyj2909 > l } else { - yyb2918 = r.CheckBreak() + yyb2909 = r.CheckBreak() } - if yyb2918 { + if yyb2909 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37499,13 +37417,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + yyj2909++ + if yyhl2909 { + yyb2909 = yyj2909 > l } else { - yyb2918 = r.CheckBreak() + yyb2909 = r.CheckBreak() } - if yyb2918 { + if yyb2909 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37515,13 +37433,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Hostname = string(r.DecodeString()) } - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + yyj2909++ + if yyhl2909 { + yyb2909 = yyj2909 > l } else { - yyb2918 = r.CheckBreak() + yyb2909 = r.CheckBreak() } - if yyb2918 { + if yyb2909 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37534,20 +37452,20 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.NodeName == nil { x.NodeName = new(string) } - yym2922 := z.DecBinary() - _ = yym2922 + yym2913 := z.DecBinary() + _ = yym2913 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() } } - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + yyj2909++ + if yyhl2909 { + yyb2909 = yyj2909 > l } else { - yyb2918 = r.CheckBreak() + yyb2909 = r.CheckBreak() } - if yyb2918 { + if yyb2909 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37563,17 +37481,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + yyj2909++ + if yyhl2909 { + yyb2909 = yyj2909 > l } else { - yyb2918 = r.CheckBreak() + yyb2909 = r.CheckBreak() } - if yyb2918 { + if yyb2909 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2918-1, "") + z.DecStructFieldNotFound(yyj2909-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37585,33 +37503,33 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2924 := z.EncBinary() - _ = yym2924 + yym2915 := z.EncBinary() + _ = yym2915 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2925 := !z.EncBinary() - yy2arr2925 := z.EncBasicHandle().StructToArray - var yyq2925 [3]bool - _, _, _ = yysep2925, yyq2925, yy2arr2925 - const yyr2925 bool = false - var yynn2925 int - if yyr2925 || yy2arr2925 { + yysep2916 := !z.EncBinary() + yy2arr2916 := z.EncBasicHandle().StructToArray + var yyq2916 [3]bool + _, _, _ = yysep2916, yyq2916, yy2arr2916 + const yyr2916 bool = false + var yynn2916 int + if yyr2916 || yy2arr2916 { r.EncodeArrayStart(3) } else { - yynn2925 = 3 - for _, b := range yyq2925 { + yynn2916 = 3 + for _, b := range yyq2916 { if b { - yynn2925++ + yynn2916++ } } - r.EncodeMapStart(yynn2925) - yynn2925 = 0 + r.EncodeMapStart(yynn2916) + yynn2916 = 0 } - if yyr2925 || yy2arr2925 { + if yyr2916 || yy2arr2916 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2927 := z.EncBinary() - _ = yym2927 + yym2918 := z.EncBinary() + _ = yym2918 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -37620,17 +37538,17 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2928 := z.EncBinary() - _ = yym2928 + yym2919 := z.EncBinary() + _ = yym2919 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2925 || yy2arr2925 { + if yyr2916 || yy2arr2916 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2930 := z.EncBinary() - _ = yym2930 + yym2921 := z.EncBinary() + _ = yym2921 if false { } else { r.EncodeInt(int64(x.Port)) @@ -37639,14 +37557,14 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2931 := z.EncBinary() - _ = yym2931 + yym2922 := z.EncBinary() + _ = yym2922 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2925 || yy2arr2925 { + if yyr2916 || yy2arr2916 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Protocol.CodecEncodeSelf(e) } else { @@ -37655,7 +37573,7 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } - if yyr2925 || yy2arr2925 { + if yyr2916 || yy2arr2916 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37668,25 +37586,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2933 := z.DecBinary() - _ = yym2933 + yym2924 := z.DecBinary() + _ = yym2924 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2934 := r.ContainerType() - if yyct2934 == codecSelferValueTypeMap1234 { - yyl2934 := r.ReadMapStart() - if yyl2934 == 0 { + yyct2925 := r.ContainerType() + if yyct2925 == codecSelferValueTypeMap1234 { + yyl2925 := r.ReadMapStart() + if yyl2925 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2934, d) + x.codecDecodeSelfFromMap(yyl2925, d) } - } else if yyct2934 == codecSelferValueTypeArray1234 { - yyl2934 := r.ReadArrayStart() - if yyl2934 == 0 { + } else if yyct2925 == codecSelferValueTypeArray1234 { + yyl2925 := r.ReadArrayStart() + if yyl2925 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2934, d) + x.codecDecodeSelfFromArray(yyl2925, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37698,12 +37616,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2935Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2935Slc - var yyhl2935 bool = l >= 0 - for yyj2935 := 0; ; yyj2935++ { - if yyhl2935 { - if yyj2935 >= l { + var yys2926Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2926Slc + var yyhl2926 bool = l >= 0 + for yyj2926 := 0; ; yyj2926++ { + if yyhl2926 { + if yyj2926 >= l { break } } else { @@ -37712,10 +37630,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2935Slc = r.DecodeBytes(yys2935Slc, true, true) - yys2935 := string(yys2935Slc) + yys2926Slc = r.DecodeBytes(yys2926Slc, true, true) + yys2926 := string(yys2926Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2935 { + switch yys2926 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -37735,9 +37653,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2935) - } // end switch yys2935 - } // end for yyj2935 + z.DecStructFieldNotFound(-1, yys2926) + } // end switch yys2926 + } // end for yyj2926 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37745,16 +37663,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2939 int - var yyb2939 bool - var yyhl2939 bool = l >= 0 - yyj2939++ - if yyhl2939 { - yyb2939 = yyj2939 > l + var yyj2930 int + var yyb2930 bool + var yyhl2930 bool = l >= 0 + yyj2930++ + if yyhl2930 { + yyb2930 = yyj2930 > l } else { - yyb2939 = r.CheckBreak() + yyb2930 = r.CheckBreak() } - if yyb2939 { + if yyb2930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37764,13 +37682,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2939++ - if yyhl2939 { - yyb2939 = yyj2939 > l + yyj2930++ + if yyhl2930 { + yyb2930 = yyj2930 > l } else { - yyb2939 = r.CheckBreak() + yyb2930 = r.CheckBreak() } - if yyb2939 { + if yyb2930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37780,13 +37698,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2939++ - if yyhl2939 { - yyb2939 = yyj2939 > l + yyj2930++ + if yyhl2930 { + yyb2930 = yyj2930 > l } else { - yyb2939 = r.CheckBreak() + yyb2930 = r.CheckBreak() } - if yyb2939 { + if yyb2930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37797,17 +37715,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj2939++ - if yyhl2939 { - yyb2939 = yyj2939 > l + yyj2930++ + if yyhl2930 { + yyb2930 = yyj2930 > l } else { - yyb2939 = r.CheckBreak() + yyb2930 = r.CheckBreak() } - if yyb2939 { + if yyb2930 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2939-1, "") + z.DecStructFieldNotFound(yyj2930-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37819,37 +37737,37 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2943 := z.EncBinary() - _ = yym2943 + yym2934 := z.EncBinary() + _ = yym2934 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2944 := !z.EncBinary() - yy2arr2944 := z.EncBasicHandle().StructToArray - var yyq2944 [4]bool - _, _, _ = yysep2944, yyq2944, yy2arr2944 - const yyr2944 bool = false - yyq2944[0] = x.Kind != "" - yyq2944[1] = x.APIVersion != "" - yyq2944[2] = true - var yynn2944 int - if yyr2944 || yy2arr2944 { + yysep2935 := !z.EncBinary() + yy2arr2935 := z.EncBasicHandle().StructToArray + var yyq2935 [4]bool + _, _, _ = yysep2935, yyq2935, yy2arr2935 + const yyr2935 bool = false + yyq2935[0] = x.Kind != "" + yyq2935[1] = x.APIVersion != "" + yyq2935[2] = true + var yynn2935 int + if yyr2935 || yy2arr2935 { r.EncodeArrayStart(4) } else { - yynn2944 = 1 - for _, b := range yyq2944 { + yynn2935 = 1 + for _, b := range yyq2935 { if b { - yynn2944++ + yynn2935++ } } - r.EncodeMapStart(yynn2944) - yynn2944 = 0 + r.EncodeMapStart(yynn2935) + yynn2935 = 0 } - if yyr2944 || yy2arr2944 { + if yyr2935 || yy2arr2935 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2944[0] { - yym2946 := z.EncBinary() - _ = yym2946 + if yyq2935[0] { + yym2937 := z.EncBinary() + _ = yym2937 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37858,23 +37776,23 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2944[0] { + if yyq2935[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2947 := z.EncBinary() - _ = yym2947 + yym2938 := z.EncBinary() + _ = yym2938 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2944 || yy2arr2944 { + if yyr2935 || yy2arr2935 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2944[1] { - yym2949 := z.EncBinary() - _ = yym2949 + if yyq2935[1] { + yym2940 := z.EncBinary() + _ = yym2940 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37883,54 +37801,54 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2944[1] { + if yyq2935[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2950 := z.EncBinary() - _ = yym2950 + yym2941 := z.EncBinary() + _ = yym2941 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2944 || yy2arr2944 { + if yyr2935 || yy2arr2935 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2944[2] { - yy2952 := &x.ListMeta - yym2953 := z.EncBinary() - _ = yym2953 + if yyq2935[2] { + yy2943 := &x.ListMeta + yym2944 := z.EncBinary() + _ = yym2944 if false { - } else if z.HasExtensions() && z.EncExt(yy2952) { + } else if z.HasExtensions() && z.EncExt(yy2943) { } else { - z.EncFallback(yy2952) + z.EncFallback(yy2943) } } else { r.EncodeNil() } } else { - if yyq2944[2] { + if yyq2935[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2954 := &x.ListMeta - yym2955 := z.EncBinary() - _ = yym2955 + yy2945 := &x.ListMeta + yym2946 := z.EncBinary() + _ = yym2946 if false { - } else if z.HasExtensions() && z.EncExt(yy2954) { + } else if z.HasExtensions() && z.EncExt(yy2945) { } else { - z.EncFallback(yy2954) + z.EncFallback(yy2945) } } } - if yyr2944 || yy2arr2944 { + if yyr2935 || yy2arr2935 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2957 := z.EncBinary() - _ = yym2957 + yym2948 := z.EncBinary() + _ = yym2948 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -37943,15 +37861,15 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2958 := z.EncBinary() - _ = yym2958 + yym2949 := z.EncBinary() + _ = yym2949 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2944 || yy2arr2944 { + if yyr2935 || yy2arr2935 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37964,25 +37882,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2959 := z.DecBinary() - _ = yym2959 + yym2950 := z.DecBinary() + _ = yym2950 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2960 := r.ContainerType() - if yyct2960 == codecSelferValueTypeMap1234 { - yyl2960 := r.ReadMapStart() - if yyl2960 == 0 { + yyct2951 := r.ContainerType() + if yyct2951 == codecSelferValueTypeMap1234 { + yyl2951 := r.ReadMapStart() + if yyl2951 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2960, d) + x.codecDecodeSelfFromMap(yyl2951, d) } - } else if yyct2960 == codecSelferValueTypeArray1234 { - yyl2960 := r.ReadArrayStart() - if yyl2960 == 0 { + } else if yyct2951 == codecSelferValueTypeArray1234 { + yyl2951 := r.ReadArrayStart() + if yyl2951 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2960, d) + x.codecDecodeSelfFromArray(yyl2951, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37994,12 +37912,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2961Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2961Slc - var yyhl2961 bool = l >= 0 - for yyj2961 := 0; ; yyj2961++ { - if yyhl2961 { - if yyj2961 >= l { + var yys2952Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2952Slc + var yyhl2952 bool = l >= 0 + for yyj2952 := 0; ; yyj2952++ { + if yyhl2952 { + if yyj2952 >= l { break } } else { @@ -38008,10 +37926,10 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2961Slc = r.DecodeBytes(yys2961Slc, true, true) - yys2961 := string(yys2961Slc) + yys2952Slc = r.DecodeBytes(yys2952Slc, true, true) + yys2952 := string(yys2952Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2961 { + switch yys2952 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -38028,31 +37946,31 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2964 := &x.ListMeta - yym2965 := z.DecBinary() - _ = yym2965 + yyv2955 := &x.ListMeta + yym2956 := z.DecBinary() + _ = yym2956 if false { - } else if z.HasExtensions() && z.DecExt(yyv2964) { + } else if z.HasExtensions() && z.DecExt(yyv2955) { } else { - z.DecFallback(yyv2964, false) + z.DecFallback(yyv2955, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2966 := &x.Items - yym2967 := z.DecBinary() - _ = yym2967 + yyv2957 := &x.Items + yym2958 := z.DecBinary() + _ = yym2958 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2966), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2957), d) } } default: - z.DecStructFieldNotFound(-1, yys2961) - } // end switch yys2961 - } // end for yyj2961 + z.DecStructFieldNotFound(-1, yys2952) + } // end switch yys2952 + } // end for yyj2952 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38060,16 +37978,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2968 int - var yyb2968 bool - var yyhl2968 bool = l >= 0 - yyj2968++ - if yyhl2968 { - yyb2968 = yyj2968 > l + var yyj2959 int + var yyb2959 bool + var yyhl2959 bool = l >= 0 + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2968 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2968 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38079,13 +37997,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2968++ - if yyhl2968 { - yyb2968 = yyj2968 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2968 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2968 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38095,13 +38013,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2968++ - if yyhl2968 { - yyb2968 = yyj2968 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2968 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2968 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38109,22 +38027,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2971 := &x.ListMeta - yym2972 := z.DecBinary() - _ = yym2972 + yyv2962 := &x.ListMeta + yym2963 := z.DecBinary() + _ = yym2963 if false { - } else if z.HasExtensions() && z.DecExt(yyv2971) { + } else if z.HasExtensions() && z.DecExt(yyv2962) { } else { - z.DecFallback(yyv2971, false) + z.DecFallback(yyv2962, false) } } - yyj2968++ - if yyhl2968 { - yyb2968 = yyj2968 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2968 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2968 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38132,26 +38050,26 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2973 := &x.Items - yym2974 := z.DecBinary() - _ = yym2974 + yyv2964 := &x.Items + yym2965 := z.DecBinary() + _ = yym2965 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2973), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2964), d) } } for { - yyj2968++ - if yyhl2968 { - yyb2968 = yyj2968 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2968 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2968 { + if yyb2959 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2968-1, "") + z.DecStructFieldNotFound(yyj2959-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38163,38 +38081,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2975 := z.EncBinary() - _ = yym2975 + yym2966 := z.EncBinary() + _ = yym2966 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2976 := !z.EncBinary() - yy2arr2976 := z.EncBasicHandle().StructToArray - var yyq2976 [4]bool - _, _, _ = yysep2976, yyq2976, yy2arr2976 - const yyr2976 bool = false - yyq2976[0] = x.PodCIDR != "" - yyq2976[1] = x.ExternalID != "" - yyq2976[2] = x.ProviderID != "" - yyq2976[3] = x.Unschedulable != false - var yynn2976 int - if yyr2976 || yy2arr2976 { + yysep2967 := !z.EncBinary() + yy2arr2967 := z.EncBasicHandle().StructToArray + var yyq2967 [4]bool + _, _, _ = yysep2967, yyq2967, yy2arr2967 + const yyr2967 bool = false + yyq2967[0] = x.PodCIDR != "" + yyq2967[1] = x.ExternalID != "" + yyq2967[2] = x.ProviderID != "" + yyq2967[3] = x.Unschedulable != false + var yynn2967 int + if yyr2967 || yy2arr2967 { r.EncodeArrayStart(4) } else { - yynn2976 = 0 - for _, b := range yyq2976 { + yynn2967 = 0 + for _, b := range yyq2967 { if b { - yynn2976++ + yynn2967++ } } - r.EncodeMapStart(yynn2976) - yynn2976 = 0 + r.EncodeMapStart(yynn2967) + yynn2967 = 0 } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2976[0] { - yym2978 := z.EncBinary() - _ = yym2978 + if yyq2967[0] { + yym2969 := z.EncBinary() + _ = yym2969 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -38203,23 +38121,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2976[0] { + if yyq2967[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2979 := z.EncBinary() - _ = yym2979 + yym2970 := z.EncBinary() + _ = yym2970 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2976[1] { - yym2981 := z.EncBinary() - _ = yym2981 + if yyq2967[1] { + yym2972 := z.EncBinary() + _ = yym2972 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -38228,23 +38146,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2976[1] { + if yyq2967[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2982 := z.EncBinary() - _ = yym2982 + yym2973 := z.EncBinary() + _ = yym2973 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2976[2] { - yym2984 := z.EncBinary() - _ = yym2984 + if yyq2967[2] { + yym2975 := z.EncBinary() + _ = yym2975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -38253,23 +38171,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2976[2] { + if yyq2967[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2985 := z.EncBinary() - _ = yym2985 + yym2976 := z.EncBinary() + _ = yym2976 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2976[3] { - yym2987 := z.EncBinary() - _ = yym2987 + if yyq2967[3] { + yym2978 := z.EncBinary() + _ = yym2978 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -38278,19 +38196,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2976[3] { + if yyq2967[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2988 := z.EncBinary() - _ = yym2988 + yym2979 := z.EncBinary() + _ = yym2979 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38303,25 +38221,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2989 := z.DecBinary() - _ = yym2989 + yym2980 := z.DecBinary() + _ = yym2980 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2990 := r.ContainerType() - if yyct2990 == codecSelferValueTypeMap1234 { - yyl2990 := r.ReadMapStart() - if yyl2990 == 0 { + yyct2981 := r.ContainerType() + if yyct2981 == codecSelferValueTypeMap1234 { + yyl2981 := r.ReadMapStart() + if yyl2981 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2990, d) + x.codecDecodeSelfFromMap(yyl2981, d) } - } else if yyct2990 == codecSelferValueTypeArray1234 { - yyl2990 := r.ReadArrayStart() - if yyl2990 == 0 { + } else if yyct2981 == codecSelferValueTypeArray1234 { + yyl2981 := r.ReadArrayStart() + if yyl2981 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2990, d) + x.codecDecodeSelfFromArray(yyl2981, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38333,12 +38251,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2991Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2991Slc - var yyhl2991 bool = l >= 0 - for yyj2991 := 0; ; yyj2991++ { - if yyhl2991 { - if yyj2991 >= l { + var yys2982Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2982Slc + var yyhl2982 bool = l >= 0 + for yyj2982 := 0; ; yyj2982++ { + if yyhl2982 { + if yyj2982 >= l { break } } else { @@ -38347,10 +38265,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2991Slc = r.DecodeBytes(yys2991Slc, true, true) - yys2991 := string(yys2991Slc) + yys2982Slc = r.DecodeBytes(yys2982Slc, true, true) + yys2982 := string(yys2982Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2991 { + switch yys2982 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -38376,9 +38294,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2991) - } // end switch yys2991 - } // end for yyj2991 + z.DecStructFieldNotFound(-1, yys2982) + } // end switch yys2982 + } // end for yyj2982 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38386,16 +38304,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2996 int - var yyb2996 bool - var yyhl2996 bool = l >= 0 - yyj2996++ - if yyhl2996 { - yyb2996 = yyj2996 > l + var yyj2987 int + var yyb2987 bool + var yyhl2987 bool = l >= 0 + yyj2987++ + if yyhl2987 { + yyb2987 = yyj2987 > l } else { - yyb2996 = r.CheckBreak() + yyb2987 = r.CheckBreak() } - if yyb2996 { + if yyb2987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38405,13 +38323,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2996++ - if yyhl2996 { - yyb2996 = yyj2996 > l + yyj2987++ + if yyhl2987 { + yyb2987 = yyj2987 > l } else { - yyb2996 = r.CheckBreak() + yyb2987 = r.CheckBreak() } - if yyb2996 { + if yyb2987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38421,13 +38339,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2996++ - if yyhl2996 { - yyb2996 = yyj2996 > l + yyj2987++ + if yyhl2987 { + yyb2987 = yyj2987 > l } else { - yyb2996 = r.CheckBreak() + yyb2987 = r.CheckBreak() } - if yyb2996 { + if yyb2987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38437,13 +38355,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2996++ - if yyhl2996 { - yyb2996 = yyj2996 > l + yyj2987++ + if yyhl2987 { + yyb2987 = yyj2987 > l } else { - yyb2996 = r.CheckBreak() + yyb2987 = r.CheckBreak() } - if yyb2996 { + if yyb2987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38454,17 +38372,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2996++ - if yyhl2996 { - yyb2996 = yyj2996 > l + yyj2987++ + if yyhl2987 { + yyb2987 = yyj2987 > l } else { - yyb2996 = r.CheckBreak() + yyb2987 = r.CheckBreak() } - if yyb2996 { + if yyb2987 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2996-1, "") + z.DecStructFieldNotFound(yyj2987-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38476,33 +38394,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3001 := z.EncBinary() - _ = yym3001 + yym2992 := z.EncBinary() + _ = yym2992 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3002 := !z.EncBinary() - yy2arr3002 := z.EncBasicHandle().StructToArray - var yyq3002 [1]bool - _, _, _ = yysep3002, yyq3002, yy2arr3002 - const yyr3002 bool = false - var yynn3002 int - if yyr3002 || yy2arr3002 { + yysep2993 := !z.EncBinary() + yy2arr2993 := z.EncBasicHandle().StructToArray + var yyq2993 [1]bool + _, _, _ = yysep2993, yyq2993, yy2arr2993 + const yyr2993 bool = false + var yynn2993 int + if yyr2993 || yy2arr2993 { r.EncodeArrayStart(1) } else { - yynn3002 = 1 - for _, b := range yyq3002 { + yynn2993 = 1 + for _, b := range yyq2993 { if b { - yynn3002++ + yynn2993++ } } - r.EncodeMapStart(yynn3002) - yynn3002 = 0 + r.EncodeMapStart(yynn2993) + yynn2993 = 0 } - if yyr3002 || yy2arr3002 { + if yyr2993 || yy2arr2993 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3004 := z.EncBinary() - _ = yym3004 + yym2995 := z.EncBinary() + _ = yym2995 if false { } else { r.EncodeInt(int64(x.Port)) @@ -38511,14 +38429,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3005 := z.EncBinary() - _ = yym3005 + yym2996 := z.EncBinary() + _ = yym2996 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr3002 || yy2arr3002 { + if yyr2993 || yy2arr2993 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38531,25 +38449,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3006 := z.DecBinary() - _ = yym3006 + yym2997 := z.DecBinary() + _ = yym2997 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3007 := r.ContainerType() - if yyct3007 == codecSelferValueTypeMap1234 { - yyl3007 := r.ReadMapStart() - if yyl3007 == 0 { + yyct2998 := r.ContainerType() + if yyct2998 == codecSelferValueTypeMap1234 { + yyl2998 := r.ReadMapStart() + if yyl2998 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3007, d) + x.codecDecodeSelfFromMap(yyl2998, d) } - } else if yyct3007 == codecSelferValueTypeArray1234 { - yyl3007 := r.ReadArrayStart() - if yyl3007 == 0 { + } else if yyct2998 == codecSelferValueTypeArray1234 { + yyl2998 := r.ReadArrayStart() + if yyl2998 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3007, d) + x.codecDecodeSelfFromArray(yyl2998, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38561,12 +38479,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3008Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3008Slc - var yyhl3008 bool = l >= 0 - for yyj3008 := 0; ; yyj3008++ { - if yyhl3008 { - if yyj3008 >= l { + var yys2999Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2999Slc + var yyhl2999 bool = l >= 0 + for yyj2999 := 0; ; yyj2999++ { + if yyhl2999 { + if yyj2999 >= l { break } } else { @@ -38575,10 +38493,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3008Slc = r.DecodeBytes(yys3008Slc, true, true) - yys3008 := string(yys3008Slc) + yys2999Slc = r.DecodeBytes(yys2999Slc, true, true) + yys2999 := string(yys2999Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3008 { + switch yys2999 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -38586,9 +38504,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3008) - } // end switch yys3008 - } // end for yyj3008 + z.DecStructFieldNotFound(-1, yys2999) + } // end switch yys2999 + } // end for yyj2999 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38596,16 +38514,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3010 int - var yyb3010 bool - var yyhl3010 bool = l >= 0 - yyj3010++ - if yyhl3010 { - yyb3010 = yyj3010 > l + var yyj3001 int + var yyb3001 bool + var yyhl3001 bool = l >= 0 + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb3010 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb3010 { + if yyb3001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38616,17 +38534,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } for { - yyj3010++ - if yyhl3010 { - yyb3010 = yyj3010 > l + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb3010 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb3010 { + if yyb3001 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3010-1, "") + z.DecStructFieldNotFound(yyj3001-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38638,48 +38556,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3012 := z.EncBinary() - _ = yym3012 + yym3003 := z.EncBinary() + _ = yym3003 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3013 := !z.EncBinary() - yy2arr3013 := z.EncBasicHandle().StructToArray - var yyq3013 [1]bool - _, _, _ = yysep3013, yyq3013, yy2arr3013 - const yyr3013 bool = false - yyq3013[0] = true - var yynn3013 int - if yyr3013 || yy2arr3013 { + yysep3004 := !z.EncBinary() + yy2arr3004 := z.EncBasicHandle().StructToArray + var yyq3004 [1]bool + _, _, _ = yysep3004, yyq3004, yy2arr3004 + const yyr3004 bool = false + yyq3004[0] = true + var yynn3004 int + if yyr3004 || yy2arr3004 { r.EncodeArrayStart(1) } else { - yynn3013 = 0 - for _, b := range yyq3013 { + yynn3004 = 0 + for _, b := range yyq3004 { if b { - yynn3013++ + yynn3004++ } } - r.EncodeMapStart(yynn3013) - yynn3013 = 0 + r.EncodeMapStart(yynn3004) + yynn3004 = 0 } - if yyr3013 || yy2arr3013 { + if yyr3004 || yy2arr3004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3013[0] { - yy3015 := &x.KubeletEndpoint - yy3015.CodecEncodeSelf(e) + if yyq3004[0] { + yy3006 := &x.KubeletEndpoint + yy3006.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3013[0] { + if yyq3004[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3016 := &x.KubeletEndpoint - yy3016.CodecEncodeSelf(e) + yy3007 := &x.KubeletEndpoint + yy3007.CodecEncodeSelf(e) } } - if yyr3013 || yy2arr3013 { + if yyr3004 || yy2arr3004 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38692,25 +38610,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3017 := z.DecBinary() - _ = yym3017 + yym3008 := z.DecBinary() + _ = yym3008 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3018 := r.ContainerType() - if yyct3018 == codecSelferValueTypeMap1234 { - yyl3018 := r.ReadMapStart() - if yyl3018 == 0 { + yyct3009 := r.ContainerType() + if yyct3009 == codecSelferValueTypeMap1234 { + yyl3009 := r.ReadMapStart() + if yyl3009 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3018, d) + x.codecDecodeSelfFromMap(yyl3009, d) } - } else if yyct3018 == codecSelferValueTypeArray1234 { - yyl3018 := r.ReadArrayStart() - if yyl3018 == 0 { + } else if yyct3009 == codecSelferValueTypeArray1234 { + yyl3009 := r.ReadArrayStart() + if yyl3009 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3018, d) + x.codecDecodeSelfFromArray(yyl3009, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38722,12 +38640,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3019Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3019Slc - var yyhl3019 bool = l >= 0 - for yyj3019 := 0; ; yyj3019++ { - if yyhl3019 { - if yyj3019 >= l { + var yys3010Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3010Slc + var yyhl3010 bool = l >= 0 + for yyj3010 := 0; ; yyj3010++ { + if yyhl3010 { + if yyj3010 >= l { break } } else { @@ -38736,21 +38654,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3019Slc = r.DecodeBytes(yys3019Slc, true, true) - yys3019 := string(yys3019Slc) + yys3010Slc = r.DecodeBytes(yys3010Slc, true, true) + yys3010 := string(yys3010Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3019 { + switch yys3010 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv3020 := &x.KubeletEndpoint - yyv3020.CodecDecodeSelf(d) + yyv3011 := &x.KubeletEndpoint + yyv3011.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3019) - } // end switch yys3019 - } // end for yyj3019 + z.DecStructFieldNotFound(-1, yys3010) + } // end switch yys3010 + } // end for yyj3010 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38758,16 +38676,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3021 int - var yyb3021 bool - var yyhl3021 bool = l >= 0 - yyj3021++ - if yyhl3021 { - yyb3021 = yyj3021 > l + var yyj3012 int + var yyb3012 bool + var yyhl3012 bool = l >= 0 + yyj3012++ + if yyhl3012 { + yyb3012 = yyj3012 > l } else { - yyb3021 = r.CheckBreak() + yyb3012 = r.CheckBreak() } - if yyb3021 { + if yyb3012 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38775,21 +38693,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv3022 := &x.KubeletEndpoint - yyv3022.CodecDecodeSelf(d) + yyv3013 := &x.KubeletEndpoint + yyv3013.CodecDecodeSelf(d) } for { - yyj3021++ - if yyhl3021 { - yyb3021 = yyj3021 > l + yyj3012++ + if yyhl3012 { + yyb3012 = yyj3012 > l } else { - yyb3021 = r.CheckBreak() + yyb3012 = r.CheckBreak() } - if yyb3021 { + if yyb3012 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3021-1, "") + z.DecStructFieldNotFound(yyj3012-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38801,33 +38719,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3023 := z.EncBinary() - _ = yym3023 + yym3014 := z.EncBinary() + _ = yym3014 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3024 := !z.EncBinary() - yy2arr3024 := z.EncBasicHandle().StructToArray - var yyq3024 [10]bool - _, _, _ = yysep3024, yyq3024, yy2arr3024 - const yyr3024 bool = false - var yynn3024 int - if yyr3024 || yy2arr3024 { + yysep3015 := !z.EncBinary() + yy2arr3015 := z.EncBasicHandle().StructToArray + var yyq3015 [10]bool + _, _, _ = yysep3015, yyq3015, yy2arr3015 + const yyr3015 bool = false + var yynn3015 int + if yyr3015 || yy2arr3015 { r.EncodeArrayStart(10) } else { - yynn3024 = 10 - for _, b := range yyq3024 { + yynn3015 = 10 + for _, b := range yyq3015 { if b { - yynn3024++ + yynn3015++ } } - r.EncodeMapStart(yynn3024) - yynn3024 = 0 + r.EncodeMapStart(yynn3015) + yynn3015 = 0 } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3026 := z.EncBinary() - _ = yym3026 + yym3017 := z.EncBinary() + _ = yym3017 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -38836,17 +38754,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3027 := z.EncBinary() - _ = yym3027 + yym3018 := z.EncBinary() + _ = yym3018 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3029 := z.EncBinary() - _ = yym3029 + yym3020 := z.EncBinary() + _ = yym3020 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -38855,17 +38773,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3030 := z.EncBinary() - _ = yym3030 + yym3021 := z.EncBinary() + _ = yym3021 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3032 := z.EncBinary() - _ = yym3032 + yym3023 := z.EncBinary() + _ = yym3023 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -38874,17 +38792,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3033 := z.EncBinary() - _ = yym3033 + yym3024 := z.EncBinary() + _ = yym3024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3035 := z.EncBinary() - _ = yym3035 + yym3026 := z.EncBinary() + _ = yym3026 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -38893,17 +38811,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3036 := z.EncBinary() - _ = yym3036 + yym3027 := z.EncBinary() + _ = yym3027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3038 := z.EncBinary() - _ = yym3038 + yym3029 := z.EncBinary() + _ = yym3029 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -38912,17 +38830,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3039 := z.EncBinary() - _ = yym3039 + yym3030 := z.EncBinary() + _ = yym3030 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3041 := z.EncBinary() - _ = yym3041 + yym3032 := z.EncBinary() + _ = yym3032 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -38931,17 +38849,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3042 := z.EncBinary() - _ = yym3042 + yym3033 := z.EncBinary() + _ = yym3033 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3044 := z.EncBinary() - _ = yym3044 + yym3035 := z.EncBinary() + _ = yym3035 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -38950,17 +38868,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3045 := z.EncBinary() - _ = yym3045 + yym3036 := z.EncBinary() + _ = yym3036 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3047 := z.EncBinary() - _ = yym3047 + yym3038 := z.EncBinary() + _ = yym3038 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -38969,17 +38887,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3048 := z.EncBinary() - _ = yym3048 + yym3039 := z.EncBinary() + _ = yym3039 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3050 := z.EncBinary() - _ = yym3050 + yym3041 := z.EncBinary() + _ = yym3041 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) @@ -38988,17 +38906,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operatingSystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3051 := z.EncBinary() - _ = yym3051 + yym3042 := z.EncBinary() + _ = yym3042 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3053 := z.EncBinary() - _ = yym3053 + yym3044 := z.EncBinary() + _ = yym3044 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) @@ -39007,14 +38925,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("architecture")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3054 := z.EncBinary() - _ = yym3054 + yym3045 := z.EncBinary() + _ = yym3045 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) } } - if yyr3024 || yy2arr3024 { + if yyr3015 || yy2arr3015 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39027,25 +38945,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3055 := z.DecBinary() - _ = yym3055 + yym3046 := z.DecBinary() + _ = yym3046 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3056 := r.ContainerType() - if yyct3056 == codecSelferValueTypeMap1234 { - yyl3056 := r.ReadMapStart() - if yyl3056 == 0 { + yyct3047 := r.ContainerType() + if yyct3047 == codecSelferValueTypeMap1234 { + yyl3047 := r.ReadMapStart() + if yyl3047 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3056, d) + x.codecDecodeSelfFromMap(yyl3047, d) } - } else if yyct3056 == codecSelferValueTypeArray1234 { - yyl3056 := r.ReadArrayStart() - if yyl3056 == 0 { + } else if yyct3047 == codecSelferValueTypeArray1234 { + yyl3047 := r.ReadArrayStart() + if yyl3047 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3056, d) + x.codecDecodeSelfFromArray(yyl3047, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39057,12 +38975,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3057Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3057Slc - var yyhl3057 bool = l >= 0 - for yyj3057 := 0; ; yyj3057++ { - if yyhl3057 { - if yyj3057 >= l { + var yys3048Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3048Slc + var yyhl3048 bool = l >= 0 + for yyj3048 := 0; ; yyj3048++ { + if yyhl3048 { + if yyj3048 >= l { break } } else { @@ -39071,10 +38989,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3057Slc = r.DecodeBytes(yys3057Slc, true, true) - yys3057 := string(yys3057Slc) + yys3048Slc = r.DecodeBytes(yys3048Slc, true, true) + yys3048 := string(yys3048Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3057 { + switch yys3048 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -39136,9 +39054,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3057) - } // end switch yys3057 - } // end for yyj3057 + z.DecStructFieldNotFound(-1, yys3048) + } // end switch yys3048 + } // end for yyj3048 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39146,16 +39064,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3068 int - var yyb3068 bool - var yyhl3068 bool = l >= 0 - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + var yyj3059 int + var yyb3059 bool + var yyhl3059 bool = l >= 0 + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39165,13 +39083,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39181,13 +39099,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39197,13 +39115,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39213,13 +39131,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39229,13 +39147,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39245,13 +39163,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39261,13 +39179,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39277,13 +39195,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeProxyVersion = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39293,13 +39211,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OperatingSystem = string(r.DecodeString()) } - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39310,17 +39228,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } for { - yyj3068++ - if yyhl3068 { - yyb3068 = yyj3068 > l + yyj3059++ + if yyhl3059 { + yyb3059 = yyj3059 > l } else { - yyb3068 = r.CheckBreak() + yyb3059 = r.CheckBreak() } - if yyb3068 { + if yyb3059 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3068-1, "") + z.DecStructFieldNotFound(yyj3059-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39332,42 +39250,42 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3079 := z.EncBinary() - _ = yym3079 + yym3070 := z.EncBinary() + _ = yym3070 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3080 := !z.EncBinary() - yy2arr3080 := z.EncBasicHandle().StructToArray - var yyq3080 [10]bool - _, _, _ = yysep3080, yyq3080, yy2arr3080 - const yyr3080 bool = false - yyq3080[0] = len(x.Capacity) != 0 - yyq3080[1] = len(x.Allocatable) != 0 - yyq3080[2] = x.Phase != "" - yyq3080[3] = len(x.Conditions) != 0 - yyq3080[4] = len(x.Addresses) != 0 - yyq3080[5] = true - yyq3080[6] = true - yyq3080[7] = len(x.Images) != 0 - yyq3080[8] = len(x.VolumesInUse) != 0 - yyq3080[9] = len(x.VolumesAttached) != 0 - var yynn3080 int - if yyr3080 || yy2arr3080 { + yysep3071 := !z.EncBinary() + yy2arr3071 := z.EncBasicHandle().StructToArray + var yyq3071 [10]bool + _, _, _ = yysep3071, yyq3071, yy2arr3071 + const yyr3071 bool = false + yyq3071[0] = len(x.Capacity) != 0 + yyq3071[1] = len(x.Allocatable) != 0 + yyq3071[2] = x.Phase != "" + yyq3071[3] = len(x.Conditions) != 0 + yyq3071[4] = len(x.Addresses) != 0 + yyq3071[5] = true + yyq3071[6] = true + yyq3071[7] = len(x.Images) != 0 + yyq3071[8] = len(x.VolumesInUse) != 0 + yyq3071[9] = len(x.VolumesAttached) != 0 + var yynn3071 int + if yyr3071 || yy2arr3071 { r.EncodeArrayStart(10) } else { - yynn3080 = 0 - for _, b := range yyq3080 { + yynn3071 = 0 + for _, b := range yyq3071 { if b { - yynn3080++ + yynn3071++ } } - r.EncodeMapStart(yynn3080) - yynn3080 = 0 + r.EncodeMapStart(yynn3071) + yynn3071 = 0 } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[0] { + if yyq3071[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -39377,7 +39295,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3080[0] { + if yyq3071[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39388,9 +39306,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[1] { + if yyq3071[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -39400,7 +39318,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3080[1] { + if yyq3071[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39411,29 +39329,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[2] { + if yyq3071[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3080[2] { + if yyq3071[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[3] { + if yyq3071[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3085 := z.EncBinary() - _ = yym3085 + yym3076 := z.EncBinary() + _ = yym3076 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -39443,15 +39361,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3080[3] { + if yyq3071[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3086 := z.EncBinary() - _ = yym3086 + yym3077 := z.EncBinary() + _ = yym3077 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -39459,14 +39377,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[4] { + if yyq3071[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym3088 := z.EncBinary() - _ = yym3088 + yym3079 := z.EncBinary() + _ = yym3079 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -39476,15 +39394,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3080[4] { + if yyq3071[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym3089 := z.EncBinary() - _ = yym3089 + yym3080 := z.EncBinary() + _ = yym3080 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -39492,48 +39410,48 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[5] { - yy3091 := &x.DaemonEndpoints - yy3091.CodecEncodeSelf(e) + if yyq3071[5] { + yy3082 := &x.DaemonEndpoints + yy3082.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3080[5] { + if yyq3071[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3092 := &x.DaemonEndpoints - yy3092.CodecEncodeSelf(e) + yy3083 := &x.DaemonEndpoints + yy3083.CodecEncodeSelf(e) } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[6] { - yy3094 := &x.NodeInfo - yy3094.CodecEncodeSelf(e) + if yyq3071[6] { + yy3085 := &x.NodeInfo + yy3085.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3080[6] { + if yyq3071[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3095 := &x.NodeInfo - yy3095.CodecEncodeSelf(e) + yy3086 := &x.NodeInfo + yy3086.CodecEncodeSelf(e) } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[7] { + if yyq3071[7] { if x.Images == nil { r.EncodeNil() } else { - yym3097 := z.EncBinary() - _ = yym3097 + yym3088 := z.EncBinary() + _ = yym3088 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -39543,15 +39461,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3080[7] { + if yyq3071[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("images")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Images == nil { r.EncodeNil() } else { - yym3098 := z.EncBinary() - _ = yym3098 + yym3089 := z.EncBinary() + _ = yym3089 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -39559,14 +39477,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[8] { + if yyq3071[8] { if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3100 := z.EncBinary() - _ = yym3100 + yym3091 := z.EncBinary() + _ = yym3091 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -39576,15 +39494,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3080[8] { + if yyq3071[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesInUse")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3101 := z.EncBinary() - _ = yym3101 + yym3092 := z.EncBinary() + _ = yym3092 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -39592,14 +39510,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[9] { + if yyq3071[9] { if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3103 := z.EncBinary() - _ = yym3103 + yym3094 := z.EncBinary() + _ = yym3094 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -39609,15 +39527,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3080[9] { + if yyq3071[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesAttached")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3104 := z.EncBinary() - _ = yym3104 + yym3095 := z.EncBinary() + _ = yym3095 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -39625,7 +39543,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3080 || yy2arr3080 { + if yyr3071 || yy2arr3071 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39638,25 +39556,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3105 := z.DecBinary() - _ = yym3105 + yym3096 := z.DecBinary() + _ = yym3096 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3106 := r.ContainerType() - if yyct3106 == codecSelferValueTypeMap1234 { - yyl3106 := r.ReadMapStart() - if yyl3106 == 0 { + yyct3097 := r.ContainerType() + if yyct3097 == codecSelferValueTypeMap1234 { + yyl3097 := r.ReadMapStart() + if yyl3097 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3106, d) + x.codecDecodeSelfFromMap(yyl3097, d) } - } else if yyct3106 == codecSelferValueTypeArray1234 { - yyl3106 := r.ReadArrayStart() - if yyl3106 == 0 { + } else if yyct3097 == codecSelferValueTypeArray1234 { + yyl3097 := r.ReadArrayStart() + if yyl3097 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3106, d) + x.codecDecodeSelfFromArray(yyl3097, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39668,12 +39586,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3107Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3107Slc - var yyhl3107 bool = l >= 0 - for yyj3107 := 0; ; yyj3107++ { - if yyhl3107 { - if yyj3107 >= l { + var yys3098Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3098Slc + var yyhl3098 bool = l >= 0 + for yyj3098 := 0; ; yyj3098++ { + if yyhl3098 { + if yyj3098 >= l { break } } else { @@ -39682,23 +39600,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3107Slc = r.DecodeBytes(yys3107Slc, true, true) - yys3107 := string(yys3107Slc) + yys3098Slc = r.DecodeBytes(yys3098Slc, true, true) + yys3098 := string(yys3098Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3107 { + switch yys3098 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3108 := &x.Capacity - yyv3108.CodecDecodeSelf(d) + yyv3099 := &x.Capacity + yyv3099.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3109 := &x.Allocatable - yyv3109.CodecDecodeSelf(d) + yyv3100 := &x.Allocatable + yyv3100.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -39710,80 +39628,80 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3111 := &x.Conditions - yym3112 := z.DecBinary() - _ = yym3112 + yyv3102 := &x.Conditions + yym3103 := z.DecBinary() + _ = yym3103 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3111), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3102), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3113 := &x.Addresses - yym3114 := z.DecBinary() - _ = yym3114 + yyv3104 := &x.Addresses + yym3105 := z.DecBinary() + _ = yym3105 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3113), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3104), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3115 := &x.DaemonEndpoints - yyv3115.CodecDecodeSelf(d) + yyv3106 := &x.DaemonEndpoints + yyv3106.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3116 := &x.NodeInfo - yyv3116.CodecDecodeSelf(d) + yyv3107 := &x.NodeInfo + yyv3107.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3117 := &x.Images - yym3118 := z.DecBinary() - _ = yym3118 + yyv3108 := &x.Images + yym3109 := z.DecBinary() + _ = yym3109 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3117), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3108), d) } } case "volumesInUse": if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3119 := &x.VolumesInUse - yym3120 := z.DecBinary() - _ = yym3120 + yyv3110 := &x.VolumesInUse + yym3111 := z.DecBinary() + _ = yym3111 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3119), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3110), d) } } case "volumesAttached": if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3121 := &x.VolumesAttached - yym3122 := z.DecBinary() - _ = yym3122 + yyv3112 := &x.VolumesAttached + yym3113 := z.DecBinary() + _ = yym3113 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3121), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3112), d) } } default: - z.DecStructFieldNotFound(-1, yys3107) - } // end switch yys3107 - } // end for yyj3107 + z.DecStructFieldNotFound(-1, yys3098) + } // end switch yys3098 + } // end for yyj3098 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39791,16 +39709,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3123 int - var yyb3123 bool - var yyhl3123 bool = l >= 0 - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + var yyj3114 int + var yyb3114 bool + var yyhl3114 bool = l >= 0 + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39808,16 +39726,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3124 := &x.Capacity - yyv3124.CodecDecodeSelf(d) + yyv3115 := &x.Capacity + yyv3115.CodecDecodeSelf(d) } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39825,16 +39743,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3125 := &x.Allocatable - yyv3125.CodecDecodeSelf(d) + yyv3116 := &x.Allocatable + yyv3116.CodecDecodeSelf(d) } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39844,13 +39762,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39858,21 +39776,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3127 := &x.Conditions - yym3128 := z.DecBinary() - _ = yym3128 + yyv3118 := &x.Conditions + yym3119 := z.DecBinary() + _ = yym3119 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3127), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3118), d) } } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39880,21 +39798,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3129 := &x.Addresses - yym3130 := z.DecBinary() - _ = yym3130 + yyv3120 := &x.Addresses + yym3121 := z.DecBinary() + _ = yym3121 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3129), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3120), d) } } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39902,16 +39820,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3131 := &x.DaemonEndpoints - yyv3131.CodecDecodeSelf(d) + yyv3122 := &x.DaemonEndpoints + yyv3122.CodecDecodeSelf(d) } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39919,16 +39837,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3132 := &x.NodeInfo - yyv3132.CodecDecodeSelf(d) + yyv3123 := &x.NodeInfo + yyv3123.CodecDecodeSelf(d) } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39936,21 +39854,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3133 := &x.Images - yym3134 := z.DecBinary() - _ = yym3134 + yyv3124 := &x.Images + yym3125 := z.DecBinary() + _ = yym3125 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3133), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3124), d) } } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39958,21 +39876,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3135 := &x.VolumesInUse - yym3136 := z.DecBinary() - _ = yym3136 + yyv3126 := &x.VolumesInUse + yym3127 := z.DecBinary() + _ = yym3127 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3135), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3126), d) } } - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39980,26 +39898,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3137 := &x.VolumesAttached - yym3138 := z.DecBinary() - _ = yym3138 + yyv3128 := &x.VolumesAttached + yym3129 := z.DecBinary() + _ = yym3129 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3137), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3128), d) } } for { - yyj3123++ - if yyhl3123 { - yyb3123 = yyj3123 > l + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l } else { - yyb3123 = r.CheckBreak() + yyb3114 = r.CheckBreak() } - if yyb3123 { + if yyb3114 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3123-1, "") + z.DecStructFieldNotFound(yyj3114-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40008,8 +39926,8 @@ func (x UniqueVolumeName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3139 := z.EncBinary() - _ = yym3139 + yym3130 := z.EncBinary() + _ = yym3130 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40021,8 +39939,8 @@ func (x *UniqueVolumeName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3140 := z.DecBinary() - _ = yym3140 + yym3131 := z.DecBinary() + _ = yym3131 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40037,30 +39955,30 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3141 := z.EncBinary() - _ = yym3141 + yym3132 := z.EncBinary() + _ = yym3132 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3142 := !z.EncBinary() - yy2arr3142 := z.EncBasicHandle().StructToArray - var yyq3142 [2]bool - _, _, _ = yysep3142, yyq3142, yy2arr3142 - const yyr3142 bool = false - var yynn3142 int - if yyr3142 || yy2arr3142 { + yysep3133 := !z.EncBinary() + yy2arr3133 := z.EncBasicHandle().StructToArray + var yyq3133 [2]bool + _, _, _ = yysep3133, yyq3133, yy2arr3133 + const yyr3133 bool = false + var yynn3133 int + if yyr3133 || yy2arr3133 { r.EncodeArrayStart(2) } else { - yynn3142 = 2 - for _, b := range yyq3142 { + yynn3133 = 2 + for _, b := range yyq3133 { if b { - yynn3142++ + yynn3133++ } } - r.EncodeMapStart(yynn3142) - yynn3142 = 0 + r.EncodeMapStart(yynn3133) + yynn3133 = 0 } - if yyr3142 || yy2arr3142 { + if yyr3133 || yy2arr3133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Name.CodecEncodeSelf(e) } else { @@ -40069,10 +39987,10 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Name.CodecEncodeSelf(e) } - if yyr3142 || yy2arr3142 { + if yyr3133 || yy2arr3133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3145 := z.EncBinary() - _ = yym3145 + yym3136 := z.EncBinary() + _ = yym3136 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) @@ -40081,14 +39999,14 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("devicePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3146 := z.EncBinary() - _ = yym3146 + yym3137 := z.EncBinary() + _ = yym3137 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) } } - if yyr3142 || yy2arr3142 { + if yyr3133 || yy2arr3133 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40101,25 +40019,25 @@ func (x *AttachedVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3147 := z.DecBinary() - _ = yym3147 + yym3138 := z.DecBinary() + _ = yym3138 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3148 := r.ContainerType() - if yyct3148 == codecSelferValueTypeMap1234 { - yyl3148 := r.ReadMapStart() - if yyl3148 == 0 { + yyct3139 := r.ContainerType() + if yyct3139 == codecSelferValueTypeMap1234 { + yyl3139 := r.ReadMapStart() + if yyl3139 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3148, d) + x.codecDecodeSelfFromMap(yyl3139, d) } - } else if yyct3148 == codecSelferValueTypeArray1234 { - yyl3148 := r.ReadArrayStart() - if yyl3148 == 0 { + } else if yyct3139 == codecSelferValueTypeArray1234 { + yyl3139 := r.ReadArrayStart() + if yyl3139 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3148, d) + x.codecDecodeSelfFromArray(yyl3139, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40131,12 +40049,12 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3149Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3149Slc - var yyhl3149 bool = l >= 0 - for yyj3149 := 0; ; yyj3149++ { - if yyhl3149 { - if yyj3149 >= l { + var yys3140Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3140Slc + var yyhl3140 bool = l >= 0 + for yyj3140 := 0; ; yyj3140++ { + if yyhl3140 { + if yyj3140 >= l { break } } else { @@ -40145,10 +40063,10 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3149Slc = r.DecodeBytes(yys3149Slc, true, true) - yys3149 := string(yys3149Slc) + yys3140Slc = r.DecodeBytes(yys3140Slc, true, true) + yys3140 := string(yys3140Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3149 { + switch yys3140 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -40162,9 +40080,9 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3149) - } // end switch yys3149 - } // end for yyj3149 + z.DecStructFieldNotFound(-1, yys3140) + } // end switch yys3140 + } // end for yyj3140 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40172,16 +40090,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3152 int - var yyb3152 bool - var yyhl3152 bool = l >= 0 - yyj3152++ - if yyhl3152 { - yyb3152 = yyj3152 > l + var yyj3143 int + var yyb3143 bool + var yyhl3143 bool = l >= 0 + yyj3143++ + if yyhl3143 { + yyb3143 = yyj3143 > l } else { - yyb3152 = r.CheckBreak() + yyb3143 = r.CheckBreak() } - if yyb3152 { + if yyb3143 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40191,13 +40109,13 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = UniqueVolumeName(r.DecodeString()) } - yyj3152++ - if yyhl3152 { - yyb3152 = yyj3152 > l + yyj3143++ + if yyhl3143 { + yyb3143 = yyj3143 > l } else { - yyb3152 = r.CheckBreak() + yyb3143 = r.CheckBreak() } - if yyb3152 { + if yyb3143 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40208,17 +40126,17 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } for { - yyj3152++ - if yyhl3152 { - yyb3152 = yyj3152 > l + yyj3143++ + if yyhl3143 { + yyb3143 = yyj3143 > l } else { - yyb3152 = r.CheckBreak() + yyb3143 = r.CheckBreak() } - if yyb3152 { + if yyb3143 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3152-1, "") + z.DecStructFieldNotFound(yyj3143-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40230,38 +40148,38 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3155 := z.EncBinary() - _ = yym3155 + yym3146 := z.EncBinary() + _ = yym3146 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3156 := !z.EncBinary() - yy2arr3156 := z.EncBasicHandle().StructToArray - var yyq3156 [1]bool - _, _, _ = yysep3156, yyq3156, yy2arr3156 - const yyr3156 bool = false - yyq3156[0] = len(x.PreferAvoidPods) != 0 - var yynn3156 int - if yyr3156 || yy2arr3156 { + yysep3147 := !z.EncBinary() + yy2arr3147 := z.EncBasicHandle().StructToArray + var yyq3147 [1]bool + _, _, _ = yysep3147, yyq3147, yy2arr3147 + const yyr3147 bool = false + yyq3147[0] = len(x.PreferAvoidPods) != 0 + var yynn3147 int + if yyr3147 || yy2arr3147 { r.EncodeArrayStart(1) } else { - yynn3156 = 0 - for _, b := range yyq3156 { + yynn3147 = 0 + for _, b := range yyq3147 { if b { - yynn3156++ + yynn3147++ } } - r.EncodeMapStart(yynn3156) - yynn3156 = 0 + r.EncodeMapStart(yynn3147) + yynn3147 = 0 } - if yyr3156 || yy2arr3156 { + if yyr3147 || yy2arr3147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3156[0] { + if yyq3147[0] { if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3158 := z.EncBinary() - _ = yym3158 + yym3149 := z.EncBinary() + _ = yym3149 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -40271,15 +40189,15 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3156[0] { + if yyq3147[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferAvoidPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3159 := z.EncBinary() - _ = yym3159 + yym3150 := z.EncBinary() + _ = yym3150 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -40287,7 +40205,7 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3156 || yy2arr3156 { + if yyr3147 || yy2arr3147 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40300,25 +40218,25 @@ func (x *AvoidPods) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3160 := z.DecBinary() - _ = yym3160 + yym3151 := z.DecBinary() + _ = yym3151 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3161 := r.ContainerType() - if yyct3161 == codecSelferValueTypeMap1234 { - yyl3161 := r.ReadMapStart() - if yyl3161 == 0 { + yyct3152 := r.ContainerType() + if yyct3152 == codecSelferValueTypeMap1234 { + yyl3152 := r.ReadMapStart() + if yyl3152 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3161, d) + x.codecDecodeSelfFromMap(yyl3152, d) } - } else if yyct3161 == codecSelferValueTypeArray1234 { - yyl3161 := r.ReadArrayStart() - if yyl3161 == 0 { + } else if yyct3152 == codecSelferValueTypeArray1234 { + yyl3152 := r.ReadArrayStart() + if yyl3152 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3161, d) + x.codecDecodeSelfFromArray(yyl3152, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40330,12 +40248,12 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3162Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3162Slc - var yyhl3162 bool = l >= 0 - for yyj3162 := 0; ; yyj3162++ { - if yyhl3162 { - if yyj3162 >= l { + var yys3153Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3153Slc + var yyhl3153 bool = l >= 0 + for yyj3153 := 0; ; yyj3153++ { + if yyhl3153 { + if yyj3153 >= l { break } } else { @@ -40344,26 +40262,26 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3162Slc = r.DecodeBytes(yys3162Slc, true, true) - yys3162 := string(yys3162Slc) + yys3153Slc = r.DecodeBytes(yys3153Slc, true, true) + yys3153 := string(yys3153Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3162 { + switch yys3153 { case "preferAvoidPods": if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3163 := &x.PreferAvoidPods - yym3164 := z.DecBinary() - _ = yym3164 + yyv3154 := &x.PreferAvoidPods + yym3155 := z.DecBinary() + _ = yym3155 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3163), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3154), d) } } default: - z.DecStructFieldNotFound(-1, yys3162) - } // end switch yys3162 - } // end for yyj3162 + z.DecStructFieldNotFound(-1, yys3153) + } // end switch yys3153 + } // end for yyj3153 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40371,16 +40289,16 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3165 int - var yyb3165 bool - var yyhl3165 bool = l >= 0 - yyj3165++ - if yyhl3165 { - yyb3165 = yyj3165 > l + var yyj3156 int + var yyb3156 bool + var yyhl3156 bool = l >= 0 + yyj3156++ + if yyhl3156 { + yyb3156 = yyj3156 > l } else { - yyb3165 = r.CheckBreak() + yyb3156 = r.CheckBreak() } - if yyb3165 { + if yyb3156 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40388,26 +40306,26 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3166 := &x.PreferAvoidPods - yym3167 := z.DecBinary() - _ = yym3167 + yyv3157 := &x.PreferAvoidPods + yym3158 := z.DecBinary() + _ = yym3158 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3166), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3157), d) } } for { - yyj3165++ - if yyhl3165 { - yyb3165 = yyj3165 > l + yyj3156++ + if yyhl3156 { + yyb3156 = yyj3156 > l } else { - yyb3165 = r.CheckBreak() + yyb3156 = r.CheckBreak() } - if yyb3165 { + if yyb3156 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3165-1, "") + z.DecStructFieldNotFound(yyj3156-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40419,85 +40337,85 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3168 := z.EncBinary() - _ = yym3168 + yym3159 := z.EncBinary() + _ = yym3159 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3169 := !z.EncBinary() - yy2arr3169 := z.EncBasicHandle().StructToArray - var yyq3169 [4]bool - _, _, _ = yysep3169, yyq3169, yy2arr3169 - const yyr3169 bool = false - yyq3169[1] = true - yyq3169[2] = x.Reason != "" - yyq3169[3] = x.Message != "" - var yynn3169 int - if yyr3169 || yy2arr3169 { + yysep3160 := !z.EncBinary() + yy2arr3160 := z.EncBasicHandle().StructToArray + var yyq3160 [4]bool + _, _, _ = yysep3160, yyq3160, yy2arr3160 + const yyr3160 bool = false + yyq3160[1] = true + yyq3160[2] = x.Reason != "" + yyq3160[3] = x.Message != "" + var yynn3160 int + if yyr3160 || yy2arr3160 { r.EncodeArrayStart(4) } else { - yynn3169 = 1 - for _, b := range yyq3169 { + yynn3160 = 1 + for _, b := range yyq3160 { if b { - yynn3169++ + yynn3160++ } } - r.EncodeMapStart(yynn3169) - yynn3169 = 0 + r.EncodeMapStart(yynn3160) + yynn3160 = 0 } - if yyr3169 || yy2arr3169 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3171 := &x.PodSignature - yy3171.CodecEncodeSelf(e) + yy3162 := &x.PodSignature + yy3162.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSignature")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3172 := &x.PodSignature - yy3172.CodecEncodeSelf(e) + yy3163 := &x.PodSignature + yy3163.CodecEncodeSelf(e) } - if yyr3169 || yy2arr3169 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3169[1] { - yy3174 := &x.EvictionTime - yym3175 := z.EncBinary() - _ = yym3175 + if yyq3160[1] { + yy3165 := &x.EvictionTime + yym3166 := z.EncBinary() + _ = yym3166 if false { - } else if z.HasExtensions() && z.EncExt(yy3174) { - } else if yym3175 { - z.EncBinaryMarshal(yy3174) - } else if !yym3175 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3174) + } else if z.HasExtensions() && z.EncExt(yy3165) { + } else if yym3166 { + z.EncBinaryMarshal(yy3165) + } else if !yym3166 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3165) } else { - z.EncFallback(yy3174) + z.EncFallback(yy3165) } } else { r.EncodeNil() } } else { - if yyq3169[1] { + if yyq3160[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3176 := &x.EvictionTime - yym3177 := z.EncBinary() - _ = yym3177 + yy3167 := &x.EvictionTime + yym3168 := z.EncBinary() + _ = yym3168 if false { - } else if z.HasExtensions() && z.EncExt(yy3176) { - } else if yym3177 { - z.EncBinaryMarshal(yy3176) - } else if !yym3177 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3176) + } else if z.HasExtensions() && z.EncExt(yy3167) { + } else if yym3168 { + z.EncBinaryMarshal(yy3167) + } else if !yym3168 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3167) } else { - z.EncFallback(yy3176) + z.EncFallback(yy3167) } } } - if yyr3169 || yy2arr3169 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3169[2] { - yym3179 := z.EncBinary() - _ = yym3179 + if yyq3160[2] { + yym3170 := z.EncBinary() + _ = yym3170 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -40506,23 +40424,23 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3169[2] { + if yyq3160[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3180 := z.EncBinary() - _ = yym3180 + yym3171 := z.EncBinary() + _ = yym3171 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3169 || yy2arr3169 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3169[3] { - yym3182 := z.EncBinary() - _ = yym3182 + if yyq3160[3] { + yym3173 := z.EncBinary() + _ = yym3173 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -40531,19 +40449,19 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3169[3] { + if yyq3160[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3183 := z.EncBinary() - _ = yym3183 + yym3174 := z.EncBinary() + _ = yym3174 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3169 || yy2arr3169 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40556,25 +40474,25 @@ func (x *PreferAvoidPodsEntry) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3184 := z.DecBinary() - _ = yym3184 + yym3175 := z.DecBinary() + _ = yym3175 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3185 := r.ContainerType() - if yyct3185 == codecSelferValueTypeMap1234 { - yyl3185 := r.ReadMapStart() - if yyl3185 == 0 { + yyct3176 := r.ContainerType() + if yyct3176 == codecSelferValueTypeMap1234 { + yyl3176 := r.ReadMapStart() + if yyl3176 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3185, d) + x.codecDecodeSelfFromMap(yyl3176, d) } - } else if yyct3185 == codecSelferValueTypeArray1234 { - yyl3185 := r.ReadArrayStart() - if yyl3185 == 0 { + } else if yyct3176 == codecSelferValueTypeArray1234 { + yyl3176 := r.ReadArrayStart() + if yyl3176 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3185, d) + x.codecDecodeSelfFromArray(yyl3176, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40586,12 +40504,12 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3186Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3186Slc - var yyhl3186 bool = l >= 0 - for yyj3186 := 0; ; yyj3186++ { - if yyhl3186 { - if yyj3186 >= l { + var yys3177Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3177Slc + var yyhl3177 bool = l >= 0 + for yyj3177 := 0; ; yyj3177++ { + if yyhl3177 { + if yyj3177 >= l { break } } else { @@ -40600,32 +40518,32 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3186Slc = r.DecodeBytes(yys3186Slc, true, true) - yys3186 := string(yys3186Slc) + yys3177Slc = r.DecodeBytes(yys3177Slc, true, true) + yys3177 := string(yys3177Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3186 { + switch yys3177 { case "podSignature": if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3187 := &x.PodSignature - yyv3187.CodecDecodeSelf(d) + yyv3178 := &x.PodSignature + yyv3178.CodecDecodeSelf(d) } case "evictionTime": if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3188 := &x.EvictionTime - yym3189 := z.DecBinary() - _ = yym3189 + yyv3179 := &x.EvictionTime + yym3180 := z.DecBinary() + _ = yym3180 if false { - } else if z.HasExtensions() && z.DecExt(yyv3188) { - } else if yym3189 { - z.DecBinaryUnmarshal(yyv3188) - } else if !yym3189 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3188) + } else if z.HasExtensions() && z.DecExt(yyv3179) { + } else if yym3180 { + z.DecBinaryUnmarshal(yyv3179) + } else if !yym3180 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3179) } else { - z.DecFallback(yyv3188, false) + z.DecFallback(yyv3179, false) } } case "reason": @@ -40641,9 +40559,9 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3186) - } // end switch yys3186 - } // end for yyj3186 + z.DecStructFieldNotFound(-1, yys3177) + } // end switch yys3177 + } // end for yyj3177 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40651,16 +40569,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3192 int - var yyb3192 bool - var yyhl3192 bool = l >= 0 - yyj3192++ - if yyhl3192 { - yyb3192 = yyj3192 > l + var yyj3183 int + var yyb3183 bool + var yyhl3183 bool = l >= 0 + yyj3183++ + if yyhl3183 { + yyb3183 = yyj3183 > l } else { - yyb3192 = r.CheckBreak() + yyb3183 = r.CheckBreak() } - if yyb3192 { + if yyb3183 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40668,16 +40586,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3193 := &x.PodSignature - yyv3193.CodecDecodeSelf(d) + yyv3184 := &x.PodSignature + yyv3184.CodecDecodeSelf(d) } - yyj3192++ - if yyhl3192 { - yyb3192 = yyj3192 > l + yyj3183++ + if yyhl3183 { + yyb3183 = yyj3183 > l } else { - yyb3192 = r.CheckBreak() + yyb3183 = r.CheckBreak() } - if yyb3192 { + if yyb3183 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40685,26 +40603,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3194 := &x.EvictionTime - yym3195 := z.DecBinary() - _ = yym3195 + yyv3185 := &x.EvictionTime + yym3186 := z.DecBinary() + _ = yym3186 if false { - } else if z.HasExtensions() && z.DecExt(yyv3194) { - } else if yym3195 { - z.DecBinaryUnmarshal(yyv3194) - } else if !yym3195 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3194) + } else if z.HasExtensions() && z.DecExt(yyv3185) { + } else if yym3186 { + z.DecBinaryUnmarshal(yyv3185) + } else if !yym3186 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3185) } else { - z.DecFallback(yyv3194, false) + z.DecFallback(yyv3185, false) } } - yyj3192++ - if yyhl3192 { - yyb3192 = yyj3192 > l + yyj3183++ + if yyhl3183 { + yyb3183 = yyj3183 > l } else { - yyb3192 = r.CheckBreak() + yyb3183 = r.CheckBreak() } - if yyb3192 { + if yyb3183 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40714,13 +40632,13 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Reason = string(r.DecodeString()) } - yyj3192++ - if yyhl3192 { - yyb3192 = yyj3192 > l + yyj3183++ + if yyhl3183 { + yyb3183 = yyj3183 > l } else { - yyb3192 = r.CheckBreak() + yyb3183 = r.CheckBreak() } - if yyb3192 { + if yyb3183 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40731,17 +40649,17 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Message = string(r.DecodeString()) } for { - yyj3192++ - if yyhl3192 { - yyb3192 = yyj3192 > l + yyj3183++ + if yyhl3183 { + yyb3183 = yyj3183 > l } else { - yyb3192 = r.CheckBreak() + yyb3183 = r.CheckBreak() } - if yyb3192 { + if yyb3183 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3192-1, "") + z.DecStructFieldNotFound(yyj3183-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40753,33 +40671,33 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3198 := z.EncBinary() - _ = yym3198 + yym3189 := z.EncBinary() + _ = yym3189 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3199 := !z.EncBinary() - yy2arr3199 := z.EncBasicHandle().StructToArray - var yyq3199 [1]bool - _, _, _ = yysep3199, yyq3199, yy2arr3199 - const yyr3199 bool = false - yyq3199[0] = x.PodController != nil - var yynn3199 int - if yyr3199 || yy2arr3199 { + yysep3190 := !z.EncBinary() + yy2arr3190 := z.EncBasicHandle().StructToArray + var yyq3190 [1]bool + _, _, _ = yysep3190, yyq3190, yy2arr3190 + const yyr3190 bool = false + yyq3190[0] = x.PodController != nil + var yynn3190 int + if yyr3190 || yy2arr3190 { r.EncodeArrayStart(1) } else { - yynn3199 = 0 - for _, b := range yyq3199 { + yynn3190 = 0 + for _, b := range yyq3190 { if b { - yynn3199++ + yynn3190++ } } - r.EncodeMapStart(yynn3199) - yynn3199 = 0 + r.EncodeMapStart(yynn3190) + yynn3190 = 0 } - if yyr3199 || yy2arr3199 { + if yyr3190 || yy2arr3190 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3199[0] { + if yyq3190[0] { if x.PodController == nil { r.EncodeNil() } else { @@ -40789,7 +40707,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3199[0] { + if yyq3190[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podController")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -40800,7 +40718,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3199 || yy2arr3199 { + if yyr3190 || yy2arr3190 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40813,25 +40731,25 @@ func (x *PodSignature) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3201 := z.DecBinary() - _ = yym3201 + yym3192 := z.DecBinary() + _ = yym3192 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3202 := r.ContainerType() - if yyct3202 == codecSelferValueTypeMap1234 { - yyl3202 := r.ReadMapStart() - if yyl3202 == 0 { + yyct3193 := r.ContainerType() + if yyct3193 == codecSelferValueTypeMap1234 { + yyl3193 := r.ReadMapStart() + if yyl3193 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3202, d) + x.codecDecodeSelfFromMap(yyl3193, d) } - } else if yyct3202 == codecSelferValueTypeArray1234 { - yyl3202 := r.ReadArrayStart() - if yyl3202 == 0 { + } else if yyct3193 == codecSelferValueTypeArray1234 { + yyl3193 := r.ReadArrayStart() + if yyl3193 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3202, d) + x.codecDecodeSelfFromArray(yyl3193, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40843,12 +40761,12 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3203Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3203Slc - var yyhl3203 bool = l >= 0 - for yyj3203 := 0; ; yyj3203++ { - if yyhl3203 { - if yyj3203 >= l { + var yys3194Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3194Slc + var yyhl3194 bool = l >= 0 + for yyj3194 := 0; ; yyj3194++ { + if yyhl3194 { + if yyj3194 >= l { break } } else { @@ -40857,10 +40775,10 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3203Slc = r.DecodeBytes(yys3203Slc, true, true) - yys3203 := string(yys3203Slc) + yys3194Slc = r.DecodeBytes(yys3194Slc, true, true) + yys3194 := string(yys3194Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3203 { + switch yys3194 { case "podController": if r.TryDecodeAsNil() { if x.PodController != nil { @@ -40873,9 +40791,9 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3203) - } // end switch yys3203 - } // end for yyj3203 + z.DecStructFieldNotFound(-1, yys3194) + } // end switch yys3194 + } // end for yyj3194 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40883,16 +40801,16 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3205 int - var yyb3205 bool - var yyhl3205 bool = l >= 0 - yyj3205++ - if yyhl3205 { - yyb3205 = yyj3205 > l + var yyj3196 int + var yyb3196 bool + var yyhl3196 bool = l >= 0 + yyj3196++ + if yyhl3196 { + yyb3196 = yyj3196 > l } else { - yyb3205 = r.CheckBreak() + yyb3196 = r.CheckBreak() } - if yyb3205 { + if yyb3196 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40908,17 +40826,17 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } for { - yyj3205++ - if yyhl3205 { - yyb3205 = yyj3205 > l + yyj3196++ + if yyhl3196 { + yyb3196 = yyj3196 > l } else { - yyb3205 = r.CheckBreak() + yyb3196 = r.CheckBreak() } - if yyb3205 { + if yyb3196 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3205-1, "") + z.DecStructFieldNotFound(yyj3196-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40930,37 +40848,37 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3207 := z.EncBinary() - _ = yym3207 + yym3198 := z.EncBinary() + _ = yym3198 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3208 := !z.EncBinary() - yy2arr3208 := z.EncBasicHandle().StructToArray - var yyq3208 [2]bool - _, _, _ = yysep3208, yyq3208, yy2arr3208 - const yyr3208 bool = false - yyq3208[1] = x.SizeBytes != 0 - var yynn3208 int - if yyr3208 || yy2arr3208 { + yysep3199 := !z.EncBinary() + yy2arr3199 := z.EncBasicHandle().StructToArray + var yyq3199 [2]bool + _, _, _ = yysep3199, yyq3199, yy2arr3199 + const yyr3199 bool = false + yyq3199[1] = x.SizeBytes != 0 + var yynn3199 int + if yyr3199 || yy2arr3199 { r.EncodeArrayStart(2) } else { - yynn3208 = 1 - for _, b := range yyq3208 { + yynn3199 = 1 + for _, b := range yyq3199 { if b { - yynn3208++ + yynn3199++ } } - r.EncodeMapStart(yynn3208) - yynn3208 = 0 + r.EncodeMapStart(yynn3199) + yynn3199 = 0 } - if yyr3208 || yy2arr3208 { + if yyr3199 || yy2arr3199 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Names == nil { r.EncodeNil() } else { - yym3210 := z.EncBinary() - _ = yym3210 + yym3201 := z.EncBinary() + _ = yym3201 if false { } else { z.F.EncSliceStringV(x.Names, false, e) @@ -40973,19 +40891,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x.Names == nil { r.EncodeNil() } else { - yym3211 := z.EncBinary() - _ = yym3211 + yym3202 := z.EncBinary() + _ = yym3202 if false { } else { z.F.EncSliceStringV(x.Names, false, e) } } } - if yyr3208 || yy2arr3208 { + if yyr3199 || yy2arr3199 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3208[1] { - yym3213 := z.EncBinary() - _ = yym3213 + if yyq3199[1] { + yym3204 := z.EncBinary() + _ = yym3204 if false { } else { r.EncodeInt(int64(x.SizeBytes)) @@ -40994,19 +40912,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3208[1] { + if yyq3199[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3214 := z.EncBinary() - _ = yym3214 + yym3205 := z.EncBinary() + _ = yym3205 if false { } else { r.EncodeInt(int64(x.SizeBytes)) } } } - if yyr3208 || yy2arr3208 { + if yyr3199 || yy2arr3199 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41019,25 +40937,25 @@ func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3215 := z.DecBinary() - _ = yym3215 + yym3206 := z.DecBinary() + _ = yym3206 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3216 := r.ContainerType() - if yyct3216 == codecSelferValueTypeMap1234 { - yyl3216 := r.ReadMapStart() - if yyl3216 == 0 { + yyct3207 := r.ContainerType() + if yyct3207 == codecSelferValueTypeMap1234 { + yyl3207 := r.ReadMapStart() + if yyl3207 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3216, d) + x.codecDecodeSelfFromMap(yyl3207, d) } - } else if yyct3216 == codecSelferValueTypeArray1234 { - yyl3216 := r.ReadArrayStart() - if yyl3216 == 0 { + } else if yyct3207 == codecSelferValueTypeArray1234 { + yyl3207 := r.ReadArrayStart() + if yyl3207 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3216, d) + x.codecDecodeSelfFromArray(yyl3207, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41049,12 +40967,12 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3217Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3217Slc - var yyhl3217 bool = l >= 0 - for yyj3217 := 0; ; yyj3217++ { - if yyhl3217 { - if yyj3217 >= l { + var yys3208Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3208Slc + var yyhl3208 bool = l >= 0 + for yyj3208 := 0; ; yyj3208++ { + if yyhl3208 { + if yyj3208 >= l { break } } else { @@ -41063,20 +40981,20 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3217Slc = r.DecodeBytes(yys3217Slc, true, true) - yys3217 := string(yys3217Slc) + yys3208Slc = r.DecodeBytes(yys3208Slc, true, true) + yys3208 := string(yys3208Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3217 { + switch yys3208 { case "names": if r.TryDecodeAsNil() { x.Names = nil } else { - yyv3218 := &x.Names - yym3219 := z.DecBinary() - _ = yym3219 + yyv3209 := &x.Names + yym3210 := z.DecBinary() + _ = yym3210 if false { } else { - z.F.DecSliceStringX(yyv3218, false, d) + z.F.DecSliceStringX(yyv3209, false, d) } } case "sizeBytes": @@ -41086,9 +41004,9 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3217) - } // end switch yys3217 - } // end for yyj3217 + z.DecStructFieldNotFound(-1, yys3208) + } // end switch yys3208 + } // end for yyj3208 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41096,16 +41014,16 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3221 int - var yyb3221 bool - var yyhl3221 bool = l >= 0 - yyj3221++ - if yyhl3221 { - yyb3221 = yyj3221 > l + var yyj3212 int + var yyb3212 bool + var yyhl3212 bool = l >= 0 + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3221 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3221 { + if yyb3212 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41113,21 +41031,21 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Names = nil } else { - yyv3222 := &x.Names - yym3223 := z.DecBinary() - _ = yym3223 + yyv3213 := &x.Names + yym3214 := z.DecBinary() + _ = yym3214 if false { } else { - z.F.DecSliceStringX(yyv3222, false, d) + z.F.DecSliceStringX(yyv3213, false, d) } } - yyj3221++ - if yyhl3221 { - yyb3221 = yyj3221 > l + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3221 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3221 { + if yyb3212 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41138,17 +41056,17 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } for { - yyj3221++ - if yyhl3221 { - yyb3221 = yyj3221 > l + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3221 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3221 { + if yyb3212 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3221-1, "") + z.DecStructFieldNotFound(yyj3212-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41157,8 +41075,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3225 := z.EncBinary() - _ = yym3225 + yym3216 := z.EncBinary() + _ = yym3216 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41170,8 +41088,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3226 := z.DecBinary() - _ = yym3226 + yym3217 := z.DecBinary() + _ = yym3217 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41183,8 +41101,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3227 := z.EncBinary() - _ = yym3227 + yym3218 := z.EncBinary() + _ = yym3218 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41196,8 +41114,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3228 := z.DecBinary() - _ = yym3228 + yym3219 := z.DecBinary() + _ = yym3219 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41212,34 +41130,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3229 := z.EncBinary() - _ = yym3229 + yym3220 := z.EncBinary() + _ = yym3220 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3230 := !z.EncBinary() - yy2arr3230 := z.EncBasicHandle().StructToArray - var yyq3230 [6]bool - _, _, _ = yysep3230, yyq3230, yy2arr3230 - const yyr3230 bool = false - yyq3230[2] = true - yyq3230[3] = true - yyq3230[4] = x.Reason != "" - yyq3230[5] = x.Message != "" - var yynn3230 int - if yyr3230 || yy2arr3230 { + yysep3221 := !z.EncBinary() + yy2arr3221 := z.EncBasicHandle().StructToArray + var yyq3221 [6]bool + _, _, _ = yysep3221, yyq3221, yy2arr3221 + const yyr3221 bool = false + yyq3221[2] = true + yyq3221[3] = true + yyq3221[4] = x.Reason != "" + yyq3221[5] = x.Message != "" + var yynn3221 int + if yyr3221 || yy2arr3221 { r.EncodeArrayStart(6) } else { - yynn3230 = 2 - for _, b := range yyq3230 { + yynn3221 = 2 + for _, b := range yyq3221 { if b { - yynn3230++ + yynn3221++ } } - r.EncodeMapStart(yynn3230) - yynn3230 = 0 + r.EncodeMapStart(yynn3221) + yynn3221 = 0 } - if yyr3230 || yy2arr3230 { + if yyr3221 || yy2arr3221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41248,7 +41166,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3230 || yy2arr3230 { + if yyr3221 || yy2arr3221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -41257,85 +41175,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3230 || yy2arr3230 { + if yyr3221 || yy2arr3221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3230[2] { - yy3234 := &x.LastHeartbeatTime - yym3235 := z.EncBinary() - _ = yym3235 + if yyq3221[2] { + yy3225 := &x.LastHeartbeatTime + yym3226 := z.EncBinary() + _ = yym3226 if false { - } else if z.HasExtensions() && z.EncExt(yy3234) { - } else if yym3235 { - z.EncBinaryMarshal(yy3234) - } else if !yym3235 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3234) + } else if z.HasExtensions() && z.EncExt(yy3225) { + } else if yym3226 { + z.EncBinaryMarshal(yy3225) + } else if !yym3226 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3225) } else { - z.EncFallback(yy3234) + z.EncFallback(yy3225) } } else { r.EncodeNil() } } else { - if yyq3230[2] { + if yyq3221[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3236 := &x.LastHeartbeatTime - yym3237 := z.EncBinary() - _ = yym3237 + yy3227 := &x.LastHeartbeatTime + yym3228 := z.EncBinary() + _ = yym3228 if false { - } else if z.HasExtensions() && z.EncExt(yy3236) { - } else if yym3237 { - z.EncBinaryMarshal(yy3236) - } else if !yym3237 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3236) + } else if z.HasExtensions() && z.EncExt(yy3227) { + } else if yym3228 { + z.EncBinaryMarshal(yy3227) + } else if !yym3228 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3227) } else { - z.EncFallback(yy3236) + z.EncFallback(yy3227) } } } - if yyr3230 || yy2arr3230 { + if yyr3221 || yy2arr3221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3230[3] { - yy3239 := &x.LastTransitionTime - yym3240 := z.EncBinary() - _ = yym3240 + if yyq3221[3] { + yy3230 := &x.LastTransitionTime + yym3231 := z.EncBinary() + _ = yym3231 if false { - } else if z.HasExtensions() && z.EncExt(yy3239) { - } else if yym3240 { - z.EncBinaryMarshal(yy3239) - } else if !yym3240 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3239) + } else if z.HasExtensions() && z.EncExt(yy3230) { + } else if yym3231 { + z.EncBinaryMarshal(yy3230) + } else if !yym3231 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3230) } else { - z.EncFallback(yy3239) + z.EncFallback(yy3230) } } else { r.EncodeNil() } } else { - if yyq3230[3] { + if yyq3221[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3241 := &x.LastTransitionTime - yym3242 := z.EncBinary() - _ = yym3242 + yy3232 := &x.LastTransitionTime + yym3233 := z.EncBinary() + _ = yym3233 if false { - } else if z.HasExtensions() && z.EncExt(yy3241) { - } else if yym3242 { - z.EncBinaryMarshal(yy3241) - } else if !yym3242 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3241) + } else if z.HasExtensions() && z.EncExt(yy3232) { + } else if yym3233 { + z.EncBinaryMarshal(yy3232) + } else if !yym3233 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3232) } else { - z.EncFallback(yy3241) + z.EncFallback(yy3232) } } } - if yyr3230 || yy2arr3230 { + if yyr3221 || yy2arr3221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3230[4] { - yym3244 := z.EncBinary() - _ = yym3244 + if yyq3221[4] { + yym3235 := z.EncBinary() + _ = yym3235 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -41344,23 +41262,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3230[4] { + if yyq3221[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3245 := z.EncBinary() - _ = yym3245 + yym3236 := z.EncBinary() + _ = yym3236 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3230 || yy2arr3230 { + if yyr3221 || yy2arr3221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3230[5] { - yym3247 := z.EncBinary() - _ = yym3247 + if yyq3221[5] { + yym3238 := z.EncBinary() + _ = yym3238 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -41369,19 +41287,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3230[5] { + if yyq3221[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3248 := z.EncBinary() - _ = yym3248 + yym3239 := z.EncBinary() + _ = yym3239 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3230 || yy2arr3230 { + if yyr3221 || yy2arr3221 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41394,25 +41312,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3249 := z.DecBinary() - _ = yym3249 + yym3240 := z.DecBinary() + _ = yym3240 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3250 := r.ContainerType() - if yyct3250 == codecSelferValueTypeMap1234 { - yyl3250 := r.ReadMapStart() - if yyl3250 == 0 { + yyct3241 := r.ContainerType() + if yyct3241 == codecSelferValueTypeMap1234 { + yyl3241 := r.ReadMapStart() + if yyl3241 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3250, d) + x.codecDecodeSelfFromMap(yyl3241, d) } - } else if yyct3250 == codecSelferValueTypeArray1234 { - yyl3250 := r.ReadArrayStart() - if yyl3250 == 0 { + } else if yyct3241 == codecSelferValueTypeArray1234 { + yyl3241 := r.ReadArrayStart() + if yyl3241 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3250, d) + x.codecDecodeSelfFromArray(yyl3241, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41424,12 +41342,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3251Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3251Slc - var yyhl3251 bool = l >= 0 - for yyj3251 := 0; ; yyj3251++ { - if yyhl3251 { - if yyj3251 >= l { + var yys3242Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3242Slc + var yyhl3242 bool = l >= 0 + for yyj3242 := 0; ; yyj3242++ { + if yyhl3242 { + if yyj3242 >= l { break } } else { @@ -41438,10 +41356,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3251Slc = r.DecodeBytes(yys3251Slc, true, true) - yys3251 := string(yys3251Slc) + yys3242Slc = r.DecodeBytes(yys3242Slc, true, true) + yys3242 := string(yys3242Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3251 { + switch yys3242 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41458,34 +41376,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv3254 := &x.LastHeartbeatTime - yym3255 := z.DecBinary() - _ = yym3255 + yyv3245 := &x.LastHeartbeatTime + yym3246 := z.DecBinary() + _ = yym3246 if false { - } else if z.HasExtensions() && z.DecExt(yyv3254) { - } else if yym3255 { - z.DecBinaryUnmarshal(yyv3254) - } else if !yym3255 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3254) + } else if z.HasExtensions() && z.DecExt(yyv3245) { + } else if yym3246 { + z.DecBinaryUnmarshal(yyv3245) + } else if !yym3246 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3245) } else { - z.DecFallback(yyv3254, false) + z.DecFallback(yyv3245, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv3256 := &x.LastTransitionTime - yym3257 := z.DecBinary() - _ = yym3257 + yyv3247 := &x.LastTransitionTime + yym3248 := z.DecBinary() + _ = yym3248 if false { - } else if z.HasExtensions() && z.DecExt(yyv3256) { - } else if yym3257 { - z.DecBinaryUnmarshal(yyv3256) - } else if !yym3257 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3256) + } else if z.HasExtensions() && z.DecExt(yyv3247) { + } else if yym3248 { + z.DecBinaryUnmarshal(yyv3247) + } else if !yym3248 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3247) } else { - z.DecFallback(yyv3256, false) + z.DecFallback(yyv3247, false) } } case "reason": @@ -41501,9 +41419,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3251) - } // end switch yys3251 - } // end for yyj3251 + z.DecStructFieldNotFound(-1, yys3242) + } // end switch yys3242 + } // end for yyj3242 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41511,16 +41429,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3260 int - var yyb3260 bool - var yyhl3260 bool = l >= 0 - yyj3260++ - if yyhl3260 { - yyb3260 = yyj3260 > l + var yyj3251 int + var yyb3251 bool + var yyhl3251 bool = l >= 0 + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3260 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3260 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41530,13 +41448,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj3260++ - if yyhl3260 { - yyb3260 = yyj3260 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3260 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3260 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41546,13 +41464,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3260++ - if yyhl3260 { - yyb3260 = yyj3260 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3260 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3260 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41560,26 +41478,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv3263 := &x.LastHeartbeatTime - yym3264 := z.DecBinary() - _ = yym3264 + yyv3254 := &x.LastHeartbeatTime + yym3255 := z.DecBinary() + _ = yym3255 if false { - } else if z.HasExtensions() && z.DecExt(yyv3263) { - } else if yym3264 { - z.DecBinaryUnmarshal(yyv3263) - } else if !yym3264 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3263) + } else if z.HasExtensions() && z.DecExt(yyv3254) { + } else if yym3255 { + z.DecBinaryUnmarshal(yyv3254) + } else if !yym3255 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3254) } else { - z.DecFallback(yyv3263, false) + z.DecFallback(yyv3254, false) } } - yyj3260++ - if yyhl3260 { - yyb3260 = yyj3260 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3260 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3260 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41587,26 +41505,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv3265 := &x.LastTransitionTime - yym3266 := z.DecBinary() - _ = yym3266 + yyv3256 := &x.LastTransitionTime + yym3257 := z.DecBinary() + _ = yym3257 if false { - } else if z.HasExtensions() && z.DecExt(yyv3265) { - } else if yym3266 { - z.DecBinaryUnmarshal(yyv3265) - } else if !yym3266 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3265) + } else if z.HasExtensions() && z.DecExt(yyv3256) { + } else if yym3257 { + z.DecBinaryUnmarshal(yyv3256) + } else if !yym3257 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3256) } else { - z.DecFallback(yyv3265, false) + z.DecFallback(yyv3256, false) } } - yyj3260++ - if yyhl3260 { - yyb3260 = yyj3260 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3260 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3260 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41616,13 +41534,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3260++ - if yyhl3260 { - yyb3260 = yyj3260 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3260 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3260 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41633,17 +41551,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj3260++ - if yyhl3260 { - yyb3260 = yyj3260 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3260 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3260 { + if yyb3251 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3260-1, "") + z.DecStructFieldNotFound(yyj3251-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41652,8 +41570,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3269 := z.EncBinary() - _ = yym3269 + yym3260 := z.EncBinary() + _ = yym3260 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41665,8 +41583,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3270 := z.DecBinary() - _ = yym3270 + yym3261 := z.DecBinary() + _ = yym3261 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41681,30 +41599,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3271 := z.EncBinary() - _ = yym3271 + yym3262 := z.EncBinary() + _ = yym3262 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3272 := !z.EncBinary() - yy2arr3272 := z.EncBasicHandle().StructToArray - var yyq3272 [2]bool - _, _, _ = yysep3272, yyq3272, yy2arr3272 - const yyr3272 bool = false - var yynn3272 int - if yyr3272 || yy2arr3272 { + yysep3263 := !z.EncBinary() + yy2arr3263 := z.EncBasicHandle().StructToArray + var yyq3263 [2]bool + _, _, _ = yysep3263, yyq3263, yy2arr3263 + const yyr3263 bool = false + var yynn3263 int + if yyr3263 || yy2arr3263 { r.EncodeArrayStart(2) } else { - yynn3272 = 2 - for _, b := range yyq3272 { + yynn3263 = 2 + for _, b := range yyq3263 { if b { - yynn3272++ + yynn3263++ } } - r.EncodeMapStart(yynn3272) - yynn3272 = 0 + r.EncodeMapStart(yynn3263) + yynn3263 = 0 } - if yyr3272 || yy2arr3272 { + if yyr3263 || yy2arr3263 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41713,10 +41631,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3272 || yy2arr3272 { + if yyr3263 || yy2arr3263 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3275 := z.EncBinary() - _ = yym3275 + yym3266 := z.EncBinary() + _ = yym3266 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -41725,14 +41643,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3276 := z.EncBinary() - _ = yym3276 + yym3267 := z.EncBinary() + _ = yym3267 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr3272 || yy2arr3272 { + if yyr3263 || yy2arr3263 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41745,25 +41663,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3277 := z.DecBinary() - _ = yym3277 + yym3268 := z.DecBinary() + _ = yym3268 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3278 := r.ContainerType() - if yyct3278 == codecSelferValueTypeMap1234 { - yyl3278 := r.ReadMapStart() - if yyl3278 == 0 { + yyct3269 := r.ContainerType() + if yyct3269 == codecSelferValueTypeMap1234 { + yyl3269 := r.ReadMapStart() + if yyl3269 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3278, d) + x.codecDecodeSelfFromMap(yyl3269, d) } - } else if yyct3278 == codecSelferValueTypeArray1234 { - yyl3278 := r.ReadArrayStart() - if yyl3278 == 0 { + } else if yyct3269 == codecSelferValueTypeArray1234 { + yyl3269 := r.ReadArrayStart() + if yyl3269 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3278, d) + x.codecDecodeSelfFromArray(yyl3269, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41775,12 +41693,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3279Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3279Slc - var yyhl3279 bool = l >= 0 - for yyj3279 := 0; ; yyj3279++ { - if yyhl3279 { - if yyj3279 >= l { + var yys3270Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3270Slc + var yyhl3270 bool = l >= 0 + for yyj3270 := 0; ; yyj3270++ { + if yyhl3270 { + if yyj3270 >= l { break } } else { @@ -41789,10 +41707,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3279Slc = r.DecodeBytes(yys3279Slc, true, true) - yys3279 := string(yys3279Slc) + yys3270Slc = r.DecodeBytes(yys3270Slc, true, true) + yys3270 := string(yys3270Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3279 { + switch yys3270 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41806,9 +41724,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3279) - } // end switch yys3279 - } // end for yyj3279 + z.DecStructFieldNotFound(-1, yys3270) + } // end switch yys3270 + } // end for yyj3270 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41816,16 +41734,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3282 int - var yyb3282 bool - var yyhl3282 bool = l >= 0 - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l + var yyj3273 int + var yyb3273 bool + var yyhl3273 bool = l >= 0 + yyj3273++ + if yyhl3273 { + yyb3273 = yyj3273 > l } else { - yyb3282 = r.CheckBreak() + yyb3273 = r.CheckBreak() } - if yyb3282 { + if yyb3273 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41835,13 +41753,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l + yyj3273++ + if yyhl3273 { + yyb3273 = yyj3273 > l } else { - yyb3282 = r.CheckBreak() + yyb3273 = r.CheckBreak() } - if yyb3282 { + if yyb3273 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41852,17 +41770,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l + yyj3273++ + if yyhl3273 { + yyb3273 = yyj3273 > l } else { - yyb3282 = r.CheckBreak() + yyb3273 = r.CheckBreak() } - if yyb3282 { + if yyb3273 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3282-1, "") + z.DecStructFieldNotFound(yyj3273-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41874,33 +41792,33 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3285 := z.EncBinary() - _ = yym3285 + yym3276 := z.EncBinary() + _ = yym3276 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3286 := !z.EncBinary() - yy2arr3286 := z.EncBasicHandle().StructToArray - var yyq3286 [1]bool - _, _, _ = yysep3286, yyq3286, yy2arr3286 - const yyr3286 bool = false - yyq3286[0] = len(x.Capacity) != 0 - var yynn3286 int - if yyr3286 || yy2arr3286 { + yysep3277 := !z.EncBinary() + yy2arr3277 := z.EncBasicHandle().StructToArray + var yyq3277 [1]bool + _, _, _ = yysep3277, yyq3277, yy2arr3277 + const yyr3277 bool = false + yyq3277[0] = len(x.Capacity) != 0 + var yynn3277 int + if yyr3277 || yy2arr3277 { r.EncodeArrayStart(1) } else { - yynn3286 = 0 - for _, b := range yyq3286 { + yynn3277 = 0 + for _, b := range yyq3277 { if b { - yynn3286++ + yynn3277++ } } - r.EncodeMapStart(yynn3286) - yynn3286 = 0 + r.EncodeMapStart(yynn3277) + yynn3277 = 0 } - if yyr3286 || yy2arr3286 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3286[0] { + if yyq3277[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -41910,7 +41828,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3286[0] { + if yyq3277[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41921,7 +41839,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3286 || yy2arr3286 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41934,25 +41852,25 @@ func (x *NodeResources) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3288 := z.DecBinary() - _ = yym3288 + yym3279 := z.DecBinary() + _ = yym3279 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3289 := r.ContainerType() - if yyct3289 == codecSelferValueTypeMap1234 { - yyl3289 := r.ReadMapStart() - if yyl3289 == 0 { + yyct3280 := r.ContainerType() + if yyct3280 == codecSelferValueTypeMap1234 { + yyl3280 := r.ReadMapStart() + if yyl3280 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3289, d) + x.codecDecodeSelfFromMap(yyl3280, d) } - } else if yyct3289 == codecSelferValueTypeArray1234 { - yyl3289 := r.ReadArrayStart() - if yyl3289 == 0 { + } else if yyct3280 == codecSelferValueTypeArray1234 { + yyl3280 := r.ReadArrayStart() + if yyl3280 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3289, d) + x.codecDecodeSelfFromArray(yyl3280, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41964,12 +41882,12 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3290Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3290Slc - var yyhl3290 bool = l >= 0 - for yyj3290 := 0; ; yyj3290++ { - if yyhl3290 { - if yyj3290 >= l { + var yys3281Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3281Slc + var yyhl3281 bool = l >= 0 + for yyj3281 := 0; ; yyj3281++ { + if yyhl3281 { + if yyj3281 >= l { break } } else { @@ -41978,21 +41896,21 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3290Slc = r.DecodeBytes(yys3290Slc, true, true) - yys3290 := string(yys3290Slc) + yys3281Slc = r.DecodeBytes(yys3281Slc, true, true) + yys3281 := string(yys3281Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3290 { + switch yys3281 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3291 := &x.Capacity - yyv3291.CodecDecodeSelf(d) + yyv3282 := &x.Capacity + yyv3282.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3290) - } // end switch yys3290 - } // end for yyj3290 + z.DecStructFieldNotFound(-1, yys3281) + } // end switch yys3281 + } // end for yyj3281 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42000,16 +41918,16 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3292 int - var yyb3292 bool - var yyhl3292 bool = l >= 0 - yyj3292++ - if yyhl3292 { - yyb3292 = yyj3292 > l + var yyj3283 int + var yyb3283 bool + var yyhl3283 bool = l >= 0 + yyj3283++ + if yyhl3283 { + yyb3283 = yyj3283 > l } else { - yyb3292 = r.CheckBreak() + yyb3283 = r.CheckBreak() } - if yyb3292 { + if yyb3283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42017,21 +41935,21 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3293 := &x.Capacity - yyv3293.CodecDecodeSelf(d) + yyv3284 := &x.Capacity + yyv3284.CodecDecodeSelf(d) } for { - yyj3292++ - if yyhl3292 { - yyb3292 = yyj3292 > l + yyj3283++ + if yyhl3283 { + yyb3283 = yyj3283 > l } else { - yyb3292 = r.CheckBreak() + yyb3283 = r.CheckBreak() } - if yyb3292 { + if yyb3283 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3292-1, "") + z.DecStructFieldNotFound(yyj3283-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42040,8 +41958,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3294 := z.EncBinary() - _ = yym3294 + yym3285 := z.EncBinary() + _ = yym3285 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42053,8 +41971,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3295 := z.DecBinary() - _ = yym3295 + yym3286 := z.DecBinary() + _ = yym3286 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -42069,8 +41987,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3296 := z.EncBinary() - _ = yym3296 + yym3287 := z.EncBinary() + _ = yym3287 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42083,8 +42001,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3297 := z.DecBinary() - _ = yym3297 + yym3288 := z.DecBinary() + _ = yym3288 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -42099,39 +42017,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3298 := z.EncBinary() - _ = yym3298 + yym3289 := z.EncBinary() + _ = yym3289 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3299 := !z.EncBinary() - yy2arr3299 := z.EncBasicHandle().StructToArray - var yyq3299 [5]bool - _, _, _ = yysep3299, yyq3299, yy2arr3299 - const yyr3299 bool = false - yyq3299[0] = x.Kind != "" - yyq3299[1] = x.APIVersion != "" - yyq3299[2] = true - yyq3299[3] = true - yyq3299[4] = true - var yynn3299 int - if yyr3299 || yy2arr3299 { + yysep3290 := !z.EncBinary() + yy2arr3290 := z.EncBasicHandle().StructToArray + var yyq3290 [5]bool + _, _, _ = yysep3290, yyq3290, yy2arr3290 + const yyr3290 bool = false + yyq3290[0] = x.Kind != "" + yyq3290[1] = x.APIVersion != "" + yyq3290[2] = true + yyq3290[3] = true + yyq3290[4] = true + var yynn3290 int + if yyr3290 || yy2arr3290 { r.EncodeArrayStart(5) } else { - yynn3299 = 0 - for _, b := range yyq3299 { + yynn3290 = 0 + for _, b := range yyq3290 { if b { - yynn3299++ + yynn3290++ } } - r.EncodeMapStart(yynn3299) - yynn3299 = 0 + r.EncodeMapStart(yynn3290) + yynn3290 = 0 } - if yyr3299 || yy2arr3299 { + if yyr3290 || yy2arr3290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[0] { - yym3301 := z.EncBinary() - _ = yym3301 + if yyq3290[0] { + yym3292 := z.EncBinary() + _ = yym3292 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42140,23 +42058,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3299[0] { + if yyq3290[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3302 := z.EncBinary() - _ = yym3302 + yym3293 := z.EncBinary() + _ = yym3293 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3299 || yy2arr3299 { + if yyr3290 || yy2arr3290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[1] { - yym3304 := z.EncBinary() - _ = yym3304 + if yyq3290[1] { + yym3295 := z.EncBinary() + _ = yym3295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42165,70 +42083,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3299[1] { + if yyq3290[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3305 := z.EncBinary() - _ = yym3305 + yym3296 := z.EncBinary() + _ = yym3296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3299 || yy2arr3299 { + if yyr3290 || yy2arr3290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[2] { - yy3307 := &x.ObjectMeta - yy3307.CodecEncodeSelf(e) + if yyq3290[2] { + yy3298 := &x.ObjectMeta + yy3298.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3299[2] { + if yyq3290[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3308 := &x.ObjectMeta - yy3308.CodecEncodeSelf(e) + yy3299 := &x.ObjectMeta + yy3299.CodecEncodeSelf(e) } } - if yyr3299 || yy2arr3299 { + if yyr3290 || yy2arr3290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[3] { - yy3310 := &x.Spec - yy3310.CodecEncodeSelf(e) + if yyq3290[3] { + yy3301 := &x.Spec + yy3301.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3299[3] { + if yyq3290[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3311 := &x.Spec - yy3311.CodecEncodeSelf(e) + yy3302 := &x.Spec + yy3302.CodecEncodeSelf(e) } } - if yyr3299 || yy2arr3299 { + if yyr3290 || yy2arr3290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[4] { - yy3313 := &x.Status - yy3313.CodecEncodeSelf(e) + if yyq3290[4] { + yy3304 := &x.Status + yy3304.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3299[4] { + if yyq3290[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3314 := &x.Status - yy3314.CodecEncodeSelf(e) + yy3305 := &x.Status + yy3305.CodecEncodeSelf(e) } } - if yyr3299 || yy2arr3299 { + if yyr3290 || yy2arr3290 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42241,25 +42159,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3315 := z.DecBinary() - _ = yym3315 + yym3306 := z.DecBinary() + _ = yym3306 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3316 := r.ContainerType() - if yyct3316 == codecSelferValueTypeMap1234 { - yyl3316 := r.ReadMapStart() - if yyl3316 == 0 { + yyct3307 := r.ContainerType() + if yyct3307 == codecSelferValueTypeMap1234 { + yyl3307 := r.ReadMapStart() + if yyl3307 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3316, d) + x.codecDecodeSelfFromMap(yyl3307, d) } - } else if yyct3316 == codecSelferValueTypeArray1234 { - yyl3316 := r.ReadArrayStart() - if yyl3316 == 0 { + } else if yyct3307 == codecSelferValueTypeArray1234 { + yyl3307 := r.ReadArrayStart() + if yyl3307 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3316, d) + x.codecDecodeSelfFromArray(yyl3307, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42271,12 +42189,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3317Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3317Slc - var yyhl3317 bool = l >= 0 - for yyj3317 := 0; ; yyj3317++ { - if yyhl3317 { - if yyj3317 >= l { + var yys3308Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3308Slc + var yyhl3308 bool = l >= 0 + for yyj3308 := 0; ; yyj3308++ { + if yyhl3308 { + if yyj3308 >= l { break } } else { @@ -42285,10 +42203,10 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3317Slc = r.DecodeBytes(yys3317Slc, true, true) - yys3317 := string(yys3317Slc) + yys3308Slc = r.DecodeBytes(yys3308Slc, true, true) + yys3308 := string(yys3308Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3317 { + switch yys3308 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42305,27 +42223,27 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3320 := &x.ObjectMeta - yyv3320.CodecDecodeSelf(d) + yyv3311 := &x.ObjectMeta + yyv3311.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv3321 := &x.Spec - yyv3321.CodecDecodeSelf(d) + yyv3312 := &x.Spec + yyv3312.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv3322 := &x.Status - yyv3322.CodecDecodeSelf(d) + yyv3313 := &x.Status + yyv3313.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3317) - } // end switch yys3317 - } // end for yyj3317 + z.DecStructFieldNotFound(-1, yys3308) + } // end switch yys3308 + } // end for yyj3308 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42333,16 +42251,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3323 int - var yyb3323 bool - var yyhl3323 bool = l >= 0 - yyj3323++ - if yyhl3323 { - yyb3323 = yyj3323 > l + var yyj3314 int + var yyb3314 bool + var yyhl3314 bool = l >= 0 + yyj3314++ + if yyhl3314 { + yyb3314 = yyj3314 > l } else { - yyb3323 = r.CheckBreak() + yyb3314 = r.CheckBreak() } - if yyb3323 { + if yyb3314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42352,13 +42270,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3323++ - if yyhl3323 { - yyb3323 = yyj3323 > l + yyj3314++ + if yyhl3314 { + yyb3314 = yyj3314 > l } else { - yyb3323 = r.CheckBreak() + yyb3314 = r.CheckBreak() } - if yyb3323 { + if yyb3314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42368,13 +42286,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3323++ - if yyhl3323 { - yyb3323 = yyj3323 > l + yyj3314++ + if yyhl3314 { + yyb3314 = yyj3314 > l } else { - yyb3323 = r.CheckBreak() + yyb3314 = r.CheckBreak() } - if yyb3323 { + if yyb3314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42382,16 +42300,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3326 := &x.ObjectMeta - yyv3326.CodecDecodeSelf(d) + yyv3317 := &x.ObjectMeta + yyv3317.CodecDecodeSelf(d) } - yyj3323++ - if yyhl3323 { - yyb3323 = yyj3323 > l + yyj3314++ + if yyhl3314 { + yyb3314 = yyj3314 > l } else { - yyb3323 = r.CheckBreak() + yyb3314 = r.CheckBreak() } - if yyb3323 { + if yyb3314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42399,16 +42317,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv3327 := &x.Spec - yyv3327.CodecDecodeSelf(d) + yyv3318 := &x.Spec + yyv3318.CodecDecodeSelf(d) } - yyj3323++ - if yyhl3323 { - yyb3323 = yyj3323 > l + yyj3314++ + if yyhl3314 { + yyb3314 = yyj3314 > l } else { - yyb3323 = r.CheckBreak() + yyb3314 = r.CheckBreak() } - if yyb3323 { + if yyb3314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42416,21 +42334,21 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv3328 := &x.Status - yyv3328.CodecDecodeSelf(d) + yyv3319 := &x.Status + yyv3319.CodecDecodeSelf(d) } for { - yyj3323++ - if yyhl3323 { - yyb3323 = yyj3323 > l + yyj3314++ + if yyhl3314 { + yyb3314 = yyj3314 > l } else { - yyb3323 = r.CheckBreak() + yyb3314 = r.CheckBreak() } - if yyb3323 { + if yyb3314 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3323-1, "") + z.DecStructFieldNotFound(yyj3314-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42442,37 +42360,37 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3329 := z.EncBinary() - _ = yym3329 + yym3320 := z.EncBinary() + _ = yym3320 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3330 := !z.EncBinary() - yy2arr3330 := z.EncBasicHandle().StructToArray - var yyq3330 [4]bool - _, _, _ = yysep3330, yyq3330, yy2arr3330 - const yyr3330 bool = false - yyq3330[0] = x.Kind != "" - yyq3330[1] = x.APIVersion != "" - yyq3330[2] = true - var yynn3330 int - if yyr3330 || yy2arr3330 { + yysep3321 := !z.EncBinary() + yy2arr3321 := z.EncBasicHandle().StructToArray + var yyq3321 [4]bool + _, _, _ = yysep3321, yyq3321, yy2arr3321 + const yyr3321 bool = false + yyq3321[0] = x.Kind != "" + yyq3321[1] = x.APIVersion != "" + yyq3321[2] = true + var yynn3321 int + if yyr3321 || yy2arr3321 { r.EncodeArrayStart(4) } else { - yynn3330 = 1 - for _, b := range yyq3330 { + yynn3321 = 1 + for _, b := range yyq3321 { if b { - yynn3330++ + yynn3321++ } } - r.EncodeMapStart(yynn3330) - yynn3330 = 0 + r.EncodeMapStart(yynn3321) + yynn3321 = 0 } - if yyr3330 || yy2arr3330 { + if yyr3321 || yy2arr3321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3330[0] { - yym3332 := z.EncBinary() - _ = yym3332 + if yyq3321[0] { + yym3323 := z.EncBinary() + _ = yym3323 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42481,23 +42399,23 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3330[0] { + if yyq3321[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3333 := z.EncBinary() - _ = yym3333 + yym3324 := z.EncBinary() + _ = yym3324 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3330 || yy2arr3330 { + if yyr3321 || yy2arr3321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3330[1] { - yym3335 := z.EncBinary() - _ = yym3335 + if yyq3321[1] { + yym3326 := z.EncBinary() + _ = yym3326 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42506,54 +42424,54 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3330[1] { + if yyq3321[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3336 := z.EncBinary() - _ = yym3336 + yym3327 := z.EncBinary() + _ = yym3327 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3330 || yy2arr3330 { + if yyr3321 || yy2arr3321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3330[2] { - yy3338 := &x.ListMeta - yym3339 := z.EncBinary() - _ = yym3339 + if yyq3321[2] { + yy3329 := &x.ListMeta + yym3330 := z.EncBinary() + _ = yym3330 if false { - } else if z.HasExtensions() && z.EncExt(yy3338) { + } else if z.HasExtensions() && z.EncExt(yy3329) { } else { - z.EncFallback(yy3338) + z.EncFallback(yy3329) } } else { r.EncodeNil() } } else { - if yyq3330[2] { + if yyq3321[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3340 := &x.ListMeta - yym3341 := z.EncBinary() - _ = yym3341 + yy3331 := &x.ListMeta + yym3332 := z.EncBinary() + _ = yym3332 if false { - } else if z.HasExtensions() && z.EncExt(yy3340) { + } else if z.HasExtensions() && z.EncExt(yy3331) { } else { - z.EncFallback(yy3340) + z.EncFallback(yy3331) } } } - if yyr3330 || yy2arr3330 { + if yyr3321 || yy2arr3321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3343 := z.EncBinary() - _ = yym3343 + yym3334 := z.EncBinary() + _ = yym3334 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -42566,15 +42484,15 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3344 := z.EncBinary() - _ = yym3344 + yym3335 := z.EncBinary() + _ = yym3335 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr3330 || yy2arr3330 { + if yyr3321 || yy2arr3321 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42587,25 +42505,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3345 := z.DecBinary() - _ = yym3345 + yym3336 := z.DecBinary() + _ = yym3336 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3346 := r.ContainerType() - if yyct3346 == codecSelferValueTypeMap1234 { - yyl3346 := r.ReadMapStart() - if yyl3346 == 0 { + yyct3337 := r.ContainerType() + if yyct3337 == codecSelferValueTypeMap1234 { + yyl3337 := r.ReadMapStart() + if yyl3337 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3346, d) + x.codecDecodeSelfFromMap(yyl3337, d) } - } else if yyct3346 == codecSelferValueTypeArray1234 { - yyl3346 := r.ReadArrayStart() - if yyl3346 == 0 { + } else if yyct3337 == codecSelferValueTypeArray1234 { + yyl3337 := r.ReadArrayStart() + if yyl3337 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3346, d) + x.codecDecodeSelfFromArray(yyl3337, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42617,12 +42535,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3347Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3347Slc - var yyhl3347 bool = l >= 0 - for yyj3347 := 0; ; yyj3347++ { - if yyhl3347 { - if yyj3347 >= l { + var yys3338Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3338Slc + var yyhl3338 bool = l >= 0 + for yyj3338 := 0; ; yyj3338++ { + if yyhl3338 { + if yyj3338 >= l { break } } else { @@ -42631,10 +42549,10 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3347Slc = r.DecodeBytes(yys3347Slc, true, true) - yys3347 := string(yys3347Slc) + yys3338Slc = r.DecodeBytes(yys3338Slc, true, true) + yys3338 := string(yys3338Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3347 { + switch yys3338 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42651,31 +42569,31 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3350 := &x.ListMeta - yym3351 := z.DecBinary() - _ = yym3351 + yyv3341 := &x.ListMeta + yym3342 := z.DecBinary() + _ = yym3342 if false { - } else if z.HasExtensions() && z.DecExt(yyv3350) { + } else if z.HasExtensions() && z.DecExt(yyv3341) { } else { - z.DecFallback(yyv3350, false) + z.DecFallback(yyv3341, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3352 := &x.Items - yym3353 := z.DecBinary() - _ = yym3353 + yyv3343 := &x.Items + yym3344 := z.DecBinary() + _ = yym3344 if false { } else { - h.decSliceNode((*[]Node)(yyv3352), d) + h.decSliceNode((*[]Node)(yyv3343), d) } } default: - z.DecStructFieldNotFound(-1, yys3347) - } // end switch yys3347 - } // end for yyj3347 + z.DecStructFieldNotFound(-1, yys3338) + } // end switch yys3338 + } // end for yyj3338 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42683,16 +42601,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3354 int - var yyb3354 bool - var yyhl3354 bool = l >= 0 - yyj3354++ - if yyhl3354 { - yyb3354 = yyj3354 > l + var yyj3345 int + var yyb3345 bool + var yyhl3345 bool = l >= 0 + yyj3345++ + if yyhl3345 { + yyb3345 = yyj3345 > l } else { - yyb3354 = r.CheckBreak() + yyb3345 = r.CheckBreak() } - if yyb3354 { + if yyb3345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42702,13 +42620,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3354++ - if yyhl3354 { - yyb3354 = yyj3354 > l + yyj3345++ + if yyhl3345 { + yyb3345 = yyj3345 > l } else { - yyb3354 = r.CheckBreak() + yyb3345 = r.CheckBreak() } - if yyb3354 { + if yyb3345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42718,13 +42636,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3354++ - if yyhl3354 { - yyb3354 = yyj3354 > l + yyj3345++ + if yyhl3345 { + yyb3345 = yyj3345 > l } else { - yyb3354 = r.CheckBreak() + yyb3345 = r.CheckBreak() } - if yyb3354 { + if yyb3345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42732,22 +42650,22 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3357 := &x.ListMeta - yym3358 := z.DecBinary() - _ = yym3358 + yyv3348 := &x.ListMeta + yym3349 := z.DecBinary() + _ = yym3349 if false { - } else if z.HasExtensions() && z.DecExt(yyv3357) { + } else if z.HasExtensions() && z.DecExt(yyv3348) { } else { - z.DecFallback(yyv3357, false) + z.DecFallback(yyv3348, false) } } - yyj3354++ - if yyhl3354 { - yyb3354 = yyj3354 > l + yyj3345++ + if yyhl3345 { + yyb3345 = yyj3345 > l } else { - yyb3354 = r.CheckBreak() + yyb3345 = r.CheckBreak() } - if yyb3354 { + if yyb3345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42755,26 +42673,26 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3359 := &x.Items - yym3360 := z.DecBinary() - _ = yym3360 + yyv3350 := &x.Items + yym3351 := z.DecBinary() + _ = yym3351 if false { } else { - h.decSliceNode((*[]Node)(yyv3359), d) + h.decSliceNode((*[]Node)(yyv3350), d) } } for { - yyj3354++ - if yyhl3354 { - yyb3354 = yyj3354 > l + yyj3345++ + if yyhl3345 { + yyb3345 = yyj3345 > l } else { - yyb3354 = r.CheckBreak() + yyb3345 = r.CheckBreak() } - if yyb3354 { + if yyb3345 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3354-1, "") + z.DecStructFieldNotFound(yyj3345-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42786,36 +42704,36 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3361 := z.EncBinary() - _ = yym3361 + yym3352 := z.EncBinary() + _ = yym3352 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3362 := !z.EncBinary() - yy2arr3362 := z.EncBasicHandle().StructToArray - var yyq3362 [1]bool - _, _, _ = yysep3362, yyq3362, yy2arr3362 - const yyr3362 bool = false - var yynn3362 int - if yyr3362 || yy2arr3362 { + yysep3353 := !z.EncBinary() + yy2arr3353 := z.EncBasicHandle().StructToArray + var yyq3353 [1]bool + _, _, _ = yysep3353, yyq3353, yy2arr3353 + const yyr3353 bool = false + var yynn3353 int + if yyr3353 || yy2arr3353 { r.EncodeArrayStart(1) } else { - yynn3362 = 1 - for _, b := range yyq3362 { + yynn3353 = 1 + for _, b := range yyq3353 { if b { - yynn3362++ + yynn3353++ } } - r.EncodeMapStart(yynn3362) - yynn3362 = 0 + r.EncodeMapStart(yynn3353) + yynn3353 = 0 } - if yyr3362 || yy2arr3362 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym3364 := z.EncBinary() - _ = yym3364 + yym3355 := z.EncBinary() + _ = yym3355 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -42828,15 +42746,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Finalizers == nil { r.EncodeNil() } else { - yym3365 := z.EncBinary() - _ = yym3365 + yym3356 := z.EncBinary() + _ = yym3356 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) } } } - if yyr3362 || yy2arr3362 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42849,25 +42767,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3366 := z.DecBinary() - _ = yym3366 + yym3357 := z.DecBinary() + _ = yym3357 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3367 := r.ContainerType() - if yyct3367 == codecSelferValueTypeMap1234 { - yyl3367 := r.ReadMapStart() - if yyl3367 == 0 { + yyct3358 := r.ContainerType() + if yyct3358 == codecSelferValueTypeMap1234 { + yyl3358 := r.ReadMapStart() + if yyl3358 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3367, d) + x.codecDecodeSelfFromMap(yyl3358, d) } - } else if yyct3367 == codecSelferValueTypeArray1234 { - yyl3367 := r.ReadArrayStart() - if yyl3367 == 0 { + } else if yyct3358 == codecSelferValueTypeArray1234 { + yyl3358 := r.ReadArrayStart() + if yyl3358 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3367, d) + x.codecDecodeSelfFromArray(yyl3358, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42879,12 +42797,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3368Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3368Slc - var yyhl3368 bool = l >= 0 - for yyj3368 := 0; ; yyj3368++ { - if yyhl3368 { - if yyj3368 >= l { + var yys3359Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3359Slc + var yyhl3359 bool = l >= 0 + for yyj3359 := 0; ; yyj3359++ { + if yyhl3359 { + if yyj3359 >= l { break } } else { @@ -42893,26 +42811,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3368Slc = r.DecodeBytes(yys3368Slc, true, true) - yys3368 := string(yys3368Slc) + yys3359Slc = r.DecodeBytes(yys3359Slc, true, true) + yys3359 := string(yys3359Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3368 { + switch yys3359 { case "Finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv3369 := &x.Finalizers - yym3370 := z.DecBinary() - _ = yym3370 + yyv3360 := &x.Finalizers + yym3361 := z.DecBinary() + _ = yym3361 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3369), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3360), d) } } default: - z.DecStructFieldNotFound(-1, yys3368) - } // end switch yys3368 - } // end for yyj3368 + z.DecStructFieldNotFound(-1, yys3359) + } // end switch yys3359 + } // end for yyj3359 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42920,16 +42838,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3371 int - var yyb3371 bool - var yyhl3371 bool = l >= 0 - yyj3371++ - if yyhl3371 { - yyb3371 = yyj3371 > l + var yyj3362 int + var yyb3362 bool + var yyhl3362 bool = l >= 0 + yyj3362++ + if yyhl3362 { + yyb3362 = yyj3362 > l } else { - yyb3371 = r.CheckBreak() + yyb3362 = r.CheckBreak() } - if yyb3371 { + if yyb3362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42937,26 +42855,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv3372 := &x.Finalizers - yym3373 := z.DecBinary() - _ = yym3373 + yyv3363 := &x.Finalizers + yym3364 := z.DecBinary() + _ = yym3364 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3372), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3363), d) } } for { - yyj3371++ - if yyhl3371 { - yyb3371 = yyj3371 > l + yyj3362++ + if yyhl3362 { + yyb3362 = yyj3362 > l } else { - yyb3371 = r.CheckBreak() + yyb3362 = r.CheckBreak() } - if yyb3371 { + if yyb3362 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3371-1, "") + z.DecStructFieldNotFound(yyj3362-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42965,8 +42883,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3374 := z.EncBinary() - _ = yym3374 + yym3365 := z.EncBinary() + _ = yym3365 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42978,8 +42896,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3375 := z.DecBinary() - _ = yym3375 + yym3366 := z.DecBinary() + _ = yym3366 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -42994,46 +42912,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3376 := z.EncBinary() - _ = yym3376 + yym3367 := z.EncBinary() + _ = yym3367 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3377 := !z.EncBinary() - yy2arr3377 := z.EncBasicHandle().StructToArray - var yyq3377 [1]bool - _, _, _ = yysep3377, yyq3377, yy2arr3377 - const yyr3377 bool = false - yyq3377[0] = x.Phase != "" - var yynn3377 int - if yyr3377 || yy2arr3377 { + yysep3368 := !z.EncBinary() + yy2arr3368 := z.EncBasicHandle().StructToArray + var yyq3368 [1]bool + _, _, _ = yysep3368, yyq3368, yy2arr3368 + const yyr3368 bool = false + yyq3368[0] = x.Phase != "" + var yynn3368 int + if yyr3368 || yy2arr3368 { r.EncodeArrayStart(1) } else { - yynn3377 = 0 - for _, b := range yyq3377 { + yynn3368 = 0 + for _, b := range yyq3368 { if b { - yynn3377++ + yynn3368++ } } - r.EncodeMapStart(yynn3377) - yynn3377 = 0 + r.EncodeMapStart(yynn3368) + yynn3368 = 0 } - if yyr3377 || yy2arr3377 { + if yyr3368 || yy2arr3368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3377[0] { + if yyq3368[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3377[0] { + if yyq3368[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr3377 || yy2arr3377 { + if yyr3368 || yy2arr3368 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43046,25 +42964,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3379 := z.DecBinary() - _ = yym3379 + yym3370 := z.DecBinary() + _ = yym3370 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3380 := r.ContainerType() - if yyct3380 == codecSelferValueTypeMap1234 { - yyl3380 := r.ReadMapStart() - if yyl3380 == 0 { + yyct3371 := r.ContainerType() + if yyct3371 == codecSelferValueTypeMap1234 { + yyl3371 := r.ReadMapStart() + if yyl3371 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3380, d) + x.codecDecodeSelfFromMap(yyl3371, d) } - } else if yyct3380 == codecSelferValueTypeArray1234 { - yyl3380 := r.ReadArrayStart() - if yyl3380 == 0 { + } else if yyct3371 == codecSelferValueTypeArray1234 { + yyl3371 := r.ReadArrayStart() + if yyl3371 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3380, d) + x.codecDecodeSelfFromArray(yyl3371, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43076,12 +42994,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3381Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3381Slc - var yyhl3381 bool = l >= 0 - for yyj3381 := 0; ; yyj3381++ { - if yyhl3381 { - if yyj3381 >= l { + var yys3372Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3372Slc + var yyhl3372 bool = l >= 0 + for yyj3372 := 0; ; yyj3372++ { + if yyhl3372 { + if yyj3372 >= l { break } } else { @@ -43090,10 +43008,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3381Slc = r.DecodeBytes(yys3381Slc, true, true) - yys3381 := string(yys3381Slc) + yys3372Slc = r.DecodeBytes(yys3372Slc, true, true) + yys3372 := string(yys3372Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3381 { + switch yys3372 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -43101,9 +43019,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3381) - } // end switch yys3381 - } // end for yyj3381 + z.DecStructFieldNotFound(-1, yys3372) + } // end switch yys3372 + } // end for yyj3372 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43111,16 +43029,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3383 int - var yyb3383 bool - var yyhl3383 bool = l >= 0 - yyj3383++ - if yyhl3383 { - yyb3383 = yyj3383 > l + var yyj3374 int + var yyb3374 bool + var yyhl3374 bool = l >= 0 + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3383 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3383 { + if yyb3374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43131,17 +43049,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj3383++ - if yyhl3383 { - yyb3383 = yyj3383 > l + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3383 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3383 { + if yyb3374 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3383-1, "") + z.DecStructFieldNotFound(yyj3374-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43150,8 +43068,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3385 := z.EncBinary() - _ = yym3385 + yym3376 := z.EncBinary() + _ = yym3376 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -43163,8 +43081,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3386 := z.DecBinary() - _ = yym3386 + yym3377 := z.DecBinary() + _ = yym3377 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -43179,39 +43097,39 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3387 := z.EncBinary() - _ = yym3387 + yym3378 := z.EncBinary() + _ = yym3378 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3388 := !z.EncBinary() - yy2arr3388 := z.EncBasicHandle().StructToArray - var yyq3388 [5]bool - _, _, _ = yysep3388, yyq3388, yy2arr3388 - const yyr3388 bool = false - yyq3388[0] = x.Kind != "" - yyq3388[1] = x.APIVersion != "" - yyq3388[2] = true - yyq3388[3] = true - yyq3388[4] = true - var yynn3388 int - if yyr3388 || yy2arr3388 { + yysep3379 := !z.EncBinary() + yy2arr3379 := z.EncBasicHandle().StructToArray + var yyq3379 [5]bool + _, _, _ = yysep3379, yyq3379, yy2arr3379 + const yyr3379 bool = false + yyq3379[0] = x.Kind != "" + yyq3379[1] = x.APIVersion != "" + yyq3379[2] = true + yyq3379[3] = true + yyq3379[4] = true + var yynn3379 int + if yyr3379 || yy2arr3379 { r.EncodeArrayStart(5) } else { - yynn3388 = 0 - for _, b := range yyq3388 { + yynn3379 = 0 + for _, b := range yyq3379 { if b { - yynn3388++ + yynn3379++ } } - r.EncodeMapStart(yynn3388) - yynn3388 = 0 + r.EncodeMapStart(yynn3379) + yynn3379 = 0 } - if yyr3388 || yy2arr3388 { + if yyr3379 || yy2arr3379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[0] { - yym3390 := z.EncBinary() - _ = yym3390 + if yyq3379[0] { + yym3381 := z.EncBinary() + _ = yym3381 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43220,23 +43138,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3388[0] { + if yyq3379[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3391 := z.EncBinary() - _ = yym3391 + yym3382 := z.EncBinary() + _ = yym3382 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3388 || yy2arr3388 { + if yyr3379 || yy2arr3379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[1] { - yym3393 := z.EncBinary() - _ = yym3393 + if yyq3379[1] { + yym3384 := z.EncBinary() + _ = yym3384 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43245,70 +43163,70 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3388[1] { + if yyq3379[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3394 := z.EncBinary() - _ = yym3394 + yym3385 := z.EncBinary() + _ = yym3385 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3388 || yy2arr3388 { + if yyr3379 || yy2arr3379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[2] { - yy3396 := &x.ObjectMeta - yy3396.CodecEncodeSelf(e) + if yyq3379[2] { + yy3387 := &x.ObjectMeta + yy3387.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3388[2] { + if yyq3379[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3397 := &x.ObjectMeta - yy3397.CodecEncodeSelf(e) + yy3388 := &x.ObjectMeta + yy3388.CodecEncodeSelf(e) } } - if yyr3388 || yy2arr3388 { + if yyr3379 || yy2arr3379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[3] { - yy3399 := &x.Spec - yy3399.CodecEncodeSelf(e) + if yyq3379[3] { + yy3390 := &x.Spec + yy3390.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3388[3] { + if yyq3379[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3400 := &x.Spec - yy3400.CodecEncodeSelf(e) + yy3391 := &x.Spec + yy3391.CodecEncodeSelf(e) } } - if yyr3388 || yy2arr3388 { + if yyr3379 || yy2arr3379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[4] { - yy3402 := &x.Status - yy3402.CodecEncodeSelf(e) + if yyq3379[4] { + yy3393 := &x.Status + yy3393.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3388[4] { + if yyq3379[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3403 := &x.Status - yy3403.CodecEncodeSelf(e) + yy3394 := &x.Status + yy3394.CodecEncodeSelf(e) } } - if yyr3388 || yy2arr3388 { + if yyr3379 || yy2arr3379 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43321,25 +43239,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3404 := z.DecBinary() - _ = yym3404 + yym3395 := z.DecBinary() + _ = yym3395 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3405 := r.ContainerType() - if yyct3405 == codecSelferValueTypeMap1234 { - yyl3405 := r.ReadMapStart() - if yyl3405 == 0 { + yyct3396 := r.ContainerType() + if yyct3396 == codecSelferValueTypeMap1234 { + yyl3396 := r.ReadMapStart() + if yyl3396 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3405, d) + x.codecDecodeSelfFromMap(yyl3396, d) } - } else if yyct3405 == codecSelferValueTypeArray1234 { - yyl3405 := r.ReadArrayStart() - if yyl3405 == 0 { + } else if yyct3396 == codecSelferValueTypeArray1234 { + yyl3396 := r.ReadArrayStart() + if yyl3396 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3405, d) + x.codecDecodeSelfFromArray(yyl3396, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43351,12 +43269,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3406Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3406Slc - var yyhl3406 bool = l >= 0 - for yyj3406 := 0; ; yyj3406++ { - if yyhl3406 { - if yyj3406 >= l { + var yys3397Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3397Slc + var yyhl3397 bool = l >= 0 + for yyj3397 := 0; ; yyj3397++ { + if yyhl3397 { + if yyj3397 >= l { break } } else { @@ -43365,10 +43283,10 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3406Slc = r.DecodeBytes(yys3406Slc, true, true) - yys3406 := string(yys3406Slc) + yys3397Slc = r.DecodeBytes(yys3397Slc, true, true) + yys3397 := string(yys3397Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3406 { + switch yys3397 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43385,27 +43303,27 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3409 := &x.ObjectMeta - yyv3409.CodecDecodeSelf(d) + yyv3400 := &x.ObjectMeta + yyv3400.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv3410 := &x.Spec - yyv3410.CodecDecodeSelf(d) + yyv3401 := &x.Spec + yyv3401.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv3411 := &x.Status - yyv3411.CodecDecodeSelf(d) + yyv3402 := &x.Status + yyv3402.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3406) - } // end switch yys3406 - } // end for yyj3406 + z.DecStructFieldNotFound(-1, yys3397) + } // end switch yys3397 + } // end for yyj3397 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43413,16 +43331,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3412 int - var yyb3412 bool - var yyhl3412 bool = l >= 0 - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + var yyj3403 int + var yyb3403 bool + var yyhl3403 bool = l >= 0 + yyj3403++ + if yyhl3403 { + yyb3403 = yyj3403 > l } else { - yyb3412 = r.CheckBreak() + yyb3403 = r.CheckBreak() } - if yyb3412 { + if yyb3403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43432,13 +43350,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3403++ + if yyhl3403 { + yyb3403 = yyj3403 > l } else { - yyb3412 = r.CheckBreak() + yyb3403 = r.CheckBreak() } - if yyb3412 { + if yyb3403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43448,13 +43366,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3403++ + if yyhl3403 { + yyb3403 = yyj3403 > l } else { - yyb3412 = r.CheckBreak() + yyb3403 = r.CheckBreak() } - if yyb3412 { + if yyb3403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43462,16 +43380,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3415 := &x.ObjectMeta - yyv3415.CodecDecodeSelf(d) + yyv3406 := &x.ObjectMeta + yyv3406.CodecDecodeSelf(d) } - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3403++ + if yyhl3403 { + yyb3403 = yyj3403 > l } else { - yyb3412 = r.CheckBreak() + yyb3403 = r.CheckBreak() } - if yyb3412 { + if yyb3403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43479,16 +43397,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv3416 := &x.Spec - yyv3416.CodecDecodeSelf(d) + yyv3407 := &x.Spec + yyv3407.CodecDecodeSelf(d) } - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3403++ + if yyhl3403 { + yyb3403 = yyj3403 > l } else { - yyb3412 = r.CheckBreak() + yyb3403 = r.CheckBreak() } - if yyb3412 { + if yyb3403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43496,21 +43414,21 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv3417 := &x.Status - yyv3417.CodecDecodeSelf(d) + yyv3408 := &x.Status + yyv3408.CodecDecodeSelf(d) } for { - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3403++ + if yyhl3403 { + yyb3403 = yyj3403 > l } else { - yyb3412 = r.CheckBreak() + yyb3403 = r.CheckBreak() } - if yyb3412 { + if yyb3403 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3412-1, "") + z.DecStructFieldNotFound(yyj3403-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43522,37 +43440,37 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3418 := z.EncBinary() - _ = yym3418 + yym3409 := z.EncBinary() + _ = yym3409 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3419 := !z.EncBinary() - yy2arr3419 := z.EncBasicHandle().StructToArray - var yyq3419 [4]bool - _, _, _ = yysep3419, yyq3419, yy2arr3419 - const yyr3419 bool = false - yyq3419[0] = x.Kind != "" - yyq3419[1] = x.APIVersion != "" - yyq3419[2] = true - var yynn3419 int - if yyr3419 || yy2arr3419 { + yysep3410 := !z.EncBinary() + yy2arr3410 := z.EncBasicHandle().StructToArray + var yyq3410 [4]bool + _, _, _ = yysep3410, yyq3410, yy2arr3410 + const yyr3410 bool = false + yyq3410[0] = x.Kind != "" + yyq3410[1] = x.APIVersion != "" + yyq3410[2] = true + var yynn3410 int + if yyr3410 || yy2arr3410 { r.EncodeArrayStart(4) } else { - yynn3419 = 1 - for _, b := range yyq3419 { + yynn3410 = 1 + for _, b := range yyq3410 { if b { - yynn3419++ + yynn3410++ } } - r.EncodeMapStart(yynn3419) - yynn3419 = 0 + r.EncodeMapStart(yynn3410) + yynn3410 = 0 } - if yyr3419 || yy2arr3419 { + if yyr3410 || yy2arr3410 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3419[0] { - yym3421 := z.EncBinary() - _ = yym3421 + if yyq3410[0] { + yym3412 := z.EncBinary() + _ = yym3412 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43561,23 +43479,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3419[0] { + if yyq3410[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3422 := z.EncBinary() - _ = yym3422 + yym3413 := z.EncBinary() + _ = yym3413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3419 || yy2arr3419 { + if yyr3410 || yy2arr3410 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3419[1] { - yym3424 := z.EncBinary() - _ = yym3424 + if yyq3410[1] { + yym3415 := z.EncBinary() + _ = yym3415 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43586,54 +43504,54 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3419[1] { + if yyq3410[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3425 := z.EncBinary() - _ = yym3425 + yym3416 := z.EncBinary() + _ = yym3416 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3419 || yy2arr3419 { + if yyr3410 || yy2arr3410 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3419[2] { - yy3427 := &x.ListMeta - yym3428 := z.EncBinary() - _ = yym3428 + if yyq3410[2] { + yy3418 := &x.ListMeta + yym3419 := z.EncBinary() + _ = yym3419 if false { - } else if z.HasExtensions() && z.EncExt(yy3427) { + } else if z.HasExtensions() && z.EncExt(yy3418) { } else { - z.EncFallback(yy3427) + z.EncFallback(yy3418) } } else { r.EncodeNil() } } else { - if yyq3419[2] { + if yyq3410[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3429 := &x.ListMeta - yym3430 := z.EncBinary() - _ = yym3430 + yy3420 := &x.ListMeta + yym3421 := z.EncBinary() + _ = yym3421 if false { - } else if z.HasExtensions() && z.EncExt(yy3429) { + } else if z.HasExtensions() && z.EncExt(yy3420) { } else { - z.EncFallback(yy3429) + z.EncFallback(yy3420) } } } - if yyr3419 || yy2arr3419 { + if yyr3410 || yy2arr3410 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3432 := z.EncBinary() - _ = yym3432 + yym3423 := z.EncBinary() + _ = yym3423 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -43646,15 +43564,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3433 := z.EncBinary() - _ = yym3433 + yym3424 := z.EncBinary() + _ = yym3424 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr3419 || yy2arr3419 { + if yyr3410 || yy2arr3410 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43667,25 +43585,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3434 := z.DecBinary() - _ = yym3434 + yym3425 := z.DecBinary() + _ = yym3425 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3435 := r.ContainerType() - if yyct3435 == codecSelferValueTypeMap1234 { - yyl3435 := r.ReadMapStart() - if yyl3435 == 0 { + yyct3426 := r.ContainerType() + if yyct3426 == codecSelferValueTypeMap1234 { + yyl3426 := r.ReadMapStart() + if yyl3426 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3435, d) + x.codecDecodeSelfFromMap(yyl3426, d) } - } else if yyct3435 == codecSelferValueTypeArray1234 { - yyl3435 := r.ReadArrayStart() - if yyl3435 == 0 { + } else if yyct3426 == codecSelferValueTypeArray1234 { + yyl3426 := r.ReadArrayStart() + if yyl3426 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3435, d) + x.codecDecodeSelfFromArray(yyl3426, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43697,12 +43615,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3436Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3436Slc - var yyhl3436 bool = l >= 0 - for yyj3436 := 0; ; yyj3436++ { - if yyhl3436 { - if yyj3436 >= l { + var yys3427Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3427Slc + var yyhl3427 bool = l >= 0 + for yyj3427 := 0; ; yyj3427++ { + if yyhl3427 { + if yyj3427 >= l { break } } else { @@ -43711,10 +43629,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3436Slc = r.DecodeBytes(yys3436Slc, true, true) - yys3436 := string(yys3436Slc) + yys3427Slc = r.DecodeBytes(yys3427Slc, true, true) + yys3427 := string(yys3427Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3436 { + switch yys3427 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43731,31 +43649,31 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3439 := &x.ListMeta - yym3440 := z.DecBinary() - _ = yym3440 + yyv3430 := &x.ListMeta + yym3431 := z.DecBinary() + _ = yym3431 if false { - } else if z.HasExtensions() && z.DecExt(yyv3439) { + } else if z.HasExtensions() && z.DecExt(yyv3430) { } else { - z.DecFallback(yyv3439, false) + z.DecFallback(yyv3430, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3441 := &x.Items - yym3442 := z.DecBinary() - _ = yym3442 + yyv3432 := &x.Items + yym3433 := z.DecBinary() + _ = yym3433 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3441), d) + h.decSliceNamespace((*[]Namespace)(yyv3432), d) } } default: - z.DecStructFieldNotFound(-1, yys3436) - } // end switch yys3436 - } // end for yyj3436 + z.DecStructFieldNotFound(-1, yys3427) + } // end switch yys3427 + } // end for yyj3427 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43763,16 +43681,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3443 int - var yyb3443 bool - var yyhl3443 bool = l >= 0 - yyj3443++ - if yyhl3443 { - yyb3443 = yyj3443 > l + var yyj3434 int + var yyb3434 bool + var yyhl3434 bool = l >= 0 + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb3443 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb3443 { + if yyb3434 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43782,13 +43700,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3443++ - if yyhl3443 { - yyb3443 = yyj3443 > l + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb3443 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb3443 { + if yyb3434 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43798,13 +43716,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3443++ - if yyhl3443 { - yyb3443 = yyj3443 > l + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb3443 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb3443 { + if yyb3434 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43812,22 +43730,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3446 := &x.ListMeta - yym3447 := z.DecBinary() - _ = yym3447 + yyv3437 := &x.ListMeta + yym3438 := z.DecBinary() + _ = yym3438 if false { - } else if z.HasExtensions() && z.DecExt(yyv3446) { + } else if z.HasExtensions() && z.DecExt(yyv3437) { } else { - z.DecFallback(yyv3446, false) + z.DecFallback(yyv3437, false) } } - yyj3443++ - if yyhl3443 { - yyb3443 = yyj3443 > l + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb3443 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb3443 { + if yyb3434 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43835,26 +43753,26 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3448 := &x.Items - yym3449 := z.DecBinary() - _ = yym3449 + yyv3439 := &x.Items + yym3440 := z.DecBinary() + _ = yym3440 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3448), d) + h.decSliceNamespace((*[]Namespace)(yyv3439), d) } } for { - yyj3443++ - if yyhl3443 { - yyb3443 = yyj3443 > l + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb3443 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb3443 { + if yyb3434 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3443-1, "") + z.DecStructFieldNotFound(yyj3434-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43866,37 +43784,37 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3450 := z.EncBinary() - _ = yym3450 + yym3441 := z.EncBinary() + _ = yym3441 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3451 := !z.EncBinary() - yy2arr3451 := z.EncBasicHandle().StructToArray - var yyq3451 [4]bool - _, _, _ = yysep3451, yyq3451, yy2arr3451 - const yyr3451 bool = false - yyq3451[0] = x.Kind != "" - yyq3451[1] = x.APIVersion != "" - yyq3451[2] = true - var yynn3451 int - if yyr3451 || yy2arr3451 { + yysep3442 := !z.EncBinary() + yy2arr3442 := z.EncBasicHandle().StructToArray + var yyq3442 [4]bool + _, _, _ = yysep3442, yyq3442, yy2arr3442 + const yyr3442 bool = false + yyq3442[0] = x.Kind != "" + yyq3442[1] = x.APIVersion != "" + yyq3442[2] = true + var yynn3442 int + if yyr3442 || yy2arr3442 { r.EncodeArrayStart(4) } else { - yynn3451 = 1 - for _, b := range yyq3451 { + yynn3442 = 1 + for _, b := range yyq3442 { if b { - yynn3451++ + yynn3442++ } } - r.EncodeMapStart(yynn3451) - yynn3451 = 0 + r.EncodeMapStart(yynn3442) + yynn3442 = 0 } - if yyr3451 || yy2arr3451 { + if yyr3442 || yy2arr3442 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3451[0] { - yym3453 := z.EncBinary() - _ = yym3453 + if yyq3442[0] { + yym3444 := z.EncBinary() + _ = yym3444 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43905,23 +43823,23 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3451[0] { + if yyq3442[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3454 := z.EncBinary() - _ = yym3454 + yym3445 := z.EncBinary() + _ = yym3445 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3451 || yy2arr3451 { + if yyr3442 || yy2arr3442 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3451[1] { - yym3456 := z.EncBinary() - _ = yym3456 + if yyq3442[1] { + yym3447 := z.EncBinary() + _ = yym3447 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43930,47 +43848,47 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3451[1] { + if yyq3442[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3457 := z.EncBinary() - _ = yym3457 + yym3448 := z.EncBinary() + _ = yym3448 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3451 || yy2arr3451 { + if yyr3442 || yy2arr3442 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3451[2] { - yy3459 := &x.ObjectMeta - yy3459.CodecEncodeSelf(e) + if yyq3442[2] { + yy3450 := &x.ObjectMeta + yy3450.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3451[2] { + if yyq3442[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3460 := &x.ObjectMeta - yy3460.CodecEncodeSelf(e) + yy3451 := &x.ObjectMeta + yy3451.CodecEncodeSelf(e) } } - if yyr3451 || yy2arr3451 { + if yyr3442 || yy2arr3442 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3462 := &x.Target - yy3462.CodecEncodeSelf(e) + yy3453 := &x.Target + yy3453.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3463 := &x.Target - yy3463.CodecEncodeSelf(e) + yy3454 := &x.Target + yy3454.CodecEncodeSelf(e) } - if yyr3451 || yy2arr3451 { + if yyr3442 || yy2arr3442 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43983,25 +43901,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3464 := z.DecBinary() - _ = yym3464 + yym3455 := z.DecBinary() + _ = yym3455 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3465 := r.ContainerType() - if yyct3465 == codecSelferValueTypeMap1234 { - yyl3465 := r.ReadMapStart() - if yyl3465 == 0 { + yyct3456 := r.ContainerType() + if yyct3456 == codecSelferValueTypeMap1234 { + yyl3456 := r.ReadMapStart() + if yyl3456 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3465, d) + x.codecDecodeSelfFromMap(yyl3456, d) } - } else if yyct3465 == codecSelferValueTypeArray1234 { - yyl3465 := r.ReadArrayStart() - if yyl3465 == 0 { + } else if yyct3456 == codecSelferValueTypeArray1234 { + yyl3456 := r.ReadArrayStart() + if yyl3456 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3465, d) + x.codecDecodeSelfFromArray(yyl3456, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44013,12 +43931,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3466Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3466Slc - var yyhl3466 bool = l >= 0 - for yyj3466 := 0; ; yyj3466++ { - if yyhl3466 { - if yyj3466 >= l { + var yys3457Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3457Slc + var yyhl3457 bool = l >= 0 + for yyj3457 := 0; ; yyj3457++ { + if yyhl3457 { + if yyj3457 >= l { break } } else { @@ -44027,10 +43945,10 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3466Slc = r.DecodeBytes(yys3466Slc, true, true) - yys3466 := string(yys3466Slc) + yys3457Slc = r.DecodeBytes(yys3457Slc, true, true) + yys3457 := string(yys3457Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3466 { + switch yys3457 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44047,20 +43965,20 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3469 := &x.ObjectMeta - yyv3469.CodecDecodeSelf(d) + yyv3460 := &x.ObjectMeta + yyv3460.CodecDecodeSelf(d) } case "target": if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3470 := &x.Target - yyv3470.CodecDecodeSelf(d) + yyv3461 := &x.Target + yyv3461.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3466) - } // end switch yys3466 - } // end for yyj3466 + z.DecStructFieldNotFound(-1, yys3457) + } // end switch yys3457 + } // end for yyj3457 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44068,16 +43986,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3471 int - var yyb3471 bool - var yyhl3471 bool = l >= 0 - yyj3471++ - if yyhl3471 { - yyb3471 = yyj3471 > l + var yyj3462 int + var yyb3462 bool + var yyhl3462 bool = l >= 0 + yyj3462++ + if yyhl3462 { + yyb3462 = yyj3462 > l } else { - yyb3471 = r.CheckBreak() + yyb3462 = r.CheckBreak() } - if yyb3471 { + if yyb3462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44087,13 +44005,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3471++ - if yyhl3471 { - yyb3471 = yyj3471 > l + yyj3462++ + if yyhl3462 { + yyb3462 = yyj3462 > l } else { - yyb3471 = r.CheckBreak() + yyb3462 = r.CheckBreak() } - if yyb3471 { + if yyb3462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44103,13 +44021,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3471++ - if yyhl3471 { - yyb3471 = yyj3471 > l + yyj3462++ + if yyhl3462 { + yyb3462 = yyj3462 > l } else { - yyb3471 = r.CheckBreak() + yyb3462 = r.CheckBreak() } - if yyb3471 { + if yyb3462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44117,16 +44035,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3474 := &x.ObjectMeta - yyv3474.CodecDecodeSelf(d) + yyv3465 := &x.ObjectMeta + yyv3465.CodecDecodeSelf(d) } - yyj3471++ - if yyhl3471 { - yyb3471 = yyj3471 > l + yyj3462++ + if yyhl3462 { + yyb3462 = yyj3462 > l } else { - yyb3471 = r.CheckBreak() + yyb3462 = r.CheckBreak() } - if yyb3471 { + if yyb3462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44134,21 +44052,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3475 := &x.Target - yyv3475.CodecDecodeSelf(d) + yyv3466 := &x.Target + yyv3466.CodecDecodeSelf(d) } for { - yyj3471++ - if yyhl3471 { - yyb3471 = yyj3471 > l + yyj3462++ + if yyhl3462 { + yyb3462 = yyj3462 > l } else { - yyb3471 = r.CheckBreak() + yyb3462 = r.CheckBreak() } - if yyb3471 { + if yyb3462 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3471-1, "") + z.DecStructFieldNotFound(yyj3462-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44160,68 +44078,68 @@ func (x *Preconditions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3476 := z.EncBinary() - _ = yym3476 + yym3467 := z.EncBinary() + _ = yym3467 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3477 := !z.EncBinary() - yy2arr3477 := z.EncBasicHandle().StructToArray - var yyq3477 [1]bool - _, _, _ = yysep3477, yyq3477, yy2arr3477 - const yyr3477 bool = false - yyq3477[0] = x.UID != nil - var yynn3477 int - if yyr3477 || yy2arr3477 { + yysep3468 := !z.EncBinary() + yy2arr3468 := z.EncBasicHandle().StructToArray + var yyq3468 [1]bool + _, _, _ = yysep3468, yyq3468, yy2arr3468 + const yyr3468 bool = false + yyq3468[0] = x.UID != nil + var yynn3468 int + if yyr3468 || yy2arr3468 { r.EncodeArrayStart(1) } else { - yynn3477 = 0 - for _, b := range yyq3477 { + yynn3468 = 0 + for _, b := range yyq3468 { if b { - yynn3477++ + yynn3468++ } } - r.EncodeMapStart(yynn3477) - yynn3477 = 0 + r.EncodeMapStart(yynn3468) + yynn3468 = 0 } - if yyr3477 || yy2arr3477 { + if yyr3468 || yy2arr3468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3477[0] { + if yyq3468[0] { if x.UID == nil { r.EncodeNil() } else { - yy3479 := *x.UID - yym3480 := z.EncBinary() - _ = yym3480 + yy3470 := *x.UID + yym3471 := z.EncBinary() + _ = yym3471 if false { - } else if z.HasExtensions() && z.EncExt(yy3479) { + } else if z.HasExtensions() && z.EncExt(yy3470) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3479)) + r.EncodeString(codecSelferC_UTF81234, string(yy3470)) } } } else { r.EncodeNil() } } else { - if yyq3477[0] { + if yyq3468[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UID == nil { r.EncodeNil() } else { - yy3481 := *x.UID - yym3482 := z.EncBinary() - _ = yym3482 + yy3472 := *x.UID + yym3473 := z.EncBinary() + _ = yym3473 if false { - } else if z.HasExtensions() && z.EncExt(yy3481) { + } else if z.HasExtensions() && z.EncExt(yy3472) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3481)) + r.EncodeString(codecSelferC_UTF81234, string(yy3472)) } } } } - if yyr3477 || yy2arr3477 { + if yyr3468 || yy2arr3468 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44234,25 +44152,25 @@ func (x *Preconditions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3483 := z.DecBinary() - _ = yym3483 + yym3474 := z.DecBinary() + _ = yym3474 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3484 := r.ContainerType() - if yyct3484 == codecSelferValueTypeMap1234 { - yyl3484 := r.ReadMapStart() - if yyl3484 == 0 { + yyct3475 := r.ContainerType() + if yyct3475 == codecSelferValueTypeMap1234 { + yyl3475 := r.ReadMapStart() + if yyl3475 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3484, d) + x.codecDecodeSelfFromMap(yyl3475, d) } - } else if yyct3484 == codecSelferValueTypeArray1234 { - yyl3484 := r.ReadArrayStart() - if yyl3484 == 0 { + } else if yyct3475 == codecSelferValueTypeArray1234 { + yyl3475 := r.ReadArrayStart() + if yyl3475 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3484, d) + x.codecDecodeSelfFromArray(yyl3475, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44264,12 +44182,12 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3485Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3485Slc - var yyhl3485 bool = l >= 0 - for yyj3485 := 0; ; yyj3485++ { - if yyhl3485 { - if yyj3485 >= l { + var yys3476Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3476Slc + var yyhl3476 bool = l >= 0 + for yyj3476 := 0; ; yyj3476++ { + if yyhl3476 { + if yyj3476 >= l { break } } else { @@ -44278,10 +44196,10 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3485Slc = r.DecodeBytes(yys3485Slc, true, true) - yys3485 := string(yys3485Slc) + yys3476Slc = r.DecodeBytes(yys3476Slc, true, true) + yys3476 := string(yys3476Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3485 { + switch yys3476 { case "uid": if r.TryDecodeAsNil() { if x.UID != nil { @@ -44291,8 +44209,8 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3487 := z.DecBinary() - _ = yym3487 + yym3478 := z.DecBinary() + _ = yym3478 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -44300,9 +44218,9 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3485) - } // end switch yys3485 - } // end for yyj3485 + z.DecStructFieldNotFound(-1, yys3476) + } // end switch yys3476 + } // end for yyj3476 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44310,16 +44228,16 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3488 int - var yyb3488 bool - var yyhl3488 bool = l >= 0 - yyj3488++ - if yyhl3488 { - yyb3488 = yyj3488 > l + var yyj3479 int + var yyb3479 bool + var yyhl3479 bool = l >= 0 + yyj3479++ + if yyhl3479 { + yyb3479 = yyj3479 > l } else { - yyb3488 = r.CheckBreak() + yyb3479 = r.CheckBreak() } - if yyb3488 { + if yyb3479 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44332,8 +44250,8 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3490 := z.DecBinary() - _ = yym3490 + yym3481 := z.DecBinary() + _ = yym3481 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -44341,17 +44259,17 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj3488++ - if yyhl3488 { - yyb3488 = yyj3488 > l + yyj3479++ + if yyhl3479 { + yyb3479 = yyj3479 > l } else { - yyb3488 = r.CheckBreak() + yyb3479 = r.CheckBreak() } - if yyb3488 { + if yyb3479 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3488-1, "") + z.DecStructFieldNotFound(yyj3479-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44363,39 +44281,39 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3491 := z.EncBinary() - _ = yym3491 + yym3482 := z.EncBinary() + _ = yym3482 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3492 := !z.EncBinary() - yy2arr3492 := z.EncBasicHandle().StructToArray - var yyq3492 [5]bool - _, _, _ = yysep3492, yyq3492, yy2arr3492 - const yyr3492 bool = false - yyq3492[0] = x.Kind != "" - yyq3492[1] = x.APIVersion != "" - yyq3492[2] = x.GracePeriodSeconds != nil - yyq3492[3] = x.Preconditions != nil - yyq3492[4] = x.OrphanDependents != nil - var yynn3492 int - if yyr3492 || yy2arr3492 { + yysep3483 := !z.EncBinary() + yy2arr3483 := z.EncBasicHandle().StructToArray + var yyq3483 [5]bool + _, _, _ = yysep3483, yyq3483, yy2arr3483 + const yyr3483 bool = false + yyq3483[0] = x.Kind != "" + yyq3483[1] = x.APIVersion != "" + yyq3483[2] = x.GracePeriodSeconds != nil + yyq3483[3] = x.Preconditions != nil + yyq3483[4] = x.OrphanDependents != nil + var yynn3483 int + if yyr3483 || yy2arr3483 { r.EncodeArrayStart(5) } else { - yynn3492 = 0 - for _, b := range yyq3492 { + yynn3483 = 0 + for _, b := range yyq3483 { if b { - yynn3492++ + yynn3483++ } } - r.EncodeMapStart(yynn3492) - yynn3492 = 0 + r.EncodeMapStart(yynn3483) + yynn3483 = 0 } - if yyr3492 || yy2arr3492 { + if yyr3483 || yy2arr3483 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3492[0] { - yym3494 := z.EncBinary() - _ = yym3494 + if yyq3483[0] { + yym3485 := z.EncBinary() + _ = yym3485 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44404,23 +44322,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3492[0] { + if yyq3483[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3495 := z.EncBinary() - _ = yym3495 + yym3486 := z.EncBinary() + _ = yym3486 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3492 || yy2arr3492 { + if yyr3483 || yy2arr3483 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3492[1] { - yym3497 := z.EncBinary() - _ = yym3497 + if yyq3483[1] { + yym3488 := z.EncBinary() + _ = yym3488 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44429,56 +44347,56 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3492[1] { + if yyq3483[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3498 := z.EncBinary() - _ = yym3498 + yym3489 := z.EncBinary() + _ = yym3489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3492 || yy2arr3492 { + if yyr3483 || yy2arr3483 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3492[2] { + if yyq3483[2] { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3500 := *x.GracePeriodSeconds - yym3501 := z.EncBinary() - _ = yym3501 + yy3491 := *x.GracePeriodSeconds + yym3492 := z.EncBinary() + _ = yym3492 if false { } else { - r.EncodeInt(int64(yy3500)) + r.EncodeInt(int64(yy3491)) } } } else { r.EncodeNil() } } else { - if yyq3492[2] { + if yyq3483[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3502 := *x.GracePeriodSeconds - yym3503 := z.EncBinary() - _ = yym3503 + yy3493 := *x.GracePeriodSeconds + yym3494 := z.EncBinary() + _ = yym3494 if false { } else { - r.EncodeInt(int64(yy3502)) + r.EncodeInt(int64(yy3493)) } } } } - if yyr3492 || yy2arr3492 { + if yyr3483 || yy2arr3483 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3492[3] { + if yyq3483[3] { if x.Preconditions == nil { r.EncodeNil() } else { @@ -44488,7 +44406,7 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3492[3] { + if yyq3483[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preconditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -44499,42 +44417,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3492 || yy2arr3492 { + if yyr3483 || yy2arr3483 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3492[4] { + if yyq3483[4] { if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3506 := *x.OrphanDependents - yym3507 := z.EncBinary() - _ = yym3507 + yy3497 := *x.OrphanDependents + yym3498 := z.EncBinary() + _ = yym3498 if false { } else { - r.EncodeBool(bool(yy3506)) + r.EncodeBool(bool(yy3497)) } } } else { r.EncodeNil() } } else { - if yyq3492[4] { + if yyq3483[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("orphanDependents")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3508 := *x.OrphanDependents - yym3509 := z.EncBinary() - _ = yym3509 + yy3499 := *x.OrphanDependents + yym3500 := z.EncBinary() + _ = yym3500 if false { } else { - r.EncodeBool(bool(yy3508)) + r.EncodeBool(bool(yy3499)) } } } } - if yyr3492 || yy2arr3492 { + if yyr3483 || yy2arr3483 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44547,25 +44465,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3510 := z.DecBinary() - _ = yym3510 + yym3501 := z.DecBinary() + _ = yym3501 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3511 := r.ContainerType() - if yyct3511 == codecSelferValueTypeMap1234 { - yyl3511 := r.ReadMapStart() - if yyl3511 == 0 { + yyct3502 := r.ContainerType() + if yyct3502 == codecSelferValueTypeMap1234 { + yyl3502 := r.ReadMapStart() + if yyl3502 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3511, d) + x.codecDecodeSelfFromMap(yyl3502, d) } - } else if yyct3511 == codecSelferValueTypeArray1234 { - yyl3511 := r.ReadArrayStart() - if yyl3511 == 0 { + } else if yyct3502 == codecSelferValueTypeArray1234 { + yyl3502 := r.ReadArrayStart() + if yyl3502 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3511, d) + x.codecDecodeSelfFromArray(yyl3502, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44577,12 +44495,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3512Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3512Slc - var yyhl3512 bool = l >= 0 - for yyj3512 := 0; ; yyj3512++ { - if yyhl3512 { - if yyj3512 >= l { + var yys3503Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3503Slc + var yyhl3503 bool = l >= 0 + for yyj3503 := 0; ; yyj3503++ { + if yyhl3503 { + if yyj3503 >= l { break } } else { @@ -44591,10 +44509,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3512Slc = r.DecodeBytes(yys3512Slc, true, true) - yys3512 := string(yys3512Slc) + yys3503Slc = r.DecodeBytes(yys3503Slc, true, true) + yys3503 := string(yys3503Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3512 { + switch yys3503 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44616,8 +44534,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3516 := z.DecBinary() - _ = yym3516 + yym3507 := z.DecBinary() + _ = yym3507 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -44643,17 +44561,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3519 := z.DecBinary() - _ = yym3519 + yym3510 := z.DecBinary() + _ = yym3510 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3512) - } // end switch yys3512 - } // end for yyj3512 + z.DecStructFieldNotFound(-1, yys3503) + } // end switch yys3503 + } // end for yyj3503 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44661,16 +44579,16 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3520 int - var yyb3520 bool - var yyhl3520 bool = l >= 0 - yyj3520++ - if yyhl3520 { - yyb3520 = yyj3520 > l + var yyj3511 int + var yyb3511 bool + var yyhl3511 bool = l >= 0 + yyj3511++ + if yyhl3511 { + yyb3511 = yyj3511 > l } else { - yyb3520 = r.CheckBreak() + yyb3511 = r.CheckBreak() } - if yyb3520 { + if yyb3511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44680,13 +44598,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3520++ - if yyhl3520 { - yyb3520 = yyj3520 > l + yyj3511++ + if yyhl3511 { + yyb3511 = yyj3511 > l } else { - yyb3520 = r.CheckBreak() + yyb3511 = r.CheckBreak() } - if yyb3520 { + if yyb3511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44696,13 +44614,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3520++ - if yyhl3520 { - yyb3520 = yyj3520 > l + yyj3511++ + if yyhl3511 { + yyb3511 = yyj3511 > l } else { - yyb3520 = r.CheckBreak() + yyb3511 = r.CheckBreak() } - if yyb3520 { + if yyb3511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44715,20 +44633,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3524 := z.DecBinary() - _ = yym3524 + yym3515 := z.DecBinary() + _ = yym3515 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj3520++ - if yyhl3520 { - yyb3520 = yyj3520 > l + yyj3511++ + if yyhl3511 { + yyb3511 = yyj3511 > l } else { - yyb3520 = r.CheckBreak() + yyb3511 = r.CheckBreak() } - if yyb3520 { + if yyb3511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44743,13 +44661,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Preconditions.CodecDecodeSelf(d) } - yyj3520++ - if yyhl3520 { - yyb3520 = yyj3520 > l + yyj3511++ + if yyhl3511 { + yyb3511 = yyj3511 > l } else { - yyb3520 = r.CheckBreak() + yyb3511 = r.CheckBreak() } - if yyb3520 { + if yyb3511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44762,25 +44680,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3527 := z.DecBinary() - _ = yym3527 + yym3518 := z.DecBinary() + _ = yym3518 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } for { - yyj3520++ - if yyhl3520 { - yyb3520 = yyj3520 > l + yyj3511++ + if yyhl3511 { + yyb3511 = yyj3511 > l } else { - yyb3520 = r.CheckBreak() + yyb3511 = r.CheckBreak() } - if yyb3520 { + if yyb3511 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3520-1, "") + z.DecStructFieldNotFound(yyj3511-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44792,36 +44710,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3528 := z.EncBinary() - _ = yym3528 + yym3519 := z.EncBinary() + _ = yym3519 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3529 := !z.EncBinary() - yy2arr3529 := z.EncBasicHandle().StructToArray - var yyq3529 [4]bool - _, _, _ = yysep3529, yyq3529, yy2arr3529 - const yyr3529 bool = false - yyq3529[0] = x.Kind != "" - yyq3529[1] = x.APIVersion != "" - var yynn3529 int - if yyr3529 || yy2arr3529 { + yysep3520 := !z.EncBinary() + yy2arr3520 := z.EncBasicHandle().StructToArray + var yyq3520 [4]bool + _, _, _ = yysep3520, yyq3520, yy2arr3520 + const yyr3520 bool = false + yyq3520[0] = x.Kind != "" + yyq3520[1] = x.APIVersion != "" + var yynn3520 int + if yyr3520 || yy2arr3520 { r.EncodeArrayStart(4) } else { - yynn3529 = 2 - for _, b := range yyq3529 { + yynn3520 = 2 + for _, b := range yyq3520 { if b { - yynn3529++ + yynn3520++ } } - r.EncodeMapStart(yynn3529) - yynn3529 = 0 + r.EncodeMapStart(yynn3520) + yynn3520 = 0 } - if yyr3529 || yy2arr3529 { + if yyr3520 || yy2arr3520 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3529[0] { - yym3531 := z.EncBinary() - _ = yym3531 + if yyq3520[0] { + yym3522 := z.EncBinary() + _ = yym3522 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44830,23 +44748,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3529[0] { + if yyq3520[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3532 := z.EncBinary() - _ = yym3532 + yym3523 := z.EncBinary() + _ = yym3523 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3529 || yy2arr3529 { + if yyr3520 || yy2arr3520 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3529[1] { - yym3534 := z.EncBinary() - _ = yym3534 + if yyq3520[1] { + yym3525 := z.EncBinary() + _ = yym3525 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44855,22 +44773,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3529[1] { + if yyq3520[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3535 := z.EncBinary() - _ = yym3535 + yym3526 := z.EncBinary() + _ = yym3526 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3529 || yy2arr3529 { + if yyr3520 || yy2arr3520 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3537 := z.EncBinary() - _ = yym3537 + yym3528 := z.EncBinary() + _ = yym3528 if false { } else { r.EncodeBool(bool(x.Export)) @@ -44879,17 +44797,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3538 := z.EncBinary() - _ = yym3538 + yym3529 := z.EncBinary() + _ = yym3529 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr3529 || yy2arr3529 { + if yyr3520 || yy2arr3520 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3540 := z.EncBinary() - _ = yym3540 + yym3531 := z.EncBinary() + _ = yym3531 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -44898,14 +44816,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3541 := z.EncBinary() - _ = yym3541 + yym3532 := z.EncBinary() + _ = yym3532 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr3529 || yy2arr3529 { + if yyr3520 || yy2arr3520 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44918,25 +44836,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3542 := z.DecBinary() - _ = yym3542 + yym3533 := z.DecBinary() + _ = yym3533 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3543 := r.ContainerType() - if yyct3543 == codecSelferValueTypeMap1234 { - yyl3543 := r.ReadMapStart() - if yyl3543 == 0 { + yyct3534 := r.ContainerType() + if yyct3534 == codecSelferValueTypeMap1234 { + yyl3534 := r.ReadMapStart() + if yyl3534 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3543, d) + x.codecDecodeSelfFromMap(yyl3534, d) } - } else if yyct3543 == codecSelferValueTypeArray1234 { - yyl3543 := r.ReadArrayStart() - if yyl3543 == 0 { + } else if yyct3534 == codecSelferValueTypeArray1234 { + yyl3534 := r.ReadArrayStart() + if yyl3534 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3543, d) + x.codecDecodeSelfFromArray(yyl3534, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44948,12 +44866,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3544Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3544Slc - var yyhl3544 bool = l >= 0 - for yyj3544 := 0; ; yyj3544++ { - if yyhl3544 { - if yyj3544 >= l { + var yys3535Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3535Slc + var yyhl3535 bool = l >= 0 + for yyj3535 := 0; ; yyj3535++ { + if yyhl3535 { + if yyj3535 >= l { break } } else { @@ -44962,10 +44880,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3544Slc = r.DecodeBytes(yys3544Slc, true, true) - yys3544 := string(yys3544Slc) + yys3535Slc = r.DecodeBytes(yys3535Slc, true, true) + yys3535 := string(yys3535Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3544 { + switch yys3535 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44991,9 +44909,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3544) - } // end switch yys3544 - } // end for yyj3544 + z.DecStructFieldNotFound(-1, yys3535) + } // end switch yys3535 + } // end for yyj3535 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45001,16 +44919,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3549 int - var yyb3549 bool - var yyhl3549 bool = l >= 0 - yyj3549++ - if yyhl3549 { - yyb3549 = yyj3549 > l + var yyj3540 int + var yyb3540 bool + var yyhl3540 bool = l >= 0 + yyj3540++ + if yyhl3540 { + yyb3540 = yyj3540 > l } else { - yyb3549 = r.CheckBreak() + yyb3540 = r.CheckBreak() } - if yyb3549 { + if yyb3540 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45020,13 +44938,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3549++ - if yyhl3549 { - yyb3549 = yyj3549 > l + yyj3540++ + if yyhl3540 { + yyb3540 = yyj3540 > l } else { - yyb3549 = r.CheckBreak() + yyb3540 = r.CheckBreak() } - if yyb3549 { + if yyb3540 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45036,13 +44954,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3549++ - if yyhl3549 { - yyb3549 = yyj3549 > l + yyj3540++ + if yyhl3540 { + yyb3540 = yyj3540 > l } else { - yyb3549 = r.CheckBreak() + yyb3540 = r.CheckBreak() } - if yyb3549 { + if yyb3540 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45052,13 +44970,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj3549++ - if yyhl3549 { - yyb3549 = yyj3549 > l + yyj3540++ + if yyhl3540 { + yyb3540 = yyj3540 > l } else { - yyb3549 = r.CheckBreak() + yyb3540 = r.CheckBreak() } - if yyb3549 { + if yyb3540 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45069,17 +44987,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj3549++ - if yyhl3549 { - yyb3549 = yyj3549 > l + yyj3540++ + if yyhl3540 { + yyb3540 = yyj3540 > l } else { - yyb3549 = r.CheckBreak() + yyb3540 = r.CheckBreak() } - if yyb3549 { + if yyb3540 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3549-1, "") + z.DecStructFieldNotFound(yyj3540-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45091,36 +45009,36 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3554 := z.EncBinary() - _ = yym3554 + yym3545 := z.EncBinary() + _ = yym3545 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3555 := !z.EncBinary() - yy2arr3555 := z.EncBasicHandle().StructToArray - var yyq3555 [7]bool - _, _, _ = yysep3555, yyq3555, yy2arr3555 - const yyr3555 bool = false - yyq3555[0] = x.Kind != "" - yyq3555[1] = x.APIVersion != "" - var yynn3555 int - if yyr3555 || yy2arr3555 { + yysep3546 := !z.EncBinary() + yy2arr3546 := z.EncBasicHandle().StructToArray + var yyq3546 [7]bool + _, _, _ = yysep3546, yyq3546, yy2arr3546 + const yyr3546 bool = false + yyq3546[0] = x.Kind != "" + yyq3546[1] = x.APIVersion != "" + var yynn3546 int + if yyr3546 || yy2arr3546 { r.EncodeArrayStart(7) } else { - yynn3555 = 5 - for _, b := range yyq3555 { + yynn3546 = 5 + for _, b := range yyq3546 { if b { - yynn3555++ + yynn3546++ } } - r.EncodeMapStart(yynn3555) - yynn3555 = 0 + r.EncodeMapStart(yynn3546) + yynn3546 = 0 } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3555[0] { - yym3557 := z.EncBinary() - _ = yym3557 + if yyq3546[0] { + yym3548 := z.EncBinary() + _ = yym3548 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45129,23 +45047,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3555[0] { + if yyq3546[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3558 := z.EncBinary() - _ = yym3558 + yym3549 := z.EncBinary() + _ = yym3549 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3555[1] { - yym3560 := z.EncBinary() - _ = yym3560 + if yyq3546[1] { + yym3551 := z.EncBinary() + _ = yym3551 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45154,25 +45072,25 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3555[1] { + if yyq3546[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3561 := z.EncBinary() - _ = yym3561 + yym3552 := z.EncBinary() + _ = yym3552 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym3563 := z.EncBinary() - _ = yym3563 + yym3554 := z.EncBinary() + _ = yym3554 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -45186,8 +45104,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LabelSelector == nil { r.EncodeNil() } else { - yym3564 := z.EncBinary() - _ = yym3564 + yym3555 := z.EncBinary() + _ = yym3555 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -45195,13 +45113,13 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.FieldSelector == nil { r.EncodeNil() } else { - yym3566 := z.EncBinary() - _ = yym3566 + yym3557 := z.EncBinary() + _ = yym3557 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -45215,8 +45133,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.FieldSelector == nil { r.EncodeNil() } else { - yym3567 := z.EncBinary() - _ = yym3567 + yym3558 := z.EncBinary() + _ = yym3558 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -45224,10 +45142,10 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3569 := z.EncBinary() - _ = yym3569 + yym3560 := z.EncBinary() + _ = yym3560 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -45236,17 +45154,17 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3570 := z.EncBinary() - _ = yym3570 + yym3561 := z.EncBinary() + _ = yym3561 if false { } else { r.EncodeBool(bool(x.Watch)) } } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3572 := z.EncBinary() - _ = yym3572 + yym3563 := z.EncBinary() + _ = yym3563 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -45255,24 +45173,24 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ResourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3573 := z.EncBinary() - _ = yym3573 + yym3564 := z.EncBinary() + _ = yym3564 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3575 := *x.TimeoutSeconds - yym3576 := z.EncBinary() - _ = yym3576 + yy3566 := *x.TimeoutSeconds + yym3567 := z.EncBinary() + _ = yym3567 if false { } else { - r.EncodeInt(int64(yy3575)) + r.EncodeInt(int64(yy3566)) } } } else { @@ -45282,16 +45200,16 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3577 := *x.TimeoutSeconds - yym3578 := z.EncBinary() - _ = yym3578 + yy3568 := *x.TimeoutSeconds + yym3569 := z.EncBinary() + _ = yym3569 if false { } else { - r.EncodeInt(int64(yy3577)) + r.EncodeInt(int64(yy3568)) } } } - if yyr3555 || yy2arr3555 { + if yyr3546 || yy2arr3546 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45304,25 +45222,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3579 := z.DecBinary() - _ = yym3579 + yym3570 := z.DecBinary() + _ = yym3570 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3580 := r.ContainerType() - if yyct3580 == codecSelferValueTypeMap1234 { - yyl3580 := r.ReadMapStart() - if yyl3580 == 0 { + yyct3571 := r.ContainerType() + if yyct3571 == codecSelferValueTypeMap1234 { + yyl3571 := r.ReadMapStart() + if yyl3571 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3580, d) + x.codecDecodeSelfFromMap(yyl3571, d) } - } else if yyct3580 == codecSelferValueTypeArray1234 { - yyl3580 := r.ReadArrayStart() - if yyl3580 == 0 { + } else if yyct3571 == codecSelferValueTypeArray1234 { + yyl3571 := r.ReadArrayStart() + if yyl3571 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3580, d) + x.codecDecodeSelfFromArray(yyl3571, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45334,12 +45252,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3581Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3581Slc - var yyhl3581 bool = l >= 0 - for yyj3581 := 0; ; yyj3581++ { - if yyhl3581 { - if yyj3581 >= l { + var yys3572Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3572Slc + var yyhl3572 bool = l >= 0 + for yyj3572 := 0; ; yyj3572++ { + if yyhl3572 { + if yyj3572 >= l { break } } else { @@ -45348,10 +45266,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3581Slc = r.DecodeBytes(yys3581Slc, true, true) - yys3581 := string(yys3581Slc) + yys3572Slc = r.DecodeBytes(yys3572Slc, true, true) + yys3572 := string(yys3572Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3581 { + switch yys3572 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45368,26 +45286,26 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv3584 := &x.LabelSelector - yym3585 := z.DecBinary() - _ = yym3585 + yyv3575 := &x.LabelSelector + yym3576 := z.DecBinary() + _ = yym3576 if false { - } else if z.HasExtensions() && z.DecExt(yyv3584) { + } else if z.HasExtensions() && z.DecExt(yyv3575) { } else { - z.DecFallback(yyv3584, true) + z.DecFallback(yyv3575, true) } } case "FieldSelector": if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv3586 := &x.FieldSelector - yym3587 := z.DecBinary() - _ = yym3587 + yyv3577 := &x.FieldSelector + yym3578 := z.DecBinary() + _ = yym3578 if false { - } else if z.HasExtensions() && z.DecExt(yyv3586) { + } else if z.HasExtensions() && z.DecExt(yyv3577) { } else { - z.DecFallback(yyv3586, true) + z.DecFallback(yyv3577, true) } } case "Watch": @@ -45411,17 +45329,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3591 := z.DecBinary() - _ = yym3591 + yym3582 := z.DecBinary() + _ = yym3582 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3581) - } // end switch yys3581 - } // end for yyj3581 + z.DecStructFieldNotFound(-1, yys3572) + } // end switch yys3572 + } // end for yyj3572 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45429,16 +45347,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3592 int - var yyb3592 bool - var yyhl3592 bool = l >= 0 - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + var yyj3583 int + var yyb3583 bool + var yyhl3583 bool = l >= 0 + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45448,13 +45366,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45464,13 +45382,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45478,22 +45396,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv3595 := &x.LabelSelector - yym3596 := z.DecBinary() - _ = yym3596 + yyv3586 := &x.LabelSelector + yym3587 := z.DecBinary() + _ = yym3587 if false { - } else if z.HasExtensions() && z.DecExt(yyv3595) { + } else if z.HasExtensions() && z.DecExt(yyv3586) { } else { - z.DecFallback(yyv3595, true) + z.DecFallback(yyv3586, true) } } - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45501,22 +45419,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv3597 := &x.FieldSelector - yym3598 := z.DecBinary() - _ = yym3598 + yyv3588 := &x.FieldSelector + yym3589 := z.DecBinary() + _ = yym3589 if false { - } else if z.HasExtensions() && z.DecExt(yyv3597) { + } else if z.HasExtensions() && z.DecExt(yyv3588) { } else { - z.DecFallback(yyv3597, true) + z.DecFallback(yyv3588, true) } } - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45526,13 +45444,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45542,13 +45460,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45561,25 +45479,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3602 := z.DecBinary() - _ = yym3602 + yym3593 := z.DecBinary() + _ = yym3593 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj3592++ - if yyhl3592 { - yyb3592 = yyj3592 > l + yyj3583++ + if yyhl3583 { + yyb3583 = yyj3583 > l } else { - yyb3592 = r.CheckBreak() + yyb3583 = r.CheckBreak() } - if yyb3592 { + if yyb3583 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3592-1, "") + z.DecStructFieldNotFound(yyj3583-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45591,36 +45509,36 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3603 := z.EncBinary() - _ = yym3603 + yym3594 := z.EncBinary() + _ = yym3594 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3604 := !z.EncBinary() - yy2arr3604 := z.EncBasicHandle().StructToArray - var yyq3604 [10]bool - _, _, _ = yysep3604, yyq3604, yy2arr3604 - const yyr3604 bool = false - yyq3604[0] = x.Kind != "" - yyq3604[1] = x.APIVersion != "" - var yynn3604 int - if yyr3604 || yy2arr3604 { + yysep3595 := !z.EncBinary() + yy2arr3595 := z.EncBasicHandle().StructToArray + var yyq3595 [10]bool + _, _, _ = yysep3595, yyq3595, yy2arr3595 + const yyr3595 bool = false + yyq3595[0] = x.Kind != "" + yyq3595[1] = x.APIVersion != "" + var yynn3595 int + if yyr3595 || yy2arr3595 { r.EncodeArrayStart(10) } else { - yynn3604 = 8 - for _, b := range yyq3604 { + yynn3595 = 8 + for _, b := range yyq3595 { if b { - yynn3604++ + yynn3595++ } } - r.EncodeMapStart(yynn3604) - yynn3604 = 0 + r.EncodeMapStart(yynn3595) + yynn3595 = 0 } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3604[0] { - yym3606 := z.EncBinary() - _ = yym3606 + if yyq3595[0] { + yym3597 := z.EncBinary() + _ = yym3597 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45629,23 +45547,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3604[0] { + if yyq3595[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3607 := z.EncBinary() - _ = yym3607 + yym3598 := z.EncBinary() + _ = yym3598 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3604[1] { - yym3609 := z.EncBinary() - _ = yym3609 + if yyq3595[1] { + yym3600 := z.EncBinary() + _ = yym3600 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45654,22 +45572,22 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3604[1] { + if yyq3595[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3610 := z.EncBinary() - _ = yym3610 + yym3601 := z.EncBinary() + _ = yym3601 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3612 := z.EncBinary() - _ = yym3612 + yym3603 := z.EncBinary() + _ = yym3603 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -45678,17 +45596,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3613 := z.EncBinary() - _ = yym3613 + yym3604 := z.EncBinary() + _ = yym3604 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3615 := z.EncBinary() - _ = yym3615 + yym3606 := z.EncBinary() + _ = yym3606 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -45697,17 +45615,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3616 := z.EncBinary() - _ = yym3616 + yym3607 := z.EncBinary() + _ = yym3607 if false { } else { r.EncodeBool(bool(x.Follow)) } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3618 := z.EncBinary() - _ = yym3618 + yym3609 := z.EncBinary() + _ = yym3609 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -45716,24 +45634,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3619 := z.EncBinary() - _ = yym3619 + yym3610 := z.EncBinary() + _ = yym3610 if false { } else { r.EncodeBool(bool(x.Previous)) } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3621 := *x.SinceSeconds - yym3622 := z.EncBinary() - _ = yym3622 + yy3612 := *x.SinceSeconds + yym3613 := z.EncBinary() + _ = yym3613 if false { } else { - r.EncodeInt(int64(yy3621)) + r.EncodeInt(int64(yy3612)) } } } else { @@ -45743,27 +45661,27 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3623 := *x.SinceSeconds - yym3624 := z.EncBinary() - _ = yym3624 + yy3614 := *x.SinceSeconds + yym3615 := z.EncBinary() + _ = yym3615 if false { } else { - r.EncodeInt(int64(yy3623)) + r.EncodeInt(int64(yy3614)) } } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym3626 := z.EncBinary() - _ = yym3626 + yym3617 := z.EncBinary() + _ = yym3617 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3626 { + } else if yym3617 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym3626 && z.IsJSONHandle() { + } else if !yym3617 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -45776,23 +45694,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceTime == nil { r.EncodeNil() } else { - yym3627 := z.EncBinary() - _ = yym3627 + yym3618 := z.EncBinary() + _ = yym3618 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3627 { + } else if yym3618 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym3627 && z.IsJSONHandle() { + } else if !yym3618 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) } } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3629 := z.EncBinary() - _ = yym3629 + yym3620 := z.EncBinary() + _ = yym3620 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -45801,24 +45719,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3630 := z.EncBinary() - _ = yym3630 + yym3621 := z.EncBinary() + _ = yym3621 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TailLines == nil { r.EncodeNil() } else { - yy3632 := *x.TailLines - yym3633 := z.EncBinary() - _ = yym3633 + yy3623 := *x.TailLines + yym3624 := z.EncBinary() + _ = yym3624 if false { } else { - r.EncodeInt(int64(yy3632)) + r.EncodeInt(int64(yy3623)) } } } else { @@ -45828,26 +45746,26 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TailLines == nil { r.EncodeNil() } else { - yy3634 := *x.TailLines - yym3635 := z.EncBinary() - _ = yym3635 + yy3625 := *x.TailLines + yym3626 := z.EncBinary() + _ = yym3626 if false { } else { - r.EncodeInt(int64(yy3634)) + r.EncodeInt(int64(yy3625)) } } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy3637 := *x.LimitBytes - yym3638 := z.EncBinary() - _ = yym3638 + yy3628 := *x.LimitBytes + yym3629 := z.EncBinary() + _ = yym3629 if false { } else { - r.EncodeInt(int64(yy3637)) + r.EncodeInt(int64(yy3628)) } } } else { @@ -45857,16 +45775,16 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LimitBytes == nil { r.EncodeNil() } else { - yy3639 := *x.LimitBytes - yym3640 := z.EncBinary() - _ = yym3640 + yy3630 := *x.LimitBytes + yym3631 := z.EncBinary() + _ = yym3631 if false { } else { - r.EncodeInt(int64(yy3639)) + r.EncodeInt(int64(yy3630)) } } } - if yyr3604 || yy2arr3604 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45879,25 +45797,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3641 := z.DecBinary() - _ = yym3641 + yym3632 := z.DecBinary() + _ = yym3632 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3642 := r.ContainerType() - if yyct3642 == codecSelferValueTypeMap1234 { - yyl3642 := r.ReadMapStart() - if yyl3642 == 0 { + yyct3633 := r.ContainerType() + if yyct3633 == codecSelferValueTypeMap1234 { + yyl3633 := r.ReadMapStart() + if yyl3633 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3642, d) + x.codecDecodeSelfFromMap(yyl3633, d) } - } else if yyct3642 == codecSelferValueTypeArray1234 { - yyl3642 := r.ReadArrayStart() - if yyl3642 == 0 { + } else if yyct3633 == codecSelferValueTypeArray1234 { + yyl3633 := r.ReadArrayStart() + if yyl3633 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3642, d) + x.codecDecodeSelfFromArray(yyl3633, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45909,12 +45827,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3643Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3643Slc - var yyhl3643 bool = l >= 0 - for yyj3643 := 0; ; yyj3643++ { - if yyhl3643 { - if yyj3643 >= l { + var yys3634Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3634Slc + var yyhl3634 bool = l >= 0 + for yyj3634 := 0; ; yyj3634++ { + if yyhl3634 { + if yyj3634 >= l { break } } else { @@ -45923,10 +45841,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3643Slc = r.DecodeBytes(yys3643Slc, true, true) - yys3643 := string(yys3643Slc) + yys3634Slc = r.DecodeBytes(yys3634Slc, true, true) + yys3634 := string(yys3634Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3643 { + switch yys3634 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45966,8 +45884,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3650 := z.DecBinary() - _ = yym3650 + yym3641 := z.DecBinary() + _ = yym3641 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -45982,13 +45900,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym3652 := z.DecBinary() - _ = yym3652 + yym3643 := z.DecBinary() + _ = yym3643 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3652 { + } else if yym3643 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3652 && z.IsJSONHandle() { + } else if !yym3643 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -46009,8 +45927,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3655 := z.DecBinary() - _ = yym3655 + yym3646 := z.DecBinary() + _ = yym3646 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -46025,17 +45943,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3657 := z.DecBinary() - _ = yym3657 + yym3648 := z.DecBinary() + _ = yym3648 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3643) - } // end switch yys3643 - } // end for yyj3643 + z.DecStructFieldNotFound(-1, yys3634) + } // end switch yys3634 + } // end for yyj3634 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46043,16 +45961,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3658 int - var yyb3658 bool - var yyhl3658 bool = l >= 0 - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + var yyj3649 int + var yyb3649 bool + var yyhl3649 bool = l >= 0 + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46062,13 +45980,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46078,13 +45996,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46094,13 +46012,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46110,13 +46028,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46126,13 +46044,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46145,20 +46063,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3665 := z.DecBinary() - _ = yym3665 + yym3656 := z.DecBinary() + _ = yym3656 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46171,25 +46089,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym3667 := z.DecBinary() - _ = yym3667 + yym3658 := z.DecBinary() + _ = yym3658 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3667 { + } else if yym3658 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3667 && z.IsJSONHandle() { + } else if !yym3658 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46199,13 +46117,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46218,20 +46136,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3670 := z.DecBinary() - _ = yym3670 + yym3661 := z.DecBinary() + _ = yym3661 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46244,25 +46162,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3672 := z.DecBinary() - _ = yym3672 + yym3663 := z.DecBinary() + _ = yym3663 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj3658++ - if yyhl3658 { - yyb3658 = yyj3658 > l + yyj3649++ + if yyhl3649 { + yyb3649 = yyj3649 > l } else { - yyb3658 = r.CheckBreak() + yyb3649 = r.CheckBreak() } - if yyb3658 { + if yyb3649 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3658-1, "") + z.DecStructFieldNotFound(yyj3649-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46274,41 +46192,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3673 := z.EncBinary() - _ = yym3673 + yym3664 := z.EncBinary() + _ = yym3664 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3674 := !z.EncBinary() - yy2arr3674 := z.EncBasicHandle().StructToArray - var yyq3674 [7]bool - _, _, _ = yysep3674, yyq3674, yy2arr3674 - const yyr3674 bool = false - yyq3674[0] = x.Kind != "" - yyq3674[1] = x.APIVersion != "" - yyq3674[2] = x.Stdin != false - yyq3674[3] = x.Stdout != false - yyq3674[4] = x.Stderr != false - yyq3674[5] = x.TTY != false - yyq3674[6] = x.Container != "" - var yynn3674 int - if yyr3674 || yy2arr3674 { + yysep3665 := !z.EncBinary() + yy2arr3665 := z.EncBasicHandle().StructToArray + var yyq3665 [7]bool + _, _, _ = yysep3665, yyq3665, yy2arr3665 + const yyr3665 bool = false + yyq3665[0] = x.Kind != "" + yyq3665[1] = x.APIVersion != "" + yyq3665[2] = x.Stdin != false + yyq3665[3] = x.Stdout != false + yyq3665[4] = x.Stderr != false + yyq3665[5] = x.TTY != false + yyq3665[6] = x.Container != "" + var yynn3665 int + if yyr3665 || yy2arr3665 { r.EncodeArrayStart(7) } else { - yynn3674 = 0 - for _, b := range yyq3674 { + yynn3665 = 0 + for _, b := range yyq3665 { if b { - yynn3674++ + yynn3665++ } } - r.EncodeMapStart(yynn3674) - yynn3674 = 0 + r.EncodeMapStart(yynn3665) + yynn3665 = 0 } - if yyr3674 || yy2arr3674 { + if yyr3665 || yy2arr3665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3674[0] { - yym3676 := z.EncBinary() - _ = yym3676 + if yyq3665[0] { + yym3667 := z.EncBinary() + _ = yym3667 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46317,149 +46235,149 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3674[0] { + if yyq3665[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3668 := z.EncBinary() + _ = yym3668 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3665 || yy2arr3665 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3665[1] { + yym3670 := z.EncBinary() + _ = yym3670 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3665[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3671 := z.EncBinary() + _ = yym3671 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3665 || yy2arr3665 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3665[2] { + yym3673 := z.EncBinary() + _ = yym3673 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3665[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdin")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3674 := z.EncBinary() + _ = yym3674 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } + } + if yyr3665 || yy2arr3665 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3665[3] { + yym3676 := z.EncBinary() + _ = yym3676 + if false { + } else { + r.EncodeBool(bool(x.Stdout)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3665[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdout")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3677 := z.EncBinary() _ = yym3677 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeBool(bool(x.Stdout)) } } } - if yyr3674 || yy2arr3674 { + if yyr3665 || yy2arr3665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3674[1] { + if yyq3665[4] { yym3679 := z.EncBinary() _ = yym3679 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeBool(bool(x.Stderr)) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeBool(false) } } else { - if yyq3674[1] { + if yyq3665[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3680 := z.EncBinary() _ = yym3680 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeBool(bool(x.Stderr)) } } } - if yyr3674 || yy2arr3674 { + if yyr3665 || yy2arr3665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3674[2] { + if yyq3665[5] { yym3682 := z.EncBinary() _ = yym3682 if false { } else { - r.EncodeBool(bool(x.Stdin)) + r.EncodeBool(bool(x.TTY)) } } else { r.EncodeBool(false) } } else { - if yyq3674[2] { + if yyq3665[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdin")) + r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3683 := z.EncBinary() _ = yym3683 if false { } else { - r.EncodeBool(bool(x.Stdin)) + r.EncodeBool(bool(x.TTY)) } } } - if yyr3674 || yy2arr3674 { + if yyr3665 || yy2arr3665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3674[3] { + if yyq3665[6] { yym3685 := z.EncBinary() _ = yym3685 if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3674[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3686 := z.EncBinary() - _ = yym3686 - if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } - } - if yyr3674 || yy2arr3674 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3674[4] { - yym3688 := z.EncBinary() - _ = yym3688 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3674[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stderr")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3689 := z.EncBinary() - _ = yym3689 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } - } - if yyr3674 || yy2arr3674 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3674[5] { - yym3691 := z.EncBinary() - _ = yym3691 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3674[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tty")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3692 := z.EncBinary() - _ = yym3692 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } - } - if yyr3674 || yy2arr3674 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3674[6] { - yym3694 := z.EncBinary() - _ = yym3694 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } @@ -46467,19 +46385,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3674[6] { + if yyq3665[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3695 := z.EncBinary() - _ = yym3695 + yym3686 := z.EncBinary() + _ = yym3686 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3674 || yy2arr3674 { + if yyr3665 || yy2arr3665 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46492,25 +46410,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3696 := z.DecBinary() - _ = yym3696 + yym3687 := z.DecBinary() + _ = yym3687 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3697 := r.ContainerType() - if yyct3697 == codecSelferValueTypeMap1234 { - yyl3697 := r.ReadMapStart() - if yyl3697 == 0 { + yyct3688 := r.ContainerType() + if yyct3688 == codecSelferValueTypeMap1234 { + yyl3688 := r.ReadMapStart() + if yyl3688 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3697, d) + x.codecDecodeSelfFromMap(yyl3688, d) } - } else if yyct3697 == codecSelferValueTypeArray1234 { - yyl3697 := r.ReadArrayStart() - if yyl3697 == 0 { + } else if yyct3688 == codecSelferValueTypeArray1234 { + yyl3688 := r.ReadArrayStart() + if yyl3688 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3697, d) + x.codecDecodeSelfFromArray(yyl3688, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46522,12 +46440,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3698Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3698Slc - var yyhl3698 bool = l >= 0 - for yyj3698 := 0; ; yyj3698++ { - if yyhl3698 { - if yyj3698 >= l { + var yys3689Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3689Slc + var yyhl3689 bool = l >= 0 + for yyj3689 := 0; ; yyj3689++ { + if yyhl3689 { + if yyj3689 >= l { break } } else { @@ -46536,10 +46454,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3698Slc = r.DecodeBytes(yys3698Slc, true, true) - yys3698 := string(yys3698Slc) + yys3689Slc = r.DecodeBytes(yys3689Slc, true, true) + yys3689 := string(yys3689Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3698 { + switch yys3689 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46583,9 +46501,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3698) - } // end switch yys3698 - } // end for yyj3698 + z.DecStructFieldNotFound(-1, yys3689) + } // end switch yys3689 + } // end for yyj3689 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46593,16 +46511,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3706 int - var yyb3706 bool - var yyhl3706 bool = l >= 0 - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + var yyj3697 int + var yyb3697 bool + var yyhl3697 bool = l >= 0 + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46612,13 +46530,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46628,13 +46546,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46644,13 +46562,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46660,13 +46578,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46676,13 +46594,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46692,13 +46610,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46709,17 +46627,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj3706++ - if yyhl3706 { - yyb3706 = yyj3706 > l + yyj3697++ + if yyhl3697 { + yyb3697 = yyj3697 > l } else { - yyb3706 = r.CheckBreak() + yyb3697 = r.CheckBreak() } - if yyb3706 { + if yyb3697 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3706-1, "") + z.DecStructFieldNotFound(yyj3697-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46731,36 +46649,36 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3714 := z.EncBinary() - _ = yym3714 + yym3705 := z.EncBinary() + _ = yym3705 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3715 := !z.EncBinary() - yy2arr3715 := z.EncBasicHandle().StructToArray - var yyq3715 [8]bool - _, _, _ = yysep3715, yyq3715, yy2arr3715 - const yyr3715 bool = false - yyq3715[0] = x.Kind != "" - yyq3715[1] = x.APIVersion != "" - var yynn3715 int - if yyr3715 || yy2arr3715 { + yysep3706 := !z.EncBinary() + yy2arr3706 := z.EncBasicHandle().StructToArray + var yyq3706 [8]bool + _, _, _ = yysep3706, yyq3706, yy2arr3706 + const yyr3706 bool = false + yyq3706[0] = x.Kind != "" + yyq3706[1] = x.APIVersion != "" + var yynn3706 int + if yyr3706 || yy2arr3706 { r.EncodeArrayStart(8) } else { - yynn3715 = 6 - for _, b := range yyq3715 { + yynn3706 = 6 + for _, b := range yyq3706 { if b { - yynn3715++ + yynn3706++ } } - r.EncodeMapStart(yynn3715) - yynn3715 = 0 + r.EncodeMapStart(yynn3706) + yynn3706 = 0 } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3715[0] { - yym3717 := z.EncBinary() - _ = yym3717 + if yyq3706[0] { + yym3708 := z.EncBinary() + _ = yym3708 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46769,23 +46687,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3715[0] { + if yyq3706[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3718 := z.EncBinary() - _ = yym3718 + yym3709 := z.EncBinary() + _ = yym3709 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3715[1] { - yym3720 := z.EncBinary() - _ = yym3720 + if yyq3706[1] { + yym3711 := z.EncBinary() + _ = yym3711 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46794,22 +46712,22 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3715[1] { + if yyq3706[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3721 := z.EncBinary() - _ = yym3721 + yym3712 := z.EncBinary() + _ = yym3712 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3723 := z.EncBinary() - _ = yym3723 + yym3714 := z.EncBinary() + _ = yym3714 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -46818,17 +46736,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3724 := z.EncBinary() - _ = yym3724 + yym3715 := z.EncBinary() + _ = yym3715 if false { } else { r.EncodeBool(bool(x.Stdin)) } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3726 := z.EncBinary() - _ = yym3726 + yym3717 := z.EncBinary() + _ = yym3717 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -46837,17 +46755,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3727 := z.EncBinary() - _ = yym3727 + yym3718 := z.EncBinary() + _ = yym3718 if false { } else { r.EncodeBool(bool(x.Stdout)) } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3729 := z.EncBinary() - _ = yym3729 + yym3720 := z.EncBinary() + _ = yym3720 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -46856,17 +46774,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3730 := z.EncBinary() - _ = yym3730 + yym3721 := z.EncBinary() + _ = yym3721 if false { } else { r.EncodeBool(bool(x.Stderr)) } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3732 := z.EncBinary() - _ = yym3732 + yym3723 := z.EncBinary() + _ = yym3723 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -46875,17 +46793,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("TTY")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3733 := z.EncBinary() - _ = yym3733 + yym3724 := z.EncBinary() + _ = yym3724 if false { } else { r.EncodeBool(bool(x.TTY)) } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3735 := z.EncBinary() - _ = yym3735 + yym3726 := z.EncBinary() + _ = yym3726 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -46894,20 +46812,20 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3736 := z.EncBinary() - _ = yym3736 + yym3727 := z.EncBinary() + _ = yym3727 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym3738 := z.EncBinary() - _ = yym3738 + yym3729 := z.EncBinary() + _ = yym3729 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -46920,15 +46838,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym3739 := z.EncBinary() - _ = yym3739 + yym3730 := z.EncBinary() + _ = yym3730 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr3715 || yy2arr3715 { + if yyr3706 || yy2arr3706 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46941,25 +46859,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3740 := z.DecBinary() - _ = yym3740 + yym3731 := z.DecBinary() + _ = yym3731 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3741 := r.ContainerType() - if yyct3741 == codecSelferValueTypeMap1234 { - yyl3741 := r.ReadMapStart() - if yyl3741 == 0 { + yyct3732 := r.ContainerType() + if yyct3732 == codecSelferValueTypeMap1234 { + yyl3732 := r.ReadMapStart() + if yyl3732 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3741, d) + x.codecDecodeSelfFromMap(yyl3732, d) } - } else if yyct3741 == codecSelferValueTypeArray1234 { - yyl3741 := r.ReadArrayStart() - if yyl3741 == 0 { + } else if yyct3732 == codecSelferValueTypeArray1234 { + yyl3732 := r.ReadArrayStart() + if yyl3732 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3741, d) + x.codecDecodeSelfFromArray(yyl3732, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46971,12 +46889,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3742Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3742Slc - var yyhl3742 bool = l >= 0 - for yyj3742 := 0; ; yyj3742++ { - if yyhl3742 { - if yyj3742 >= l { + var yys3733Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3733Slc + var yyhl3733 bool = l >= 0 + for yyj3733 := 0; ; yyj3733++ { + if yyhl3733 { + if yyj3733 >= l { break } } else { @@ -46985,10 +46903,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3742Slc = r.DecodeBytes(yys3742Slc, true, true) - yys3742 := string(yys3742Slc) + yys3733Slc = r.DecodeBytes(yys3733Slc, true, true) + yys3733 := string(yys3733Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3742 { + switch yys3733 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47035,18 +46953,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3750 := &x.Command - yym3751 := z.DecBinary() - _ = yym3751 + yyv3741 := &x.Command + yym3742 := z.DecBinary() + _ = yym3742 if false { } else { - z.F.DecSliceStringX(yyv3750, false, d) + z.F.DecSliceStringX(yyv3741, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3742) - } // end switch yys3742 - } // end for yyj3742 + z.DecStructFieldNotFound(-1, yys3733) + } // end switch yys3733 + } // end for yyj3733 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47054,16 +46972,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3752 int - var yyb3752 bool - var yyhl3752 bool = l >= 0 - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + var yyj3743 int + var yyb3743 bool + var yyhl3743 bool = l >= 0 + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47073,13 +46991,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47089,13 +47007,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47105,13 +47023,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47121,13 +47039,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47137,13 +47055,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47153,13 +47071,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47169,13 +47087,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47183,26 +47101,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3760 := &x.Command - yym3761 := z.DecBinary() - _ = yym3761 + yyv3751 := &x.Command + yym3752 := z.DecBinary() + _ = yym3752 if false { } else { - z.F.DecSliceStringX(yyv3760, false, d) + z.F.DecSliceStringX(yyv3751, false, d) } } for { - yyj3752++ - if yyhl3752 { - yyb3752 = yyj3752 > l + yyj3743++ + if yyhl3743 { + yyb3743 = yyj3743 > l } else { - yyb3752 = r.CheckBreak() + yyb3743 = r.CheckBreak() } - if yyb3752 { + if yyb3743 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3752-1, "") + z.DecStructFieldNotFound(yyj3743-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47214,36 +47132,36 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3762 := z.EncBinary() - _ = yym3762 + yym3753 := z.EncBinary() + _ = yym3753 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3763 := !z.EncBinary() - yy2arr3763 := z.EncBasicHandle().StructToArray - var yyq3763 [3]bool - _, _, _ = yysep3763, yyq3763, yy2arr3763 - const yyr3763 bool = false - yyq3763[0] = x.Kind != "" - yyq3763[1] = x.APIVersion != "" - var yynn3763 int - if yyr3763 || yy2arr3763 { + yysep3754 := !z.EncBinary() + yy2arr3754 := z.EncBasicHandle().StructToArray + var yyq3754 [3]bool + _, _, _ = yysep3754, yyq3754, yy2arr3754 + const yyr3754 bool = false + yyq3754[0] = x.Kind != "" + yyq3754[1] = x.APIVersion != "" + var yynn3754 int + if yyr3754 || yy2arr3754 { r.EncodeArrayStart(3) } else { - yynn3763 = 1 - for _, b := range yyq3763 { + yynn3754 = 1 + for _, b := range yyq3754 { if b { - yynn3763++ + yynn3754++ } } - r.EncodeMapStart(yynn3763) - yynn3763 = 0 + r.EncodeMapStart(yynn3754) + yynn3754 = 0 } - if yyr3763 || yy2arr3763 { + if yyr3754 || yy2arr3754 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3763[0] { - yym3765 := z.EncBinary() - _ = yym3765 + if yyq3754[0] { + yym3756 := z.EncBinary() + _ = yym3756 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47252,23 +47170,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3763[0] { + if yyq3754[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3766 := z.EncBinary() - _ = yym3766 + yym3757 := z.EncBinary() + _ = yym3757 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3763 || yy2arr3763 { + if yyr3754 || yy2arr3754 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3763[1] { - yym3768 := z.EncBinary() - _ = yym3768 + if yyq3754[1] { + yym3759 := z.EncBinary() + _ = yym3759 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47277,22 +47195,22 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3763[1] { + if yyq3754[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3769 := z.EncBinary() - _ = yym3769 + yym3760 := z.EncBinary() + _ = yym3760 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3763 || yy2arr3763 { + if yyr3754 || yy2arr3754 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3771 := z.EncBinary() - _ = yym3771 + yym3762 := z.EncBinary() + _ = yym3762 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -47301,14 +47219,14 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3772 := z.EncBinary() - _ = yym3772 + yym3763 := z.EncBinary() + _ = yym3763 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3763 || yy2arr3763 { + if yyr3754 || yy2arr3754 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47321,25 +47239,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3773 := z.DecBinary() - _ = yym3773 + yym3764 := z.DecBinary() + _ = yym3764 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3774 := r.ContainerType() - if yyct3774 == codecSelferValueTypeMap1234 { - yyl3774 := r.ReadMapStart() - if yyl3774 == 0 { + yyct3765 := r.ContainerType() + if yyct3765 == codecSelferValueTypeMap1234 { + yyl3765 := r.ReadMapStart() + if yyl3765 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3774, d) + x.codecDecodeSelfFromMap(yyl3765, d) } - } else if yyct3774 == codecSelferValueTypeArray1234 { - yyl3774 := r.ReadArrayStart() - if yyl3774 == 0 { + } else if yyct3765 == codecSelferValueTypeArray1234 { + yyl3765 := r.ReadArrayStart() + if yyl3765 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3774, d) + x.codecDecodeSelfFromArray(yyl3765, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47351,12 +47269,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3775Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3775Slc - var yyhl3775 bool = l >= 0 - for yyj3775 := 0; ; yyj3775++ { - if yyhl3775 { - if yyj3775 >= l { + var yys3766Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3766Slc + var yyhl3766 bool = l >= 0 + for yyj3766 := 0; ; yyj3766++ { + if yyhl3766 { + if yyj3766 >= l { break } } else { @@ -47365,10 +47283,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3775Slc = r.DecodeBytes(yys3775Slc, true, true) - yys3775 := string(yys3775Slc) + yys3766Slc = r.DecodeBytes(yys3766Slc, true, true) + yys3766 := string(yys3766Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3775 { + switch yys3766 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47388,9 +47306,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3775) - } // end switch yys3775 - } // end for yyj3775 + z.DecStructFieldNotFound(-1, yys3766) + } // end switch yys3766 + } // end for yyj3766 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47398,16 +47316,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3779 int - var yyb3779 bool - var yyhl3779 bool = l >= 0 - yyj3779++ - if yyhl3779 { - yyb3779 = yyj3779 > l + var yyj3770 int + var yyb3770 bool + var yyhl3770 bool = l >= 0 + yyj3770++ + if yyhl3770 { + yyb3770 = yyj3770 > l } else { - yyb3779 = r.CheckBreak() + yyb3770 = r.CheckBreak() } - if yyb3779 { + if yyb3770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47417,13 +47335,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3779++ - if yyhl3779 { - yyb3779 = yyj3779 > l + yyj3770++ + if yyhl3770 { + yyb3770 = yyj3770 > l } else { - yyb3779 = r.CheckBreak() + yyb3770 = r.CheckBreak() } - if yyb3779 { + if yyb3770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47433,13 +47351,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3779++ - if yyhl3779 { - yyb3779 = yyj3779 > l + yyj3770++ + if yyhl3770 { + yyb3770 = yyj3770 > l } else { - yyb3779 = r.CheckBreak() + yyb3770 = r.CheckBreak() } - if yyb3779 { + if yyb3770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47450,17 +47368,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3779++ - if yyhl3779 { - yyb3779 = yyj3779 > l + yyj3770++ + if yyhl3770 { + yyb3770 = yyj3770 > l } else { - yyb3779 = r.CheckBreak() + yyb3770 = r.CheckBreak() } - if yyb3779 { + if yyb3770 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3779-1, "") + z.DecStructFieldNotFound(yyj3770-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47472,36 +47390,36 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3783 := z.EncBinary() - _ = yym3783 + yym3774 := z.EncBinary() + _ = yym3774 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3784 := !z.EncBinary() - yy2arr3784 := z.EncBasicHandle().StructToArray - var yyq3784 [3]bool - _, _, _ = yysep3784, yyq3784, yy2arr3784 - const yyr3784 bool = false - yyq3784[0] = x.Kind != "" - yyq3784[1] = x.APIVersion != "" - var yynn3784 int - if yyr3784 || yy2arr3784 { + yysep3775 := !z.EncBinary() + yy2arr3775 := z.EncBasicHandle().StructToArray + var yyq3775 [3]bool + _, _, _ = yysep3775, yyq3775, yy2arr3775 + const yyr3775 bool = false + yyq3775[0] = x.Kind != "" + yyq3775[1] = x.APIVersion != "" + var yynn3775 int + if yyr3775 || yy2arr3775 { r.EncodeArrayStart(3) } else { - yynn3784 = 1 - for _, b := range yyq3784 { + yynn3775 = 1 + for _, b := range yyq3775 { if b { - yynn3784++ + yynn3775++ } } - r.EncodeMapStart(yynn3784) - yynn3784 = 0 + r.EncodeMapStart(yynn3775) + yynn3775 = 0 } - if yyr3784 || yy2arr3784 { + if yyr3775 || yy2arr3775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3784[0] { - yym3786 := z.EncBinary() - _ = yym3786 + if yyq3775[0] { + yym3777 := z.EncBinary() + _ = yym3777 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47510,23 +47428,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3784[0] { + if yyq3775[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3787 := z.EncBinary() - _ = yym3787 + yym3778 := z.EncBinary() + _ = yym3778 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3784 || yy2arr3784 { + if yyr3775 || yy2arr3775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3784[1] { - yym3789 := z.EncBinary() - _ = yym3789 + if yyq3775[1] { + yym3780 := z.EncBinary() + _ = yym3780 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47535,22 +47453,22 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3784[1] { + if yyq3775[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3790 := z.EncBinary() - _ = yym3790 + yym3781 := z.EncBinary() + _ = yym3781 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3784 || yy2arr3784 { + if yyr3775 || yy2arr3775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3792 := z.EncBinary() - _ = yym3792 + yym3783 := z.EncBinary() + _ = yym3783 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -47559,14 +47477,14 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3793 := z.EncBinary() - _ = yym3793 + yym3784 := z.EncBinary() + _ = yym3784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3784 || yy2arr3784 { + if yyr3775 || yy2arr3775 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47579,25 +47497,25 @@ func (x *NodeProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3794 := z.DecBinary() - _ = yym3794 + yym3785 := z.DecBinary() + _ = yym3785 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3795 := r.ContainerType() - if yyct3795 == codecSelferValueTypeMap1234 { - yyl3795 := r.ReadMapStart() - if yyl3795 == 0 { + yyct3786 := r.ContainerType() + if yyct3786 == codecSelferValueTypeMap1234 { + yyl3786 := r.ReadMapStart() + if yyl3786 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3795, d) + x.codecDecodeSelfFromMap(yyl3786, d) } - } else if yyct3795 == codecSelferValueTypeArray1234 { - yyl3795 := r.ReadArrayStart() - if yyl3795 == 0 { + } else if yyct3786 == codecSelferValueTypeArray1234 { + yyl3786 := r.ReadArrayStart() + if yyl3786 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3795, d) + x.codecDecodeSelfFromArray(yyl3786, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47609,12 +47527,12 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3796Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3796Slc - var yyhl3796 bool = l >= 0 - for yyj3796 := 0; ; yyj3796++ { - if yyhl3796 { - if yyj3796 >= l { + var yys3787Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3787Slc + var yyhl3787 bool = l >= 0 + for yyj3787 := 0; ; yyj3787++ { + if yyhl3787 { + if yyj3787 >= l { break } } else { @@ -47623,10 +47541,10 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3796Slc = r.DecodeBytes(yys3796Slc, true, true) - yys3796 := string(yys3796Slc) + yys3787Slc = r.DecodeBytes(yys3787Slc, true, true) + yys3787 := string(yys3787Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3796 { + switch yys3787 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47646,9 +47564,9 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3796) - } // end switch yys3796 - } // end for yyj3796 + z.DecStructFieldNotFound(-1, yys3787) + } // end switch yys3787 + } // end for yyj3787 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47656,16 +47574,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3800 int - var yyb3800 bool - var yyhl3800 bool = l >= 0 - yyj3800++ - if yyhl3800 { - yyb3800 = yyj3800 > l + var yyj3791 int + var yyb3791 bool + var yyhl3791 bool = l >= 0 + yyj3791++ + if yyhl3791 { + yyb3791 = yyj3791 > l } else { - yyb3800 = r.CheckBreak() + yyb3791 = r.CheckBreak() } - if yyb3800 { + if yyb3791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47675,13 +47593,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3800++ - if yyhl3800 { - yyb3800 = yyj3800 > l + yyj3791++ + if yyhl3791 { + yyb3791 = yyj3791 > l } else { - yyb3800 = r.CheckBreak() + yyb3791 = r.CheckBreak() } - if yyb3800 { + if yyb3791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47691,13 +47609,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3800++ - if yyhl3800 { - yyb3800 = yyj3800 > l + yyj3791++ + if yyhl3791 { + yyb3791 = yyj3791 > l } else { - yyb3800 = r.CheckBreak() + yyb3791 = r.CheckBreak() } - if yyb3800 { + if yyb3791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47708,17 +47626,17 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3800++ - if yyhl3800 { - yyb3800 = yyj3800 > l + yyj3791++ + if yyhl3791 { + yyb3791 = yyj3791 > l } else { - yyb3800 = r.CheckBreak() + yyb3791 = r.CheckBreak() } - if yyb3800 { + if yyb3791 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3800-1, "") + z.DecStructFieldNotFound(yyj3791-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47730,36 +47648,36 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3804 := z.EncBinary() - _ = yym3804 + yym3795 := z.EncBinary() + _ = yym3795 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3805 := !z.EncBinary() - yy2arr3805 := z.EncBasicHandle().StructToArray - var yyq3805 [3]bool - _, _, _ = yysep3805, yyq3805, yy2arr3805 - const yyr3805 bool = false - yyq3805[0] = x.Kind != "" - yyq3805[1] = x.APIVersion != "" - var yynn3805 int - if yyr3805 || yy2arr3805 { + yysep3796 := !z.EncBinary() + yy2arr3796 := z.EncBasicHandle().StructToArray + var yyq3796 [3]bool + _, _, _ = yysep3796, yyq3796, yy2arr3796 + const yyr3796 bool = false + yyq3796[0] = x.Kind != "" + yyq3796[1] = x.APIVersion != "" + var yynn3796 int + if yyr3796 || yy2arr3796 { r.EncodeArrayStart(3) } else { - yynn3805 = 1 - for _, b := range yyq3805 { + yynn3796 = 1 + for _, b := range yyq3796 { if b { - yynn3805++ + yynn3796++ } } - r.EncodeMapStart(yynn3805) - yynn3805 = 0 + r.EncodeMapStart(yynn3796) + yynn3796 = 0 } - if yyr3805 || yy2arr3805 { + if yyr3796 || yy2arr3796 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3805[0] { - yym3807 := z.EncBinary() - _ = yym3807 + if yyq3796[0] { + yym3798 := z.EncBinary() + _ = yym3798 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47768,23 +47686,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3805[0] { + if yyq3796[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3808 := z.EncBinary() - _ = yym3808 + yym3799 := z.EncBinary() + _ = yym3799 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3805 || yy2arr3805 { + if yyr3796 || yy2arr3796 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3805[1] { - yym3810 := z.EncBinary() - _ = yym3810 + if yyq3796[1] { + yym3801 := z.EncBinary() + _ = yym3801 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47793,22 +47711,22 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3805[1] { + if yyq3796[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3811 := z.EncBinary() - _ = yym3811 + yym3802 := z.EncBinary() + _ = yym3802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3805 || yy2arr3805 { + if yyr3796 || yy2arr3796 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3813 := z.EncBinary() - _ = yym3813 + yym3804 := z.EncBinary() + _ = yym3804 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -47817,14 +47735,14 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3814 := z.EncBinary() - _ = yym3814 + yym3805 := z.EncBinary() + _ = yym3805 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3805 || yy2arr3805 { + if yyr3796 || yy2arr3796 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47837,25 +47755,25 @@ func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3815 := z.DecBinary() - _ = yym3815 + yym3806 := z.DecBinary() + _ = yym3806 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3816 := r.ContainerType() - if yyct3816 == codecSelferValueTypeMap1234 { - yyl3816 := r.ReadMapStart() - if yyl3816 == 0 { + yyct3807 := r.ContainerType() + if yyct3807 == codecSelferValueTypeMap1234 { + yyl3807 := r.ReadMapStart() + if yyl3807 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3816, d) + x.codecDecodeSelfFromMap(yyl3807, d) } - } else if yyct3816 == codecSelferValueTypeArray1234 { - yyl3816 := r.ReadArrayStart() - if yyl3816 == 0 { + } else if yyct3807 == codecSelferValueTypeArray1234 { + yyl3807 := r.ReadArrayStart() + if yyl3807 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3816, d) + x.codecDecodeSelfFromArray(yyl3807, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47867,12 +47785,12 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder 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 yys3808Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3808Slc + var yyhl3808 bool = l >= 0 + for yyj3808 := 0; ; yyj3808++ { + if yyhl3808 { + if yyj3808 >= l { break } } else { @@ -47881,10 +47799,10 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3817Slc = r.DecodeBytes(yys3817Slc, true, true) - yys3817 := string(yys3817Slc) + yys3808Slc = r.DecodeBytes(yys3808Slc, true, true) + yys3808 := string(yys3808Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3817 { + switch yys3808 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47904,9 +47822,9 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3817) - } // end switch yys3817 - } // end for yyj3817 + z.DecStructFieldNotFound(-1, yys3808) + } // end switch yys3808 + } // end for yyj3808 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47914,16 +47832,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3821 int - var yyb3821 bool - var yyhl3821 bool = l >= 0 - yyj3821++ - if yyhl3821 { - yyb3821 = yyj3821 > l + var yyj3812 int + var yyb3812 bool + var yyhl3812 bool = l >= 0 + yyj3812++ + if yyhl3812 { + yyb3812 = yyj3812 > l } else { - yyb3821 = r.CheckBreak() + yyb3812 = r.CheckBreak() } - if yyb3821 { + if yyb3812 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47933,13 +47851,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3821++ - if yyhl3821 { - yyb3821 = yyj3821 > l + yyj3812++ + if yyhl3812 { + yyb3812 = yyj3812 > l } else { - yyb3821 = r.CheckBreak() + yyb3812 = r.CheckBreak() } - if yyb3821 { + if yyb3812 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47949,13 +47867,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3821++ - if yyhl3821 { - yyb3821 = yyj3821 > l + yyj3812++ + if yyhl3812 { + yyb3812 = yyj3812 > l } else { - yyb3821 = r.CheckBreak() + yyb3812 = r.CheckBreak() } - if yyb3821 { + if yyb3812 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47966,17 +47884,17 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Path = string(r.DecodeString()) } for { - yyj3821++ - if yyhl3821 { - yyb3821 = yyj3821 > l + yyj3812++ + if yyhl3812 { + yyb3812 = yyj3812 > l } else { - yyb3821 = r.CheckBreak() + yyb3812 = r.CheckBreak() } - if yyb3821 { + if yyb3812 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3821-1, "") + z.DecStructFieldNotFound(yyj3812-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47988,34 +47906,34 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3825 := z.EncBinary() - _ = yym3825 + yym3816 := z.EncBinary() + _ = yym3816 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3826 := !z.EncBinary() - yy2arr3826 := z.EncBasicHandle().StructToArray - var yyq3826 [5]bool - _, _, _ = yysep3826, yyq3826, yy2arr3826 - const yyr3826 bool = false - yyq3826[4] = x.Controller != nil - var yynn3826 int - if yyr3826 || yy2arr3826 { + yysep3817 := !z.EncBinary() + yy2arr3817 := z.EncBasicHandle().StructToArray + var yyq3817 [5]bool + _, _, _ = yysep3817, yyq3817, yy2arr3817 + const yyr3817 bool = false + yyq3817[4] = x.Controller != nil + var yynn3817 int + if yyr3817 || yy2arr3817 { r.EncodeArrayStart(5) } else { - yynn3826 = 4 - for _, b := range yyq3826 { + yynn3817 = 4 + for _, b := range yyq3817 { if b { - yynn3826++ + yynn3817++ } } - r.EncodeMapStart(yynn3826) - yynn3826 = 0 + r.EncodeMapStart(yynn3817) + yynn3817 = 0 } - if yyr3826 || yy2arr3826 { + if yyr3817 || yy2arr3817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3828 := z.EncBinary() - _ = yym3828 + yym3819 := z.EncBinary() + _ = yym3819 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48024,17 +47942,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3829 := z.EncBinary() - _ = yym3829 + yym3820 := z.EncBinary() + _ = yym3820 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr3826 || yy2arr3826 { + if yyr3817 || yy2arr3817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3831 := z.EncBinary() - _ = yym3831 + yym3822 := z.EncBinary() + _ = yym3822 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48043,17 +47961,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3832 := z.EncBinary() - _ = yym3832 + yym3823 := z.EncBinary() + _ = yym3823 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr3826 || yy2arr3826 { + if yyr3817 || yy2arr3817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3834 := z.EncBinary() - _ = yym3834 + yym3825 := z.EncBinary() + _ = yym3825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -48062,17 +47980,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3835 := z.EncBinary() - _ = yym3835 + yym3826 := z.EncBinary() + _ = yym3826 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr3826 || yy2arr3826 { + if yyr3817 || yy2arr3817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3837 := z.EncBinary() - _ = yym3837 + yym3828 := z.EncBinary() + _ = yym3828 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -48082,50 +48000,50 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3838 := z.EncBinary() - _ = yym3838 + yym3829 := z.EncBinary() + _ = yym3829 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } - if yyr3826 || yy2arr3826 { + if yyr3817 || yy2arr3817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3826[4] { + if yyq3817[4] { if x.Controller == nil { r.EncodeNil() } else { - yy3840 := *x.Controller - yym3841 := z.EncBinary() - _ = yym3841 + yy3831 := *x.Controller + yym3832 := z.EncBinary() + _ = yym3832 if false { } else { - r.EncodeBool(bool(yy3840)) + r.EncodeBool(bool(yy3831)) } } } else { r.EncodeNil() } } else { - if yyq3826[4] { + if yyq3817[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controller")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Controller == nil { r.EncodeNil() } else { - yy3842 := *x.Controller - yym3843 := z.EncBinary() - _ = yym3843 + yy3833 := *x.Controller + yym3834 := z.EncBinary() + _ = yym3834 if false { } else { - r.EncodeBool(bool(yy3842)) + r.EncodeBool(bool(yy3833)) } } } } - if yyr3826 || yy2arr3826 { + if yyr3817 || yy2arr3817 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48138,25 +48056,25 @@ func (x *OwnerReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3844 := z.DecBinary() - _ = yym3844 + yym3835 := z.DecBinary() + _ = yym3835 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3845 := r.ContainerType() - if yyct3845 == codecSelferValueTypeMap1234 { - yyl3845 := r.ReadMapStart() - if yyl3845 == 0 { + yyct3836 := r.ContainerType() + if yyct3836 == codecSelferValueTypeMap1234 { + yyl3836 := r.ReadMapStart() + if yyl3836 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3845, d) + x.codecDecodeSelfFromMap(yyl3836, d) } - } else if yyct3845 == codecSelferValueTypeArray1234 { - yyl3845 := r.ReadArrayStart() - if yyl3845 == 0 { + } else if yyct3836 == codecSelferValueTypeArray1234 { + yyl3836 := r.ReadArrayStart() + if yyl3836 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3845, d) + x.codecDecodeSelfFromArray(yyl3836, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48168,12 +48086,12 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3846Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3846Slc - var yyhl3846 bool = l >= 0 - for yyj3846 := 0; ; yyj3846++ { - if yyhl3846 { - if yyj3846 >= l { + var yys3837Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3837Slc + var yyhl3837 bool = l >= 0 + for yyj3837 := 0; ; yyj3837++ { + if yyhl3837 { + if yyj3837 >= l { break } } else { @@ -48182,10 +48100,10 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3846Slc = r.DecodeBytes(yys3846Slc, true, true) - yys3846 := string(yys3846Slc) + yys3837Slc = r.DecodeBytes(yys3837Slc, true, true) + yys3837 := string(yys3837Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3846 { + switch yys3837 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -48219,17 +48137,17 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3852 := z.DecBinary() - _ = yym3852 + yym3843 := z.DecBinary() + _ = yym3843 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3846) - } // end switch yys3846 - } // end for yyj3846 + z.DecStructFieldNotFound(-1, yys3837) + } // end switch yys3837 + } // end for yyj3837 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48237,16 +48155,16 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3853 int - var yyb3853 bool - var yyhl3853 bool = l >= 0 - yyj3853++ - if yyhl3853 { - yyb3853 = yyj3853 > l + var yyj3844 int + var yyb3844 bool + var yyhl3844 bool = l >= 0 + yyj3844++ + if yyhl3844 { + yyb3844 = yyj3844 > l } else { - yyb3853 = r.CheckBreak() + yyb3844 = r.CheckBreak() } - if yyb3853 { + if yyb3844 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48256,13 +48174,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3853++ - if yyhl3853 { - yyb3853 = yyj3853 > l + yyj3844++ + if yyhl3844 { + yyb3844 = yyj3844 > l } else { - yyb3853 = r.CheckBreak() + yyb3844 = r.CheckBreak() } - if yyb3853 { + if yyb3844 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48272,13 +48190,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3853++ - if yyhl3853 { - yyb3853 = yyj3853 > l + yyj3844++ + if yyhl3844 { + yyb3844 = yyj3844 > l } else { - yyb3853 = r.CheckBreak() + yyb3844 = r.CheckBreak() } - if yyb3853 { + if yyb3844 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48288,13 +48206,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj3853++ - if yyhl3853 { - yyb3853 = yyj3853 > l + yyj3844++ + if yyhl3844 { + yyb3844 = yyj3844 > l } else { - yyb3853 = r.CheckBreak() + yyb3844 = r.CheckBreak() } - if yyb3853 { + if yyb3844 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48304,13 +48222,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3853++ - if yyhl3853 { - yyb3853 = yyj3853 > l + yyj3844++ + if yyhl3844 { + yyb3844 = yyj3844 > l } else { - yyb3853 = r.CheckBreak() + yyb3844 = r.CheckBreak() } - if yyb3853 { + if yyb3844 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48323,25 +48241,25 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3859 := z.DecBinary() - _ = yym3859 + yym3850 := z.DecBinary() + _ = yym3850 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } for { - yyj3853++ - if yyhl3853 { - yyb3853 = yyj3853 > l + yyj3844++ + if yyhl3844 { + yyb3844 = yyj3844 > l } else { - yyb3853 = r.CheckBreak() + yyb3844 = r.CheckBreak() } - if yyb3853 { + if yyb3844 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3853-1, "") + z.DecStructFieldNotFound(yyj3844-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48353,41 +48271,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3860 := z.EncBinary() - _ = yym3860 + yym3851 := z.EncBinary() + _ = yym3851 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3861 := !z.EncBinary() - yy2arr3861 := z.EncBasicHandle().StructToArray - var yyq3861 [7]bool - _, _, _ = yysep3861, yyq3861, yy2arr3861 - const yyr3861 bool = false - yyq3861[0] = x.Kind != "" - yyq3861[1] = x.Namespace != "" - yyq3861[2] = x.Name != "" - yyq3861[3] = x.UID != "" - yyq3861[4] = x.APIVersion != "" - yyq3861[5] = x.ResourceVersion != "" - yyq3861[6] = x.FieldPath != "" - var yynn3861 int - if yyr3861 || yy2arr3861 { + yysep3852 := !z.EncBinary() + yy2arr3852 := z.EncBasicHandle().StructToArray + var yyq3852 [7]bool + _, _, _ = yysep3852, yyq3852, yy2arr3852 + const yyr3852 bool = false + yyq3852[0] = x.Kind != "" + yyq3852[1] = x.Namespace != "" + yyq3852[2] = x.Name != "" + yyq3852[3] = x.UID != "" + yyq3852[4] = x.APIVersion != "" + yyq3852[5] = x.ResourceVersion != "" + yyq3852[6] = x.FieldPath != "" + var yynn3852 int + if yyr3852 || yy2arr3852 { r.EncodeArrayStart(7) } else { - yynn3861 = 0 - for _, b := range yyq3861 { + yynn3852 = 0 + for _, b := range yyq3852 { if b { - yynn3861++ + yynn3852++ } } - r.EncodeMapStart(yynn3861) - yynn3861 = 0 + r.EncodeMapStart(yynn3852) + yynn3852 = 0 } - if yyr3861 || yy2arr3861 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3861[0] { - yym3863 := z.EncBinary() - _ = yym3863 + if yyq3852[0] { + yym3854 := z.EncBinary() + _ = yym3854 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48396,23 +48314,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3861[0] { + if yyq3852[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3864 := z.EncBinary() - _ = yym3864 + yym3855 := z.EncBinary() + _ = yym3855 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3861 || yy2arr3861 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3861[1] { - yym3866 := z.EncBinary() - _ = yym3866 + if yyq3852[1] { + yym3857 := z.EncBinary() + _ = yym3857 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -48421,146 +48339,146 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3861[1] { + if yyq3852[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3858 := z.EncBinary() + _ = yym3858 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } + } + if yyr3852 || yy2arr3852 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3852[2] { + yym3860 := z.EncBinary() + _ = yym3860 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3852[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3861 := z.EncBinary() + _ = yym3861 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr3852 || yy2arr3852 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3852[3] { + yym3863 := z.EncBinary() + _ = yym3863 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3852[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("uid")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3864 := z.EncBinary() + _ = yym3864 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } + } + if yyr3852 || yy2arr3852 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3852[4] { + yym3866 := z.EncBinary() + _ = yym3866 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3852[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3867 := z.EncBinary() _ = yym3867 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3861 || yy2arr3861 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3861[2] { + if yyq3852[5] { yym3869 := z.EncBinary() _ = yym3869 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3861[2] { + if yyq3852[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) + r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3870 := z.EncBinary() _ = yym3870 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3861 || yy2arr3861 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3861[3] { + if yyq3852[6] { yym3872 := z.EncBinary() _ = yym3872 if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3861[3] { + if yyq3852[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("uid")) + r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3873 := z.EncBinary() _ = yym3873 if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } - } - if yyr3861 || yy2arr3861 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3861[4] { - yym3875 := z.EncBinary() - _ = yym3875 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3861[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3876 := z.EncBinary() - _ = yym3876 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3861 || yy2arr3861 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3861[5] { - yym3878 := z.EncBinary() - _ = yym3878 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3861[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3879 := z.EncBinary() - _ = yym3879 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } - } - if yyr3861 || yy2arr3861 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3861[6] { - yym3881 := z.EncBinary() - _ = yym3881 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3861[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3882 := z.EncBinary() - _ = yym3882 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr3861 || yy2arr3861 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48573,25 +48491,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3883 := z.DecBinary() - _ = yym3883 + yym3874 := z.DecBinary() + _ = yym3874 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3884 := r.ContainerType() - if yyct3884 == codecSelferValueTypeMap1234 { - yyl3884 := r.ReadMapStart() - if yyl3884 == 0 { + yyct3875 := r.ContainerType() + if yyct3875 == codecSelferValueTypeMap1234 { + yyl3875 := r.ReadMapStart() + if yyl3875 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3884, d) + x.codecDecodeSelfFromMap(yyl3875, d) } - } else if yyct3884 == codecSelferValueTypeArray1234 { - yyl3884 := r.ReadArrayStart() - if yyl3884 == 0 { + } else if yyct3875 == codecSelferValueTypeArray1234 { + yyl3875 := r.ReadArrayStart() + if yyl3875 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3884, d) + x.codecDecodeSelfFromArray(yyl3875, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48603,12 +48521,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3885Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3885Slc - var yyhl3885 bool = l >= 0 - for yyj3885 := 0; ; yyj3885++ { - if yyhl3885 { - if yyj3885 >= l { + var yys3876Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3876Slc + var yyhl3876 bool = l >= 0 + for yyj3876 := 0; ; yyj3876++ { + if yyhl3876 { + if yyj3876 >= l { break } } else { @@ -48617,10 +48535,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3885Slc = r.DecodeBytes(yys3885Slc, true, true) - yys3885 := string(yys3885Slc) + yys3876Slc = r.DecodeBytes(yys3876Slc, true, true) + yys3876 := string(yys3876Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3885 { + switch yys3876 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48664,9 +48582,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3885) - } // end switch yys3885 - } // end for yyj3885 + z.DecStructFieldNotFound(-1, yys3876) + } // end switch yys3876 + } // end for yyj3876 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48674,16 +48592,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3893 int - var yyb3893 bool - var yyhl3893 bool = l >= 0 - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + var yyj3884 int + var yyb3884 bool + var yyhl3884 bool = l >= 0 + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48693,13 +48611,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48709,13 +48627,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48725,13 +48643,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48741,13 +48659,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48757,13 +48675,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48773,13 +48691,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48790,17 +48708,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj3893++ - if yyhl3893 { - yyb3893 = yyj3893 > l + yyj3884++ + if yyhl3884 { + yyb3884 = yyj3884 > l } else { - yyb3893 = r.CheckBreak() + yyb3884 = r.CheckBreak() } - if yyb3893 { + if yyb3884 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3893-1, "") + z.DecStructFieldNotFound(yyj3884-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48812,33 +48730,33 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3901 := z.EncBinary() - _ = yym3901 + yym3892 := z.EncBinary() + _ = yym3892 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3902 := !z.EncBinary() - yy2arr3902 := z.EncBasicHandle().StructToArray - var yyq3902 [1]bool - _, _, _ = yysep3902, yyq3902, yy2arr3902 - const yyr3902 bool = false - var yynn3902 int - if yyr3902 || yy2arr3902 { + yysep3893 := !z.EncBinary() + yy2arr3893 := z.EncBasicHandle().StructToArray + var yyq3893 [1]bool + _, _, _ = yysep3893, yyq3893, yy2arr3893 + const yyr3893 bool = false + var yynn3893 int + if yyr3893 || yy2arr3893 { r.EncodeArrayStart(1) } else { - yynn3902 = 1 - for _, b := range yyq3902 { + yynn3893 = 1 + for _, b := range yyq3893 { if b { - yynn3902++ + yynn3893++ } } - r.EncodeMapStart(yynn3902) - yynn3902 = 0 + r.EncodeMapStart(yynn3893) + yynn3893 = 0 } - if yyr3902 || yy2arr3902 { + if yyr3893 || yy2arr3893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3904 := z.EncBinary() - _ = yym3904 + yym3895 := z.EncBinary() + _ = yym3895 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -48847,14 +48765,14 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3905 := z.EncBinary() - _ = yym3905 + yym3896 := z.EncBinary() + _ = yym3896 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr3902 || yy2arr3902 { + if yyr3893 || yy2arr3893 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48867,25 +48785,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3906 := z.DecBinary() - _ = yym3906 + yym3897 := z.DecBinary() + _ = yym3897 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3907 := r.ContainerType() - if yyct3907 == codecSelferValueTypeMap1234 { - yyl3907 := r.ReadMapStart() - if yyl3907 == 0 { + yyct3898 := r.ContainerType() + if yyct3898 == codecSelferValueTypeMap1234 { + yyl3898 := r.ReadMapStart() + if yyl3898 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3907, d) + x.codecDecodeSelfFromMap(yyl3898, d) } - } else if yyct3907 == codecSelferValueTypeArray1234 { - yyl3907 := r.ReadArrayStart() - if yyl3907 == 0 { + } else if yyct3898 == codecSelferValueTypeArray1234 { + yyl3898 := r.ReadArrayStart() + if yyl3898 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3907, d) + x.codecDecodeSelfFromArray(yyl3898, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48897,12 +48815,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3908Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3908Slc - var yyhl3908 bool = l >= 0 - for yyj3908 := 0; ; yyj3908++ { - if yyhl3908 { - if yyj3908 >= l { + var yys3899Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3899Slc + var yyhl3899 bool = l >= 0 + for yyj3899 := 0; ; yyj3899++ { + if yyhl3899 { + if yyj3899 >= l { break } } else { @@ -48911,10 +48829,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3908Slc = r.DecodeBytes(yys3908Slc, true, true) - yys3908 := string(yys3908Slc) + yys3899Slc = r.DecodeBytes(yys3899Slc, true, true) + yys3899 := string(yys3899Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3908 { + switch yys3899 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -48922,9 +48840,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3908) - } // end switch yys3908 - } // end for yyj3908 + z.DecStructFieldNotFound(-1, yys3899) + } // end switch yys3899 + } // end for yyj3899 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48932,16 +48850,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3910 int - var yyb3910 bool - var yyhl3910 bool = l >= 0 - yyj3910++ - if yyhl3910 { - yyb3910 = yyj3910 > l + var yyj3901 int + var yyb3901 bool + var yyhl3901 bool = l >= 0 + yyj3901++ + if yyhl3901 { + yyb3901 = yyj3901 > l } else { - yyb3910 = r.CheckBreak() + yyb3901 = r.CheckBreak() } - if yyb3910 { + if yyb3901 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48952,17 +48870,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj3910++ - if yyhl3910 { - yyb3910 = yyj3910 > l + yyj3901++ + if yyhl3901 { + yyb3901 = yyj3901 > l } else { - yyb3910 = r.CheckBreak() + yyb3901 = r.CheckBreak() } - if yyb3910 { + if yyb3901 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3910-1, "") + z.DecStructFieldNotFound(yyj3901-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48974,37 +48892,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3912 := z.EncBinary() - _ = yym3912 + yym3903 := z.EncBinary() + _ = yym3903 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3913 := !z.EncBinary() - yy2arr3913 := z.EncBasicHandle().StructToArray - var yyq3913 [3]bool - _, _, _ = yysep3913, yyq3913, yy2arr3913 - const yyr3913 bool = false - yyq3913[0] = x.Kind != "" - yyq3913[1] = x.APIVersion != "" - yyq3913[2] = true - var yynn3913 int - if yyr3913 || yy2arr3913 { + yysep3904 := !z.EncBinary() + yy2arr3904 := z.EncBasicHandle().StructToArray + var yyq3904 [3]bool + _, _, _ = yysep3904, yyq3904, yy2arr3904 + const yyr3904 bool = false + yyq3904[0] = x.Kind != "" + yyq3904[1] = x.APIVersion != "" + yyq3904[2] = true + var yynn3904 int + if yyr3904 || yy2arr3904 { r.EncodeArrayStart(3) } else { - yynn3913 = 0 - for _, b := range yyq3913 { + yynn3904 = 0 + for _, b := range yyq3904 { if b { - yynn3913++ + yynn3904++ } } - r.EncodeMapStart(yynn3913) - yynn3913 = 0 + r.EncodeMapStart(yynn3904) + yynn3904 = 0 } - if yyr3913 || yy2arr3913 { + if yyr3904 || yy2arr3904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3913[0] { - yym3915 := z.EncBinary() - _ = yym3915 + if yyq3904[0] { + yym3906 := z.EncBinary() + _ = yym3906 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49013,23 +48931,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3913[0] { + if yyq3904[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3916 := z.EncBinary() - _ = yym3916 + yym3907 := z.EncBinary() + _ = yym3907 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3913 || yy2arr3913 { + if yyr3904 || yy2arr3904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3913[1] { - yym3918 := z.EncBinary() - _ = yym3918 + if yyq3904[1] { + yym3909 := z.EncBinary() + _ = yym3909 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49038,36 +48956,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3913[1] { + if yyq3904[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3919 := z.EncBinary() - _ = yym3919 + yym3910 := z.EncBinary() + _ = yym3910 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3913 || yy2arr3913 { + if yyr3904 || yy2arr3904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3913[2] { - yy3921 := &x.Reference - yy3921.CodecEncodeSelf(e) + if yyq3904[2] { + yy3912 := &x.Reference + yy3912.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3913[2] { + if yyq3904[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3922 := &x.Reference - yy3922.CodecEncodeSelf(e) + yy3913 := &x.Reference + yy3913.CodecEncodeSelf(e) } } - if yyr3913 || yy2arr3913 { + if yyr3904 || yy2arr3904 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49080,25 +48998,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3923 := z.DecBinary() - _ = yym3923 + yym3914 := z.DecBinary() + _ = yym3914 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3924 := r.ContainerType() - if yyct3924 == codecSelferValueTypeMap1234 { - yyl3924 := r.ReadMapStart() - if yyl3924 == 0 { + yyct3915 := r.ContainerType() + if yyct3915 == codecSelferValueTypeMap1234 { + yyl3915 := r.ReadMapStart() + if yyl3915 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3924, d) + x.codecDecodeSelfFromMap(yyl3915, d) } - } else if yyct3924 == codecSelferValueTypeArray1234 { - yyl3924 := r.ReadArrayStart() - if yyl3924 == 0 { + } else if yyct3915 == codecSelferValueTypeArray1234 { + yyl3915 := r.ReadArrayStart() + if yyl3915 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3924, d) + x.codecDecodeSelfFromArray(yyl3915, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49110,12 +49028,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3925Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3925Slc - var yyhl3925 bool = l >= 0 - for yyj3925 := 0; ; yyj3925++ { - if yyhl3925 { - if yyj3925 >= l { + var yys3916Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3916Slc + var yyhl3916 bool = l >= 0 + for yyj3916 := 0; ; yyj3916++ { + if yyhl3916 { + if yyj3916 >= l { break } } else { @@ -49124,10 +49042,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3925Slc = r.DecodeBytes(yys3925Slc, true, true) - yys3925 := string(yys3925Slc) + yys3916Slc = r.DecodeBytes(yys3916Slc, true, true) + yys3916 := string(yys3916Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3925 { + switch yys3916 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49144,13 +49062,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3928 := &x.Reference - yyv3928.CodecDecodeSelf(d) + yyv3919 := &x.Reference + yyv3919.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3925) - } // end switch yys3925 - } // end for yyj3925 + z.DecStructFieldNotFound(-1, yys3916) + } // end switch yys3916 + } // end for yyj3916 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49158,16 +49076,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3929 int - var yyb3929 bool - var yyhl3929 bool = l >= 0 - yyj3929++ - if yyhl3929 { - yyb3929 = yyj3929 > l + var yyj3920 int + var yyb3920 bool + var yyhl3920 bool = l >= 0 + yyj3920++ + if yyhl3920 { + yyb3920 = yyj3920 > l } else { - yyb3929 = r.CheckBreak() + yyb3920 = r.CheckBreak() } - if yyb3929 { + if yyb3920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49177,13 +49095,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3929++ - if yyhl3929 { - yyb3929 = yyj3929 > l + yyj3920++ + if yyhl3920 { + yyb3920 = yyj3920 > l } else { - yyb3929 = r.CheckBreak() + yyb3920 = r.CheckBreak() } - if yyb3929 { + if yyb3920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49193,13 +49111,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3929++ - if yyhl3929 { - yyb3929 = yyj3929 > l + yyj3920++ + if yyhl3920 { + yyb3920 = yyj3920 > l } else { - yyb3929 = r.CheckBreak() + yyb3920 = r.CheckBreak() } - if yyb3929 { + if yyb3920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49207,21 +49125,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3932 := &x.Reference - yyv3932.CodecDecodeSelf(d) + yyv3923 := &x.Reference + yyv3923.CodecDecodeSelf(d) } for { - yyj3929++ - if yyhl3929 { - yyb3929 = yyj3929 > l + yyj3920++ + if yyhl3920 { + yyb3920 = yyj3920 > l } else { - yyb3929 = r.CheckBreak() + yyb3920 = r.CheckBreak() } - if yyb3929 { + if yyb3920 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3929-1, "") + z.DecStructFieldNotFound(yyj3920-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49233,36 +49151,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3933 := z.EncBinary() - _ = yym3933 + yym3924 := z.EncBinary() + _ = yym3924 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3934 := !z.EncBinary() - yy2arr3934 := z.EncBasicHandle().StructToArray - var yyq3934 [2]bool - _, _, _ = yysep3934, yyq3934, yy2arr3934 - const yyr3934 bool = false - yyq3934[0] = x.Component != "" - yyq3934[1] = x.Host != "" - var yynn3934 int - if yyr3934 || yy2arr3934 { + yysep3925 := !z.EncBinary() + yy2arr3925 := z.EncBasicHandle().StructToArray + var yyq3925 [2]bool + _, _, _ = yysep3925, yyq3925, yy2arr3925 + const yyr3925 bool = false + yyq3925[0] = x.Component != "" + yyq3925[1] = x.Host != "" + var yynn3925 int + if yyr3925 || yy2arr3925 { r.EncodeArrayStart(2) } else { - yynn3934 = 0 - for _, b := range yyq3934 { + yynn3925 = 0 + for _, b := range yyq3925 { if b { - yynn3934++ + yynn3925++ } } - r.EncodeMapStart(yynn3934) - yynn3934 = 0 + r.EncodeMapStart(yynn3925) + yynn3925 = 0 } - if yyr3934 || yy2arr3934 { + if yyr3925 || yy2arr3925 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3934[0] { - yym3936 := z.EncBinary() - _ = yym3936 + if yyq3925[0] { + yym3927 := z.EncBinary() + _ = yym3927 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -49271,23 +49189,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3934[0] { + if yyq3925[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3937 := z.EncBinary() - _ = yym3937 + yym3928 := z.EncBinary() + _ = yym3928 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr3934 || yy2arr3934 { + if yyr3925 || yy2arr3925 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3934[1] { - yym3939 := z.EncBinary() - _ = yym3939 + if yyq3925[1] { + yym3930 := z.EncBinary() + _ = yym3930 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -49296,19 +49214,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3934[1] { + if yyq3925[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3940 := z.EncBinary() - _ = yym3940 + yym3931 := z.EncBinary() + _ = yym3931 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr3934 || yy2arr3934 { + if yyr3925 || yy2arr3925 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49321,25 +49239,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3941 := z.DecBinary() - _ = yym3941 + yym3932 := z.DecBinary() + _ = yym3932 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3942 := r.ContainerType() - if yyct3942 == codecSelferValueTypeMap1234 { - yyl3942 := r.ReadMapStart() - if yyl3942 == 0 { + yyct3933 := r.ContainerType() + if yyct3933 == codecSelferValueTypeMap1234 { + yyl3933 := r.ReadMapStart() + if yyl3933 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3942, d) + x.codecDecodeSelfFromMap(yyl3933, d) } - } else if yyct3942 == codecSelferValueTypeArray1234 { - yyl3942 := r.ReadArrayStart() - if yyl3942 == 0 { + } else if yyct3933 == codecSelferValueTypeArray1234 { + yyl3933 := r.ReadArrayStart() + if yyl3933 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3942, d) + x.codecDecodeSelfFromArray(yyl3933, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49351,12 +49269,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3943Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3943Slc - var yyhl3943 bool = l >= 0 - for yyj3943 := 0; ; yyj3943++ { - if yyhl3943 { - if yyj3943 >= l { + var yys3934Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3934Slc + var yyhl3934 bool = l >= 0 + for yyj3934 := 0; ; yyj3934++ { + if yyhl3934 { + if yyj3934 >= l { break } } else { @@ -49365,10 +49283,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3943Slc = r.DecodeBytes(yys3943Slc, true, true) - yys3943 := string(yys3943Slc) + yys3934Slc = r.DecodeBytes(yys3934Slc, true, true) + yys3934 := string(yys3934Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3943 { + switch yys3934 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -49382,9 +49300,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3943) - } // end switch yys3943 - } // end for yyj3943 + z.DecStructFieldNotFound(-1, yys3934) + } // end switch yys3934 + } // end for yyj3934 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49392,16 +49310,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3946 int - var yyb3946 bool - var yyhl3946 bool = l >= 0 - yyj3946++ - if yyhl3946 { - yyb3946 = yyj3946 > l + var yyj3937 int + var yyb3937 bool + var yyhl3937 bool = l >= 0 + yyj3937++ + if yyhl3937 { + yyb3937 = yyj3937 > l } else { - yyb3946 = r.CheckBreak() + yyb3937 = r.CheckBreak() } - if yyb3946 { + if yyb3937 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49411,13 +49329,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj3946++ - if yyhl3946 { - yyb3946 = yyj3946 > l + yyj3937++ + if yyhl3937 { + yyb3937 = yyj3937 > l } else { - yyb3946 = r.CheckBreak() + yyb3937 = r.CheckBreak() } - if yyb3946 { + if yyb3937 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49428,17 +49346,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj3946++ - if yyhl3946 { - yyb3946 = yyj3946 > l + yyj3937++ + if yyhl3937 { + yyb3937 = yyj3937 > l } else { - yyb3946 = r.CheckBreak() + yyb3937 = r.CheckBreak() } - if yyb3946 { + if yyb3937 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3946-1, "") + z.DecStructFieldNotFound(yyj3937-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49450,45 +49368,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3949 := z.EncBinary() - _ = yym3949 + yym3940 := z.EncBinary() + _ = yym3940 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3950 := !z.EncBinary() - yy2arr3950 := z.EncBasicHandle().StructToArray - var yyq3950 [11]bool - _, _, _ = yysep3950, yyq3950, yy2arr3950 - const yyr3950 bool = false - yyq3950[0] = x.Kind != "" - yyq3950[1] = x.APIVersion != "" - yyq3950[2] = true - yyq3950[3] = true - yyq3950[4] = x.Reason != "" - yyq3950[5] = x.Message != "" - yyq3950[6] = true - yyq3950[7] = true - yyq3950[8] = true - yyq3950[9] = x.Count != 0 - yyq3950[10] = x.Type != "" - var yynn3950 int - if yyr3950 || yy2arr3950 { + yysep3941 := !z.EncBinary() + yy2arr3941 := z.EncBasicHandle().StructToArray + var yyq3941 [11]bool + _, _, _ = yysep3941, yyq3941, yy2arr3941 + const yyr3941 bool = false + yyq3941[0] = x.Kind != "" + yyq3941[1] = x.APIVersion != "" + yyq3941[2] = true + yyq3941[3] = true + yyq3941[4] = x.Reason != "" + yyq3941[5] = x.Message != "" + yyq3941[6] = true + yyq3941[7] = true + yyq3941[8] = true + yyq3941[9] = x.Count != 0 + yyq3941[10] = x.Type != "" + var yynn3941 int + if yyr3941 || yy2arr3941 { r.EncodeArrayStart(11) } else { - yynn3950 = 0 - for _, b := range yyq3950 { + yynn3941 = 0 + for _, b := range yyq3941 { if b { - yynn3950++ + yynn3941++ } } - r.EncodeMapStart(yynn3950) - yynn3950 = 0 + r.EncodeMapStart(yynn3941) + yynn3941 = 0 } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[0] { - yym3952 := z.EncBinary() - _ = yym3952 + if yyq3941[0] { + yym3943 := z.EncBinary() + _ = yym3943 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49497,23 +49415,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3950[0] { + if yyq3941[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3953 := z.EncBinary() - _ = yym3953 + yym3944 := z.EncBinary() + _ = yym3944 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[1] { - yym3955 := z.EncBinary() - _ = yym3955 + if yyq3941[1] { + yym3946 := z.EncBinary() + _ = yym3946 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49522,198 +49440,198 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3950[1] { + if yyq3941[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3947 := z.EncBinary() + _ = yym3947 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3941 || yy2arr3941 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3941[2] { + yy3949 := &x.ObjectMeta + yy3949.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3941[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3950 := &x.ObjectMeta + yy3950.CodecEncodeSelf(e) + } + } + if yyr3941 || yy2arr3941 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3941[3] { + yy3952 := &x.InvolvedObject + yy3952.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3941[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3953 := &x.InvolvedObject + yy3953.CodecEncodeSelf(e) + } + } + if yyr3941 || yy2arr3941 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3941[4] { + yym3955 := z.EncBinary() + _ = yym3955 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3941[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3956 := z.EncBinary() _ = yym3956 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[2] { - yy3958 := &x.ObjectMeta - yy3958.CodecEncodeSelf(e) + if yyq3941[5] { + yym3958 := z.EncBinary() + _ = yym3958 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3950[2] { + if yyq3941[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3959 := &x.ObjectMeta - yy3959.CodecEncodeSelf(e) + yym3959 := z.EncBinary() + _ = yym3959 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[3] { - yy3961 := &x.InvolvedObject + if yyq3941[6] { + yy3961 := &x.Source yy3961.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3950[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3962 := &x.InvolvedObject - yy3962.CodecEncodeSelf(e) - } - } - if yyr3950 || yy2arr3950 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[4] { - yym3964 := z.EncBinary() - _ = yym3964 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3950[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3965 := z.EncBinary() - _ = yym3965 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr3950 || yy2arr3950 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[5] { - yym3967 := z.EncBinary() - _ = yym3967 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3950[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3968 := z.EncBinary() - _ = yym3968 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr3950 || yy2arr3950 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[6] { - yy3970 := &x.Source - yy3970.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3950[6] { + if yyq3941[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3971 := &x.Source - yy3971.CodecEncodeSelf(e) + yy3962 := &x.Source + yy3962.CodecEncodeSelf(e) } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[7] { - yy3973 := &x.FirstTimestamp - yym3974 := z.EncBinary() - _ = yym3974 + if yyq3941[7] { + yy3964 := &x.FirstTimestamp + yym3965 := z.EncBinary() + _ = yym3965 if false { - } else if z.HasExtensions() && z.EncExt(yy3973) { - } else if yym3974 { - z.EncBinaryMarshal(yy3973) - } else if !yym3974 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3973) + } else if z.HasExtensions() && z.EncExt(yy3964) { + } else if yym3965 { + z.EncBinaryMarshal(yy3964) + } else if !yym3965 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3964) } else { - z.EncFallback(yy3973) + z.EncFallback(yy3964) } } else { r.EncodeNil() } } else { - if yyq3950[7] { + if yyq3941[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3975 := &x.FirstTimestamp - yym3976 := z.EncBinary() - _ = yym3976 + yy3966 := &x.FirstTimestamp + yym3967 := z.EncBinary() + _ = yym3967 if false { - } else if z.HasExtensions() && z.EncExt(yy3975) { - } else if yym3976 { - z.EncBinaryMarshal(yy3975) - } else if !yym3976 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3975) + } else if z.HasExtensions() && z.EncExt(yy3966) { + } else if yym3967 { + z.EncBinaryMarshal(yy3966) + } else if !yym3967 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3966) } else { - z.EncFallback(yy3975) + z.EncFallback(yy3966) } } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[8] { - yy3978 := &x.LastTimestamp - yym3979 := z.EncBinary() - _ = yym3979 + if yyq3941[8] { + yy3969 := &x.LastTimestamp + yym3970 := z.EncBinary() + _ = yym3970 if false { - } else if z.HasExtensions() && z.EncExt(yy3978) { - } else if yym3979 { - z.EncBinaryMarshal(yy3978) - } else if !yym3979 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3978) + } else if z.HasExtensions() && z.EncExt(yy3969) { + } else if yym3970 { + z.EncBinaryMarshal(yy3969) + } else if !yym3970 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3969) } else { - z.EncFallback(yy3978) + z.EncFallback(yy3969) } } else { r.EncodeNil() } } else { - if yyq3950[8] { + if yyq3941[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3980 := &x.LastTimestamp - yym3981 := z.EncBinary() - _ = yym3981 + yy3971 := &x.LastTimestamp + yym3972 := z.EncBinary() + _ = yym3972 if false { - } else if z.HasExtensions() && z.EncExt(yy3980) { - } else if yym3981 { - z.EncBinaryMarshal(yy3980) - } else if !yym3981 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3980) + } else if z.HasExtensions() && z.EncExt(yy3971) { + } else if yym3972 { + z.EncBinaryMarshal(yy3971) + } else if !yym3972 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3971) } else { - z.EncFallback(yy3980) + z.EncFallback(yy3971) } } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[9] { - yym3983 := z.EncBinary() - _ = yym3983 + if yyq3941[9] { + yym3974 := z.EncBinary() + _ = yym3974 if false { } else { r.EncodeInt(int64(x.Count)) @@ -49722,23 +49640,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3950[9] { + if yyq3941[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3984 := z.EncBinary() - _ = yym3984 + yym3975 := z.EncBinary() + _ = yym3975 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3950[10] { - yym3986 := z.EncBinary() - _ = yym3986 + if yyq3941[10] { + yym3977 := z.EncBinary() + _ = yym3977 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -49747,19 +49665,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3950[10] { + if yyq3941[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3987 := z.EncBinary() - _ = yym3987 + yym3978 := z.EncBinary() + _ = yym3978 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3950 || yy2arr3950 { + if yyr3941 || yy2arr3941 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49772,25 +49690,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3988 := z.DecBinary() - _ = yym3988 + yym3979 := z.DecBinary() + _ = yym3979 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3989 := r.ContainerType() - if yyct3989 == codecSelferValueTypeMap1234 { - yyl3989 := r.ReadMapStart() - if yyl3989 == 0 { + yyct3980 := r.ContainerType() + if yyct3980 == codecSelferValueTypeMap1234 { + yyl3980 := r.ReadMapStart() + if yyl3980 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3989, d) + x.codecDecodeSelfFromMap(yyl3980, d) } - } else if yyct3989 == codecSelferValueTypeArray1234 { - yyl3989 := r.ReadArrayStart() - if yyl3989 == 0 { + } else if yyct3980 == codecSelferValueTypeArray1234 { + yyl3980 := r.ReadArrayStart() + if yyl3980 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3989, d) + x.codecDecodeSelfFromArray(yyl3980, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49802,12 +49720,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3990Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3990Slc - var yyhl3990 bool = l >= 0 - for yyj3990 := 0; ; yyj3990++ { - if yyhl3990 { - if yyj3990 >= l { + var yys3981Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3981Slc + var yyhl3981 bool = l >= 0 + for yyj3981 := 0; ; yyj3981++ { + if yyhl3981 { + if yyj3981 >= l { break } } else { @@ -49816,10 +49734,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3990Slc = r.DecodeBytes(yys3990Slc, true, true) - yys3990 := string(yys3990Slc) + yys3981Slc = r.DecodeBytes(yys3981Slc, true, true) + yys3981 := string(yys3981Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3990 { + switch yys3981 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49836,15 +49754,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3993 := &x.ObjectMeta - yyv3993.CodecDecodeSelf(d) + yyv3984 := &x.ObjectMeta + yyv3984.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3994 := &x.InvolvedObject - yyv3994.CodecDecodeSelf(d) + yyv3985 := &x.InvolvedObject + yyv3985.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -49862,41 +49780,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3997 := &x.Source - yyv3997.CodecDecodeSelf(d) + yyv3988 := &x.Source + yyv3988.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3998 := &x.FirstTimestamp - yym3999 := z.DecBinary() - _ = yym3999 + yyv3989 := &x.FirstTimestamp + yym3990 := z.DecBinary() + _ = yym3990 if false { - } else if z.HasExtensions() && z.DecExt(yyv3998) { - } else if yym3999 { - z.DecBinaryUnmarshal(yyv3998) - } else if !yym3999 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3998) + } else if z.HasExtensions() && z.DecExt(yyv3989) { + } else if yym3990 { + z.DecBinaryUnmarshal(yyv3989) + } else if !yym3990 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3989) } else { - z.DecFallback(yyv3998, false) + z.DecFallback(yyv3989, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv4000 := &x.LastTimestamp - yym4001 := z.DecBinary() - _ = yym4001 + yyv3991 := &x.LastTimestamp + yym3992 := z.DecBinary() + _ = yym3992 if false { - } else if z.HasExtensions() && z.DecExt(yyv4000) { - } else if yym4001 { - z.DecBinaryUnmarshal(yyv4000) - } else if !yym4001 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4000) + } else if z.HasExtensions() && z.DecExt(yyv3991) { + } else if yym3992 { + z.DecBinaryUnmarshal(yyv3991) + } else if !yym3992 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3991) } else { - z.DecFallback(yyv4000, false) + z.DecFallback(yyv3991, false) } } case "count": @@ -49912,9 +49830,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3990) - } // end switch yys3990 - } // end for yyj3990 + z.DecStructFieldNotFound(-1, yys3981) + } // end switch yys3981 + } // end for yyj3981 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49922,16 +49840,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4004 int - var yyb4004 bool - var yyhl4004 bool = l >= 0 - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + var yyj3995 int + var yyb3995 bool + var yyhl3995 bool = l >= 0 + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49941,13 +49859,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49957,13 +49875,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49971,16 +49889,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4007 := &x.ObjectMeta - yyv4007.CodecDecodeSelf(d) + yyv3998 := &x.ObjectMeta + yyv3998.CodecDecodeSelf(d) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49988,16 +49906,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv4008 := &x.InvolvedObject - yyv4008.CodecDecodeSelf(d) + yyv3999 := &x.InvolvedObject + yyv3999.CodecDecodeSelf(d) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50007,13 +49925,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50023,13 +49941,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50037,16 +49955,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv4011 := &x.Source - yyv4011.CodecDecodeSelf(d) + yyv4002 := &x.Source + yyv4002.CodecDecodeSelf(d) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50054,26 +49972,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv4012 := &x.FirstTimestamp - yym4013 := z.DecBinary() - _ = yym4013 + yyv4003 := &x.FirstTimestamp + yym4004 := z.DecBinary() + _ = yym4004 if false { - } else if z.HasExtensions() && z.DecExt(yyv4012) { - } else if yym4013 { - z.DecBinaryUnmarshal(yyv4012) - } else if !yym4013 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4012) + } else if z.HasExtensions() && z.DecExt(yyv4003) { + } else if yym4004 { + z.DecBinaryUnmarshal(yyv4003) + } else if !yym4004 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4003) } else { - z.DecFallback(yyv4012, false) + z.DecFallback(yyv4003, false) } } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50081,26 +49999,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv4014 := &x.LastTimestamp - yym4015 := z.DecBinary() - _ = yym4015 + yyv4005 := &x.LastTimestamp + yym4006 := z.DecBinary() + _ = yym4006 if false { - } else if z.HasExtensions() && z.DecExt(yyv4014) { - } else if yym4015 { - z.DecBinaryUnmarshal(yyv4014) - } else if !yym4015 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4014) + } else if z.HasExtensions() && z.DecExt(yyv4005) { + } else if yym4006 { + z.DecBinaryUnmarshal(yyv4005) + } else if !yym4006 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4005) } else { - z.DecFallback(yyv4014, false) + z.DecFallback(yyv4005, false) } } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50110,13 +50028,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int32(r.DecodeInt(32)) } - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50127,17 +50045,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj4004++ - if yyhl4004 { - yyb4004 = yyj4004 > l + yyj3995++ + if yyhl3995 { + yyb3995 = yyj3995 > l } else { - yyb4004 = r.CheckBreak() + yyb3995 = r.CheckBreak() } - if yyb4004 { + if yyb3995 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4004-1, "") + z.DecStructFieldNotFound(yyj3995-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50149,37 +50067,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4018 := z.EncBinary() - _ = yym4018 + yym4009 := z.EncBinary() + _ = yym4009 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4019 := !z.EncBinary() - yy2arr4019 := z.EncBasicHandle().StructToArray - var yyq4019 [4]bool - _, _, _ = yysep4019, yyq4019, yy2arr4019 - const yyr4019 bool = false - yyq4019[0] = x.Kind != "" - yyq4019[1] = x.APIVersion != "" - yyq4019[2] = true - var yynn4019 int - if yyr4019 || yy2arr4019 { + yysep4010 := !z.EncBinary() + yy2arr4010 := z.EncBasicHandle().StructToArray + var yyq4010 [4]bool + _, _, _ = yysep4010, yyq4010, yy2arr4010 + const yyr4010 bool = false + yyq4010[0] = x.Kind != "" + yyq4010[1] = x.APIVersion != "" + yyq4010[2] = true + var yynn4010 int + if yyr4010 || yy2arr4010 { r.EncodeArrayStart(4) } else { - yynn4019 = 1 - for _, b := range yyq4019 { + yynn4010 = 1 + for _, b := range yyq4010 { if b { - yynn4019++ + yynn4010++ } } - r.EncodeMapStart(yynn4019) - yynn4019 = 0 + r.EncodeMapStart(yynn4010) + yynn4010 = 0 } - if yyr4019 || yy2arr4019 { + if yyr4010 || yy2arr4010 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4019[0] { - yym4021 := z.EncBinary() - _ = yym4021 + if yyq4010[0] { + yym4012 := z.EncBinary() + _ = yym4012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -50188,23 +50106,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4019[0] { + if yyq4010[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4022 := z.EncBinary() - _ = yym4022 + yym4013 := z.EncBinary() + _ = yym4013 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4019 || yy2arr4019 { + if yyr4010 || yy2arr4010 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4019[1] { - yym4024 := z.EncBinary() - _ = yym4024 + if yyq4010[1] { + yym4015 := z.EncBinary() + _ = yym4015 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -50213,54 +50131,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4019[1] { + if yyq4010[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4025 := z.EncBinary() - _ = yym4025 + yym4016 := z.EncBinary() + _ = yym4016 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4019 || yy2arr4019 { + if yyr4010 || yy2arr4010 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4019[2] { - yy4027 := &x.ListMeta - yym4028 := z.EncBinary() - _ = yym4028 + if yyq4010[2] { + yy4018 := &x.ListMeta + yym4019 := z.EncBinary() + _ = yym4019 if false { - } else if z.HasExtensions() && z.EncExt(yy4027) { + } else if z.HasExtensions() && z.EncExt(yy4018) { } else { - z.EncFallback(yy4027) + z.EncFallback(yy4018) } } else { r.EncodeNil() } } else { - if yyq4019[2] { + if yyq4010[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4029 := &x.ListMeta - yym4030 := z.EncBinary() - _ = yym4030 + yy4020 := &x.ListMeta + yym4021 := z.EncBinary() + _ = yym4021 if false { - } else if z.HasExtensions() && z.EncExt(yy4029) { + } else if z.HasExtensions() && z.EncExt(yy4020) { } else { - z.EncFallback(yy4029) + z.EncFallback(yy4020) } } } - if yyr4019 || yy2arr4019 { + if yyr4010 || yy2arr4010 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4032 := z.EncBinary() - _ = yym4032 + yym4023 := z.EncBinary() + _ = yym4023 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -50273,15 +50191,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4033 := z.EncBinary() - _ = yym4033 + yym4024 := z.EncBinary() + _ = yym4024 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr4019 || yy2arr4019 { + if yyr4010 || yy2arr4010 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50294,25 +50212,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4034 := z.DecBinary() - _ = yym4034 + yym4025 := z.DecBinary() + _ = yym4025 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4035 := r.ContainerType() - if yyct4035 == codecSelferValueTypeMap1234 { - yyl4035 := r.ReadMapStart() - if yyl4035 == 0 { + yyct4026 := r.ContainerType() + if yyct4026 == codecSelferValueTypeMap1234 { + yyl4026 := r.ReadMapStart() + if yyl4026 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4035, d) + x.codecDecodeSelfFromMap(yyl4026, d) } - } else if yyct4035 == codecSelferValueTypeArray1234 { - yyl4035 := r.ReadArrayStart() - if yyl4035 == 0 { + } else if yyct4026 == codecSelferValueTypeArray1234 { + yyl4026 := r.ReadArrayStart() + if yyl4026 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4035, d) + x.codecDecodeSelfFromArray(yyl4026, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50324,12 +50242,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4036Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4036Slc - var yyhl4036 bool = l >= 0 - for yyj4036 := 0; ; yyj4036++ { - if yyhl4036 { - if yyj4036 >= l { + var yys4027Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4027Slc + var yyhl4027 bool = l >= 0 + for yyj4027 := 0; ; yyj4027++ { + if yyhl4027 { + if yyj4027 >= l { break } } else { @@ -50338,10 +50256,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4036Slc = r.DecodeBytes(yys4036Slc, true, true) - yys4036 := string(yys4036Slc) + yys4027Slc = r.DecodeBytes(yys4027Slc, true, true) + yys4027 := string(yys4027Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4036 { + switch yys4027 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50358,31 +50276,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4039 := &x.ListMeta - yym4040 := z.DecBinary() - _ = yym4040 + yyv4030 := &x.ListMeta + yym4031 := z.DecBinary() + _ = yym4031 if false { - } else if z.HasExtensions() && z.DecExt(yyv4039) { + } else if z.HasExtensions() && z.DecExt(yyv4030) { } else { - z.DecFallback(yyv4039, false) + z.DecFallback(yyv4030, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4041 := &x.Items - yym4042 := z.DecBinary() - _ = yym4042 + yyv4032 := &x.Items + yym4033 := z.DecBinary() + _ = yym4033 if false { } else { - h.decSliceEvent((*[]Event)(yyv4041), d) + h.decSliceEvent((*[]Event)(yyv4032), d) } } default: - z.DecStructFieldNotFound(-1, yys4036) - } // end switch yys4036 - } // end for yyj4036 + z.DecStructFieldNotFound(-1, yys4027) + } // end switch yys4027 + } // end for yyj4027 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50390,16 +50308,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4043 int - var yyb4043 bool - var yyhl4043 bool = l >= 0 - yyj4043++ - if yyhl4043 { - yyb4043 = yyj4043 > l + var yyj4034 int + var yyb4034 bool + var yyhl4034 bool = l >= 0 + yyj4034++ + if yyhl4034 { + yyb4034 = yyj4034 > l } else { - yyb4043 = r.CheckBreak() + yyb4034 = r.CheckBreak() } - if yyb4043 { + if yyb4034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50409,13 +50327,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4043++ - if yyhl4043 { - yyb4043 = yyj4043 > l + yyj4034++ + if yyhl4034 { + yyb4034 = yyj4034 > l } else { - yyb4043 = r.CheckBreak() + yyb4034 = r.CheckBreak() } - if yyb4043 { + if yyb4034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50425,13 +50343,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4043++ - if yyhl4043 { - yyb4043 = yyj4043 > l + yyj4034++ + if yyhl4034 { + yyb4034 = yyj4034 > l } else { - yyb4043 = r.CheckBreak() + yyb4034 = r.CheckBreak() } - if yyb4043 { + if yyb4034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50439,22 +50357,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4046 := &x.ListMeta - yym4047 := z.DecBinary() - _ = yym4047 + yyv4037 := &x.ListMeta + yym4038 := z.DecBinary() + _ = yym4038 if false { - } else if z.HasExtensions() && z.DecExt(yyv4046) { + } else if z.HasExtensions() && z.DecExt(yyv4037) { } else { - z.DecFallback(yyv4046, false) + z.DecFallback(yyv4037, false) } } - yyj4043++ - if yyhl4043 { - yyb4043 = yyj4043 > l + yyj4034++ + if yyhl4034 { + yyb4034 = yyj4034 > l } else { - yyb4043 = r.CheckBreak() + yyb4034 = r.CheckBreak() } - if yyb4043 { + if yyb4034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50462,26 +50380,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4048 := &x.Items - yym4049 := z.DecBinary() - _ = yym4049 + yyv4039 := &x.Items + yym4040 := z.DecBinary() + _ = yym4040 if false { } else { - h.decSliceEvent((*[]Event)(yyv4048), d) + h.decSliceEvent((*[]Event)(yyv4039), d) } } for { - yyj4043++ - if yyhl4043 { - yyb4043 = yyj4043 > l + yyj4034++ + if yyhl4034 { + yyb4034 = yyj4034 > l } else { - yyb4043 = r.CheckBreak() + yyb4034 = r.CheckBreak() } - if yyb4043 { + if yyb4034 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4043-1, "") + z.DecStructFieldNotFound(yyj4034-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50493,37 +50411,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4050 := z.EncBinary() - _ = yym4050 + yym4041 := z.EncBinary() + _ = yym4041 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4051 := !z.EncBinary() - yy2arr4051 := z.EncBasicHandle().StructToArray - var yyq4051 [4]bool - _, _, _ = yysep4051, yyq4051, yy2arr4051 - const yyr4051 bool = false - yyq4051[0] = x.Kind != "" - yyq4051[1] = x.APIVersion != "" - yyq4051[2] = true - var yynn4051 int - if yyr4051 || yy2arr4051 { + yysep4042 := !z.EncBinary() + yy2arr4042 := z.EncBasicHandle().StructToArray + var yyq4042 [4]bool + _, _, _ = yysep4042, yyq4042, yy2arr4042 + const yyr4042 bool = false + yyq4042[0] = x.Kind != "" + yyq4042[1] = x.APIVersion != "" + yyq4042[2] = true + var yynn4042 int + if yyr4042 || yy2arr4042 { r.EncodeArrayStart(4) } else { - yynn4051 = 1 - for _, b := range yyq4051 { + yynn4042 = 1 + for _, b := range yyq4042 { if b { - yynn4051++ + yynn4042++ } } - r.EncodeMapStart(yynn4051) - yynn4051 = 0 + r.EncodeMapStart(yynn4042) + yynn4042 = 0 } - if yyr4051 || yy2arr4051 { + if yyr4042 || yy2arr4042 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4051[0] { - yym4053 := z.EncBinary() - _ = yym4053 + if yyq4042[0] { + yym4044 := z.EncBinary() + _ = yym4044 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -50532,23 +50450,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4051[0] { + if yyq4042[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4054 := z.EncBinary() - _ = yym4054 + yym4045 := z.EncBinary() + _ = yym4045 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4051 || yy2arr4051 { + if yyr4042 || yy2arr4042 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4051[1] { - yym4056 := z.EncBinary() - _ = yym4056 + if yyq4042[1] { + yym4047 := z.EncBinary() + _ = yym4047 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -50557,54 +50475,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4051[1] { + if yyq4042[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4057 := z.EncBinary() - _ = yym4057 + yym4048 := z.EncBinary() + _ = yym4048 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4051 || yy2arr4051 { + if yyr4042 || yy2arr4042 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4051[2] { - yy4059 := &x.ListMeta - yym4060 := z.EncBinary() - _ = yym4060 + if yyq4042[2] { + yy4050 := &x.ListMeta + yym4051 := z.EncBinary() + _ = yym4051 if false { - } else if z.HasExtensions() && z.EncExt(yy4059) { + } else if z.HasExtensions() && z.EncExt(yy4050) { } else { - z.EncFallback(yy4059) + z.EncFallback(yy4050) } } else { r.EncodeNil() } } else { - if yyq4051[2] { + if yyq4042[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4061 := &x.ListMeta - yym4062 := z.EncBinary() - _ = yym4062 + yy4052 := &x.ListMeta + yym4053 := z.EncBinary() + _ = yym4053 if false { - } else if z.HasExtensions() && z.EncExt(yy4061) { + } else if z.HasExtensions() && z.EncExt(yy4052) { } else { - z.EncFallback(yy4061) + z.EncFallback(yy4052) } } } - if yyr4051 || yy2arr4051 { + if yyr4042 || yy2arr4042 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4064 := z.EncBinary() - _ = yym4064 + yym4055 := z.EncBinary() + _ = yym4055 if false { } else { h.encSliceruntime_Object(([]pkg7_runtime.Object)(x.Items), e) @@ -50617,15 +50535,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4065 := z.EncBinary() - _ = yym4065 + yym4056 := z.EncBinary() + _ = yym4056 if false { } else { h.encSliceruntime_Object(([]pkg7_runtime.Object)(x.Items), e) } } } - if yyr4051 || yy2arr4051 { + if yyr4042 || yy2arr4042 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50638,25 +50556,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4066 := z.DecBinary() - _ = yym4066 + yym4057 := z.DecBinary() + _ = yym4057 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4067 := r.ContainerType() - if yyct4067 == codecSelferValueTypeMap1234 { - yyl4067 := r.ReadMapStart() - if yyl4067 == 0 { + yyct4058 := r.ContainerType() + if yyct4058 == codecSelferValueTypeMap1234 { + yyl4058 := r.ReadMapStart() + if yyl4058 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4067, d) + x.codecDecodeSelfFromMap(yyl4058, d) } - } else if yyct4067 == codecSelferValueTypeArray1234 { - yyl4067 := r.ReadArrayStart() - if yyl4067 == 0 { + } else if yyct4058 == codecSelferValueTypeArray1234 { + yyl4058 := r.ReadArrayStart() + if yyl4058 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4067, d) + x.codecDecodeSelfFromArray(yyl4058, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50668,12 +50586,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4068Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4068Slc - var yyhl4068 bool = l >= 0 - for yyj4068 := 0; ; yyj4068++ { - if yyhl4068 { - if yyj4068 >= l { + var yys4059Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4059Slc + var yyhl4059 bool = l >= 0 + for yyj4059 := 0; ; yyj4059++ { + if yyhl4059 { + if yyj4059 >= l { break } } else { @@ -50682,10 +50600,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4068Slc = r.DecodeBytes(yys4068Slc, true, true) - yys4068 := string(yys4068Slc) + yys4059Slc = r.DecodeBytes(yys4059Slc, true, true) + yys4059 := string(yys4059Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4068 { + switch yys4059 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50702,31 +50620,31 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4071 := &x.ListMeta - yym4072 := z.DecBinary() - _ = yym4072 + yyv4062 := &x.ListMeta + yym4063 := z.DecBinary() + _ = yym4063 if false { - } else if z.HasExtensions() && z.DecExt(yyv4071) { + } else if z.HasExtensions() && z.DecExt(yyv4062) { } else { - z.DecFallback(yyv4071, false) + z.DecFallback(yyv4062, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4073 := &x.Items - yym4074 := z.DecBinary() - _ = yym4074 + yyv4064 := &x.Items + yym4065 := z.DecBinary() + _ = yym4065 if false { } else { - h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4073), d) + h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4064), d) } } default: - z.DecStructFieldNotFound(-1, yys4068) - } // end switch yys4068 - } // end for yyj4068 + z.DecStructFieldNotFound(-1, yys4059) + } // end switch yys4059 + } // end for yyj4059 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50734,16 +50652,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4075 int - var yyb4075 bool - var yyhl4075 bool = l >= 0 - yyj4075++ - if yyhl4075 { - yyb4075 = yyj4075 > l + var yyj4066 int + var yyb4066 bool + var yyhl4066 bool = l >= 0 + yyj4066++ + if yyhl4066 { + yyb4066 = yyj4066 > l } else { - yyb4075 = r.CheckBreak() + yyb4066 = r.CheckBreak() } - if yyb4075 { + if yyb4066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50753,13 +50671,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4075++ - if yyhl4075 { - yyb4075 = yyj4075 > l + yyj4066++ + if yyhl4066 { + yyb4066 = yyj4066 > l } else { - yyb4075 = r.CheckBreak() + yyb4066 = r.CheckBreak() } - if yyb4075 { + if yyb4066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50769,13 +50687,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4075++ - if yyhl4075 { - yyb4075 = yyj4075 > l + yyj4066++ + if yyhl4066 { + yyb4066 = yyj4066 > l } else { - yyb4075 = r.CheckBreak() + yyb4066 = r.CheckBreak() } - if yyb4075 { + if yyb4066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50783,22 +50701,22 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4078 := &x.ListMeta - yym4079 := z.DecBinary() - _ = yym4079 + yyv4069 := &x.ListMeta + yym4070 := z.DecBinary() + _ = yym4070 if false { - } else if z.HasExtensions() && z.DecExt(yyv4078) { + } else if z.HasExtensions() && z.DecExt(yyv4069) { } else { - z.DecFallback(yyv4078, false) + z.DecFallback(yyv4069, false) } } - yyj4075++ - if yyhl4075 { - yyb4075 = yyj4075 > l + yyj4066++ + if yyhl4066 { + yyb4066 = yyj4066 > l } else { - yyb4075 = r.CheckBreak() + yyb4066 = r.CheckBreak() } - if yyb4075 { + if yyb4066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50806,26 +50724,26 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4080 := &x.Items - yym4081 := z.DecBinary() - _ = yym4081 + yyv4071 := &x.Items + yym4072 := z.DecBinary() + _ = yym4072 if false { } else { - h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4080), d) + h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4071), d) } } for { - yyj4075++ - if yyhl4075 { - yyb4075 = yyj4075 > l + yyj4066++ + if yyhl4066 { + yyb4066 = yyj4066 > l } else { - yyb4075 = r.CheckBreak() + yyb4066 = r.CheckBreak() } - if yyb4075 { + if yyb4066 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4075-1, "") + z.DecStructFieldNotFound(yyj4066-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50834,8 +50752,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4082 := z.EncBinary() - _ = yym4082 + yym4073 := z.EncBinary() + _ = yym4073 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -50847,8 +50765,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4083 := z.DecBinary() - _ = yym4083 + yym4074 := z.DecBinary() + _ = yym4074 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -50863,53 +50781,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4084 := z.EncBinary() - _ = yym4084 + yym4075 := z.EncBinary() + _ = yym4075 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4085 := !z.EncBinary() - yy2arr4085 := z.EncBasicHandle().StructToArray - var yyq4085 [6]bool - _, _, _ = yysep4085, yyq4085, yy2arr4085 - const yyr4085 bool = false - yyq4085[0] = x.Type != "" - yyq4085[1] = len(x.Max) != 0 - yyq4085[2] = len(x.Min) != 0 - yyq4085[3] = len(x.Default) != 0 - yyq4085[4] = len(x.DefaultRequest) != 0 - yyq4085[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn4085 int - if yyr4085 || yy2arr4085 { + yysep4076 := !z.EncBinary() + yy2arr4076 := z.EncBasicHandle().StructToArray + var yyq4076 [6]bool + _, _, _ = yysep4076, yyq4076, yy2arr4076 + const yyr4076 bool = false + yyq4076[0] = x.Type != "" + yyq4076[1] = len(x.Max) != 0 + yyq4076[2] = len(x.Min) != 0 + yyq4076[3] = len(x.Default) != 0 + yyq4076[4] = len(x.DefaultRequest) != 0 + yyq4076[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn4076 int + if yyr4076 || yy2arr4076 { r.EncodeArrayStart(6) } else { - yynn4085 = 0 - for _, b := range yyq4085 { + yynn4076 = 0 + for _, b := range yyq4076 { if b { - yynn4085++ + yynn4076++ } } - r.EncodeMapStart(yynn4085) - yynn4085 = 0 + r.EncodeMapStart(yynn4076) + yynn4076 = 0 } - if yyr4085 || yy2arr4085 { + if yyr4076 || yy2arr4076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[0] { + if yyq4076[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4085[0] { + if yyq4076[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr4085 || yy2arr4085 { + if yyr4076 || yy2arr4076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[1] { + if yyq4076[1] { if x.Max == nil { r.EncodeNil() } else { @@ -50919,7 +50837,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4085[1] { + if yyq4076[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50930,9 +50848,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4085 || yy2arr4085 { + if yyr4076 || yy2arr4076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[2] { + if yyq4076[2] { if x.Min == nil { r.EncodeNil() } else { @@ -50942,7 +50860,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4085[2] { + if yyq4076[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50953,9 +50871,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4085 || yy2arr4085 { + if yyr4076 || yy2arr4076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[3] { + if yyq4076[3] { if x.Default == nil { r.EncodeNil() } else { @@ -50965,7 +50883,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4085[3] { + if yyq4076[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50976,9 +50894,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4085 || yy2arr4085 { + if yyr4076 || yy2arr4076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[4] { + if yyq4076[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -50988,7 +50906,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4085[4] { + if yyq4076[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50999,9 +50917,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4085 || yy2arr4085 { + if yyr4076 || yy2arr4076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[5] { + if yyq4076[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -51011,7 +50929,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4085[5] { + if yyq4076[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -51022,7 +50940,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4085 || yy2arr4085 { + if yyr4076 || yy2arr4076 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51035,25 +50953,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4092 := z.DecBinary() - _ = yym4092 + yym4083 := z.DecBinary() + _ = yym4083 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4093 := r.ContainerType() - if yyct4093 == codecSelferValueTypeMap1234 { - yyl4093 := r.ReadMapStart() - if yyl4093 == 0 { + yyct4084 := r.ContainerType() + if yyct4084 == codecSelferValueTypeMap1234 { + yyl4084 := r.ReadMapStart() + if yyl4084 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4093, d) + x.codecDecodeSelfFromMap(yyl4084, d) } - } else if yyct4093 == codecSelferValueTypeArray1234 { - yyl4093 := r.ReadArrayStart() - if yyl4093 == 0 { + } else if yyct4084 == codecSelferValueTypeArray1234 { + yyl4084 := r.ReadArrayStart() + if yyl4084 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4093, d) + x.codecDecodeSelfFromArray(yyl4084, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51065,12 +50983,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4094Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4094Slc - var yyhl4094 bool = l >= 0 - for yyj4094 := 0; ; yyj4094++ { - if yyhl4094 { - if yyj4094 >= l { + var yys4085Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4085Slc + var yyhl4085 bool = l >= 0 + for yyj4085 := 0; ; yyj4085++ { + if yyhl4085 { + if yyj4085 >= l { break } } else { @@ -51079,10 +50997,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4094Slc = r.DecodeBytes(yys4094Slc, true, true) - yys4094 := string(yys4094Slc) + yys4085Slc = r.DecodeBytes(yys4085Slc, true, true) + yys4085 := string(yys4085Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4094 { + switch yys4085 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -51093,41 +51011,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4096 := &x.Max - yyv4096.CodecDecodeSelf(d) + yyv4087 := &x.Max + yyv4087.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4097 := &x.Min - yyv4097.CodecDecodeSelf(d) + yyv4088 := &x.Min + yyv4088.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4098 := &x.Default - yyv4098.CodecDecodeSelf(d) + yyv4089 := &x.Default + yyv4089.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4099 := &x.DefaultRequest - yyv4099.CodecDecodeSelf(d) + yyv4090 := &x.DefaultRequest + yyv4090.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4100 := &x.MaxLimitRequestRatio - yyv4100.CodecDecodeSelf(d) + yyv4091 := &x.MaxLimitRequestRatio + yyv4091.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4094) - } // end switch yys4094 - } // end for yyj4094 + z.DecStructFieldNotFound(-1, yys4085) + } // end switch yys4085 + } // end for yyj4085 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51135,16 +51053,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4101 int - var yyb4101 bool - var yyhl4101 bool = l >= 0 - yyj4101++ - if yyhl4101 { - yyb4101 = yyj4101 > l + var yyj4092 int + var yyb4092 bool + var yyhl4092 bool = l >= 0 + yyj4092++ + if yyhl4092 { + yyb4092 = yyj4092 > l } else { - yyb4101 = r.CheckBreak() + yyb4092 = r.CheckBreak() } - if yyb4101 { + if yyb4092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51154,13 +51072,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj4101++ - if yyhl4101 { - yyb4101 = yyj4101 > l + yyj4092++ + if yyhl4092 { + yyb4092 = yyj4092 > l } else { - yyb4101 = r.CheckBreak() + yyb4092 = r.CheckBreak() } - if yyb4101 { + if yyb4092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51168,16 +51086,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4103 := &x.Max - yyv4103.CodecDecodeSelf(d) + yyv4094 := &x.Max + yyv4094.CodecDecodeSelf(d) } - yyj4101++ - if yyhl4101 { - yyb4101 = yyj4101 > l + yyj4092++ + if yyhl4092 { + yyb4092 = yyj4092 > l } else { - yyb4101 = r.CheckBreak() + yyb4092 = r.CheckBreak() } - if yyb4101 { + if yyb4092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51185,16 +51103,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4104 := &x.Min - yyv4104.CodecDecodeSelf(d) + yyv4095 := &x.Min + yyv4095.CodecDecodeSelf(d) } - yyj4101++ - if yyhl4101 { - yyb4101 = yyj4101 > l + yyj4092++ + if yyhl4092 { + yyb4092 = yyj4092 > l } else { - yyb4101 = r.CheckBreak() + yyb4092 = r.CheckBreak() } - if yyb4101 { + if yyb4092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51202,16 +51120,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4105 := &x.Default - yyv4105.CodecDecodeSelf(d) + yyv4096 := &x.Default + yyv4096.CodecDecodeSelf(d) } - yyj4101++ - if yyhl4101 { - yyb4101 = yyj4101 > l + yyj4092++ + if yyhl4092 { + yyb4092 = yyj4092 > l } else { - yyb4101 = r.CheckBreak() + yyb4092 = r.CheckBreak() } - if yyb4101 { + if yyb4092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51219,16 +51137,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4106 := &x.DefaultRequest - yyv4106.CodecDecodeSelf(d) + yyv4097 := &x.DefaultRequest + yyv4097.CodecDecodeSelf(d) } - yyj4101++ - if yyhl4101 { - yyb4101 = yyj4101 > l + yyj4092++ + if yyhl4092 { + yyb4092 = yyj4092 > l } else { - yyb4101 = r.CheckBreak() + yyb4092 = r.CheckBreak() } - if yyb4101 { + if yyb4092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51236,21 +51154,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4107 := &x.MaxLimitRequestRatio - yyv4107.CodecDecodeSelf(d) + yyv4098 := &x.MaxLimitRequestRatio + yyv4098.CodecDecodeSelf(d) } for { - yyj4101++ - if yyhl4101 { - yyb4101 = yyj4101 > l + yyj4092++ + if yyhl4092 { + yyb4092 = yyj4092 > l } else { - yyb4101 = r.CheckBreak() + yyb4092 = r.CheckBreak() } - if yyb4101 { + if yyb4092 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4101-1, "") + z.DecStructFieldNotFound(yyj4092-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51262,36 +51180,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4108 := z.EncBinary() - _ = yym4108 + yym4099 := z.EncBinary() + _ = yym4099 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4109 := !z.EncBinary() - yy2arr4109 := z.EncBasicHandle().StructToArray - var yyq4109 [1]bool - _, _, _ = yysep4109, yyq4109, yy2arr4109 - const yyr4109 bool = false - var yynn4109 int - if yyr4109 || yy2arr4109 { + yysep4100 := !z.EncBinary() + yy2arr4100 := z.EncBasicHandle().StructToArray + var yyq4100 [1]bool + _, _, _ = yysep4100, yyq4100, yy2arr4100 + const yyr4100 bool = false + var yynn4100 int + if yyr4100 || yy2arr4100 { r.EncodeArrayStart(1) } else { - yynn4109 = 1 - for _, b := range yyq4109 { + yynn4100 = 1 + for _, b := range yyq4100 { if b { - yynn4109++ + yynn4100++ } } - r.EncodeMapStart(yynn4109) - yynn4109 = 0 + r.EncodeMapStart(yynn4100) + yynn4100 = 0 } - if yyr4109 || yy2arr4109 { + if yyr4100 || yy2arr4100 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym4111 := z.EncBinary() - _ = yym4111 + yym4102 := z.EncBinary() + _ = yym4102 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -51304,15 +51222,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym4112 := z.EncBinary() - _ = yym4112 + yym4103 := z.EncBinary() + _ = yym4103 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr4109 || yy2arr4109 { + if yyr4100 || yy2arr4100 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51325,25 +51243,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4113 := z.DecBinary() - _ = yym4113 + yym4104 := z.DecBinary() + _ = yym4104 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4114 := r.ContainerType() - if yyct4114 == codecSelferValueTypeMap1234 { - yyl4114 := r.ReadMapStart() - if yyl4114 == 0 { + yyct4105 := r.ContainerType() + if yyct4105 == codecSelferValueTypeMap1234 { + yyl4105 := r.ReadMapStart() + if yyl4105 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4114, d) + x.codecDecodeSelfFromMap(yyl4105, d) } - } else if yyct4114 == codecSelferValueTypeArray1234 { - yyl4114 := r.ReadArrayStart() - if yyl4114 == 0 { + } else if yyct4105 == codecSelferValueTypeArray1234 { + yyl4105 := r.ReadArrayStart() + if yyl4105 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4114, d) + x.codecDecodeSelfFromArray(yyl4105, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51355,12 +51273,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4115Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4115Slc - var yyhl4115 bool = l >= 0 - for yyj4115 := 0; ; yyj4115++ { - if yyhl4115 { - if yyj4115 >= l { + var yys4106Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4106Slc + var yyhl4106 bool = l >= 0 + for yyj4106 := 0; ; yyj4106++ { + if yyhl4106 { + if yyj4106 >= l { break } } else { @@ -51369,26 +51287,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4115Slc = r.DecodeBytes(yys4115Slc, true, true) - yys4115 := string(yys4115Slc) + yys4106Slc = r.DecodeBytes(yys4106Slc, true, true) + yys4106 := string(yys4106Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4115 { + switch yys4106 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4116 := &x.Limits - yym4117 := z.DecBinary() - _ = yym4117 + yyv4107 := &x.Limits + yym4108 := z.DecBinary() + _ = yym4108 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4116), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4107), d) } } default: - z.DecStructFieldNotFound(-1, yys4115) - } // end switch yys4115 - } // end for yyj4115 + z.DecStructFieldNotFound(-1, yys4106) + } // end switch yys4106 + } // end for yyj4106 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51396,16 +51314,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4118 int - var yyb4118 bool - var yyhl4118 bool = l >= 0 - yyj4118++ - if yyhl4118 { - yyb4118 = yyj4118 > l + var yyj4109 int + var yyb4109 bool + var yyhl4109 bool = l >= 0 + yyj4109++ + if yyhl4109 { + yyb4109 = yyj4109 > l } else { - yyb4118 = r.CheckBreak() + yyb4109 = r.CheckBreak() } - if yyb4118 { + if yyb4109 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51413,26 +51331,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4119 := &x.Limits - yym4120 := z.DecBinary() - _ = yym4120 + yyv4110 := &x.Limits + yym4111 := z.DecBinary() + _ = yym4111 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4119), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4110), d) } } for { - yyj4118++ - if yyhl4118 { - yyb4118 = yyj4118 > l + yyj4109++ + if yyhl4109 { + yyb4109 = yyj4109 > l } else { - yyb4118 = r.CheckBreak() + yyb4109 = r.CheckBreak() } - if yyb4118 { + if yyb4109 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4118-1, "") + z.DecStructFieldNotFound(yyj4109-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51444,38 +51362,38 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4121 := z.EncBinary() - _ = yym4121 + yym4112 := z.EncBinary() + _ = yym4112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4122 := !z.EncBinary() - yy2arr4122 := z.EncBasicHandle().StructToArray - var yyq4122 [4]bool - _, _, _ = yysep4122, yyq4122, yy2arr4122 - const yyr4122 bool = false - yyq4122[0] = x.Kind != "" - yyq4122[1] = x.APIVersion != "" - yyq4122[2] = true - yyq4122[3] = true - var yynn4122 int - if yyr4122 || yy2arr4122 { + yysep4113 := !z.EncBinary() + yy2arr4113 := z.EncBasicHandle().StructToArray + var yyq4113 [4]bool + _, _, _ = yysep4113, yyq4113, yy2arr4113 + const yyr4113 bool = false + yyq4113[0] = x.Kind != "" + yyq4113[1] = x.APIVersion != "" + yyq4113[2] = true + yyq4113[3] = true + var yynn4113 int + if yyr4113 || yy2arr4113 { r.EncodeArrayStart(4) } else { - yynn4122 = 0 - for _, b := range yyq4122 { + yynn4113 = 0 + for _, b := range yyq4113 { if b { - yynn4122++ + yynn4113++ } } - r.EncodeMapStart(yynn4122) - yynn4122 = 0 + r.EncodeMapStart(yynn4113) + yynn4113 = 0 } - if yyr4122 || yy2arr4122 { + if yyr4113 || yy2arr4113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4122[0] { - yym4124 := z.EncBinary() - _ = yym4124 + if yyq4113[0] { + yym4115 := z.EncBinary() + _ = yym4115 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51484,23 +51402,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4122[0] { + if yyq4113[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4125 := z.EncBinary() - _ = yym4125 + yym4116 := z.EncBinary() + _ = yym4116 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4122 || yy2arr4122 { + if yyr4113 || yy2arr4113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4122[1] { - yym4127 := z.EncBinary() - _ = yym4127 + if yyq4113[1] { + yym4118 := z.EncBinary() + _ = yym4118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -51509,53 +51427,53 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4122[1] { + if yyq4113[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4128 := z.EncBinary() - _ = yym4128 + yym4119 := z.EncBinary() + _ = yym4119 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4122 || yy2arr4122 { + if yyr4113 || yy2arr4113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4122[2] { - yy4130 := &x.ObjectMeta - yy4130.CodecEncodeSelf(e) + if yyq4113[2] { + yy4121 := &x.ObjectMeta + yy4121.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4122[2] { + if yyq4113[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4131 := &x.ObjectMeta - yy4131.CodecEncodeSelf(e) + yy4122 := &x.ObjectMeta + yy4122.CodecEncodeSelf(e) } } - if yyr4122 || yy2arr4122 { + if yyr4113 || yy2arr4113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4122[3] { - yy4133 := &x.Spec - yy4133.CodecEncodeSelf(e) + if yyq4113[3] { + yy4124 := &x.Spec + yy4124.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4122[3] { + if yyq4113[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4134 := &x.Spec - yy4134.CodecEncodeSelf(e) + yy4125 := &x.Spec + yy4125.CodecEncodeSelf(e) } } - if yyr4122 || yy2arr4122 { + if yyr4113 || yy2arr4113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51568,25 +51486,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4135 := z.DecBinary() - _ = yym4135 + yym4126 := z.DecBinary() + _ = yym4126 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4136 := r.ContainerType() - if yyct4136 == codecSelferValueTypeMap1234 { - yyl4136 := r.ReadMapStart() - if yyl4136 == 0 { + yyct4127 := r.ContainerType() + if yyct4127 == codecSelferValueTypeMap1234 { + yyl4127 := r.ReadMapStart() + if yyl4127 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4136, d) + x.codecDecodeSelfFromMap(yyl4127, d) } - } else if yyct4136 == codecSelferValueTypeArray1234 { - yyl4136 := r.ReadArrayStart() - if yyl4136 == 0 { + } else if yyct4127 == codecSelferValueTypeArray1234 { + yyl4127 := r.ReadArrayStart() + if yyl4127 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4136, d) + x.codecDecodeSelfFromArray(yyl4127, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51598,12 +51516,12 @@ func (x *LimitRange) 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 yys4128Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4128Slc + var yyhl4128 bool = l >= 0 + for yyj4128 := 0; ; yyj4128++ { + if yyhl4128 { + if yyj4128 >= l { break } } else { @@ -51612,10 +51530,10 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4137Slc = r.DecodeBytes(yys4137Slc, true, true) - yys4137 := string(yys4137Slc) + yys4128Slc = r.DecodeBytes(yys4128Slc, true, true) + yys4128 := string(yys4128Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4137 { + switch yys4128 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51632,20 +51550,20 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4140 := &x.ObjectMeta - yyv4140.CodecDecodeSelf(d) + yyv4131 := &x.ObjectMeta + yyv4131.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4141 := &x.Spec - yyv4141.CodecDecodeSelf(d) + yyv4132 := &x.Spec + yyv4132.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4137) - } // end switch yys4137 - } // end for yyj4137 + z.DecStructFieldNotFound(-1, yys4128) + } // end switch yys4128 + } // end for yyj4128 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51653,16 +51571,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4142 int - var yyb4142 bool - var yyhl4142 bool = l >= 0 - yyj4142++ - if yyhl4142 { - yyb4142 = yyj4142 > l + var yyj4133 int + var yyb4133 bool + var yyhl4133 bool = l >= 0 + yyj4133++ + if yyhl4133 { + yyb4133 = yyj4133 > l } else { - yyb4142 = r.CheckBreak() + yyb4133 = r.CheckBreak() } - if yyb4142 { + if yyb4133 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51672,13 +51590,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4142++ - if yyhl4142 { - yyb4142 = yyj4142 > l + yyj4133++ + if yyhl4133 { + yyb4133 = yyj4133 > l } else { - yyb4142 = r.CheckBreak() + yyb4133 = r.CheckBreak() } - if yyb4142 { + if yyb4133 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51688,13 +51606,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4142++ - if yyhl4142 { - yyb4142 = yyj4142 > l + yyj4133++ + if yyhl4133 { + yyb4133 = yyj4133 > l } else { - yyb4142 = r.CheckBreak() + yyb4133 = r.CheckBreak() } - if yyb4142 { + if yyb4133 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51702,16 +51620,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4145 := &x.ObjectMeta - yyv4145.CodecDecodeSelf(d) + yyv4136 := &x.ObjectMeta + yyv4136.CodecDecodeSelf(d) } - yyj4142++ - if yyhl4142 { - yyb4142 = yyj4142 > l + yyj4133++ + if yyhl4133 { + yyb4133 = yyj4133 > l } else { - yyb4142 = r.CheckBreak() + yyb4133 = r.CheckBreak() } - if yyb4142 { + if yyb4133 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51719,21 +51637,21 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4146 := &x.Spec - yyv4146.CodecDecodeSelf(d) + yyv4137 := &x.Spec + yyv4137.CodecDecodeSelf(d) } for { - yyj4142++ - if yyhl4142 { - yyb4142 = yyj4142 > l + yyj4133++ + if yyhl4133 { + yyb4133 = yyj4133 > l } else { - yyb4142 = r.CheckBreak() + yyb4133 = r.CheckBreak() } - if yyb4142 { + if yyb4133 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4142-1, "") + z.DecStructFieldNotFound(yyj4133-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51745,37 +51663,37 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4147 := z.EncBinary() - _ = yym4147 + yym4138 := z.EncBinary() + _ = yym4138 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4148 := !z.EncBinary() - yy2arr4148 := z.EncBasicHandle().StructToArray - var yyq4148 [4]bool - _, _, _ = yysep4148, yyq4148, yy2arr4148 - const yyr4148 bool = false - yyq4148[0] = x.Kind != "" - yyq4148[1] = x.APIVersion != "" - yyq4148[2] = true - var yynn4148 int - if yyr4148 || yy2arr4148 { + yysep4139 := !z.EncBinary() + yy2arr4139 := z.EncBasicHandle().StructToArray + var yyq4139 [4]bool + _, _, _ = yysep4139, yyq4139, yy2arr4139 + const yyr4139 bool = false + yyq4139[0] = x.Kind != "" + yyq4139[1] = x.APIVersion != "" + yyq4139[2] = true + var yynn4139 int + if yyr4139 || yy2arr4139 { r.EncodeArrayStart(4) } else { - yynn4148 = 1 - for _, b := range yyq4148 { + yynn4139 = 1 + for _, b := range yyq4139 { if b { - yynn4148++ + yynn4139++ } } - r.EncodeMapStart(yynn4148) - yynn4148 = 0 + r.EncodeMapStart(yynn4139) + yynn4139 = 0 } - if yyr4148 || yy2arr4148 { + if yyr4139 || yy2arr4139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[0] { - yym4150 := z.EncBinary() - _ = yym4150 + if yyq4139[0] { + yym4141 := z.EncBinary() + _ = yym4141 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51784,23 +51702,23 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4148[0] { + if yyq4139[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4151 := z.EncBinary() - _ = yym4151 + yym4142 := z.EncBinary() + _ = yym4142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4148 || yy2arr4148 { + if yyr4139 || yy2arr4139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[1] { - yym4153 := z.EncBinary() - _ = yym4153 + if yyq4139[1] { + yym4144 := z.EncBinary() + _ = yym4144 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -51809,54 +51727,54 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4148[1] { + if yyq4139[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4154 := z.EncBinary() - _ = yym4154 + yym4145 := z.EncBinary() + _ = yym4145 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4148 || yy2arr4148 { + if yyr4139 || yy2arr4139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[2] { - yy4156 := &x.ListMeta - yym4157 := z.EncBinary() - _ = yym4157 + if yyq4139[2] { + yy4147 := &x.ListMeta + yym4148 := z.EncBinary() + _ = yym4148 if false { - } else if z.HasExtensions() && z.EncExt(yy4156) { + } else if z.HasExtensions() && z.EncExt(yy4147) { } else { - z.EncFallback(yy4156) + z.EncFallback(yy4147) } } else { r.EncodeNil() } } else { - if yyq4148[2] { + if yyq4139[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4158 := &x.ListMeta - yym4159 := z.EncBinary() - _ = yym4159 + yy4149 := &x.ListMeta + yym4150 := z.EncBinary() + _ = yym4150 if false { - } else if z.HasExtensions() && z.EncExt(yy4158) { + } else if z.HasExtensions() && z.EncExt(yy4149) { } else { - z.EncFallback(yy4158) + z.EncFallback(yy4149) } } } - if yyr4148 || yy2arr4148 { + if yyr4139 || yy2arr4139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4161 := z.EncBinary() - _ = yym4161 + yym4152 := z.EncBinary() + _ = yym4152 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -51869,15 +51787,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4162 := z.EncBinary() - _ = yym4162 + yym4153 := z.EncBinary() + _ = yym4153 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr4148 || yy2arr4148 { + if yyr4139 || yy2arr4139 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51890,25 +51808,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4163 := z.DecBinary() - _ = yym4163 + yym4154 := z.DecBinary() + _ = yym4154 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4164 := r.ContainerType() - if yyct4164 == codecSelferValueTypeMap1234 { - yyl4164 := r.ReadMapStart() - if yyl4164 == 0 { + yyct4155 := r.ContainerType() + if yyct4155 == codecSelferValueTypeMap1234 { + yyl4155 := r.ReadMapStart() + if yyl4155 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4164, d) + x.codecDecodeSelfFromMap(yyl4155, d) } - } else if yyct4164 == codecSelferValueTypeArray1234 { - yyl4164 := r.ReadArrayStart() - if yyl4164 == 0 { + } else if yyct4155 == codecSelferValueTypeArray1234 { + yyl4155 := r.ReadArrayStart() + if yyl4155 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4164, d) + x.codecDecodeSelfFromArray(yyl4155, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51920,12 +51838,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4165Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4165Slc - var yyhl4165 bool = l >= 0 - for yyj4165 := 0; ; yyj4165++ { - if yyhl4165 { - if yyj4165 >= l { + var yys4156Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4156Slc + var yyhl4156 bool = l >= 0 + for yyj4156 := 0; ; yyj4156++ { + if yyhl4156 { + if yyj4156 >= l { break } } else { @@ -51934,10 +51852,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4165Slc = r.DecodeBytes(yys4165Slc, true, true) - yys4165 := string(yys4165Slc) + yys4156Slc = r.DecodeBytes(yys4156Slc, true, true) + yys4156 := string(yys4156Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4165 { + switch yys4156 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51954,31 +51872,31 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4168 := &x.ListMeta - yym4169 := z.DecBinary() - _ = yym4169 + yyv4159 := &x.ListMeta + yym4160 := z.DecBinary() + _ = yym4160 if false { - } else if z.HasExtensions() && z.DecExt(yyv4168) { + } else if z.HasExtensions() && z.DecExt(yyv4159) { } else { - z.DecFallback(yyv4168, false) + z.DecFallback(yyv4159, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4170 := &x.Items - yym4171 := z.DecBinary() - _ = yym4171 + yyv4161 := &x.Items + yym4162 := z.DecBinary() + _ = yym4162 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4170), d) + h.decSliceLimitRange((*[]LimitRange)(yyv4161), d) } } default: - z.DecStructFieldNotFound(-1, yys4165) - } // end switch yys4165 - } // end for yyj4165 + z.DecStructFieldNotFound(-1, yys4156) + } // end switch yys4156 + } // end for yyj4156 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51986,16 +51904,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4172 int - var yyb4172 bool - var yyhl4172 bool = l >= 0 - yyj4172++ - if yyhl4172 { - yyb4172 = yyj4172 > l + var yyj4163 int + var yyb4163 bool + var yyhl4163 bool = l >= 0 + yyj4163++ + if yyhl4163 { + yyb4163 = yyj4163 > l } else { - yyb4172 = r.CheckBreak() + yyb4163 = r.CheckBreak() } - if yyb4172 { + if yyb4163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52005,13 +51923,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4172++ - if yyhl4172 { - yyb4172 = yyj4172 > l + yyj4163++ + if yyhl4163 { + yyb4163 = yyj4163 > l } else { - yyb4172 = r.CheckBreak() + yyb4163 = r.CheckBreak() } - if yyb4172 { + if yyb4163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52021,13 +51939,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4172++ - if yyhl4172 { - yyb4172 = yyj4172 > l + yyj4163++ + if yyhl4163 { + yyb4163 = yyj4163 > l } else { - yyb4172 = r.CheckBreak() + yyb4163 = r.CheckBreak() } - if yyb4172 { + if yyb4163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52035,22 +51953,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4175 := &x.ListMeta - yym4176 := z.DecBinary() - _ = yym4176 + yyv4166 := &x.ListMeta + yym4167 := z.DecBinary() + _ = yym4167 if false { - } else if z.HasExtensions() && z.DecExt(yyv4175) { + } else if z.HasExtensions() && z.DecExt(yyv4166) { } else { - z.DecFallback(yyv4175, false) + z.DecFallback(yyv4166, false) } } - yyj4172++ - if yyhl4172 { - yyb4172 = yyj4172 > l + yyj4163++ + if yyhl4163 { + yyb4163 = yyj4163 > l } else { - yyb4172 = r.CheckBreak() + yyb4163 = r.CheckBreak() } - if yyb4172 { + if yyb4163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52058,26 +51976,26 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4177 := &x.Items - yym4178 := z.DecBinary() - _ = yym4178 + yyv4168 := &x.Items + yym4169 := z.DecBinary() + _ = yym4169 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4177), d) + h.decSliceLimitRange((*[]LimitRange)(yyv4168), d) } } for { - yyj4172++ - if yyhl4172 { - yyb4172 = yyj4172 > l + yyj4163++ + if yyhl4163 { + yyb4163 = yyj4163 > l } else { - yyb4172 = r.CheckBreak() + yyb4163 = r.CheckBreak() } - if yyb4172 { + if yyb4163 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4172-1, "") + z.DecStructFieldNotFound(yyj4163-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52086,8 +52004,8 @@ func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4179 := z.EncBinary() - _ = yym4179 + yym4170 := z.EncBinary() + _ = yym4170 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -52099,8 +52017,8 @@ func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4180 := z.DecBinary() - _ = yym4180 + yym4171 := z.DecBinary() + _ = yym4171 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -52115,34 +52033,34 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4181 := z.EncBinary() - _ = yym4181 + yym4172 := z.EncBinary() + _ = yym4172 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4182 := !z.EncBinary() - yy2arr4182 := z.EncBasicHandle().StructToArray - var yyq4182 [2]bool - _, _, _ = yysep4182, yyq4182, yy2arr4182 - const yyr4182 bool = false - yyq4182[0] = len(x.Hard) != 0 - yyq4182[1] = len(x.Scopes) != 0 - var yynn4182 int - if yyr4182 || yy2arr4182 { + yysep4173 := !z.EncBinary() + yy2arr4173 := z.EncBasicHandle().StructToArray + var yyq4173 [2]bool + _, _, _ = yysep4173, yyq4173, yy2arr4173 + const yyr4173 bool = false + yyq4173[0] = len(x.Hard) != 0 + yyq4173[1] = len(x.Scopes) != 0 + var yynn4173 int + if yyr4173 || yy2arr4173 { r.EncodeArrayStart(2) } else { - yynn4182 = 0 - for _, b := range yyq4182 { + yynn4173 = 0 + for _, b := range yyq4173 { if b { - yynn4182++ + yynn4173++ } } - r.EncodeMapStart(yynn4182) - yynn4182 = 0 + r.EncodeMapStart(yynn4173) + yynn4173 = 0 } - if yyr4182 || yy2arr4182 { + if yyr4173 || yy2arr4173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[0] { + if yyq4173[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -52152,7 +52070,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4182[0] { + if yyq4173[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -52163,14 +52081,14 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4182 || yy2arr4182 { + if yyr4173 || yy2arr4173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[1] { + if yyq4173[1] { if x.Scopes == nil { r.EncodeNil() } else { - yym4185 := z.EncBinary() - _ = yym4185 + yym4176 := z.EncBinary() + _ = yym4176 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -52180,15 +52098,15 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4182[1] { + if yyq4173[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scopes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Scopes == nil { r.EncodeNil() } else { - yym4186 := z.EncBinary() - _ = yym4186 + yym4177 := z.EncBinary() + _ = yym4177 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -52196,7 +52114,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4182 || yy2arr4182 { + if yyr4173 || yy2arr4173 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52209,25 +52127,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4187 := z.DecBinary() - _ = yym4187 + yym4178 := z.DecBinary() + _ = yym4178 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4188 := r.ContainerType() - if yyct4188 == codecSelferValueTypeMap1234 { - yyl4188 := r.ReadMapStart() - if yyl4188 == 0 { + yyct4179 := r.ContainerType() + if yyct4179 == codecSelferValueTypeMap1234 { + yyl4179 := r.ReadMapStart() + if yyl4179 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4188, d) + x.codecDecodeSelfFromMap(yyl4179, d) } - } else if yyct4188 == codecSelferValueTypeArray1234 { - yyl4188 := r.ReadArrayStart() - if yyl4188 == 0 { + } else if yyct4179 == codecSelferValueTypeArray1234 { + yyl4179 := r.ReadArrayStart() + if yyl4179 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4188, d) + x.codecDecodeSelfFromArray(yyl4179, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52239,12 +52157,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4189Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4189Slc - var yyhl4189 bool = l >= 0 - for yyj4189 := 0; ; yyj4189++ { - if yyhl4189 { - if yyj4189 >= l { + var yys4180Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4180Slc + var yyhl4180 bool = l >= 0 + for yyj4180 := 0; ; yyj4180++ { + if yyhl4180 { + if yyj4180 >= l { break } } else { @@ -52253,33 +52171,33 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4189Slc = r.DecodeBytes(yys4189Slc, true, true) - yys4189 := string(yys4189Slc) + yys4180Slc = r.DecodeBytes(yys4180Slc, true, true) + yys4180 := string(yys4180Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4189 { + switch yys4180 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4190 := &x.Hard - yyv4190.CodecDecodeSelf(d) + yyv4181 := &x.Hard + yyv4181.CodecDecodeSelf(d) } case "scopes": if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv4191 := &x.Scopes - yym4192 := z.DecBinary() - _ = yym4192 + yyv4182 := &x.Scopes + yym4183 := z.DecBinary() + _ = yym4183 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4191), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4182), d) } } default: - z.DecStructFieldNotFound(-1, yys4189) - } // end switch yys4189 - } // end for yyj4189 + z.DecStructFieldNotFound(-1, yys4180) + } // end switch yys4180 + } // end for yyj4180 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52287,16 +52205,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4193 int - var yyb4193 bool - var yyhl4193 bool = l >= 0 - yyj4193++ - if yyhl4193 { - yyb4193 = yyj4193 > l + var yyj4184 int + var yyb4184 bool + var yyhl4184 bool = l >= 0 + yyj4184++ + if yyhl4184 { + yyb4184 = yyj4184 > l } else { - yyb4193 = r.CheckBreak() + yyb4184 = r.CheckBreak() } - if yyb4193 { + if yyb4184 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52304,16 +52222,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4194 := &x.Hard - yyv4194.CodecDecodeSelf(d) + yyv4185 := &x.Hard + yyv4185.CodecDecodeSelf(d) } - yyj4193++ - if yyhl4193 { - yyb4193 = yyj4193 > l + yyj4184++ + if yyhl4184 { + yyb4184 = yyj4184 > l } else { - yyb4193 = r.CheckBreak() + yyb4184 = r.CheckBreak() } - if yyb4193 { + if yyb4184 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52321,26 +52239,26 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv4195 := &x.Scopes - yym4196 := z.DecBinary() - _ = yym4196 + yyv4186 := &x.Scopes + yym4187 := z.DecBinary() + _ = yym4187 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4195), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4186), d) } } for { - yyj4193++ - if yyhl4193 { - yyb4193 = yyj4193 > l + yyj4184++ + if yyhl4184 { + yyb4184 = yyj4184 > l } else { - yyb4193 = r.CheckBreak() + yyb4184 = r.CheckBreak() } - if yyb4193 { + if yyb4184 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4193-1, "") + z.DecStructFieldNotFound(yyj4184-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52352,34 +52270,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4197 := z.EncBinary() - _ = yym4197 + yym4188 := z.EncBinary() + _ = yym4188 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4198 := !z.EncBinary() - yy2arr4198 := z.EncBasicHandle().StructToArray - var yyq4198 [2]bool - _, _, _ = yysep4198, yyq4198, yy2arr4198 - const yyr4198 bool = false - yyq4198[0] = len(x.Hard) != 0 - yyq4198[1] = len(x.Used) != 0 - var yynn4198 int - if yyr4198 || yy2arr4198 { + yysep4189 := !z.EncBinary() + yy2arr4189 := z.EncBasicHandle().StructToArray + var yyq4189 [2]bool + _, _, _ = yysep4189, yyq4189, yy2arr4189 + const yyr4189 bool = false + yyq4189[0] = len(x.Hard) != 0 + yyq4189[1] = len(x.Used) != 0 + var yynn4189 int + if yyr4189 || yy2arr4189 { r.EncodeArrayStart(2) } else { - yynn4198 = 0 - for _, b := range yyq4198 { + yynn4189 = 0 + for _, b := range yyq4189 { if b { - yynn4198++ + yynn4189++ } } - r.EncodeMapStart(yynn4198) - yynn4198 = 0 + r.EncodeMapStart(yynn4189) + yynn4189 = 0 } - if yyr4198 || yy2arr4198 { + if yyr4189 || yy2arr4189 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4198[0] { + if yyq4189[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -52389,7 +52307,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4198[0] { + if yyq4189[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -52400,9 +52318,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4198 || yy2arr4198 { + if yyr4189 || yy2arr4189 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4198[1] { + if yyq4189[1] { if x.Used == nil { r.EncodeNil() } else { @@ -52412,7 +52330,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4198[1] { + if yyq4189[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -52423,7 +52341,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4198 || yy2arr4198 { + if yyr4189 || yy2arr4189 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52436,25 +52354,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4201 := z.DecBinary() - _ = yym4201 + yym4192 := z.DecBinary() + _ = yym4192 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4202 := r.ContainerType() - if yyct4202 == codecSelferValueTypeMap1234 { - yyl4202 := r.ReadMapStart() - if yyl4202 == 0 { + yyct4193 := r.ContainerType() + if yyct4193 == codecSelferValueTypeMap1234 { + yyl4193 := r.ReadMapStart() + if yyl4193 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4202, d) + x.codecDecodeSelfFromMap(yyl4193, d) } - } else if yyct4202 == codecSelferValueTypeArray1234 { - yyl4202 := r.ReadArrayStart() - if yyl4202 == 0 { + } else if yyct4193 == codecSelferValueTypeArray1234 { + yyl4193 := r.ReadArrayStart() + if yyl4193 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4202, d) + x.codecDecodeSelfFromArray(yyl4193, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52466,12 +52384,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4203Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4203Slc - var yyhl4203 bool = l >= 0 - for yyj4203 := 0; ; yyj4203++ { - if yyhl4203 { - if yyj4203 >= l { + var yys4194Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4194Slc + var yyhl4194 bool = l >= 0 + for yyj4194 := 0; ; yyj4194++ { + if yyhl4194 { + if yyj4194 >= l { break } } else { @@ -52480,28 +52398,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4203Slc = r.DecodeBytes(yys4203Slc, true, true) - yys4203 := string(yys4203Slc) + yys4194Slc = r.DecodeBytes(yys4194Slc, true, true) + yys4194 := string(yys4194Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4203 { + switch yys4194 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4204 := &x.Hard - yyv4204.CodecDecodeSelf(d) + yyv4195 := &x.Hard + yyv4195.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv4205 := &x.Used - yyv4205.CodecDecodeSelf(d) + yyv4196 := &x.Used + yyv4196.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4203) - } // end switch yys4203 - } // end for yyj4203 + z.DecStructFieldNotFound(-1, yys4194) + } // end switch yys4194 + } // end for yyj4194 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52509,16 +52427,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4206 int - var yyb4206 bool - var yyhl4206 bool = l >= 0 - yyj4206++ - if yyhl4206 { - yyb4206 = yyj4206 > l + var yyj4197 int + var yyb4197 bool + var yyhl4197 bool = l >= 0 + yyj4197++ + if yyhl4197 { + yyb4197 = yyj4197 > l } else { - yyb4206 = r.CheckBreak() + yyb4197 = r.CheckBreak() } - if yyb4206 { + if yyb4197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52526,16 +52444,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4207 := &x.Hard - yyv4207.CodecDecodeSelf(d) + yyv4198 := &x.Hard + yyv4198.CodecDecodeSelf(d) } - yyj4206++ - if yyhl4206 { - yyb4206 = yyj4206 > l + yyj4197++ + if yyhl4197 { + yyb4197 = yyj4197 > l } else { - yyb4206 = r.CheckBreak() + yyb4197 = r.CheckBreak() } - if yyb4206 { + if yyb4197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52543,21 +52461,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv4208 := &x.Used - yyv4208.CodecDecodeSelf(d) + yyv4199 := &x.Used + yyv4199.CodecDecodeSelf(d) } for { - yyj4206++ - if yyhl4206 { - yyb4206 = yyj4206 > l + yyj4197++ + if yyhl4197 { + yyb4197 = yyj4197 > l } else { - yyb4206 = r.CheckBreak() + yyb4197 = r.CheckBreak() } - if yyb4206 { + if yyb4197 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4206-1, "") + z.DecStructFieldNotFound(yyj4197-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52569,39 +52487,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4209 := z.EncBinary() - _ = yym4209 + yym4200 := z.EncBinary() + _ = yym4200 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4210 := !z.EncBinary() - yy2arr4210 := z.EncBasicHandle().StructToArray - var yyq4210 [5]bool - _, _, _ = yysep4210, yyq4210, yy2arr4210 - const yyr4210 bool = false - yyq4210[0] = x.Kind != "" - yyq4210[1] = x.APIVersion != "" - yyq4210[2] = true - yyq4210[3] = true - yyq4210[4] = true - var yynn4210 int - if yyr4210 || yy2arr4210 { + yysep4201 := !z.EncBinary() + yy2arr4201 := z.EncBasicHandle().StructToArray + var yyq4201 [5]bool + _, _, _ = yysep4201, yyq4201, yy2arr4201 + const yyr4201 bool = false + yyq4201[0] = x.Kind != "" + yyq4201[1] = x.APIVersion != "" + yyq4201[2] = true + yyq4201[3] = true + yyq4201[4] = true + var yynn4201 int + if yyr4201 || yy2arr4201 { r.EncodeArrayStart(5) } else { - yynn4210 = 0 - for _, b := range yyq4210 { + yynn4201 = 0 + for _, b := range yyq4201 { if b { - yynn4210++ + yynn4201++ } } - r.EncodeMapStart(yynn4210) - yynn4210 = 0 + r.EncodeMapStart(yynn4201) + yynn4201 = 0 } - if yyr4210 || yy2arr4210 { + if yyr4201 || yy2arr4201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4210[0] { - yym4212 := z.EncBinary() - _ = yym4212 + if yyq4201[0] { + yym4203 := z.EncBinary() + _ = yym4203 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52610,23 +52528,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4210[0] { + if yyq4201[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4213 := z.EncBinary() - _ = yym4213 + yym4204 := z.EncBinary() + _ = yym4204 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4210 || yy2arr4210 { + if yyr4201 || yy2arr4201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4210[1] { - yym4215 := z.EncBinary() - _ = yym4215 + if yyq4201[1] { + yym4206 := z.EncBinary() + _ = yym4206 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52635,70 +52553,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4210[1] { + if yyq4201[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4216 := z.EncBinary() - _ = yym4216 + yym4207 := z.EncBinary() + _ = yym4207 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4210 || yy2arr4210 { + if yyr4201 || yy2arr4201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4210[2] { - yy4218 := &x.ObjectMeta - yy4218.CodecEncodeSelf(e) + if yyq4201[2] { + yy4209 := &x.ObjectMeta + yy4209.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4210[2] { + if yyq4201[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4219 := &x.ObjectMeta - yy4219.CodecEncodeSelf(e) + yy4210 := &x.ObjectMeta + yy4210.CodecEncodeSelf(e) } } - if yyr4210 || yy2arr4210 { + if yyr4201 || yy2arr4201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4210[3] { - yy4221 := &x.Spec - yy4221.CodecEncodeSelf(e) + if yyq4201[3] { + yy4212 := &x.Spec + yy4212.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4210[3] { + if yyq4201[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4222 := &x.Spec - yy4222.CodecEncodeSelf(e) + yy4213 := &x.Spec + yy4213.CodecEncodeSelf(e) } } - if yyr4210 || yy2arr4210 { + if yyr4201 || yy2arr4201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4210[4] { - yy4224 := &x.Status - yy4224.CodecEncodeSelf(e) + if yyq4201[4] { + yy4215 := &x.Status + yy4215.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4210[4] { + if yyq4201[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4225 := &x.Status - yy4225.CodecEncodeSelf(e) + yy4216 := &x.Status + yy4216.CodecEncodeSelf(e) } } - if yyr4210 || yy2arr4210 { + if yyr4201 || yy2arr4201 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52711,25 +52629,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4226 := z.DecBinary() - _ = yym4226 + yym4217 := z.DecBinary() + _ = yym4217 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4227 := r.ContainerType() - if yyct4227 == codecSelferValueTypeMap1234 { - yyl4227 := r.ReadMapStart() - if yyl4227 == 0 { + yyct4218 := r.ContainerType() + if yyct4218 == codecSelferValueTypeMap1234 { + yyl4218 := r.ReadMapStart() + if yyl4218 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4227, d) + x.codecDecodeSelfFromMap(yyl4218, d) } - } else if yyct4227 == codecSelferValueTypeArray1234 { - yyl4227 := r.ReadArrayStart() - if yyl4227 == 0 { + } else if yyct4218 == codecSelferValueTypeArray1234 { + yyl4218 := r.ReadArrayStart() + if yyl4218 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4227, d) + x.codecDecodeSelfFromArray(yyl4218, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52741,12 +52659,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4228Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4228Slc - var yyhl4228 bool = l >= 0 - for yyj4228 := 0; ; yyj4228++ { - if yyhl4228 { - if yyj4228 >= l { + var yys4219Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4219Slc + var yyhl4219 bool = l >= 0 + for yyj4219 := 0; ; yyj4219++ { + if yyhl4219 { + if yyj4219 >= l { break } } else { @@ -52755,10 +52673,10 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4228Slc = r.DecodeBytes(yys4228Slc, true, true) - yys4228 := string(yys4228Slc) + yys4219Slc = r.DecodeBytes(yys4219Slc, true, true) + yys4219 := string(yys4219Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4228 { + switch yys4219 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52775,27 +52693,27 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4231 := &x.ObjectMeta - yyv4231.CodecDecodeSelf(d) + yyv4222 := &x.ObjectMeta + yyv4222.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4232 := &x.Spec - yyv4232.CodecDecodeSelf(d) + yyv4223 := &x.Spec + yyv4223.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4233 := &x.Status - yyv4233.CodecDecodeSelf(d) + yyv4224 := &x.Status + yyv4224.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4228) - } // end switch yys4228 - } // end for yyj4228 + z.DecStructFieldNotFound(-1, yys4219) + } // end switch yys4219 + } // end for yyj4219 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52803,16 +52721,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4234 int - var yyb4234 bool - var yyhl4234 bool = l >= 0 - yyj4234++ - if yyhl4234 { - yyb4234 = yyj4234 > l + var yyj4225 int + var yyb4225 bool + var yyhl4225 bool = l >= 0 + yyj4225++ + if yyhl4225 { + yyb4225 = yyj4225 > l } else { - yyb4234 = r.CheckBreak() + yyb4225 = r.CheckBreak() } - if yyb4234 { + if yyb4225 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52822,13 +52740,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4234++ - if yyhl4234 { - yyb4234 = yyj4234 > l + yyj4225++ + if yyhl4225 { + yyb4225 = yyj4225 > l } else { - yyb4234 = r.CheckBreak() + yyb4225 = r.CheckBreak() } - if yyb4234 { + if yyb4225 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52838,13 +52756,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4234++ - if yyhl4234 { - yyb4234 = yyj4234 > l + yyj4225++ + if yyhl4225 { + yyb4225 = yyj4225 > l } else { - yyb4234 = r.CheckBreak() + yyb4225 = r.CheckBreak() } - if yyb4234 { + if yyb4225 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52852,16 +52770,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4237 := &x.ObjectMeta - yyv4237.CodecDecodeSelf(d) + yyv4228 := &x.ObjectMeta + yyv4228.CodecDecodeSelf(d) } - yyj4234++ - if yyhl4234 { - yyb4234 = yyj4234 > l + yyj4225++ + if yyhl4225 { + yyb4225 = yyj4225 > l } else { - yyb4234 = r.CheckBreak() + yyb4225 = r.CheckBreak() } - if yyb4234 { + if yyb4225 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52869,16 +52787,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4238 := &x.Spec - yyv4238.CodecDecodeSelf(d) + yyv4229 := &x.Spec + yyv4229.CodecDecodeSelf(d) } - yyj4234++ - if yyhl4234 { - yyb4234 = yyj4234 > l + yyj4225++ + if yyhl4225 { + yyb4225 = yyj4225 > l } else { - yyb4234 = r.CheckBreak() + yyb4225 = r.CheckBreak() } - if yyb4234 { + if yyb4225 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52886,21 +52804,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4239 := &x.Status - yyv4239.CodecDecodeSelf(d) + yyv4230 := &x.Status + yyv4230.CodecDecodeSelf(d) } for { - yyj4234++ - if yyhl4234 { - yyb4234 = yyj4234 > l + yyj4225++ + if yyhl4225 { + yyb4225 = yyj4225 > l } else { - yyb4234 = r.CheckBreak() + yyb4225 = r.CheckBreak() } - if yyb4234 { + if yyb4225 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4234-1, "") + z.DecStructFieldNotFound(yyj4225-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52912,37 +52830,37 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4240 := z.EncBinary() - _ = yym4240 + yym4231 := z.EncBinary() + _ = yym4231 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4241 := !z.EncBinary() - yy2arr4241 := z.EncBasicHandle().StructToArray - var yyq4241 [4]bool - _, _, _ = yysep4241, yyq4241, yy2arr4241 - const yyr4241 bool = false - yyq4241[0] = x.Kind != "" - yyq4241[1] = x.APIVersion != "" - yyq4241[2] = true - var yynn4241 int - if yyr4241 || yy2arr4241 { + yysep4232 := !z.EncBinary() + yy2arr4232 := z.EncBasicHandle().StructToArray + var yyq4232 [4]bool + _, _, _ = yysep4232, yyq4232, yy2arr4232 + const yyr4232 bool = false + yyq4232[0] = x.Kind != "" + yyq4232[1] = x.APIVersion != "" + yyq4232[2] = true + var yynn4232 int + if yyr4232 || yy2arr4232 { r.EncodeArrayStart(4) } else { - yynn4241 = 1 - for _, b := range yyq4241 { + yynn4232 = 1 + for _, b := range yyq4232 { if b { - yynn4241++ + yynn4232++ } } - r.EncodeMapStart(yynn4241) - yynn4241 = 0 + r.EncodeMapStart(yynn4232) + yynn4232 = 0 } - if yyr4241 || yy2arr4241 { + if yyr4232 || yy2arr4232 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4241[0] { - yym4243 := z.EncBinary() - _ = yym4243 + if yyq4232[0] { + yym4234 := z.EncBinary() + _ = yym4234 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52951,23 +52869,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4241[0] { + if yyq4232[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4244 := z.EncBinary() - _ = yym4244 + yym4235 := z.EncBinary() + _ = yym4235 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4241 || yy2arr4241 { + if yyr4232 || yy2arr4232 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4241[1] { - yym4246 := z.EncBinary() - _ = yym4246 + if yyq4232[1] { + yym4237 := z.EncBinary() + _ = yym4237 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52976,54 +52894,54 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4241[1] { + if yyq4232[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4247 := z.EncBinary() - _ = yym4247 + yym4238 := z.EncBinary() + _ = yym4238 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4241 || yy2arr4241 { + if yyr4232 || yy2arr4232 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4241[2] { - yy4249 := &x.ListMeta - yym4250 := z.EncBinary() - _ = yym4250 + if yyq4232[2] { + yy4240 := &x.ListMeta + yym4241 := z.EncBinary() + _ = yym4241 if false { - } else if z.HasExtensions() && z.EncExt(yy4249) { + } else if z.HasExtensions() && z.EncExt(yy4240) { } else { - z.EncFallback(yy4249) + z.EncFallback(yy4240) } } else { r.EncodeNil() } } else { - if yyq4241[2] { + if yyq4232[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4251 := &x.ListMeta - yym4252 := z.EncBinary() - _ = yym4252 + yy4242 := &x.ListMeta + yym4243 := z.EncBinary() + _ = yym4243 if false { - } else if z.HasExtensions() && z.EncExt(yy4251) { + } else if z.HasExtensions() && z.EncExt(yy4242) { } else { - z.EncFallback(yy4251) + z.EncFallback(yy4242) } } } - if yyr4241 || yy2arr4241 { + if yyr4232 || yy2arr4232 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4254 := z.EncBinary() - _ = yym4254 + yym4245 := z.EncBinary() + _ = yym4245 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -53036,15 +52954,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4255 := z.EncBinary() - _ = yym4255 + yym4246 := z.EncBinary() + _ = yym4246 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr4241 || yy2arr4241 { + if yyr4232 || yy2arr4232 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53057,25 +52975,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4256 := z.DecBinary() - _ = yym4256 + yym4247 := z.DecBinary() + _ = yym4247 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4257 := r.ContainerType() - if yyct4257 == codecSelferValueTypeMap1234 { - yyl4257 := r.ReadMapStart() - if yyl4257 == 0 { + yyct4248 := r.ContainerType() + if yyct4248 == codecSelferValueTypeMap1234 { + yyl4248 := r.ReadMapStart() + if yyl4248 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4257, d) + x.codecDecodeSelfFromMap(yyl4248, d) } - } else if yyct4257 == codecSelferValueTypeArray1234 { - yyl4257 := r.ReadArrayStart() - if yyl4257 == 0 { + } else if yyct4248 == codecSelferValueTypeArray1234 { + yyl4248 := r.ReadArrayStart() + if yyl4248 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4257, d) + x.codecDecodeSelfFromArray(yyl4248, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53087,12 +53005,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4258Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4258Slc - var yyhl4258 bool = l >= 0 - for yyj4258 := 0; ; yyj4258++ { - if yyhl4258 { - if yyj4258 >= l { + var yys4249Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4249Slc + var yyhl4249 bool = l >= 0 + for yyj4249 := 0; ; yyj4249++ { + if yyhl4249 { + if yyj4249 >= l { break } } else { @@ -53101,10 +53019,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4258Slc = r.DecodeBytes(yys4258Slc, true, true) - yys4258 := string(yys4258Slc) + yys4249Slc = r.DecodeBytes(yys4249Slc, true, true) + yys4249 := string(yys4249Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4258 { + switch yys4249 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53121,31 +53039,31 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4261 := &x.ListMeta - yym4262 := z.DecBinary() - _ = yym4262 + yyv4252 := &x.ListMeta + yym4253 := z.DecBinary() + _ = yym4253 if false { - } else if z.HasExtensions() && z.DecExt(yyv4261) { + } else if z.HasExtensions() && z.DecExt(yyv4252) { } else { - z.DecFallback(yyv4261, false) + z.DecFallback(yyv4252, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4263 := &x.Items - yym4264 := z.DecBinary() - _ = yym4264 + yyv4254 := &x.Items + yym4255 := z.DecBinary() + _ = yym4255 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4263), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4254), d) } } default: - z.DecStructFieldNotFound(-1, yys4258) - } // end switch yys4258 - } // end for yyj4258 + z.DecStructFieldNotFound(-1, yys4249) + } // end switch yys4249 + } // end for yyj4249 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53153,16 +53071,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4265 int - var yyb4265 bool - var yyhl4265 bool = l >= 0 - yyj4265++ - if yyhl4265 { - yyb4265 = yyj4265 > l + var yyj4256 int + var yyb4256 bool + var yyhl4256 bool = l >= 0 + yyj4256++ + if yyhl4256 { + yyb4256 = yyj4256 > l } else { - yyb4265 = r.CheckBreak() + yyb4256 = r.CheckBreak() } - if yyb4265 { + if yyb4256 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53172,13 +53090,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj4265++ - if yyhl4265 { - yyb4265 = yyj4265 > l + yyj4256++ + if yyhl4256 { + yyb4256 = yyj4256 > l } else { - yyb4265 = r.CheckBreak() + yyb4256 = r.CheckBreak() } - if yyb4265 { + if yyb4256 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53188,13 +53106,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj4265++ - if yyhl4265 { - yyb4265 = yyj4265 > l + yyj4256++ + if yyhl4256 { + yyb4256 = yyj4256 > l } else { - yyb4265 = r.CheckBreak() + yyb4256 = r.CheckBreak() } - if yyb4265 { + if yyb4256 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53202,22 +53120,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4268 := &x.ListMeta - yym4269 := z.DecBinary() - _ = yym4269 + yyv4259 := &x.ListMeta + yym4260 := z.DecBinary() + _ = yym4260 if false { - } else if z.HasExtensions() && z.DecExt(yyv4268) { + } else if z.HasExtensions() && z.DecExt(yyv4259) { } else { - z.DecFallback(yyv4268, false) + z.DecFallback(yyv4259, false) } } - yyj4265++ - if yyhl4265 { - yyb4265 = yyj4265 > l + yyj4256++ + if yyhl4256 { + yyb4256 = yyj4256 > l } else { - yyb4265 = r.CheckBreak() + yyb4256 = r.CheckBreak() } - if yyb4265 { + if yyb4256 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53225,26 +53143,26 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4270 := &x.Items - yym4271 := z.DecBinary() - _ = yym4271 + yyv4261 := &x.Items + yym4262 := z.DecBinary() + _ = yym4262 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4270), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4261), d) } } for { - yyj4265++ - if yyhl4265 { - yyb4265 = yyj4265 > l + yyj4256++ + if yyhl4256 { + yyb4256 = yyj4256 > l } else { - yyb4265 = r.CheckBreak() + yyb4256 = r.CheckBreak() } - if yyb4265 { + if yyb4256 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4265-1, "") + z.DecStructFieldNotFound(yyj4256-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53256,39 +53174,39 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4272 := z.EncBinary() - _ = yym4272 + yym4263 := z.EncBinary() + _ = yym4263 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4273 := !z.EncBinary() - yy2arr4273 := z.EncBasicHandle().StructToArray - var yyq4273 [5]bool - _, _, _ = yysep4273, yyq4273, yy2arr4273 - const yyr4273 bool = false - yyq4273[0] = x.Kind != "" - yyq4273[1] = x.APIVersion != "" - yyq4273[2] = true - yyq4273[3] = len(x.Data) != 0 - yyq4273[4] = x.Type != "" - var yynn4273 int - if yyr4273 || yy2arr4273 { + yysep4264 := !z.EncBinary() + yy2arr4264 := z.EncBasicHandle().StructToArray + var yyq4264 [5]bool + _, _, _ = yysep4264, yyq4264, yy2arr4264 + const yyr4264 bool = false + yyq4264[0] = x.Kind != "" + yyq4264[1] = x.APIVersion != "" + yyq4264[2] = true + yyq4264[3] = len(x.Data) != 0 + yyq4264[4] = x.Type != "" + var yynn4264 int + if yyr4264 || yy2arr4264 { r.EncodeArrayStart(5) } else { - yynn4273 = 0 - for _, b := range yyq4273 { + yynn4264 = 0 + for _, b := range yyq4264 { if b { - yynn4273++ + yynn4264++ } } - r.EncodeMapStart(yynn4273) - yynn4273 = 0 + r.EncodeMapStart(yynn4264) + yynn4264 = 0 } - if yyr4273 || yy2arr4273 { + if yyr4264 || yy2arr4264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4273[0] { - yym4275 := z.EncBinary() - _ = yym4275 + if yyq4264[0] { + yym4266 := z.EncBinary() + _ = yym4266 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53297,23 +53215,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4273[0] { + if yyq4264[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4276 := z.EncBinary() - _ = yym4276 + yym4267 := z.EncBinary() + _ = yym4267 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4273 || yy2arr4273 { + if yyr4264 || yy2arr4264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4273[1] { - yym4278 := z.EncBinary() - _ = yym4278 + if yyq4264[1] { + yym4269 := z.EncBinary() + _ = yym4269 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53322,43 +53240,43 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4273[1] { + if yyq4264[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4279 := z.EncBinary() - _ = yym4279 + yym4270 := z.EncBinary() + _ = yym4270 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4273 || yy2arr4273 { + if yyr4264 || yy2arr4264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4273[2] { - yy4281 := &x.ObjectMeta - yy4281.CodecEncodeSelf(e) + if yyq4264[2] { + yy4272 := &x.ObjectMeta + yy4272.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4273[2] { + if yyq4264[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4282 := &x.ObjectMeta - yy4282.CodecEncodeSelf(e) + yy4273 := &x.ObjectMeta + yy4273.CodecEncodeSelf(e) } } - if yyr4273 || yy2arr4273 { + if yyr4264 || yy2arr4264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4273[3] { + if yyq4264[3] { if x.Data == nil { r.EncodeNil() } else { - yym4284 := z.EncBinary() - _ = yym4284 + yym4275 := z.EncBinary() + _ = yym4275 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -53368,15 +53286,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4273[3] { + if yyq4264[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4285 := z.EncBinary() - _ = yym4285 + yym4276 := z.EncBinary() + _ = yym4276 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -53384,22 +53302,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4273 || yy2arr4273 { + if yyr4264 || yy2arr4264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4273[4] { + if yyq4264[4] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4273[4] { + if yyq4264[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr4273 || yy2arr4273 { + if yyr4264 || yy2arr4264 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53412,25 +53330,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4287 := z.DecBinary() - _ = yym4287 + yym4278 := z.DecBinary() + _ = yym4278 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4288 := r.ContainerType() - if yyct4288 == codecSelferValueTypeMap1234 { - yyl4288 := r.ReadMapStart() - if yyl4288 == 0 { + yyct4279 := r.ContainerType() + if yyct4279 == codecSelferValueTypeMap1234 { + yyl4279 := r.ReadMapStart() + if yyl4279 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4288, d) + x.codecDecodeSelfFromMap(yyl4279, d) } - } else if yyct4288 == codecSelferValueTypeArray1234 { - yyl4288 := r.ReadArrayStart() - if yyl4288 == 0 { + } else if yyct4279 == codecSelferValueTypeArray1234 { + yyl4279 := r.ReadArrayStart() + if yyl4279 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4288, d) + x.codecDecodeSelfFromArray(yyl4279, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53442,12 +53360,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4289Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4289Slc - var yyhl4289 bool = l >= 0 - for yyj4289 := 0; ; yyj4289++ { - if yyhl4289 { - if yyj4289 >= l { + var yys4280Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4280Slc + var yyhl4280 bool = l >= 0 + for yyj4280 := 0; ; yyj4280++ { + if yyhl4280 { + if yyj4280 >= l { break } } else { @@ -53456,10 +53374,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4289Slc = r.DecodeBytes(yys4289Slc, true, true) - yys4289 := string(yys4289Slc) + yys4280Slc = r.DecodeBytes(yys4280Slc, true, true) + yys4280 := string(yys4280Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4289 { + switch yys4280 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53476,19 +53394,19 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4292 := &x.ObjectMeta - yyv4292.CodecDecodeSelf(d) + yyv4283 := &x.ObjectMeta + yyv4283.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4293 := &x.Data - yym4294 := z.DecBinary() - _ = yym4294 + yyv4284 := &x.Data + yym4285 := z.DecBinary() + _ = yym4285 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4293), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4284), d) } } case "type": @@ -53498,9 +53416,9 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4289) - } // end switch yys4289 - } // end for yyj4289 + z.DecStructFieldNotFound(-1, yys4280) + } // end switch yys4280 + } // end for yyj4280 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53508,16 +53426,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4296 int - var yyb4296 bool - var yyhl4296 bool = l >= 0 - yyj4296++ - if yyhl4296 { - yyb4296 = yyj4296 > l + var yyj4287 int + var yyb4287 bool + var yyhl4287 bool = l >= 0 + yyj4287++ + if yyhl4287 { + yyb4287 = yyj4287 > l } else { - yyb4296 = r.CheckBreak() + yyb4287 = r.CheckBreak() } - if yyb4296 { + if yyb4287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53527,13 +53445,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4296++ - if yyhl4296 { - yyb4296 = yyj4296 > l + yyj4287++ + if yyhl4287 { + yyb4287 = yyj4287 > l } else { - yyb4296 = r.CheckBreak() + yyb4287 = r.CheckBreak() } - if yyb4296 { + if yyb4287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53543,13 +53461,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4296++ - if yyhl4296 { - yyb4296 = yyj4296 > l + yyj4287++ + if yyhl4287 { + yyb4287 = yyj4287 > l } else { - yyb4296 = r.CheckBreak() + yyb4287 = r.CheckBreak() } - if yyb4296 { + if yyb4287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53557,16 +53475,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4299 := &x.ObjectMeta - yyv4299.CodecDecodeSelf(d) + yyv4290 := &x.ObjectMeta + yyv4290.CodecDecodeSelf(d) } - yyj4296++ - if yyhl4296 { - yyb4296 = yyj4296 > l + yyj4287++ + if yyhl4287 { + yyb4287 = yyj4287 > l } else { - yyb4296 = r.CheckBreak() + yyb4287 = r.CheckBreak() } - if yyb4296 { + if yyb4287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53574,21 +53492,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4300 := &x.Data - yym4301 := z.DecBinary() - _ = yym4301 + yyv4291 := &x.Data + yym4292 := z.DecBinary() + _ = yym4292 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4300), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4291), d) } } - yyj4296++ - if yyhl4296 { - yyb4296 = yyj4296 > l + yyj4287++ + if yyhl4287 { + yyb4287 = yyj4287 > l } else { - yyb4296 = r.CheckBreak() + yyb4287 = r.CheckBreak() } - if yyb4296 { + if yyb4287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53599,17 +53517,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } for { - yyj4296++ - if yyhl4296 { - yyb4296 = yyj4296 > l + yyj4287++ + if yyhl4287 { + yyb4287 = yyj4287 > l } else { - yyb4296 = r.CheckBreak() + yyb4287 = r.CheckBreak() } - if yyb4296 { + if yyb4287 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4296-1, "") + z.DecStructFieldNotFound(yyj4287-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53618,8 +53536,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4303 := z.EncBinary() - _ = yym4303 + yym4294 := z.EncBinary() + _ = yym4294 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -53631,8 +53549,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4304 := z.DecBinary() - _ = yym4304 + yym4295 := z.DecBinary() + _ = yym4295 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -53647,37 +53565,37 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4305 := z.EncBinary() - _ = yym4305 + yym4296 := z.EncBinary() + _ = yym4296 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4306 := !z.EncBinary() - yy2arr4306 := z.EncBasicHandle().StructToArray - var yyq4306 [4]bool - _, _, _ = yysep4306, yyq4306, yy2arr4306 - const yyr4306 bool = false - yyq4306[0] = x.Kind != "" - yyq4306[1] = x.APIVersion != "" - yyq4306[2] = true - var yynn4306 int - if yyr4306 || yy2arr4306 { + yysep4297 := !z.EncBinary() + yy2arr4297 := z.EncBasicHandle().StructToArray + var yyq4297 [4]bool + _, _, _ = yysep4297, yyq4297, yy2arr4297 + const yyr4297 bool = false + yyq4297[0] = x.Kind != "" + yyq4297[1] = x.APIVersion != "" + yyq4297[2] = true + var yynn4297 int + if yyr4297 || yy2arr4297 { r.EncodeArrayStart(4) } else { - yynn4306 = 1 - for _, b := range yyq4306 { + yynn4297 = 1 + for _, b := range yyq4297 { if b { - yynn4306++ + yynn4297++ } } - r.EncodeMapStart(yynn4306) - yynn4306 = 0 + r.EncodeMapStart(yynn4297) + yynn4297 = 0 } - if yyr4306 || yy2arr4306 { + if yyr4297 || yy2arr4297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4306[0] { - yym4308 := z.EncBinary() - _ = yym4308 + if yyq4297[0] { + yym4299 := z.EncBinary() + _ = yym4299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53686,23 +53604,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4306[0] { + if yyq4297[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4309 := z.EncBinary() - _ = yym4309 + yym4300 := z.EncBinary() + _ = yym4300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4306 || yy2arr4306 { + if yyr4297 || yy2arr4297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4306[1] { - yym4311 := z.EncBinary() - _ = yym4311 + if yyq4297[1] { + yym4302 := z.EncBinary() + _ = yym4302 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53711,54 +53629,54 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4306[1] { + if yyq4297[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4312 := z.EncBinary() - _ = yym4312 + yym4303 := z.EncBinary() + _ = yym4303 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4306 || yy2arr4306 { + if yyr4297 || yy2arr4297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4306[2] { - yy4314 := &x.ListMeta - yym4315 := z.EncBinary() - _ = yym4315 + if yyq4297[2] { + yy4305 := &x.ListMeta + yym4306 := z.EncBinary() + _ = yym4306 if false { - } else if z.HasExtensions() && z.EncExt(yy4314) { + } else if z.HasExtensions() && z.EncExt(yy4305) { } else { - z.EncFallback(yy4314) + z.EncFallback(yy4305) } } else { r.EncodeNil() } } else { - if yyq4306[2] { + if yyq4297[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4316 := &x.ListMeta - yym4317 := z.EncBinary() - _ = yym4317 + yy4307 := &x.ListMeta + yym4308 := z.EncBinary() + _ = yym4308 if false { - } else if z.HasExtensions() && z.EncExt(yy4316) { + } else if z.HasExtensions() && z.EncExt(yy4307) { } else { - z.EncFallback(yy4316) + z.EncFallback(yy4307) } } } - if yyr4306 || yy2arr4306 { + if yyr4297 || yy2arr4297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4319 := z.EncBinary() - _ = yym4319 + yym4310 := z.EncBinary() + _ = yym4310 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -53771,15 +53689,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4320 := z.EncBinary() - _ = yym4320 + yym4311 := z.EncBinary() + _ = yym4311 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr4306 || yy2arr4306 { + if yyr4297 || yy2arr4297 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53792,25 +53710,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4321 := z.DecBinary() - _ = yym4321 + yym4312 := z.DecBinary() + _ = yym4312 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4322 := r.ContainerType() - if yyct4322 == codecSelferValueTypeMap1234 { - yyl4322 := r.ReadMapStart() - if yyl4322 == 0 { + yyct4313 := r.ContainerType() + if yyct4313 == codecSelferValueTypeMap1234 { + yyl4313 := r.ReadMapStart() + if yyl4313 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4322, d) + x.codecDecodeSelfFromMap(yyl4313, d) } - } else if yyct4322 == codecSelferValueTypeArray1234 { - yyl4322 := r.ReadArrayStart() - if yyl4322 == 0 { + } else if yyct4313 == codecSelferValueTypeArray1234 { + yyl4313 := r.ReadArrayStart() + if yyl4313 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4322, d) + x.codecDecodeSelfFromArray(yyl4313, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53822,12 +53740,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4323Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4323Slc - var yyhl4323 bool = l >= 0 - for yyj4323 := 0; ; yyj4323++ { - if yyhl4323 { - if yyj4323 >= l { + var yys4314Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4314Slc + var yyhl4314 bool = l >= 0 + for yyj4314 := 0; ; yyj4314++ { + if yyhl4314 { + if yyj4314 >= l { break } } else { @@ -53836,10 +53754,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4323Slc = r.DecodeBytes(yys4323Slc, true, true) - yys4323 := string(yys4323Slc) + yys4314Slc = r.DecodeBytes(yys4314Slc, true, true) + yys4314 := string(yys4314Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4323 { + switch yys4314 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53856,31 +53774,31 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4326 := &x.ListMeta - yym4327 := z.DecBinary() - _ = yym4327 + yyv4317 := &x.ListMeta + yym4318 := z.DecBinary() + _ = yym4318 if false { - } else if z.HasExtensions() && z.DecExt(yyv4326) { + } else if z.HasExtensions() && z.DecExt(yyv4317) { } else { - z.DecFallback(yyv4326, false) + z.DecFallback(yyv4317, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4328 := &x.Items - yym4329 := z.DecBinary() - _ = yym4329 + yyv4319 := &x.Items + yym4320 := z.DecBinary() + _ = yym4320 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4328), d) + h.decSliceSecret((*[]Secret)(yyv4319), d) } } default: - z.DecStructFieldNotFound(-1, yys4323) - } // end switch yys4323 - } // end for yyj4323 + z.DecStructFieldNotFound(-1, yys4314) + } // end switch yys4314 + } // end for yyj4314 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53888,16 +53806,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4330 int - var yyb4330 bool - var yyhl4330 bool = l >= 0 - yyj4330++ - if yyhl4330 { - yyb4330 = yyj4330 > l + var yyj4321 int + var yyb4321 bool + var yyhl4321 bool = l >= 0 + yyj4321++ + if yyhl4321 { + yyb4321 = yyj4321 > l } else { - yyb4330 = r.CheckBreak() + yyb4321 = r.CheckBreak() } - if yyb4330 { + if yyb4321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53907,13 +53825,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4330++ - if yyhl4330 { - yyb4330 = yyj4330 > l + yyj4321++ + if yyhl4321 { + yyb4321 = yyj4321 > l } else { - yyb4330 = r.CheckBreak() + yyb4321 = r.CheckBreak() } - if yyb4330 { + if yyb4321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53923,13 +53841,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4330++ - if yyhl4330 { - yyb4330 = yyj4330 > l + yyj4321++ + if yyhl4321 { + yyb4321 = yyj4321 > l } else { - yyb4330 = r.CheckBreak() + yyb4321 = r.CheckBreak() } - if yyb4330 { + if yyb4321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53937,22 +53855,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4333 := &x.ListMeta - yym4334 := z.DecBinary() - _ = yym4334 + yyv4324 := &x.ListMeta + yym4325 := z.DecBinary() + _ = yym4325 if false { - } else if z.HasExtensions() && z.DecExt(yyv4333) { + } else if z.HasExtensions() && z.DecExt(yyv4324) { } else { - z.DecFallback(yyv4333, false) + z.DecFallback(yyv4324, false) } } - yyj4330++ - if yyhl4330 { - yyb4330 = yyj4330 > l + yyj4321++ + if yyhl4321 { + yyb4321 = yyj4321 > l } else { - yyb4330 = r.CheckBreak() + yyb4321 = r.CheckBreak() } - if yyb4330 { + if yyb4321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53960,26 +53878,26 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4335 := &x.Items - yym4336 := z.DecBinary() - _ = yym4336 + yyv4326 := &x.Items + yym4327 := z.DecBinary() + _ = yym4327 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4335), d) + h.decSliceSecret((*[]Secret)(yyv4326), d) } } for { - yyj4330++ - if yyhl4330 { - yyb4330 = yyj4330 > l + yyj4321++ + if yyhl4321 { + yyb4321 = yyj4321 > l } else { - yyb4330 = r.CheckBreak() + yyb4321 = r.CheckBreak() } - if yyb4330 { + if yyb4321 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4330-1, "") + z.DecStructFieldNotFound(yyj4321-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53991,38 +53909,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4337 := z.EncBinary() - _ = yym4337 + yym4328 := z.EncBinary() + _ = yym4328 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.Data) != 0 - var yynn4338 int - if yyr4338 || yy2arr4338 { + yysep4329 := !z.EncBinary() + yy2arr4329 := z.EncBasicHandle().StructToArray + var yyq4329 [4]bool + _, _, _ = yysep4329, yyq4329, yy2arr4329 + const yyr4329 bool = false + yyq4329[0] = x.Kind != "" + yyq4329[1] = x.APIVersion != "" + yyq4329[2] = true + yyq4329[3] = len(x.Data) != 0 + var yynn4329 int + if yyr4329 || yy2arr4329 { r.EncodeArrayStart(4) } else { - yynn4338 = 0 - for _, b := range yyq4338 { + yynn4329 = 0 + for _, b := range yyq4329 { if b { - yynn4338++ + yynn4329++ } } - r.EncodeMapStart(yynn4338) - yynn4338 = 0 + r.EncodeMapStart(yynn4329) + yynn4329 = 0 } - if yyr4338 || yy2arr4338 { + if yyr4329 || yy2arr4329 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[0] { - yym4340 := z.EncBinary() - _ = yym4340 + if yyq4329[0] { + yym4331 := z.EncBinary() + _ = yym4331 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54031,23 +53949,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4338[0] { + if yyq4329[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4341 := z.EncBinary() - _ = yym4341 + yym4332 := z.EncBinary() + _ = yym4332 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4338 || yy2arr4338 { + if yyr4329 || yy2arr4329 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[1] { - yym4343 := z.EncBinary() - _ = yym4343 + if yyq4329[1] { + yym4334 := z.EncBinary() + _ = yym4334 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54056,43 +53974,43 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4338[1] { + if yyq4329[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4344 := z.EncBinary() - _ = yym4344 + yym4335 := z.EncBinary() + _ = yym4335 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4338 || yy2arr4338 { + if yyr4329 || yy2arr4329 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[2] { - yy4346 := &x.ObjectMeta - yy4346.CodecEncodeSelf(e) + if yyq4329[2] { + yy4337 := &x.ObjectMeta + yy4337.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4338[2] { + if yyq4329[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4347 := &x.ObjectMeta - yy4347.CodecEncodeSelf(e) + yy4338 := &x.ObjectMeta + yy4338.CodecEncodeSelf(e) } } - if yyr4338 || yy2arr4338 { + if yyr4329 || yy2arr4329 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[3] { + if yyq4329[3] { if x.Data == nil { r.EncodeNil() } else { - yym4349 := z.EncBinary() - _ = yym4349 + yym4340 := z.EncBinary() + _ = yym4340 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -54102,15 +54020,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4338[3] { + if yyq4329[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4350 := z.EncBinary() - _ = yym4350 + yym4341 := z.EncBinary() + _ = yym4341 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -54118,7 +54036,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4338 || yy2arr4338 { + if yyr4329 || yy2arr4329 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54131,25 +54049,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4351 := z.DecBinary() - _ = yym4351 + yym4342 := z.DecBinary() + _ = yym4342 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4352 := r.ContainerType() - if yyct4352 == codecSelferValueTypeMap1234 { - yyl4352 := r.ReadMapStart() - if yyl4352 == 0 { + yyct4343 := r.ContainerType() + if yyct4343 == codecSelferValueTypeMap1234 { + yyl4343 := r.ReadMapStart() + if yyl4343 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4352, d) + x.codecDecodeSelfFromMap(yyl4343, d) } - } else if yyct4352 == codecSelferValueTypeArray1234 { - yyl4352 := r.ReadArrayStart() - if yyl4352 == 0 { + } else if yyct4343 == codecSelferValueTypeArray1234 { + yyl4343 := r.ReadArrayStart() + if yyl4343 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4352, d) + x.codecDecodeSelfFromArray(yyl4343, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54161,12 +54079,12 @@ func (x *ConfigMap) 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 yys4344Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4344Slc + var yyhl4344 bool = l >= 0 + for yyj4344 := 0; ; yyj4344++ { + if yyhl4344 { + if yyj4344 >= l { break } } else { @@ -54175,10 +54093,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4353Slc = r.DecodeBytes(yys4353Slc, true, true) - yys4353 := string(yys4353Slc) + yys4344Slc = r.DecodeBytes(yys4344Slc, true, true) + yys4344 := string(yys4344Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4353 { + switch yys4344 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54195,25 +54113,25 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4356 := &x.ObjectMeta - yyv4356.CodecDecodeSelf(d) + yyv4347 := &x.ObjectMeta + yyv4347.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4357 := &x.Data - yym4358 := z.DecBinary() - _ = yym4358 + yyv4348 := &x.Data + yym4349 := z.DecBinary() + _ = yym4349 if false { } else { - z.F.DecMapStringStringX(yyv4357, false, d) + z.F.DecMapStringStringX(yyv4348, false, d) } } default: - z.DecStructFieldNotFound(-1, yys4353) - } // end switch yys4353 - } // end for yyj4353 + z.DecStructFieldNotFound(-1, yys4344) + } // end switch yys4344 + } // end for yyj4344 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54221,16 +54139,16 @@ func (x *ConfigMap) 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 yyj4350 int + var yyb4350 bool + var yyhl4350 bool = l >= 0 + yyj4350++ + if yyhl4350 { + yyb4350 = yyj4350 > l } else { - yyb4359 = r.CheckBreak() + yyb4350 = r.CheckBreak() } - if yyb4359 { + if yyb4350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54240,13 +54158,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj4350++ + if yyhl4350 { + yyb4350 = yyj4350 > l } else { - yyb4359 = r.CheckBreak() + yyb4350 = r.CheckBreak() } - if yyb4359 { + if yyb4350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54256,13 +54174,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj4350++ + if yyhl4350 { + yyb4350 = yyj4350 > l } else { - yyb4359 = r.CheckBreak() + yyb4350 = r.CheckBreak() } - if yyb4359 { + if yyb4350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54270,16 +54188,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4362 := &x.ObjectMeta - yyv4362.CodecDecodeSelf(d) + yyv4353 := &x.ObjectMeta + yyv4353.CodecDecodeSelf(d) } - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj4350++ + if yyhl4350 { + yyb4350 = yyj4350 > l } else { - yyb4359 = r.CheckBreak() + yyb4350 = r.CheckBreak() } - if yyb4359 { + if yyb4350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54287,26 +54205,26 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4363 := &x.Data - yym4364 := z.DecBinary() - _ = yym4364 + yyv4354 := &x.Data + yym4355 := z.DecBinary() + _ = yym4355 if false { } else { - z.F.DecMapStringStringX(yyv4363, false, d) + z.F.DecMapStringStringX(yyv4354, false, d) } } for { - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj4350++ + if yyhl4350 { + yyb4350 = yyj4350 > l } else { - yyb4359 = r.CheckBreak() + yyb4350 = r.CheckBreak() } - if yyb4359 { + if yyb4350 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4359-1, "") + z.DecStructFieldNotFound(yyj4350-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54318,37 +54236,37 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4365 := z.EncBinary() - _ = yym4365 + yym4356 := z.EncBinary() + _ = yym4356 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 { + yysep4357 := !z.EncBinary() + yy2arr4357 := z.EncBasicHandle().StructToArray + var yyq4357 [4]bool + _, _, _ = yysep4357, yyq4357, yy2arr4357 + const yyr4357 bool = false + yyq4357[0] = x.Kind != "" + yyq4357[1] = x.APIVersion != "" + yyq4357[2] = true + var yynn4357 int + if yyr4357 || yy2arr4357 { r.EncodeArrayStart(4) } else { - yynn4366 = 1 - for _, b := range yyq4366 { + yynn4357 = 1 + for _, b := range yyq4357 { if b { - yynn4366++ + yynn4357++ } } - r.EncodeMapStart(yynn4366) - yynn4366 = 0 + r.EncodeMapStart(yynn4357) + yynn4357 = 0 } - if yyr4366 || yy2arr4366 { + if yyr4357 || yy2arr4357 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4366[0] { - yym4368 := z.EncBinary() - _ = yym4368 + if yyq4357[0] { + yym4359 := z.EncBinary() + _ = yym4359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54357,23 +54275,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4366[0] { + if yyq4357[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4369 := z.EncBinary() - _ = yym4369 + yym4360 := z.EncBinary() + _ = yym4360 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4366 || yy2arr4366 { + if yyr4357 || yy2arr4357 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4366[1] { - yym4371 := z.EncBinary() - _ = yym4371 + if yyq4357[1] { + yym4362 := z.EncBinary() + _ = yym4362 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54382,54 +54300,54 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4366[1] { + if yyq4357[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4372 := z.EncBinary() - _ = yym4372 + yym4363 := z.EncBinary() + _ = yym4363 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4366 || yy2arr4366 { + if yyr4357 || yy2arr4357 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4366[2] { - yy4374 := &x.ListMeta - yym4375 := z.EncBinary() - _ = yym4375 + if yyq4357[2] { + yy4365 := &x.ListMeta + yym4366 := z.EncBinary() + _ = yym4366 if false { - } else if z.HasExtensions() && z.EncExt(yy4374) { + } else if z.HasExtensions() && z.EncExt(yy4365) { } else { - z.EncFallback(yy4374) + z.EncFallback(yy4365) } } else { r.EncodeNil() } } else { - if yyq4366[2] { + if yyq4357[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4376 := &x.ListMeta - yym4377 := z.EncBinary() - _ = yym4377 + yy4367 := &x.ListMeta + yym4368 := z.EncBinary() + _ = yym4368 if false { - } else if z.HasExtensions() && z.EncExt(yy4376) { + } else if z.HasExtensions() && z.EncExt(yy4367) { } else { - z.EncFallback(yy4376) + z.EncFallback(yy4367) } } } - if yyr4366 || yy2arr4366 { + if yyr4357 || yy2arr4357 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4379 := z.EncBinary() - _ = yym4379 + yym4370 := z.EncBinary() + _ = yym4370 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -54442,15 +54360,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4380 := z.EncBinary() - _ = yym4380 + yym4371 := z.EncBinary() + _ = yym4371 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) } } } - if yyr4366 || yy2arr4366 { + if yyr4357 || yy2arr4357 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54463,25 +54381,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4381 := z.DecBinary() - _ = yym4381 + yym4372 := z.DecBinary() + _ = yym4372 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4382 := r.ContainerType() - if yyct4382 == codecSelferValueTypeMap1234 { - yyl4382 := r.ReadMapStart() - if yyl4382 == 0 { + yyct4373 := r.ContainerType() + if yyct4373 == codecSelferValueTypeMap1234 { + yyl4373 := r.ReadMapStart() + if yyl4373 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4382, d) + x.codecDecodeSelfFromMap(yyl4373, d) } - } else if yyct4382 == codecSelferValueTypeArray1234 { - yyl4382 := r.ReadArrayStart() - if yyl4382 == 0 { + } else if yyct4373 == codecSelferValueTypeArray1234 { + yyl4373 := r.ReadArrayStart() + if yyl4373 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4382, d) + x.codecDecodeSelfFromArray(yyl4373, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54493,12 +54411,12 @@ func (x *ConfigMapList) 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 yys4374Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4374Slc + var yyhl4374 bool = l >= 0 + for yyj4374 := 0; ; yyj4374++ { + if yyhl4374 { + if yyj4374 >= l { break } } else { @@ -54507,10 +54425,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4383Slc = r.DecodeBytes(yys4383Slc, true, true) - yys4383 := string(yys4383Slc) + yys4374Slc = r.DecodeBytes(yys4374Slc, true, true) + yys4374 := string(yys4374Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4383 { + switch yys4374 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54527,31 +54445,31 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4386 := &x.ListMeta - yym4387 := z.DecBinary() - _ = yym4387 + yyv4377 := &x.ListMeta + yym4378 := z.DecBinary() + _ = yym4378 if false { - } else if z.HasExtensions() && z.DecExt(yyv4386) { + } else if z.HasExtensions() && z.DecExt(yyv4377) { } else { - z.DecFallback(yyv4386, false) + z.DecFallback(yyv4377, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4388 := &x.Items - yym4389 := z.DecBinary() - _ = yym4389 + yyv4379 := &x.Items + yym4380 := z.DecBinary() + _ = yym4380 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4388), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv4379), d) } } default: - z.DecStructFieldNotFound(-1, yys4383) - } // end switch yys4383 - } // end for yyj4383 + z.DecStructFieldNotFound(-1, yys4374) + } // end switch yys4374 + } // end for yyj4374 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54559,16 +54477,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj4381 int + var yyb4381 bool + var yyhl4381 bool = l >= 0 + yyj4381++ + if yyhl4381 { + yyb4381 = yyj4381 > l } else { - yyb4390 = r.CheckBreak() + yyb4381 = r.CheckBreak() } - if yyb4390 { + if yyb4381 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54578,13 +54496,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj4381++ + if yyhl4381 { + yyb4381 = yyj4381 > l } else { - yyb4390 = r.CheckBreak() + yyb4381 = r.CheckBreak() } - if yyb4390 { + if yyb4381 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54594,13 +54512,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj4381++ + if yyhl4381 { + yyb4381 = yyj4381 > l } else { - yyb4390 = r.CheckBreak() + yyb4381 = r.CheckBreak() } - if yyb4390 { + if yyb4381 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54608,22 +54526,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4393 := &x.ListMeta - yym4394 := z.DecBinary() - _ = yym4394 + yyv4384 := &x.ListMeta + yym4385 := z.DecBinary() + _ = yym4385 if false { - } else if z.HasExtensions() && z.DecExt(yyv4393) { + } else if z.HasExtensions() && z.DecExt(yyv4384) { } else { - z.DecFallback(yyv4393, false) + z.DecFallback(yyv4384, false) } } - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj4381++ + if yyhl4381 { + yyb4381 = yyj4381 > l } else { - yyb4390 = r.CheckBreak() + yyb4381 = r.CheckBreak() } - if yyb4390 { + if yyb4381 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54631,26 +54549,26 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4395 := &x.Items - yym4396 := z.DecBinary() - _ = yym4396 + yyv4386 := &x.Items + yym4387 := z.DecBinary() + _ = yym4387 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4395), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv4386), d) } } for { - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj4381++ + if yyhl4381 { + yyb4381 = yyj4381 > l } else { - yyb4390 = r.CheckBreak() + yyb4381 = r.CheckBreak() } - if yyb4390 { + if yyb4381 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4390-1, "") + z.DecStructFieldNotFound(yyj4381-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54659,8 +54577,8 @@ func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4397 := z.EncBinary() - _ = yym4397 + yym4388 := z.EncBinary() + _ = yym4388 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -54672,8 +54590,8 @@ func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4398 := z.DecBinary() - _ = yym4398 + yym4389 := z.DecBinary() + _ = yym4389 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -54685,8 +54603,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4399 := z.EncBinary() - _ = yym4399 + yym4390 := z.EncBinary() + _ = yym4390 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -54698,8 +54616,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4400 := z.DecBinary() - _ = yym4400 + yym4391 := z.DecBinary() + _ = yym4391 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -54714,32 +54632,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4401 := z.EncBinary() - _ = yym4401 + yym4392 := z.EncBinary() + _ = yym4392 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4402 := !z.EncBinary() - yy2arr4402 := z.EncBasicHandle().StructToArray - var yyq4402 [4]bool - _, _, _ = yysep4402, yyq4402, yy2arr4402 - const yyr4402 bool = false - yyq4402[2] = x.Message != "" - yyq4402[3] = x.Error != "" - var yynn4402 int - if yyr4402 || yy2arr4402 { + yysep4393 := !z.EncBinary() + yy2arr4393 := z.EncBasicHandle().StructToArray + var yyq4393 [4]bool + _, _, _ = yysep4393, yyq4393, yy2arr4393 + const yyr4393 bool = false + yyq4393[2] = x.Message != "" + yyq4393[3] = x.Error != "" + var yynn4393 int + if yyr4393 || yy2arr4393 { r.EncodeArrayStart(4) } else { - yynn4402 = 2 - for _, b := range yyq4402 { + yynn4393 = 2 + for _, b := range yyq4393 { if b { - yynn4402++ + yynn4393++ } } - r.EncodeMapStart(yynn4402) - yynn4402 = 0 + r.EncodeMapStart(yynn4393) + yynn4393 = 0 } - if yyr4402 || yy2arr4402 { + if yyr4393 || yy2arr4393 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -54748,7 +54666,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr4402 || yy2arr4402 { + if yyr4393 || yy2arr4393 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -54757,11 +54675,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr4402 || yy2arr4402 { + if yyr4393 || yy2arr4393 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4402[2] { - yym4406 := z.EncBinary() - _ = yym4406 + if yyq4393[2] { + yym4397 := z.EncBinary() + _ = yym4397 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -54770,23 +54688,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4402[2] { + if yyq4393[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4407 := z.EncBinary() - _ = yym4407 + yym4398 := z.EncBinary() + _ = yym4398 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr4402 || yy2arr4402 { + if yyr4393 || yy2arr4393 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4402[3] { - yym4409 := z.EncBinary() - _ = yym4409 + if yyq4393[3] { + yym4400 := z.EncBinary() + _ = yym4400 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -54795,19 +54713,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4402[3] { + if yyq4393[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4410 := z.EncBinary() - _ = yym4410 + yym4401 := z.EncBinary() + _ = yym4401 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr4402 || yy2arr4402 { + if yyr4393 || yy2arr4393 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54820,25 +54738,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4411 := z.DecBinary() - _ = yym4411 + yym4402 := z.DecBinary() + _ = yym4402 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4412 := r.ContainerType() - if yyct4412 == codecSelferValueTypeMap1234 { - yyl4412 := r.ReadMapStart() - if yyl4412 == 0 { + yyct4403 := r.ContainerType() + if yyct4403 == codecSelferValueTypeMap1234 { + yyl4403 := r.ReadMapStart() + if yyl4403 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4412, d) + x.codecDecodeSelfFromMap(yyl4403, d) } - } else if yyct4412 == codecSelferValueTypeArray1234 { - yyl4412 := r.ReadArrayStart() - if yyl4412 == 0 { + } else if yyct4403 == codecSelferValueTypeArray1234 { + yyl4403 := r.ReadArrayStart() + if yyl4403 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4412, d) + x.codecDecodeSelfFromArray(yyl4403, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54850,12 +54768,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4413Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4413Slc - var yyhl4413 bool = l >= 0 - for yyj4413 := 0; ; yyj4413++ { - if yyhl4413 { - if yyj4413 >= l { + var yys4404Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4404Slc + var yyhl4404 bool = l >= 0 + for yyj4404 := 0; ; yyj4404++ { + if yyhl4404 { + if yyj4404 >= l { break } } else { @@ -54864,10 +54782,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4413Slc = r.DecodeBytes(yys4413Slc, true, true) - yys4413 := string(yys4413Slc) + yys4404Slc = r.DecodeBytes(yys4404Slc, true, true) + yys4404 := string(yys4404Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4413 { + switch yys4404 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -54893,9 +54811,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4413) - } // end switch yys4413 - } // end for yyj4413 + z.DecStructFieldNotFound(-1, yys4404) + } // end switch yys4404 + } // end for yyj4404 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54903,16 +54821,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4418 int - var yyb4418 bool - var yyhl4418 bool = l >= 0 - yyj4418++ - if yyhl4418 { - yyb4418 = yyj4418 > l + var yyj4409 int + var yyb4409 bool + var yyhl4409 bool = l >= 0 + yyj4409++ + if yyhl4409 { + yyb4409 = yyj4409 > l } else { - yyb4418 = r.CheckBreak() + yyb4409 = r.CheckBreak() } - if yyb4418 { + if yyb4409 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54922,13 +54840,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj4418++ - if yyhl4418 { - yyb4418 = yyj4418 > l + yyj4409++ + if yyhl4409 { + yyb4409 = yyj4409 > l } else { - yyb4418 = r.CheckBreak() + yyb4409 = r.CheckBreak() } - if yyb4418 { + if yyb4409 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54938,13 +54856,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj4418++ - if yyhl4418 { - yyb4418 = yyj4418 > l + yyj4409++ + if yyhl4409 { + yyb4409 = yyj4409 > l } else { - yyb4418 = r.CheckBreak() + yyb4409 = r.CheckBreak() } - if yyb4418 { + if yyb4409 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54954,13 +54872,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj4418++ - if yyhl4418 { - yyb4418 = yyj4418 > l + yyj4409++ + if yyhl4409 { + yyb4409 = yyj4409 > l } else { - yyb4418 = r.CheckBreak() + yyb4409 = r.CheckBreak() } - if yyb4418 { + if yyb4409 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54971,17 +54889,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj4418++ - if yyhl4418 { - yyb4418 = yyj4418 > l + yyj4409++ + if yyhl4409 { + yyb4409 = yyj4409 > l } else { - yyb4418 = r.CheckBreak() + yyb4409 = r.CheckBreak() } - if yyb4418 { + if yyb4409 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4418-1, "") + z.DecStructFieldNotFound(yyj4409-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54993,38 +54911,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4423 := z.EncBinary() - _ = yym4423 + yym4414 := z.EncBinary() + _ = yym4414 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4424 := !z.EncBinary() - yy2arr4424 := z.EncBasicHandle().StructToArray - var yyq4424 [4]bool - _, _, _ = yysep4424, yyq4424, yy2arr4424 - const yyr4424 bool = false - yyq4424[0] = x.Kind != "" - yyq4424[1] = x.APIVersion != "" - yyq4424[2] = true - yyq4424[3] = len(x.Conditions) != 0 - var yynn4424 int - if yyr4424 || yy2arr4424 { + yysep4415 := !z.EncBinary() + yy2arr4415 := z.EncBasicHandle().StructToArray + var yyq4415 [4]bool + _, _, _ = yysep4415, yyq4415, yy2arr4415 + const yyr4415 bool = false + yyq4415[0] = x.Kind != "" + yyq4415[1] = x.APIVersion != "" + yyq4415[2] = true + yyq4415[3] = len(x.Conditions) != 0 + var yynn4415 int + if yyr4415 || yy2arr4415 { r.EncodeArrayStart(4) } else { - yynn4424 = 0 - for _, b := range yyq4424 { + yynn4415 = 0 + for _, b := range yyq4415 { if b { - yynn4424++ + yynn4415++ } } - r.EncodeMapStart(yynn4424) - yynn4424 = 0 + r.EncodeMapStart(yynn4415) + yynn4415 = 0 } - if yyr4424 || yy2arr4424 { + if yyr4415 || yy2arr4415 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4424[0] { - yym4426 := z.EncBinary() - _ = yym4426 + if yyq4415[0] { + yym4417 := z.EncBinary() + _ = yym4417 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -55033,23 +54951,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4424[0] { + if yyq4415[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4427 := z.EncBinary() - _ = yym4427 + yym4418 := z.EncBinary() + _ = yym4418 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4424 || yy2arr4424 { + if yyr4415 || yy2arr4415 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4424[1] { - yym4429 := z.EncBinary() - _ = yym4429 + if yyq4415[1] { + yym4420 := z.EncBinary() + _ = yym4420 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -55058,43 +54976,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4424[1] { + if yyq4415[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4430 := z.EncBinary() - _ = yym4430 + yym4421 := z.EncBinary() + _ = yym4421 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4424 || yy2arr4424 { + if yyr4415 || yy2arr4415 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4424[2] { - yy4432 := &x.ObjectMeta - yy4432.CodecEncodeSelf(e) + if yyq4415[2] { + yy4423 := &x.ObjectMeta + yy4423.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4424[2] { + if yyq4415[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4433 := &x.ObjectMeta - yy4433.CodecEncodeSelf(e) + yy4424 := &x.ObjectMeta + yy4424.CodecEncodeSelf(e) } } - if yyr4424 || yy2arr4424 { + if yyr4415 || yy2arr4415 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4424[3] { + if yyq4415[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym4435 := z.EncBinary() - _ = yym4435 + yym4426 := z.EncBinary() + _ = yym4426 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -55104,15 +55022,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4424[3] { + if yyq4415[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym4436 := z.EncBinary() - _ = yym4436 + yym4427 := z.EncBinary() + _ = yym4427 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -55120,7 +55038,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4424 || yy2arr4424 { + if yyr4415 || yy2arr4415 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55133,25 +55051,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4437 := z.DecBinary() - _ = yym4437 + yym4428 := z.DecBinary() + _ = yym4428 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4438 := r.ContainerType() - if yyct4438 == codecSelferValueTypeMap1234 { - yyl4438 := r.ReadMapStart() - if yyl4438 == 0 { + yyct4429 := r.ContainerType() + if yyct4429 == codecSelferValueTypeMap1234 { + yyl4429 := r.ReadMapStart() + if yyl4429 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4438, d) + x.codecDecodeSelfFromMap(yyl4429, d) } - } else if yyct4438 == codecSelferValueTypeArray1234 { - yyl4438 := r.ReadArrayStart() - if yyl4438 == 0 { + } else if yyct4429 == codecSelferValueTypeArray1234 { + yyl4429 := r.ReadArrayStart() + if yyl4429 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4438, d) + x.codecDecodeSelfFromArray(yyl4429, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55163,12 +55081,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4439Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4439Slc - var yyhl4439 bool = l >= 0 - for yyj4439 := 0; ; yyj4439++ { - if yyhl4439 { - if yyj4439 >= l { + var yys4430Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4430Slc + var yyhl4430 bool = l >= 0 + for yyj4430 := 0; ; yyj4430++ { + if yyhl4430 { + if yyj4430 >= l { break } } else { @@ -55177,10 +55095,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4439Slc = r.DecodeBytes(yys4439Slc, true, true) - yys4439 := string(yys4439Slc) + yys4430Slc = r.DecodeBytes(yys4430Slc, true, true) + yys4430 := string(yys4430Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4439 { + switch yys4430 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -55197,25 +55115,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4442 := &x.ObjectMeta - yyv4442.CodecDecodeSelf(d) + yyv4433 := &x.ObjectMeta + yyv4433.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4443 := &x.Conditions - yym4444 := z.DecBinary() - _ = yym4444 + yyv4434 := &x.Conditions + yym4435 := z.DecBinary() + _ = yym4435 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4443), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4434), d) } } default: - z.DecStructFieldNotFound(-1, yys4439) - } // end switch yys4439 - } // end for yyj4439 + z.DecStructFieldNotFound(-1, yys4430) + } // end switch yys4430 + } // end for yyj4430 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55223,16 +55141,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4445 int - var yyb4445 bool - var yyhl4445 bool = l >= 0 - yyj4445++ - if yyhl4445 { - yyb4445 = yyj4445 > l + var yyj4436 int + var yyb4436 bool + var yyhl4436 bool = l >= 0 + yyj4436++ + if yyhl4436 { + yyb4436 = yyj4436 > l } else { - yyb4445 = r.CheckBreak() + yyb4436 = r.CheckBreak() } - if yyb4445 { + if yyb4436 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55242,13 +55160,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4445++ - if yyhl4445 { - yyb4445 = yyj4445 > l + yyj4436++ + if yyhl4436 { + yyb4436 = yyj4436 > l } else { - yyb4445 = r.CheckBreak() + yyb4436 = r.CheckBreak() } - if yyb4445 { + if yyb4436 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55258,13 +55176,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4445++ - if yyhl4445 { - yyb4445 = yyj4445 > l + yyj4436++ + if yyhl4436 { + yyb4436 = yyj4436 > l } else { - yyb4445 = r.CheckBreak() + yyb4436 = r.CheckBreak() } - if yyb4445 { + if yyb4436 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55272,16 +55190,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4448 := &x.ObjectMeta - yyv4448.CodecDecodeSelf(d) + yyv4439 := &x.ObjectMeta + yyv4439.CodecDecodeSelf(d) } - yyj4445++ - if yyhl4445 { - yyb4445 = yyj4445 > l + yyj4436++ + if yyhl4436 { + yyb4436 = yyj4436 > l } else { - yyb4445 = r.CheckBreak() + yyb4436 = r.CheckBreak() } - if yyb4445 { + if yyb4436 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55289,26 +55207,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4449 := &x.Conditions - yym4450 := z.DecBinary() - _ = yym4450 + yyv4440 := &x.Conditions + yym4441 := z.DecBinary() + _ = yym4441 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4449), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4440), d) } } for { - yyj4445++ - if yyhl4445 { - yyb4445 = yyj4445 > l + yyj4436++ + if yyhl4436 { + yyb4436 = yyj4436 > l } else { - yyb4445 = r.CheckBreak() + yyb4436 = r.CheckBreak() } - if yyb4445 { + if yyb4436 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4445-1, "") + z.DecStructFieldNotFound(yyj4436-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55320,37 +55238,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4451 := z.EncBinary() - _ = yym4451 + yym4442 := z.EncBinary() + _ = yym4442 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4452 := !z.EncBinary() - yy2arr4452 := z.EncBasicHandle().StructToArray - var yyq4452 [4]bool - _, _, _ = yysep4452, yyq4452, yy2arr4452 - const yyr4452 bool = false - yyq4452[0] = x.Kind != "" - yyq4452[1] = x.APIVersion != "" - yyq4452[2] = true - var yynn4452 int - if yyr4452 || yy2arr4452 { + yysep4443 := !z.EncBinary() + yy2arr4443 := z.EncBasicHandle().StructToArray + var yyq4443 [4]bool + _, _, _ = yysep4443, yyq4443, yy2arr4443 + const yyr4443 bool = false + yyq4443[0] = x.Kind != "" + yyq4443[1] = x.APIVersion != "" + yyq4443[2] = true + var yynn4443 int + if yyr4443 || yy2arr4443 { r.EncodeArrayStart(4) } else { - yynn4452 = 1 - for _, b := range yyq4452 { + yynn4443 = 1 + for _, b := range yyq4443 { if b { - yynn4452++ + yynn4443++ } } - r.EncodeMapStart(yynn4452) - yynn4452 = 0 + r.EncodeMapStart(yynn4443) + yynn4443 = 0 } - if yyr4452 || yy2arr4452 { + if yyr4443 || yy2arr4443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4452[0] { - yym4454 := z.EncBinary() - _ = yym4454 + if yyq4443[0] { + yym4445 := z.EncBinary() + _ = yym4445 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -55359,23 +55277,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4452[0] { + if yyq4443[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4455 := z.EncBinary() - _ = yym4455 + yym4446 := z.EncBinary() + _ = yym4446 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4452 || yy2arr4452 { + if yyr4443 || yy2arr4443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4452[1] { - yym4457 := z.EncBinary() - _ = yym4457 + if yyq4443[1] { + yym4448 := z.EncBinary() + _ = yym4448 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -55384,54 +55302,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4452[1] { + if yyq4443[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4458 := z.EncBinary() - _ = yym4458 + yym4449 := z.EncBinary() + _ = yym4449 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4452 || yy2arr4452 { + if yyr4443 || yy2arr4443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4452[2] { - yy4460 := &x.ListMeta - yym4461 := z.EncBinary() - _ = yym4461 + if yyq4443[2] { + yy4451 := &x.ListMeta + yym4452 := z.EncBinary() + _ = yym4452 if false { - } else if z.HasExtensions() && z.EncExt(yy4460) { + } else if z.HasExtensions() && z.EncExt(yy4451) { } else { - z.EncFallback(yy4460) + z.EncFallback(yy4451) } } else { r.EncodeNil() } } else { - if yyq4452[2] { + if yyq4443[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4462 := &x.ListMeta - yym4463 := z.EncBinary() - _ = yym4463 + yy4453 := &x.ListMeta + yym4454 := z.EncBinary() + _ = yym4454 if false { - } else if z.HasExtensions() && z.EncExt(yy4462) { + } else if z.HasExtensions() && z.EncExt(yy4453) { } else { - z.EncFallback(yy4462) + z.EncFallback(yy4453) } } } - if yyr4452 || yy2arr4452 { + if yyr4443 || yy2arr4443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4465 := z.EncBinary() - _ = yym4465 + yym4456 := z.EncBinary() + _ = yym4456 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -55444,15 +55362,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4466 := z.EncBinary() - _ = yym4466 + yym4457 := z.EncBinary() + _ = yym4457 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr4452 || yy2arr4452 { + if yyr4443 || yy2arr4443 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55465,25 +55383,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4467 := z.DecBinary() - _ = yym4467 + yym4458 := z.DecBinary() + _ = yym4458 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4468 := r.ContainerType() - if yyct4468 == codecSelferValueTypeMap1234 { - yyl4468 := r.ReadMapStart() - if yyl4468 == 0 { + yyct4459 := r.ContainerType() + if yyct4459 == codecSelferValueTypeMap1234 { + yyl4459 := r.ReadMapStart() + if yyl4459 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4468, d) + x.codecDecodeSelfFromMap(yyl4459, d) } - } else if yyct4468 == codecSelferValueTypeArray1234 { - yyl4468 := r.ReadArrayStart() - if yyl4468 == 0 { + } else if yyct4459 == codecSelferValueTypeArray1234 { + yyl4459 := r.ReadArrayStart() + if yyl4459 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4468, d) + x.codecDecodeSelfFromArray(yyl4459, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55495,12 +55413,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4469Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4469Slc - var yyhl4469 bool = l >= 0 - for yyj4469 := 0; ; yyj4469++ { - if yyhl4469 { - if yyj4469 >= l { + var yys4460Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4460Slc + var yyhl4460 bool = l >= 0 + for yyj4460 := 0; ; yyj4460++ { + if yyhl4460 { + if yyj4460 >= l { break } } else { @@ -55509,10 +55427,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4469Slc = r.DecodeBytes(yys4469Slc, true, true) - yys4469 := string(yys4469Slc) + yys4460Slc = r.DecodeBytes(yys4460Slc, true, true) + yys4460 := string(yys4460Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4469 { + switch yys4460 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -55529,31 +55447,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4472 := &x.ListMeta - yym4473 := z.DecBinary() - _ = yym4473 + yyv4463 := &x.ListMeta + yym4464 := z.DecBinary() + _ = yym4464 if false { - } else if z.HasExtensions() && z.DecExt(yyv4472) { + } else if z.HasExtensions() && z.DecExt(yyv4463) { } else { - z.DecFallback(yyv4472, false) + z.DecFallback(yyv4463, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4474 := &x.Items - yym4475 := z.DecBinary() - _ = yym4475 + yyv4465 := &x.Items + yym4466 := z.DecBinary() + _ = yym4466 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4474), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4465), d) } } default: - z.DecStructFieldNotFound(-1, yys4469) - } // end switch yys4469 - } // end for yyj4469 + z.DecStructFieldNotFound(-1, yys4460) + } // end switch yys4460 + } // end for yyj4460 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55561,16 +55479,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4476 int - var yyb4476 bool - var yyhl4476 bool = l >= 0 - yyj4476++ - if yyhl4476 { - yyb4476 = yyj4476 > l + var yyj4467 int + var yyb4467 bool + var yyhl4467 bool = l >= 0 + yyj4467++ + if yyhl4467 { + yyb4467 = yyj4467 > l } else { - yyb4476 = r.CheckBreak() + yyb4467 = r.CheckBreak() } - if yyb4476 { + if yyb4467 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55580,13 +55498,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj4476++ - if yyhl4476 { - yyb4476 = yyj4476 > l + yyj4467++ + if yyhl4467 { + yyb4467 = yyj4467 > l } else { - yyb4476 = r.CheckBreak() + yyb4467 = r.CheckBreak() } - if yyb4476 { + if yyb4467 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55596,13 +55514,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj4476++ - if yyhl4476 { - yyb4476 = yyj4476 > l + yyj4467++ + if yyhl4467 { + yyb4467 = yyj4467 > l } else { - yyb4476 = r.CheckBreak() + yyb4467 = r.CheckBreak() } - if yyb4476 { + if yyb4467 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55610,22 +55528,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4479 := &x.ListMeta - yym4480 := z.DecBinary() - _ = yym4480 + yyv4470 := &x.ListMeta + yym4471 := z.DecBinary() + _ = yym4471 if false { - } else if z.HasExtensions() && z.DecExt(yyv4479) { + } else if z.HasExtensions() && z.DecExt(yyv4470) { } else { - z.DecFallback(yyv4479, false) + z.DecFallback(yyv4470, false) } } - yyj4476++ - if yyhl4476 { - yyb4476 = yyj4476 > l + yyj4467++ + if yyhl4467 { + yyb4467 = yyj4467 > l } else { - yyb4476 = r.CheckBreak() + yyb4467 = r.CheckBreak() } - if yyb4476 { + if yyb4467 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55633,26 +55551,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4481 := &x.Items - yym4482 := z.DecBinary() - _ = yym4482 + yyv4472 := &x.Items + yym4473 := z.DecBinary() + _ = yym4473 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4481), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4472), d) } } for { - yyj4476++ - if yyhl4476 { - yyb4476 = yyj4476 > l + yyj4467++ + if yyhl4467 { + yyb4467 = yyj4467 > l } else { - yyb4476 = r.CheckBreak() + yyb4467 = r.CheckBreak() } - if yyb4476 { + if yyb4467 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4476-1, "") + z.DecStructFieldNotFound(yyj4467-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55664,38 +55582,38 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4483 := z.EncBinary() - _ = yym4483 + yym4474 := z.EncBinary() + _ = yym4474 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4484 := !z.EncBinary() - yy2arr4484 := z.EncBasicHandle().StructToArray - var yyq4484 [6]bool - _, _, _ = yysep4484, yyq4484, yy2arr4484 - const yyr4484 bool = false - yyq4484[0] = x.Capabilities != nil - yyq4484[1] = x.Privileged != nil - yyq4484[2] = x.SELinuxOptions != nil - yyq4484[3] = x.RunAsUser != nil - yyq4484[4] = x.RunAsNonRoot != nil - yyq4484[5] = x.ReadOnlyRootFilesystem != nil - var yynn4484 int - if yyr4484 || yy2arr4484 { + yysep4475 := !z.EncBinary() + yy2arr4475 := z.EncBasicHandle().StructToArray + var yyq4475 [6]bool + _, _, _ = yysep4475, yyq4475, yy2arr4475 + const yyr4475 bool = false + yyq4475[0] = x.Capabilities != nil + yyq4475[1] = x.Privileged != nil + yyq4475[2] = x.SELinuxOptions != nil + yyq4475[3] = x.RunAsUser != nil + yyq4475[4] = x.RunAsNonRoot != nil + yyq4475[5] = x.ReadOnlyRootFilesystem != nil + var yynn4475 int + if yyr4475 || yy2arr4475 { r.EncodeArrayStart(6) } else { - yynn4484 = 0 - for _, b := range yyq4484 { + yynn4475 = 0 + for _, b := range yyq4475 { if b { - yynn4484++ + yynn4475++ } } - r.EncodeMapStart(yynn4484) - yynn4484 = 0 + r.EncodeMapStart(yynn4475) + yynn4475 = 0 } - if yyr4484 || yy2arr4484 { + if yyr4475 || yy2arr4475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4484[0] { + if yyq4475[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -55705,7 +55623,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4484[0] { + if yyq4475[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55716,44 +55634,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4484 || yy2arr4484 { + if yyr4475 || yy2arr4475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4484[1] { + if yyq4475[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy4487 := *x.Privileged - yym4488 := z.EncBinary() - _ = yym4488 + yy4478 := *x.Privileged + yym4479 := z.EncBinary() + _ = yym4479 if false { } else { - r.EncodeBool(bool(yy4487)) + r.EncodeBool(bool(yy4478)) } } } else { r.EncodeNil() } } else { - if yyq4484[1] { + if yyq4475[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy4489 := *x.Privileged - yym4490 := z.EncBinary() - _ = yym4490 + yy4480 := *x.Privileged + yym4481 := z.EncBinary() + _ = yym4481 if false { } else { - r.EncodeBool(bool(yy4489)) + r.EncodeBool(bool(yy4480)) } } } } - if yyr4484 || yy2arr4484 { + if yyr4475 || yy2arr4475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4484[2] { + if yyq4475[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -55763,7 +55681,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4484[2] { + if yyq4475[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55774,112 +55692,112 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4484 || yy2arr4484 { + if yyr4475 || yy2arr4475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4484[3] { + if yyq4475[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy4493 := *x.RunAsUser - yym4494 := z.EncBinary() - _ = yym4494 + yy4484 := *x.RunAsUser + yym4485 := z.EncBinary() + _ = yym4485 if false { } else { - r.EncodeInt(int64(yy4493)) + r.EncodeInt(int64(yy4484)) } } } else { r.EncodeNil() } } else { - if yyq4484[3] { + if yyq4475[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy4495 := *x.RunAsUser - yym4496 := z.EncBinary() - _ = yym4496 + yy4486 := *x.RunAsUser + yym4487 := z.EncBinary() + _ = yym4487 if false { } else { - r.EncodeInt(int64(yy4495)) + r.EncodeInt(int64(yy4486)) } } } } - if yyr4484 || yy2arr4484 { + if yyr4475 || yy2arr4475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4484[4] { + if yyq4475[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4498 := *x.RunAsNonRoot - yym4499 := z.EncBinary() - _ = yym4499 + yy4489 := *x.RunAsNonRoot + yym4490 := z.EncBinary() + _ = yym4490 if false { } else { - r.EncodeBool(bool(yy4498)) + r.EncodeBool(bool(yy4489)) } } } else { r.EncodeNil() } } else { - if yyq4484[4] { + if yyq4475[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4500 := *x.RunAsNonRoot - yym4501 := z.EncBinary() - _ = yym4501 + yy4491 := *x.RunAsNonRoot + yym4492 := z.EncBinary() + _ = yym4492 if false { } else { - r.EncodeBool(bool(yy4500)) + r.EncodeBool(bool(yy4491)) } } } } - if yyr4484 || yy2arr4484 { + if yyr4475 || yy2arr4475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4484[5] { + if yyq4475[5] { if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4503 := *x.ReadOnlyRootFilesystem - yym4504 := z.EncBinary() - _ = yym4504 + yy4494 := *x.ReadOnlyRootFilesystem + yym4495 := z.EncBinary() + _ = yym4495 if false { } else { - r.EncodeBool(bool(yy4503)) + r.EncodeBool(bool(yy4494)) } } } else { r.EncodeNil() } } else { - if yyq4484[5] { + if yyq4475[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4505 := *x.ReadOnlyRootFilesystem - yym4506 := z.EncBinary() - _ = yym4506 + yy4496 := *x.ReadOnlyRootFilesystem + yym4497 := z.EncBinary() + _ = yym4497 if false { } else { - r.EncodeBool(bool(yy4505)) + r.EncodeBool(bool(yy4496)) } } } } - if yyr4484 || yy2arr4484 { + if yyr4475 || yy2arr4475 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55892,25 +55810,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4507 := z.DecBinary() - _ = yym4507 + yym4498 := z.DecBinary() + _ = yym4498 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4508 := r.ContainerType() - if yyct4508 == codecSelferValueTypeMap1234 { - yyl4508 := r.ReadMapStart() - if yyl4508 == 0 { + yyct4499 := r.ContainerType() + if yyct4499 == codecSelferValueTypeMap1234 { + yyl4499 := r.ReadMapStart() + if yyl4499 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4508, d) + x.codecDecodeSelfFromMap(yyl4499, d) } - } else if yyct4508 == codecSelferValueTypeArray1234 { - yyl4508 := r.ReadArrayStart() - if yyl4508 == 0 { + } else if yyct4499 == codecSelferValueTypeArray1234 { + yyl4499 := r.ReadArrayStart() + if yyl4499 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4508, d) + x.codecDecodeSelfFromArray(yyl4499, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55922,12 +55840,12 @@ func (x *SecurityContext) 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 yys4500Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4500Slc + var yyhl4500 bool = l >= 0 + for yyj4500 := 0; ; yyj4500++ { + if yyhl4500 { + if yyj4500 >= l { break } } else { @@ -55936,10 +55854,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4509Slc = r.DecodeBytes(yys4509Slc, true, true) - yys4509 := string(yys4509Slc) + yys4500Slc = r.DecodeBytes(yys4500Slc, true, true) + yys4500 := string(yys4500Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4509 { + switch yys4500 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -55960,8 +55878,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym4512 := z.DecBinary() - _ = yym4512 + yym4503 := z.DecBinary() + _ = yym4503 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -55987,8 +55905,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4515 := z.DecBinary() - _ = yym4515 + yym4506 := z.DecBinary() + _ = yym4506 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -56003,8 +55921,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4517 := z.DecBinary() - _ = yym4517 + yym4508 := z.DecBinary() + _ = yym4508 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -56019,17 +55937,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4519 := z.DecBinary() - _ = yym4519 + yym4510 := z.DecBinary() + _ = yym4510 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys4509) - } // end switch yys4509 - } // end for yyj4509 + z.DecStructFieldNotFound(-1, yys4500) + } // end switch yys4500 + } // end for yyj4500 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56037,16 +55955,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4520 int - var yyb4520 bool - var yyhl4520 bool = l >= 0 - yyj4520++ - if yyhl4520 { - yyb4520 = yyj4520 > l + var yyj4511 int + var yyb4511 bool + var yyhl4511 bool = l >= 0 + yyj4511++ + if yyhl4511 { + yyb4511 = yyj4511 > l } else { - yyb4520 = r.CheckBreak() + yyb4511 = r.CheckBreak() } - if yyb4520 { + if yyb4511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56061,13 +55979,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj4520++ - if yyhl4520 { - yyb4520 = yyj4520 > l + yyj4511++ + if yyhl4511 { + yyb4511 = yyj4511 > l } else { - yyb4520 = r.CheckBreak() + yyb4511 = r.CheckBreak() } - if yyb4520 { + if yyb4511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56080,20 +55998,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym4523 := z.DecBinary() - _ = yym4523 + yym4514 := z.DecBinary() + _ = yym4514 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj4520++ - if yyhl4520 { - yyb4520 = yyj4520 > l + yyj4511++ + if yyhl4511 { + yyb4511 = yyj4511 > l } else { - yyb4520 = r.CheckBreak() + yyb4511 = r.CheckBreak() } - if yyb4520 { + if yyb4511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56108,13 +56026,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj4520++ - if yyhl4520 { - yyb4520 = yyj4520 > l + yyj4511++ + if yyhl4511 { + yyb4511 = yyj4511 > l } else { - yyb4520 = r.CheckBreak() + yyb4511 = r.CheckBreak() } - if yyb4520 { + if yyb4511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56127,20 +56045,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4526 := z.DecBinary() - _ = yym4526 + yym4517 := z.DecBinary() + _ = yym4517 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj4520++ - if yyhl4520 { - yyb4520 = yyj4520 > l + yyj4511++ + if yyhl4511 { + yyb4511 = yyj4511 > l } else { - yyb4520 = r.CheckBreak() + yyb4511 = r.CheckBreak() } - if yyb4520 { + if yyb4511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56153,20 +56071,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4528 := z.DecBinary() - _ = yym4528 + yym4519 := z.DecBinary() + _ = yym4519 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj4520++ - if yyhl4520 { - yyb4520 = yyj4520 > l + yyj4511++ + if yyhl4511 { + yyb4511 = yyj4511 > l } else { - yyb4520 = r.CheckBreak() + yyb4511 = r.CheckBreak() } - if yyb4520 { + if yyb4511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56179,25 +56097,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4530 := z.DecBinary() - _ = yym4530 + yym4521 := z.DecBinary() + _ = yym4521 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } for { - yyj4520++ - if yyhl4520 { - yyb4520 = yyj4520 > l + yyj4511++ + if yyhl4511 { + yyb4511 = yyj4511 > l } else { - yyb4520 = r.CheckBreak() + yyb4511 = r.CheckBreak() } - if yyb4520 { + if yyb4511 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4520-1, "") + z.DecStructFieldNotFound(yyj4511-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56209,38 +56127,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4531 := z.EncBinary() - _ = yym4531 + yym4522 := z.EncBinary() + _ = yym4522 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4532 := !z.EncBinary() - yy2arr4532 := z.EncBasicHandle().StructToArray - var yyq4532 [4]bool - _, _, _ = yysep4532, yyq4532, yy2arr4532 - const yyr4532 bool = false - yyq4532[0] = x.User != "" - yyq4532[1] = x.Role != "" - yyq4532[2] = x.Type != "" - yyq4532[3] = x.Level != "" - var yynn4532 int - if yyr4532 || yy2arr4532 { + yysep4523 := !z.EncBinary() + yy2arr4523 := z.EncBasicHandle().StructToArray + var yyq4523 [4]bool + _, _, _ = yysep4523, yyq4523, yy2arr4523 + const yyr4523 bool = false + yyq4523[0] = x.User != "" + yyq4523[1] = x.Role != "" + yyq4523[2] = x.Type != "" + yyq4523[3] = x.Level != "" + var yynn4523 int + if yyr4523 || yy2arr4523 { r.EncodeArrayStart(4) } else { - yynn4532 = 0 - for _, b := range yyq4532 { + yynn4523 = 0 + for _, b := range yyq4523 { if b { - yynn4532++ + yynn4523++ } } - r.EncodeMapStart(yynn4532) - yynn4532 = 0 + r.EncodeMapStart(yynn4523) + yynn4523 = 0 } - if yyr4532 || yy2arr4532 { + if yyr4523 || yy2arr4523 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4532[0] { - yym4534 := z.EncBinary() - _ = yym4534 + if yyq4523[0] { + yym4525 := z.EncBinary() + _ = yym4525 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -56249,94 +56167,94 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4532[0] { + if yyq4523[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4526 := z.EncBinary() + _ = yym4526 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.User)) + } + } + } + if yyr4523 || yy2arr4523 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4523[1] { + yym4528 := z.EncBinary() + _ = yym4528 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Role)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4523[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("role")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4529 := z.EncBinary() + _ = yym4529 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Role)) + } + } + } + if yyr4523 || yy2arr4523 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4523[2] { + yym4531 := z.EncBinary() + _ = yym4531 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Type)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4523[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4532 := z.EncBinary() + _ = yym4532 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Type)) + } + } + } + if yyr4523 || yy2arr4523 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4523[3] { + yym4534 := z.EncBinary() + _ = yym4534 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Level)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4523[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("level")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym4535 := z.EncBinary() _ = yym4535 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.User)) - } - } - } - if yyr4532 || yy2arr4532 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4532[1] { - yym4537 := z.EncBinary() - _ = yym4537 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Role)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4532[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("role")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4538 := z.EncBinary() - _ = yym4538 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Role)) - } - } - } - if yyr4532 || yy2arr4532 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4532[2] { - yym4540 := z.EncBinary() - _ = yym4540 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Type)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4532[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4541 := z.EncBinary() - _ = yym4541 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Type)) - } - } - } - if yyr4532 || yy2arr4532 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4532[3] { - yym4543 := z.EncBinary() - _ = yym4543 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Level)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4532[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("level")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4544 := z.EncBinary() - _ = yym4544 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr4532 || yy2arr4532 { + if yyr4523 || yy2arr4523 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -56349,25 +56267,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4545 := z.DecBinary() - _ = yym4545 + yym4536 := z.DecBinary() + _ = yym4536 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4546 := r.ContainerType() - if yyct4546 == codecSelferValueTypeMap1234 { - yyl4546 := r.ReadMapStart() - if yyl4546 == 0 { + yyct4537 := r.ContainerType() + if yyct4537 == codecSelferValueTypeMap1234 { + yyl4537 := r.ReadMapStart() + if yyl4537 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4546, d) + x.codecDecodeSelfFromMap(yyl4537, d) } - } else if yyct4546 == codecSelferValueTypeArray1234 { - yyl4546 := r.ReadArrayStart() - if yyl4546 == 0 { + } else if yyct4537 == codecSelferValueTypeArray1234 { + yyl4537 := r.ReadArrayStart() + if yyl4537 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4546, d) + x.codecDecodeSelfFromArray(yyl4537, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56379,12 +56297,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4547Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4547Slc - var yyhl4547 bool = l >= 0 - for yyj4547 := 0; ; yyj4547++ { - if yyhl4547 { - if yyj4547 >= l { + var yys4538Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4538Slc + var yyhl4538 bool = l >= 0 + for yyj4538 := 0; ; yyj4538++ { + if yyhl4538 { + if yyj4538 >= l { break } } else { @@ -56393,10 +56311,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4547Slc = r.DecodeBytes(yys4547Slc, true, true) - yys4547 := string(yys4547Slc) + yys4538Slc = r.DecodeBytes(yys4538Slc, true, true) + yys4538 := string(yys4538Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4547 { + switch yys4538 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -56422,9 +56340,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4547) - } // end switch yys4547 - } // end for yyj4547 + z.DecStructFieldNotFound(-1, yys4538) + } // end switch yys4538 + } // end for yyj4538 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56432,16 +56350,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4552 int - var yyb4552 bool - var yyhl4552 bool = l >= 0 - yyj4552++ - if yyhl4552 { - yyb4552 = yyj4552 > l + var yyj4543 int + var yyb4543 bool + var yyhl4543 bool = l >= 0 + yyj4543++ + if yyhl4543 { + yyb4543 = yyj4543 > l } else { - yyb4552 = r.CheckBreak() + yyb4543 = r.CheckBreak() } - if yyb4552 { + if yyb4543 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56451,13 +56369,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj4552++ - if yyhl4552 { - yyb4552 = yyj4552 > l + yyj4543++ + if yyhl4543 { + yyb4543 = yyj4543 > l } else { - yyb4552 = r.CheckBreak() + yyb4543 = r.CheckBreak() } - if yyb4552 { + if yyb4543 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56467,13 +56385,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj4552++ - if yyhl4552 { - yyb4552 = yyj4552 > l + yyj4543++ + if yyhl4543 { + yyb4543 = yyj4543 > l } else { - yyb4552 = r.CheckBreak() + yyb4543 = r.CheckBreak() } - if yyb4552 { + if yyb4543 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56483,13 +56401,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj4552++ - if yyhl4552 { - yyb4552 = yyj4552 > l + yyj4543++ + if yyhl4543 { + yyb4543 = yyj4543 > l } else { - yyb4552 = r.CheckBreak() + yyb4543 = r.CheckBreak() } - if yyb4552 { + if yyb4543 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56500,17 +56418,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj4552++ - if yyhl4552 { - yyb4552 = yyj4552 > l + yyj4543++ + if yyhl4543 { + yyb4543 = yyj4543 > l } else { - yyb4552 = r.CheckBreak() + yyb4543 = r.CheckBreak() } - if yyb4552 { + if yyb4543 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4552-1, "") + z.DecStructFieldNotFound(yyj4543-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56522,37 +56440,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4557 := z.EncBinary() - _ = yym4557 + yym4548 := z.EncBinary() + _ = yym4548 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4558 := !z.EncBinary() - yy2arr4558 := z.EncBasicHandle().StructToArray - var yyq4558 [5]bool - _, _, _ = yysep4558, yyq4558, yy2arr4558 - const yyr4558 bool = false - yyq4558[0] = x.Kind != "" - yyq4558[1] = x.APIVersion != "" - yyq4558[2] = true - var yynn4558 int - if yyr4558 || yy2arr4558 { + yysep4549 := !z.EncBinary() + yy2arr4549 := z.EncBasicHandle().StructToArray + var yyq4549 [5]bool + _, _, _ = yysep4549, yyq4549, yy2arr4549 + const yyr4549 bool = false + yyq4549[0] = x.Kind != "" + yyq4549[1] = x.APIVersion != "" + yyq4549[2] = true + var yynn4549 int + if yyr4549 || yy2arr4549 { r.EncodeArrayStart(5) } else { - yynn4558 = 2 - for _, b := range yyq4558 { + yynn4549 = 2 + for _, b := range yyq4549 { if b { - yynn4558++ + yynn4549++ } } - r.EncodeMapStart(yynn4558) - yynn4558 = 0 + r.EncodeMapStart(yynn4549) + yynn4549 = 0 } - if yyr4558 || yy2arr4558 { + if yyr4549 || yy2arr4549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4558[0] { - yym4560 := z.EncBinary() - _ = yym4560 + if yyq4549[0] { + yym4551 := z.EncBinary() + _ = yym4551 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -56561,23 +56479,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4558[0] { + if yyq4549[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4561 := z.EncBinary() - _ = yym4561 + yym4552 := z.EncBinary() + _ = yym4552 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4558 || yy2arr4558 { + if yyr4549 || yy2arr4549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4558[1] { - yym4563 := z.EncBinary() - _ = yym4563 + if yyq4549[1] { + yym4554 := z.EncBinary() + _ = yym4554 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -56586,39 +56504,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4558[1] { + if yyq4549[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4564 := z.EncBinary() - _ = yym4564 + yym4555 := z.EncBinary() + _ = yym4555 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4558 || yy2arr4558 { + if yyr4549 || yy2arr4549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4558[2] { - yy4566 := &x.ObjectMeta - yy4566.CodecEncodeSelf(e) + if yyq4549[2] { + yy4557 := &x.ObjectMeta + yy4557.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4558[2] { + if yyq4549[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4567 := &x.ObjectMeta - yy4567.CodecEncodeSelf(e) + yy4558 := &x.ObjectMeta + yy4558.CodecEncodeSelf(e) } } - if yyr4558 || yy2arr4558 { + if yyr4549 || yy2arr4549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4569 := z.EncBinary() - _ = yym4569 + yym4560 := z.EncBinary() + _ = yym4560 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -56627,20 +56545,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4570 := z.EncBinary() - _ = yym4570 + yym4561 := z.EncBinary() + _ = yym4561 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr4558 || yy2arr4558 { + if yyr4549 || yy2arr4549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym4572 := z.EncBinary() - _ = yym4572 + yym4563 := z.EncBinary() + _ = yym4563 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -56653,15 +56571,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym4573 := z.EncBinary() - _ = yym4573 + yym4564 := z.EncBinary() + _ = yym4564 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr4558 || yy2arr4558 { + if yyr4549 || yy2arr4549 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -56674,25 +56592,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4574 := z.DecBinary() - _ = yym4574 + yym4565 := z.DecBinary() + _ = yym4565 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4575 := r.ContainerType() - if yyct4575 == codecSelferValueTypeMap1234 { - yyl4575 := r.ReadMapStart() - if yyl4575 == 0 { + yyct4566 := r.ContainerType() + if yyct4566 == codecSelferValueTypeMap1234 { + yyl4566 := r.ReadMapStart() + if yyl4566 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4575, d) + x.codecDecodeSelfFromMap(yyl4566, d) } - } else if yyct4575 == codecSelferValueTypeArray1234 { - yyl4575 := r.ReadArrayStart() - if yyl4575 == 0 { + } else if yyct4566 == codecSelferValueTypeArray1234 { + yyl4566 := r.ReadArrayStart() + if yyl4566 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4575, d) + x.codecDecodeSelfFromArray(yyl4566, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56704,12 +56622,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4576Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4576Slc - var yyhl4576 bool = l >= 0 - for yyj4576 := 0; ; yyj4576++ { - if yyhl4576 { - if yyj4576 >= l { + var yys4567Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4567Slc + var yyhl4567 bool = l >= 0 + for yyj4567 := 0; ; yyj4567++ { + if yyhl4567 { + if yyj4567 >= l { break } } else { @@ -56718,10 +56636,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4576Slc = r.DecodeBytes(yys4576Slc, true, true) - yys4576 := string(yys4576Slc) + yys4567Slc = r.DecodeBytes(yys4567Slc, true, true) + yys4567 := string(yys4567Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4576 { + switch yys4567 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -56738,8 +56656,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4579 := &x.ObjectMeta - yyv4579.CodecDecodeSelf(d) + yyv4570 := &x.ObjectMeta + yyv4570.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -56751,18 +56669,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4581 := &x.Data - yym4582 := z.DecBinary() - _ = yym4582 + yyv4572 := &x.Data + yym4573 := z.DecBinary() + _ = yym4573 if false { } else { - *yyv4581 = r.DecodeBytes(*(*[]byte)(yyv4581), false, false) + *yyv4572 = r.DecodeBytes(*(*[]byte)(yyv4572), false, false) } } default: - z.DecStructFieldNotFound(-1, yys4576) - } // end switch yys4576 - } // end for yyj4576 + z.DecStructFieldNotFound(-1, yys4567) + } // end switch yys4567 + } // end for yyj4567 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56770,16 +56688,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4583 int - var yyb4583 bool - var yyhl4583 bool = l >= 0 - yyj4583++ - if yyhl4583 { - yyb4583 = yyj4583 > l + var yyj4574 int + var yyb4574 bool + var yyhl4574 bool = l >= 0 + yyj4574++ + if yyhl4574 { + yyb4574 = yyj4574 > l } else { - yyb4583 = r.CheckBreak() + yyb4574 = r.CheckBreak() } - if yyb4583 { + if yyb4574 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56789,13 +56707,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4583++ - if yyhl4583 { - yyb4583 = yyj4583 > l + yyj4574++ + if yyhl4574 { + yyb4574 = yyj4574 > l } else { - yyb4583 = r.CheckBreak() + yyb4574 = r.CheckBreak() } - if yyb4583 { + if yyb4574 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56805,13 +56723,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4583++ - if yyhl4583 { - yyb4583 = yyj4583 > l + yyj4574++ + if yyhl4574 { + yyb4574 = yyj4574 > l } else { - yyb4583 = r.CheckBreak() + yyb4574 = r.CheckBreak() } - if yyb4583 { + if yyb4574 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56819,16 +56737,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4586 := &x.ObjectMeta - yyv4586.CodecDecodeSelf(d) + yyv4577 := &x.ObjectMeta + yyv4577.CodecDecodeSelf(d) } - yyj4583++ - if yyhl4583 { - yyb4583 = yyj4583 > l + yyj4574++ + if yyhl4574 { + yyb4574 = yyj4574 > l } else { - yyb4583 = r.CheckBreak() + yyb4574 = r.CheckBreak() } - if yyb4583 { + if yyb4574 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56838,13 +56756,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj4583++ - if yyhl4583 { - yyb4583 = yyj4583 > l + yyj4574++ + if yyhl4574 { + yyb4574 = yyj4574 > l } else { - yyb4583 = r.CheckBreak() + yyb4574 = r.CheckBreak() } - if yyb4583 { + if yyb4574 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56852,26 +56770,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4588 := &x.Data - yym4589 := z.DecBinary() - _ = yym4589 + yyv4579 := &x.Data + yym4580 := z.DecBinary() + _ = yym4580 if false { } else { - *yyv4588 = r.DecodeBytes(*(*[]byte)(yyv4588), false, false) + *yyv4579 = r.DecodeBytes(*(*[]byte)(yyv4579), false, false) } } for { - yyj4583++ - if yyhl4583 { - yyb4583 = yyj4583 > l + yyj4574++ + if yyhl4574 { + yyb4574 = yyj4574 > l } else { - yyb4583 = r.CheckBreak() + yyb4574 = r.CheckBreak() } - if yyb4583 { + if yyb4574 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4583-1, "") + z.DecStructFieldNotFound(yyj4574-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56881,10 +56799,10 @@ func (x codecSelfer1234) encSliceOwnerReference(v []OwnerReference, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4590 := range v { + for _, yyv4581 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4591 := &yyv4590 - yy4591.CodecEncodeSelf(e) + yy4582 := &yyv4581 + yy4582.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56894,83 +56812,83 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4592 := *v - yyh4592, yyl4592 := z.DecSliceHelperStart() - var yyc4592 bool - if yyl4592 == 0 { - if yyv4592 == nil { - yyv4592 = []OwnerReference{} - yyc4592 = true - } else if len(yyv4592) != 0 { - yyv4592 = yyv4592[:0] - yyc4592 = true + yyv4583 := *v + yyh4583, yyl4583 := z.DecSliceHelperStart() + var yyc4583 bool + if yyl4583 == 0 { + if yyv4583 == nil { + yyv4583 = []OwnerReference{} + yyc4583 = true + } else if len(yyv4583) != 0 { + yyv4583 = yyv4583[:0] + yyc4583 = true } - } else if yyl4592 > 0 { - var yyrr4592, yyrl4592 int - var yyrt4592 bool - if yyl4592 > cap(yyv4592) { + } else if yyl4583 > 0 { + var yyrr4583, yyrl4583 int + var yyrt4583 bool + if yyl4583 > cap(yyv4583) { - yyrg4592 := len(yyv4592) > 0 - yyv24592 := yyv4592 - yyrl4592, yyrt4592 = z.DecInferLen(yyl4592, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4592 { - if yyrl4592 <= cap(yyv4592) { - yyv4592 = yyv4592[:yyrl4592] + yyrg4583 := len(yyv4583) > 0 + yyv24583 := yyv4583 + yyrl4583, yyrt4583 = z.DecInferLen(yyl4583, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4583 { + if yyrl4583 <= cap(yyv4583) { + yyv4583 = yyv4583[:yyrl4583] } else { - yyv4592 = make([]OwnerReference, yyrl4592) + yyv4583 = make([]OwnerReference, yyrl4583) } } else { - yyv4592 = make([]OwnerReference, yyrl4592) + yyv4583 = make([]OwnerReference, yyrl4583) } - yyc4592 = true - yyrr4592 = len(yyv4592) - if yyrg4592 { - copy(yyv4592, yyv24592) + yyc4583 = true + yyrr4583 = len(yyv4583) + if yyrg4583 { + copy(yyv4583, yyv24583) } - } else if yyl4592 != len(yyv4592) { - yyv4592 = yyv4592[:yyl4592] - yyc4592 = true + } else if yyl4583 != len(yyv4583) { + yyv4583 = yyv4583[:yyl4583] + yyc4583 = true } - yyj4592 := 0 - for ; yyj4592 < yyrr4592; yyj4592++ { - yyh4592.ElemContainerState(yyj4592) + yyj4583 := 0 + for ; yyj4583 < yyrr4583; yyj4583++ { + yyh4583.ElemContainerState(yyj4583) if r.TryDecodeAsNil() { - yyv4592[yyj4592] = OwnerReference{} + yyv4583[yyj4583] = OwnerReference{} } else { - yyv4593 := &yyv4592[yyj4592] - yyv4593.CodecDecodeSelf(d) + yyv4584 := &yyv4583[yyj4583] + yyv4584.CodecDecodeSelf(d) } } - if yyrt4592 { - for ; yyj4592 < yyl4592; yyj4592++ { - yyv4592 = append(yyv4592, OwnerReference{}) - yyh4592.ElemContainerState(yyj4592) + if yyrt4583 { + for ; yyj4583 < yyl4583; yyj4583++ { + yyv4583 = append(yyv4583, OwnerReference{}) + yyh4583.ElemContainerState(yyj4583) if r.TryDecodeAsNil() { - yyv4592[yyj4592] = OwnerReference{} + yyv4583[yyj4583] = OwnerReference{} } else { - yyv4594 := &yyv4592[yyj4592] - yyv4594.CodecDecodeSelf(d) + yyv4585 := &yyv4583[yyj4583] + yyv4585.CodecDecodeSelf(d) } } } } else { - yyj4592 := 0 - for ; !r.CheckBreak(); yyj4592++ { + yyj4583 := 0 + for ; !r.CheckBreak(); yyj4583++ { - if yyj4592 >= len(yyv4592) { - yyv4592 = append(yyv4592, OwnerReference{}) // var yyz4592 OwnerReference - yyc4592 = true + if yyj4583 >= len(yyv4583) { + yyv4583 = append(yyv4583, OwnerReference{}) // var yyz4583 OwnerReference + yyc4583 = true } - yyh4592.ElemContainerState(yyj4592) - if yyj4592 < len(yyv4592) { + yyh4583.ElemContainerState(yyj4583) + if yyj4583 < len(yyv4583) { if r.TryDecodeAsNil() { - yyv4592[yyj4592] = OwnerReference{} + yyv4583[yyj4583] = OwnerReference{} } else { - yyv4595 := &yyv4592[yyj4592] - yyv4595.CodecDecodeSelf(d) + yyv4586 := &yyv4583[yyj4583] + yyv4586.CodecDecodeSelf(d) } } else { @@ -56978,17 +56896,17 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 } } - if yyj4592 < len(yyv4592) { - yyv4592 = yyv4592[:yyj4592] - yyc4592 = true - } else if yyj4592 == 0 && yyv4592 == nil { - yyv4592 = []OwnerReference{} - yyc4592 = true + if yyj4583 < len(yyv4583) { + yyv4583 = yyv4583[:yyj4583] + yyc4583 = true + } else if yyj4583 == 0 && yyv4583 == nil { + yyv4583 = []OwnerReference{} + yyc4583 = true } } - yyh4592.End() - if yyc4592 { - *v = yyv4592 + yyh4583.End() + if yyc4583 { + *v = yyv4583 } } @@ -56997,9 +56915,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4596 := range v { + for _, yyv4587 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4596.CodecEncodeSelf(e) + yyv4587.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57009,75 +56927,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4597 := *v - yyh4597, yyl4597 := z.DecSliceHelperStart() - var yyc4597 bool - if yyl4597 == 0 { - if yyv4597 == nil { - yyv4597 = []PersistentVolumeAccessMode{} - yyc4597 = true - } else if len(yyv4597) != 0 { - yyv4597 = yyv4597[:0] - yyc4597 = true + yyv4588 := *v + yyh4588, yyl4588 := z.DecSliceHelperStart() + var yyc4588 bool + if yyl4588 == 0 { + if yyv4588 == nil { + yyv4588 = []PersistentVolumeAccessMode{} + yyc4588 = true + } else if len(yyv4588) != 0 { + yyv4588 = yyv4588[:0] + yyc4588 = true } - } else if yyl4597 > 0 { - var yyrr4597, yyrl4597 int - var yyrt4597 bool - if yyl4597 > cap(yyv4597) { + } else if yyl4588 > 0 { + var yyrr4588, yyrl4588 int + var yyrt4588 bool + if yyl4588 > cap(yyv4588) { - yyrl4597, yyrt4597 = z.DecInferLen(yyl4597, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4597 { - if yyrl4597 <= cap(yyv4597) { - yyv4597 = yyv4597[:yyrl4597] + yyrl4588, yyrt4588 = z.DecInferLen(yyl4588, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4588 { + if yyrl4588 <= cap(yyv4588) { + yyv4588 = yyv4588[:yyrl4588] } else { - yyv4597 = make([]PersistentVolumeAccessMode, yyrl4597) + yyv4588 = make([]PersistentVolumeAccessMode, yyrl4588) } } else { - yyv4597 = make([]PersistentVolumeAccessMode, yyrl4597) + yyv4588 = make([]PersistentVolumeAccessMode, yyrl4588) } - yyc4597 = true - yyrr4597 = len(yyv4597) - } else if yyl4597 != len(yyv4597) { - yyv4597 = yyv4597[:yyl4597] - yyc4597 = true + yyc4588 = true + yyrr4588 = len(yyv4588) + } else if yyl4588 != len(yyv4588) { + yyv4588 = yyv4588[:yyl4588] + yyc4588 = true } - yyj4597 := 0 - for ; yyj4597 < yyrr4597; yyj4597++ { - yyh4597.ElemContainerState(yyj4597) + yyj4588 := 0 + for ; yyj4588 < yyrr4588; yyj4588++ { + yyh4588.ElemContainerState(yyj4588) if r.TryDecodeAsNil() { - yyv4597[yyj4597] = "" + yyv4588[yyj4588] = "" } else { - yyv4597[yyj4597] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4588[yyj4588] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt4597 { - for ; yyj4597 < yyl4597; yyj4597++ { - yyv4597 = append(yyv4597, "") - yyh4597.ElemContainerState(yyj4597) + if yyrt4588 { + for ; yyj4588 < yyl4588; yyj4588++ { + yyv4588 = append(yyv4588, "") + yyh4588.ElemContainerState(yyj4588) if r.TryDecodeAsNil() { - yyv4597[yyj4597] = "" + yyv4588[yyj4588] = "" } else { - yyv4597[yyj4597] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4588[yyj4588] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj4597 := 0 - for ; !r.CheckBreak(); yyj4597++ { + yyj4588 := 0 + for ; !r.CheckBreak(); yyj4588++ { - if yyj4597 >= len(yyv4597) { - yyv4597 = append(yyv4597, "") // var yyz4597 PersistentVolumeAccessMode - yyc4597 = true + if yyj4588 >= len(yyv4588) { + yyv4588 = append(yyv4588, "") // var yyz4588 PersistentVolumeAccessMode + yyc4588 = true } - yyh4597.ElemContainerState(yyj4597) - if yyj4597 < len(yyv4597) { + yyh4588.ElemContainerState(yyj4588) + if yyj4588 < len(yyv4588) { if r.TryDecodeAsNil() { - yyv4597[yyj4597] = "" + yyv4588[yyj4588] = "" } else { - yyv4597[yyj4597] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4588[yyj4588] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -57085,17 +57003,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj4597 < len(yyv4597) { - yyv4597 = yyv4597[:yyj4597] - yyc4597 = true - } else if yyj4597 == 0 && yyv4597 == nil { - yyv4597 = []PersistentVolumeAccessMode{} - yyc4597 = true + if yyj4588 < len(yyv4588) { + yyv4588 = yyv4588[:yyj4588] + yyc4588 = true + } else if yyj4588 == 0 && yyv4588 == nil { + yyv4588 = []PersistentVolumeAccessMode{} + yyc4588 = true } } - yyh4597.End() - if yyc4597 { - *v = yyv4597 + yyh4588.End() + if yyc4588 { + *v = yyv4588 } } @@ -57104,10 +57022,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4601 := range v { + for _, yyv4592 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4602 := &yyv4601 - yy4602.CodecEncodeSelf(e) + yy4593 := &yyv4592 + yy4593.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57117,83 +57035,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4603 := *v - yyh4603, yyl4603 := z.DecSliceHelperStart() - var yyc4603 bool - if yyl4603 == 0 { - if yyv4603 == nil { - yyv4603 = []PersistentVolume{} - yyc4603 = true - } else if len(yyv4603) != 0 { - yyv4603 = yyv4603[:0] - yyc4603 = true + yyv4594 := *v + yyh4594, yyl4594 := z.DecSliceHelperStart() + var yyc4594 bool + if yyl4594 == 0 { + if yyv4594 == nil { + yyv4594 = []PersistentVolume{} + yyc4594 = true + } else if len(yyv4594) != 0 { + yyv4594 = yyv4594[:0] + yyc4594 = true } - } else if yyl4603 > 0 { - var yyrr4603, yyrl4603 int - var yyrt4603 bool - if yyl4603 > cap(yyv4603) { + } else if yyl4594 > 0 { + var yyrr4594, yyrl4594 int + var yyrt4594 bool + if yyl4594 > cap(yyv4594) { - yyrg4603 := len(yyv4603) > 0 - yyv24603 := yyv4603 - yyrl4603, yyrt4603 = z.DecInferLen(yyl4603, z.DecBasicHandle().MaxInitLen, 488) - if yyrt4603 { - if yyrl4603 <= cap(yyv4603) { - yyv4603 = yyv4603[:yyrl4603] + yyrg4594 := len(yyv4594) > 0 + yyv24594 := yyv4594 + yyrl4594, yyrt4594 = z.DecInferLen(yyl4594, z.DecBasicHandle().MaxInitLen, 488) + if yyrt4594 { + if yyrl4594 <= cap(yyv4594) { + yyv4594 = yyv4594[:yyrl4594] } else { - yyv4603 = make([]PersistentVolume, yyrl4603) + yyv4594 = make([]PersistentVolume, yyrl4594) } } else { - yyv4603 = make([]PersistentVolume, yyrl4603) + yyv4594 = make([]PersistentVolume, yyrl4594) } - yyc4603 = true - yyrr4603 = len(yyv4603) - if yyrg4603 { - copy(yyv4603, yyv24603) + yyc4594 = true + yyrr4594 = len(yyv4594) + if yyrg4594 { + copy(yyv4594, yyv24594) } - } else if yyl4603 != len(yyv4603) { - yyv4603 = yyv4603[:yyl4603] - yyc4603 = true + } else if yyl4594 != len(yyv4594) { + yyv4594 = yyv4594[:yyl4594] + yyc4594 = true } - yyj4603 := 0 - for ; yyj4603 < yyrr4603; yyj4603++ { - yyh4603.ElemContainerState(yyj4603) + yyj4594 := 0 + for ; yyj4594 < yyrr4594; yyj4594++ { + yyh4594.ElemContainerState(yyj4594) if r.TryDecodeAsNil() { - yyv4603[yyj4603] = PersistentVolume{} + yyv4594[yyj4594] = PersistentVolume{} } else { - yyv4604 := &yyv4603[yyj4603] - yyv4604.CodecDecodeSelf(d) + yyv4595 := &yyv4594[yyj4594] + yyv4595.CodecDecodeSelf(d) } } - if yyrt4603 { - for ; yyj4603 < yyl4603; yyj4603++ { - yyv4603 = append(yyv4603, PersistentVolume{}) - yyh4603.ElemContainerState(yyj4603) + if yyrt4594 { + for ; yyj4594 < yyl4594; yyj4594++ { + yyv4594 = append(yyv4594, PersistentVolume{}) + yyh4594.ElemContainerState(yyj4594) if r.TryDecodeAsNil() { - yyv4603[yyj4603] = PersistentVolume{} + yyv4594[yyj4594] = PersistentVolume{} } else { - yyv4605 := &yyv4603[yyj4603] - yyv4605.CodecDecodeSelf(d) + yyv4596 := &yyv4594[yyj4594] + yyv4596.CodecDecodeSelf(d) } } } } else { - yyj4603 := 0 - for ; !r.CheckBreak(); yyj4603++ { + yyj4594 := 0 + for ; !r.CheckBreak(); yyj4594++ { - if yyj4603 >= len(yyv4603) { - yyv4603 = append(yyv4603, PersistentVolume{}) // var yyz4603 PersistentVolume - yyc4603 = true + if yyj4594 >= len(yyv4594) { + yyv4594 = append(yyv4594, PersistentVolume{}) // var yyz4594 PersistentVolume + yyc4594 = true } - yyh4603.ElemContainerState(yyj4603) - if yyj4603 < len(yyv4603) { + yyh4594.ElemContainerState(yyj4594) + if yyj4594 < len(yyv4594) { if r.TryDecodeAsNil() { - yyv4603[yyj4603] = PersistentVolume{} + yyv4594[yyj4594] = PersistentVolume{} } else { - yyv4606 := &yyv4603[yyj4603] - yyv4606.CodecDecodeSelf(d) + yyv4597 := &yyv4594[yyj4594] + yyv4597.CodecDecodeSelf(d) } } else { @@ -57201,17 +57119,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj4603 < len(yyv4603) { - yyv4603 = yyv4603[:yyj4603] - yyc4603 = true - } else if yyj4603 == 0 && yyv4603 == nil { - yyv4603 = []PersistentVolume{} - yyc4603 = true + if yyj4594 < len(yyv4594) { + yyv4594 = yyv4594[:yyj4594] + yyc4594 = true + } else if yyj4594 == 0 && yyv4594 == nil { + yyv4594 = []PersistentVolume{} + yyc4594 = true } } - yyh4603.End() - if yyc4603 { - *v = yyv4603 + yyh4594.End() + if yyc4594 { + *v = yyv4594 } } @@ -57220,10 +57138,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4607 := range v { + for _, yyv4598 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4608 := &yyv4607 - yy4608.CodecEncodeSelf(e) + yy4599 := &yyv4598 + yy4599.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57233,83 +57151,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4609 := *v - yyh4609, yyl4609 := z.DecSliceHelperStart() - var yyc4609 bool - if yyl4609 == 0 { - if yyv4609 == nil { - yyv4609 = []PersistentVolumeClaim{} - yyc4609 = true - } else if len(yyv4609) != 0 { - yyv4609 = yyv4609[:0] - yyc4609 = true + yyv4600 := *v + yyh4600, yyl4600 := z.DecSliceHelperStart() + var yyc4600 bool + if yyl4600 == 0 { + if yyv4600 == nil { + yyv4600 = []PersistentVolumeClaim{} + yyc4600 = true + } else if len(yyv4600) != 0 { + yyv4600 = yyv4600[:0] + yyc4600 = true } - } else if yyl4609 > 0 { - var yyrr4609, yyrl4609 int - var yyrt4609 bool - if yyl4609 > cap(yyv4609) { + } else if yyl4600 > 0 { + var yyrr4600, yyrl4600 int + var yyrt4600 bool + if yyl4600 > cap(yyv4600) { - yyrg4609 := len(yyv4609) > 0 - yyv24609 := yyv4609 - yyrl4609, yyrt4609 = z.DecInferLen(yyl4609, z.DecBasicHandle().MaxInitLen, 368) - if yyrt4609 { - if yyrl4609 <= cap(yyv4609) { - yyv4609 = yyv4609[:yyrl4609] + yyrg4600 := len(yyv4600) > 0 + yyv24600 := yyv4600 + yyrl4600, yyrt4600 = z.DecInferLen(yyl4600, z.DecBasicHandle().MaxInitLen, 368) + if yyrt4600 { + if yyrl4600 <= cap(yyv4600) { + yyv4600 = yyv4600[:yyrl4600] } else { - yyv4609 = make([]PersistentVolumeClaim, yyrl4609) + yyv4600 = make([]PersistentVolumeClaim, yyrl4600) } } else { - yyv4609 = make([]PersistentVolumeClaim, yyrl4609) + yyv4600 = make([]PersistentVolumeClaim, yyrl4600) } - yyc4609 = true - yyrr4609 = len(yyv4609) - if yyrg4609 { - copy(yyv4609, yyv24609) + yyc4600 = true + yyrr4600 = len(yyv4600) + if yyrg4600 { + copy(yyv4600, yyv24600) } - } else if yyl4609 != len(yyv4609) { - yyv4609 = yyv4609[:yyl4609] - yyc4609 = true + } else if yyl4600 != len(yyv4600) { + yyv4600 = yyv4600[:yyl4600] + yyc4600 = true } - yyj4609 := 0 - for ; yyj4609 < yyrr4609; yyj4609++ { - yyh4609.ElemContainerState(yyj4609) + yyj4600 := 0 + for ; yyj4600 < yyrr4600; yyj4600++ { + yyh4600.ElemContainerState(yyj4600) if r.TryDecodeAsNil() { - yyv4609[yyj4609] = PersistentVolumeClaim{} + yyv4600[yyj4600] = PersistentVolumeClaim{} } else { - yyv4610 := &yyv4609[yyj4609] - yyv4610.CodecDecodeSelf(d) + yyv4601 := &yyv4600[yyj4600] + yyv4601.CodecDecodeSelf(d) } } - if yyrt4609 { - for ; yyj4609 < yyl4609; yyj4609++ { - yyv4609 = append(yyv4609, PersistentVolumeClaim{}) - yyh4609.ElemContainerState(yyj4609) + if yyrt4600 { + for ; yyj4600 < yyl4600; yyj4600++ { + yyv4600 = append(yyv4600, PersistentVolumeClaim{}) + yyh4600.ElemContainerState(yyj4600) if r.TryDecodeAsNil() { - yyv4609[yyj4609] = PersistentVolumeClaim{} + yyv4600[yyj4600] = PersistentVolumeClaim{} } else { - yyv4611 := &yyv4609[yyj4609] - yyv4611.CodecDecodeSelf(d) + yyv4602 := &yyv4600[yyj4600] + yyv4602.CodecDecodeSelf(d) } } } } else { - yyj4609 := 0 - for ; !r.CheckBreak(); yyj4609++ { + yyj4600 := 0 + for ; !r.CheckBreak(); yyj4600++ { - if yyj4609 >= len(yyv4609) { - yyv4609 = append(yyv4609, PersistentVolumeClaim{}) // var yyz4609 PersistentVolumeClaim - yyc4609 = true + if yyj4600 >= len(yyv4600) { + yyv4600 = append(yyv4600, PersistentVolumeClaim{}) // var yyz4600 PersistentVolumeClaim + yyc4600 = true } - yyh4609.ElemContainerState(yyj4609) - if yyj4609 < len(yyv4609) { + yyh4600.ElemContainerState(yyj4600) + if yyj4600 < len(yyv4600) { if r.TryDecodeAsNil() { - yyv4609[yyj4609] = PersistentVolumeClaim{} + yyv4600[yyj4600] = PersistentVolumeClaim{} } else { - yyv4612 := &yyv4609[yyj4609] - yyv4612.CodecDecodeSelf(d) + yyv4603 := &yyv4600[yyj4600] + yyv4603.CodecDecodeSelf(d) } } else { @@ -57317,17 +57235,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj4609 < len(yyv4609) { - yyv4609 = yyv4609[:yyj4609] - yyc4609 = true - } else if yyj4609 == 0 && yyv4609 == nil { - yyv4609 = []PersistentVolumeClaim{} - yyc4609 = true + if yyj4600 < len(yyv4600) { + yyv4600 = yyv4600[:yyj4600] + yyc4600 = true + } else if yyj4600 == 0 && yyv4600 == nil { + yyv4600 = []PersistentVolumeClaim{} + yyc4600 = true } } - yyh4609.End() - if yyc4609 { - *v = yyv4609 + yyh4600.End() + if yyc4600 { + *v = yyv4600 } } @@ -57336,10 +57254,10 @@ func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4613 := range v { + for _, yyv4604 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4614 := &yyv4613 - yy4614.CodecEncodeSelf(e) + yy4605 := &yyv4604 + yy4605.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57349,83 +57267,83 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4615 := *v - yyh4615, yyl4615 := z.DecSliceHelperStart() - var yyc4615 bool - if yyl4615 == 0 { - if yyv4615 == nil { - yyv4615 = []KeyToPath{} - yyc4615 = true - } else if len(yyv4615) != 0 { - yyv4615 = yyv4615[:0] - yyc4615 = true + yyv4606 := *v + yyh4606, yyl4606 := z.DecSliceHelperStart() + var yyc4606 bool + if yyl4606 == 0 { + if yyv4606 == nil { + yyv4606 = []KeyToPath{} + yyc4606 = true + } else if len(yyv4606) != 0 { + yyv4606 = yyv4606[:0] + yyc4606 = true } - } else if yyl4615 > 0 { - var yyrr4615, yyrl4615 int - var yyrt4615 bool - if yyl4615 > cap(yyv4615) { + } else if yyl4606 > 0 { + var yyrr4606, yyrl4606 int + var yyrt4606 bool + if yyl4606 > cap(yyv4606) { - yyrg4615 := len(yyv4615) > 0 - yyv24615 := yyv4615 - yyrl4615, yyrt4615 = z.DecInferLen(yyl4615, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4615 { - if yyrl4615 <= cap(yyv4615) { - yyv4615 = yyv4615[:yyrl4615] + yyrg4606 := len(yyv4606) > 0 + yyv24606 := yyv4606 + yyrl4606, yyrt4606 = z.DecInferLen(yyl4606, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4606 { + if yyrl4606 <= cap(yyv4606) { + yyv4606 = yyv4606[:yyrl4606] } else { - yyv4615 = make([]KeyToPath, yyrl4615) + yyv4606 = make([]KeyToPath, yyrl4606) } } else { - yyv4615 = make([]KeyToPath, yyrl4615) + yyv4606 = make([]KeyToPath, yyrl4606) } - yyc4615 = true - yyrr4615 = len(yyv4615) - if yyrg4615 { - copy(yyv4615, yyv24615) + yyc4606 = true + yyrr4606 = len(yyv4606) + if yyrg4606 { + copy(yyv4606, yyv24606) } - } else if yyl4615 != len(yyv4615) { - yyv4615 = yyv4615[:yyl4615] - yyc4615 = true + } else if yyl4606 != len(yyv4606) { + yyv4606 = yyv4606[:yyl4606] + yyc4606 = true } - yyj4615 := 0 - for ; yyj4615 < yyrr4615; yyj4615++ { - yyh4615.ElemContainerState(yyj4615) + yyj4606 := 0 + for ; yyj4606 < yyrr4606; yyj4606++ { + yyh4606.ElemContainerState(yyj4606) if r.TryDecodeAsNil() { - yyv4615[yyj4615] = KeyToPath{} + yyv4606[yyj4606] = KeyToPath{} } else { - yyv4616 := &yyv4615[yyj4615] - yyv4616.CodecDecodeSelf(d) + yyv4607 := &yyv4606[yyj4606] + yyv4607.CodecDecodeSelf(d) } } - if yyrt4615 { - for ; yyj4615 < yyl4615; yyj4615++ { - yyv4615 = append(yyv4615, KeyToPath{}) - yyh4615.ElemContainerState(yyj4615) + if yyrt4606 { + for ; yyj4606 < yyl4606; yyj4606++ { + yyv4606 = append(yyv4606, KeyToPath{}) + yyh4606.ElemContainerState(yyj4606) if r.TryDecodeAsNil() { - yyv4615[yyj4615] = KeyToPath{} + yyv4606[yyj4606] = KeyToPath{} } else { - yyv4617 := &yyv4615[yyj4615] - yyv4617.CodecDecodeSelf(d) + yyv4608 := &yyv4606[yyj4606] + yyv4608.CodecDecodeSelf(d) } } } } else { - yyj4615 := 0 - for ; !r.CheckBreak(); yyj4615++ { + yyj4606 := 0 + for ; !r.CheckBreak(); yyj4606++ { - if yyj4615 >= len(yyv4615) { - yyv4615 = append(yyv4615, KeyToPath{}) // var yyz4615 KeyToPath - yyc4615 = true + if yyj4606 >= len(yyv4606) { + yyv4606 = append(yyv4606, KeyToPath{}) // var yyz4606 KeyToPath + yyc4606 = true } - yyh4615.ElemContainerState(yyj4615) - if yyj4615 < len(yyv4615) { + yyh4606.ElemContainerState(yyj4606) + if yyj4606 < len(yyv4606) { if r.TryDecodeAsNil() { - yyv4615[yyj4615] = KeyToPath{} + yyv4606[yyj4606] = KeyToPath{} } else { - yyv4618 := &yyv4615[yyj4615] - yyv4618.CodecDecodeSelf(d) + yyv4609 := &yyv4606[yyj4606] + yyv4609.CodecDecodeSelf(d) } } else { @@ -57433,17 +57351,17 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) } } - if yyj4615 < len(yyv4615) { - yyv4615 = yyv4615[:yyj4615] - yyc4615 = true - } else if yyj4615 == 0 && yyv4615 == nil { - yyv4615 = []KeyToPath{} - yyc4615 = true + if yyj4606 < len(yyv4606) { + yyv4606 = yyv4606[:yyj4606] + yyc4606 = true + } else if yyj4606 == 0 && yyv4606 == nil { + yyv4606 = []KeyToPath{} + yyc4606 = true } } - yyh4615.End() - if yyc4615 { - *v = yyv4615 + yyh4606.End() + if yyc4606 { + *v = yyv4606 } } @@ -57452,10 +57370,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4619 := range v { + for _, yyv4610 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4620 := &yyv4619 - yy4620.CodecEncodeSelf(e) + yy4611 := &yyv4610 + yy4611.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57465,83 +57383,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4621 := *v - yyh4621, yyl4621 := z.DecSliceHelperStart() - var yyc4621 bool - if yyl4621 == 0 { - if yyv4621 == nil { - yyv4621 = []DownwardAPIVolumeFile{} - yyc4621 = true - } else if len(yyv4621) != 0 { - yyv4621 = yyv4621[:0] - yyc4621 = true + yyv4612 := *v + yyh4612, yyl4612 := z.DecSliceHelperStart() + var yyc4612 bool + if yyl4612 == 0 { + if yyv4612 == nil { + yyv4612 = []DownwardAPIVolumeFile{} + yyc4612 = true + } else if len(yyv4612) != 0 { + yyv4612 = yyv4612[:0] + yyc4612 = true } - } else if yyl4621 > 0 { - var yyrr4621, yyrl4621 int - var yyrt4621 bool - if yyl4621 > cap(yyv4621) { + } else if yyl4612 > 0 { + var yyrr4612, yyrl4612 int + var yyrt4612 bool + if yyl4612 > cap(yyv4612) { - yyrg4621 := len(yyv4621) > 0 - yyv24621 := yyv4621 - yyrl4621, yyrt4621 = z.DecInferLen(yyl4621, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4621 { - if yyrl4621 <= cap(yyv4621) { - yyv4621 = yyv4621[:yyrl4621] + yyrg4612 := len(yyv4612) > 0 + yyv24612 := yyv4612 + yyrl4612, yyrt4612 = z.DecInferLen(yyl4612, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4612 { + if yyrl4612 <= cap(yyv4612) { + yyv4612 = yyv4612[:yyrl4612] } else { - yyv4621 = make([]DownwardAPIVolumeFile, yyrl4621) + yyv4612 = make([]DownwardAPIVolumeFile, yyrl4612) } } else { - yyv4621 = make([]DownwardAPIVolumeFile, yyrl4621) + yyv4612 = make([]DownwardAPIVolumeFile, yyrl4612) } - yyc4621 = true - yyrr4621 = len(yyv4621) - if yyrg4621 { - copy(yyv4621, yyv24621) + yyc4612 = true + yyrr4612 = len(yyv4612) + if yyrg4612 { + copy(yyv4612, yyv24612) } - } else if yyl4621 != len(yyv4621) { - yyv4621 = yyv4621[:yyl4621] - yyc4621 = true + } else if yyl4612 != len(yyv4612) { + yyv4612 = yyv4612[:yyl4612] + yyc4612 = true } - yyj4621 := 0 - for ; yyj4621 < yyrr4621; yyj4621++ { - yyh4621.ElemContainerState(yyj4621) + yyj4612 := 0 + for ; yyj4612 < yyrr4612; yyj4612++ { + yyh4612.ElemContainerState(yyj4612) if r.TryDecodeAsNil() { - yyv4621[yyj4621] = DownwardAPIVolumeFile{} + yyv4612[yyj4612] = DownwardAPIVolumeFile{} } else { - yyv4622 := &yyv4621[yyj4621] - yyv4622.CodecDecodeSelf(d) + yyv4613 := &yyv4612[yyj4612] + yyv4613.CodecDecodeSelf(d) } } - if yyrt4621 { - for ; yyj4621 < yyl4621; yyj4621++ { - yyv4621 = append(yyv4621, DownwardAPIVolumeFile{}) - yyh4621.ElemContainerState(yyj4621) + if yyrt4612 { + for ; yyj4612 < yyl4612; yyj4612++ { + yyv4612 = append(yyv4612, DownwardAPIVolumeFile{}) + yyh4612.ElemContainerState(yyj4612) if r.TryDecodeAsNil() { - yyv4621[yyj4621] = DownwardAPIVolumeFile{} + yyv4612[yyj4612] = DownwardAPIVolumeFile{} } else { - yyv4623 := &yyv4621[yyj4621] - yyv4623.CodecDecodeSelf(d) + yyv4614 := &yyv4612[yyj4612] + yyv4614.CodecDecodeSelf(d) } } } } else { - yyj4621 := 0 - for ; !r.CheckBreak(); yyj4621++ { + yyj4612 := 0 + for ; !r.CheckBreak(); yyj4612++ { - if yyj4621 >= len(yyv4621) { - yyv4621 = append(yyv4621, DownwardAPIVolumeFile{}) // var yyz4621 DownwardAPIVolumeFile - yyc4621 = true + if yyj4612 >= len(yyv4612) { + yyv4612 = append(yyv4612, DownwardAPIVolumeFile{}) // var yyz4612 DownwardAPIVolumeFile + yyc4612 = true } - yyh4621.ElemContainerState(yyj4621) - if yyj4621 < len(yyv4621) { + yyh4612.ElemContainerState(yyj4612) + if yyj4612 < len(yyv4612) { if r.TryDecodeAsNil() { - yyv4621[yyj4621] = DownwardAPIVolumeFile{} + yyv4612[yyj4612] = DownwardAPIVolumeFile{} } else { - yyv4624 := &yyv4621[yyj4621] - yyv4624.CodecDecodeSelf(d) + yyv4615 := &yyv4612[yyj4612] + yyv4615.CodecDecodeSelf(d) } } else { @@ -57549,17 +57467,17 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj4621 < len(yyv4621) { - yyv4621 = yyv4621[:yyj4621] - yyc4621 = true - } else if yyj4621 == 0 && yyv4621 == nil { - yyv4621 = []DownwardAPIVolumeFile{} - yyc4621 = true + if yyj4612 < len(yyv4612) { + yyv4612 = yyv4612[:yyj4612] + yyc4612 = true + } else if yyj4612 == 0 && yyv4612 == nil { + yyv4612 = []DownwardAPIVolumeFile{} + yyc4612 = true } } - yyh4621.End() - if yyc4621 { - *v = yyv4621 + yyh4612.End() + if yyc4612 { + *v = yyv4612 } } @@ -57568,10 +57486,10 @@ func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4625 := range v { + for _, yyv4616 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4626 := &yyv4625 - yy4626.CodecEncodeSelf(e) + yy4617 := &yyv4616 + yy4617.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57581,83 +57499,83 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4627 := *v - yyh4627, yyl4627 := z.DecSliceHelperStart() - var yyc4627 bool - if yyl4627 == 0 { - if yyv4627 == nil { - yyv4627 = []HTTPHeader{} - yyc4627 = true - } else if len(yyv4627) != 0 { - yyv4627 = yyv4627[:0] - yyc4627 = true + yyv4618 := *v + yyh4618, yyl4618 := z.DecSliceHelperStart() + var yyc4618 bool + if yyl4618 == 0 { + if yyv4618 == nil { + yyv4618 = []HTTPHeader{} + yyc4618 = true + } else if len(yyv4618) != 0 { + yyv4618 = yyv4618[:0] + yyc4618 = true } - } else if yyl4627 > 0 { - var yyrr4627, yyrl4627 int - var yyrt4627 bool - if yyl4627 > cap(yyv4627) { + } else if yyl4618 > 0 { + var yyrr4618, yyrl4618 int + var yyrt4618 bool + if yyl4618 > cap(yyv4618) { - yyrg4627 := len(yyv4627) > 0 - yyv24627 := yyv4627 - yyrl4627, yyrt4627 = z.DecInferLen(yyl4627, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4627 { - if yyrl4627 <= cap(yyv4627) { - yyv4627 = yyv4627[:yyrl4627] + yyrg4618 := len(yyv4618) > 0 + yyv24618 := yyv4618 + yyrl4618, yyrt4618 = z.DecInferLen(yyl4618, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4618 { + if yyrl4618 <= cap(yyv4618) { + yyv4618 = yyv4618[:yyrl4618] } else { - yyv4627 = make([]HTTPHeader, yyrl4627) + yyv4618 = make([]HTTPHeader, yyrl4618) } } else { - yyv4627 = make([]HTTPHeader, yyrl4627) + yyv4618 = make([]HTTPHeader, yyrl4618) } - yyc4627 = true - yyrr4627 = len(yyv4627) - if yyrg4627 { - copy(yyv4627, yyv24627) + yyc4618 = true + yyrr4618 = len(yyv4618) + if yyrg4618 { + copy(yyv4618, yyv24618) } - } else if yyl4627 != len(yyv4627) { - yyv4627 = yyv4627[:yyl4627] - yyc4627 = true + } else if yyl4618 != len(yyv4618) { + yyv4618 = yyv4618[:yyl4618] + yyc4618 = true } - yyj4627 := 0 - for ; yyj4627 < yyrr4627; yyj4627++ { - yyh4627.ElemContainerState(yyj4627) + yyj4618 := 0 + for ; yyj4618 < yyrr4618; yyj4618++ { + yyh4618.ElemContainerState(yyj4618) if r.TryDecodeAsNil() { - yyv4627[yyj4627] = HTTPHeader{} + yyv4618[yyj4618] = HTTPHeader{} } else { - yyv4628 := &yyv4627[yyj4627] - yyv4628.CodecDecodeSelf(d) + yyv4619 := &yyv4618[yyj4618] + yyv4619.CodecDecodeSelf(d) } } - if yyrt4627 { - for ; yyj4627 < yyl4627; yyj4627++ { - yyv4627 = append(yyv4627, HTTPHeader{}) - yyh4627.ElemContainerState(yyj4627) + if yyrt4618 { + for ; yyj4618 < yyl4618; yyj4618++ { + yyv4618 = append(yyv4618, HTTPHeader{}) + yyh4618.ElemContainerState(yyj4618) if r.TryDecodeAsNil() { - yyv4627[yyj4627] = HTTPHeader{} + yyv4618[yyj4618] = HTTPHeader{} } else { - yyv4629 := &yyv4627[yyj4627] - yyv4629.CodecDecodeSelf(d) + yyv4620 := &yyv4618[yyj4618] + yyv4620.CodecDecodeSelf(d) } } } } else { - yyj4627 := 0 - for ; !r.CheckBreak(); yyj4627++ { + yyj4618 := 0 + for ; !r.CheckBreak(); yyj4618++ { - if yyj4627 >= len(yyv4627) { - yyv4627 = append(yyv4627, HTTPHeader{}) // var yyz4627 HTTPHeader - yyc4627 = true + if yyj4618 >= len(yyv4618) { + yyv4618 = append(yyv4618, HTTPHeader{}) // var yyz4618 HTTPHeader + yyc4618 = true } - yyh4627.ElemContainerState(yyj4627) - if yyj4627 < len(yyv4627) { + yyh4618.ElemContainerState(yyj4618) + if yyj4618 < len(yyv4618) { if r.TryDecodeAsNil() { - yyv4627[yyj4627] = HTTPHeader{} + yyv4618[yyj4618] = HTTPHeader{} } else { - yyv4630 := &yyv4627[yyj4627] - yyv4630.CodecDecodeSelf(d) + yyv4621 := &yyv4618[yyj4618] + yyv4621.CodecDecodeSelf(d) } } else { @@ -57665,17 +57583,17 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode } } - if yyj4627 < len(yyv4627) { - yyv4627 = yyv4627[:yyj4627] - yyc4627 = true - } else if yyj4627 == 0 && yyv4627 == nil { - yyv4627 = []HTTPHeader{} - yyc4627 = true + if yyj4618 < len(yyv4618) { + yyv4618 = yyv4618[:yyj4618] + yyc4618 = true + } else if yyj4618 == 0 && yyv4618 == nil { + yyv4618 = []HTTPHeader{} + yyc4618 = true } } - yyh4627.End() - if yyc4627 { - *v = yyv4627 + yyh4618.End() + if yyc4618 { + *v = yyv4618 } } @@ -57684,9 +57602,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4631 := range v { + for _, yyv4622 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4631.CodecEncodeSelf(e) + yyv4622.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57696,75 +57614,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4632 := *v - yyh4632, yyl4632 := z.DecSliceHelperStart() - var yyc4632 bool - if yyl4632 == 0 { - if yyv4632 == nil { - yyv4632 = []Capability{} - yyc4632 = true - } else if len(yyv4632) != 0 { - yyv4632 = yyv4632[:0] - yyc4632 = true + yyv4623 := *v + yyh4623, yyl4623 := z.DecSliceHelperStart() + var yyc4623 bool + if yyl4623 == 0 { + if yyv4623 == nil { + yyv4623 = []Capability{} + yyc4623 = true + } else if len(yyv4623) != 0 { + yyv4623 = yyv4623[:0] + yyc4623 = true } - } else if yyl4632 > 0 { - var yyrr4632, yyrl4632 int - var yyrt4632 bool - if yyl4632 > cap(yyv4632) { + } else if yyl4623 > 0 { + var yyrr4623, yyrl4623 int + var yyrt4623 bool + if yyl4623 > cap(yyv4623) { - yyrl4632, yyrt4632 = z.DecInferLen(yyl4632, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4632 { - if yyrl4632 <= cap(yyv4632) { - yyv4632 = yyv4632[:yyrl4632] + yyrl4623, yyrt4623 = z.DecInferLen(yyl4623, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4623 { + if yyrl4623 <= cap(yyv4623) { + yyv4623 = yyv4623[:yyrl4623] } else { - yyv4632 = make([]Capability, yyrl4632) + yyv4623 = make([]Capability, yyrl4623) } } else { - yyv4632 = make([]Capability, yyrl4632) + yyv4623 = make([]Capability, yyrl4623) } - yyc4632 = true - yyrr4632 = len(yyv4632) - } else if yyl4632 != len(yyv4632) { - yyv4632 = yyv4632[:yyl4632] - yyc4632 = true + yyc4623 = true + yyrr4623 = len(yyv4623) + } else if yyl4623 != len(yyv4623) { + yyv4623 = yyv4623[:yyl4623] + yyc4623 = true } - yyj4632 := 0 - for ; yyj4632 < yyrr4632; yyj4632++ { - yyh4632.ElemContainerState(yyj4632) + yyj4623 := 0 + for ; yyj4623 < yyrr4623; yyj4623++ { + yyh4623.ElemContainerState(yyj4623) if r.TryDecodeAsNil() { - yyv4632[yyj4632] = "" + yyv4623[yyj4623] = "" } else { - yyv4632[yyj4632] = Capability(r.DecodeString()) + yyv4623[yyj4623] = Capability(r.DecodeString()) } } - if yyrt4632 { - for ; yyj4632 < yyl4632; yyj4632++ { - yyv4632 = append(yyv4632, "") - yyh4632.ElemContainerState(yyj4632) + if yyrt4623 { + for ; yyj4623 < yyl4623; yyj4623++ { + yyv4623 = append(yyv4623, "") + yyh4623.ElemContainerState(yyj4623) if r.TryDecodeAsNil() { - yyv4632[yyj4632] = "" + yyv4623[yyj4623] = "" } else { - yyv4632[yyj4632] = Capability(r.DecodeString()) + yyv4623[yyj4623] = Capability(r.DecodeString()) } } } } else { - yyj4632 := 0 - for ; !r.CheckBreak(); yyj4632++ { + yyj4623 := 0 + for ; !r.CheckBreak(); yyj4623++ { - if yyj4632 >= len(yyv4632) { - yyv4632 = append(yyv4632, "") // var yyz4632 Capability - yyc4632 = true + if yyj4623 >= len(yyv4623) { + yyv4623 = append(yyv4623, "") // var yyz4623 Capability + yyc4623 = true } - yyh4632.ElemContainerState(yyj4632) - if yyj4632 < len(yyv4632) { + yyh4623.ElemContainerState(yyj4623) + if yyj4623 < len(yyv4623) { if r.TryDecodeAsNil() { - yyv4632[yyj4632] = "" + yyv4623[yyj4623] = "" } else { - yyv4632[yyj4632] = Capability(r.DecodeString()) + yyv4623[yyj4623] = Capability(r.DecodeString()) } } else { @@ -57772,17 +57690,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj4632 < len(yyv4632) { - yyv4632 = yyv4632[:yyj4632] - yyc4632 = true - } else if yyj4632 == 0 && yyv4632 == nil { - yyv4632 = []Capability{} - yyc4632 = true + if yyj4623 < len(yyv4623) { + yyv4623 = yyv4623[:yyj4623] + yyc4623 = true + } else if yyj4623 == 0 && yyv4623 == nil { + yyv4623 = []Capability{} + yyc4623 = true } } - yyh4632.End() - if yyc4632 { - *v = yyv4632 + yyh4623.End() + if yyc4623 { + *v = yyv4623 } } @@ -57791,10 +57709,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4636 := range v { + for _, yyv4627 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4637 := &yyv4636 - yy4637.CodecEncodeSelf(e) + yy4628 := &yyv4627 + yy4628.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57804,83 +57722,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4638 := *v - yyh4638, yyl4638 := z.DecSliceHelperStart() - var yyc4638 bool - if yyl4638 == 0 { - if yyv4638 == nil { - yyv4638 = []ContainerPort{} - yyc4638 = true - } else if len(yyv4638) != 0 { - yyv4638 = yyv4638[:0] - yyc4638 = true + yyv4629 := *v + yyh4629, yyl4629 := z.DecSliceHelperStart() + var yyc4629 bool + if yyl4629 == 0 { + if yyv4629 == nil { + yyv4629 = []ContainerPort{} + yyc4629 = true + } else if len(yyv4629) != 0 { + yyv4629 = yyv4629[:0] + yyc4629 = true } - } else if yyl4638 > 0 { - var yyrr4638, yyrl4638 int - var yyrt4638 bool - if yyl4638 > cap(yyv4638) { + } else if yyl4629 > 0 { + var yyrr4629, yyrl4629 int + var yyrt4629 bool + if yyl4629 > cap(yyv4629) { - yyrg4638 := len(yyv4638) > 0 - yyv24638 := yyv4638 - yyrl4638, yyrt4638 = z.DecInferLen(yyl4638, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4638 { - if yyrl4638 <= cap(yyv4638) { - yyv4638 = yyv4638[:yyrl4638] + yyrg4629 := len(yyv4629) > 0 + yyv24629 := yyv4629 + yyrl4629, yyrt4629 = z.DecInferLen(yyl4629, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4629 { + if yyrl4629 <= cap(yyv4629) { + yyv4629 = yyv4629[:yyrl4629] } else { - yyv4638 = make([]ContainerPort, yyrl4638) + yyv4629 = make([]ContainerPort, yyrl4629) } } else { - yyv4638 = make([]ContainerPort, yyrl4638) + yyv4629 = make([]ContainerPort, yyrl4629) } - yyc4638 = true - yyrr4638 = len(yyv4638) - if yyrg4638 { - copy(yyv4638, yyv24638) + yyc4629 = true + yyrr4629 = len(yyv4629) + if yyrg4629 { + copy(yyv4629, yyv24629) } - } else if yyl4638 != len(yyv4638) { - yyv4638 = yyv4638[:yyl4638] - yyc4638 = true + } else if yyl4629 != len(yyv4629) { + yyv4629 = yyv4629[:yyl4629] + yyc4629 = true } - yyj4638 := 0 - for ; yyj4638 < yyrr4638; yyj4638++ { - yyh4638.ElemContainerState(yyj4638) + yyj4629 := 0 + for ; yyj4629 < yyrr4629; yyj4629++ { + yyh4629.ElemContainerState(yyj4629) if r.TryDecodeAsNil() { - yyv4638[yyj4638] = ContainerPort{} + yyv4629[yyj4629] = ContainerPort{} } else { - yyv4639 := &yyv4638[yyj4638] - yyv4639.CodecDecodeSelf(d) + yyv4630 := &yyv4629[yyj4629] + yyv4630.CodecDecodeSelf(d) } } - if yyrt4638 { - for ; yyj4638 < yyl4638; yyj4638++ { - yyv4638 = append(yyv4638, ContainerPort{}) - yyh4638.ElemContainerState(yyj4638) + if yyrt4629 { + for ; yyj4629 < yyl4629; yyj4629++ { + yyv4629 = append(yyv4629, ContainerPort{}) + yyh4629.ElemContainerState(yyj4629) if r.TryDecodeAsNil() { - yyv4638[yyj4638] = ContainerPort{} + yyv4629[yyj4629] = ContainerPort{} } else { - yyv4640 := &yyv4638[yyj4638] - yyv4640.CodecDecodeSelf(d) + yyv4631 := &yyv4629[yyj4629] + yyv4631.CodecDecodeSelf(d) } } } } else { - yyj4638 := 0 - for ; !r.CheckBreak(); yyj4638++ { + yyj4629 := 0 + for ; !r.CheckBreak(); yyj4629++ { - if yyj4638 >= len(yyv4638) { - yyv4638 = append(yyv4638, ContainerPort{}) // var yyz4638 ContainerPort - yyc4638 = true + if yyj4629 >= len(yyv4629) { + yyv4629 = append(yyv4629, ContainerPort{}) // var yyz4629 ContainerPort + yyc4629 = true } - yyh4638.ElemContainerState(yyj4638) - if yyj4638 < len(yyv4638) { + yyh4629.ElemContainerState(yyj4629) + if yyj4629 < len(yyv4629) { if r.TryDecodeAsNil() { - yyv4638[yyj4638] = ContainerPort{} + yyv4629[yyj4629] = ContainerPort{} } else { - yyv4641 := &yyv4638[yyj4638] - yyv4641.CodecDecodeSelf(d) + yyv4632 := &yyv4629[yyj4629] + yyv4632.CodecDecodeSelf(d) } } else { @@ -57888,17 +57806,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj4638 < len(yyv4638) { - yyv4638 = yyv4638[:yyj4638] - yyc4638 = true - } else if yyj4638 == 0 && yyv4638 == nil { - yyv4638 = []ContainerPort{} - yyc4638 = true + if yyj4629 < len(yyv4629) { + yyv4629 = yyv4629[:yyj4629] + yyc4629 = true + } else if yyj4629 == 0 && yyv4629 == nil { + yyv4629 = []ContainerPort{} + yyc4629 = true } } - yyh4638.End() - if yyc4638 { - *v = yyv4638 + yyh4629.End() + if yyc4629 { + *v = yyv4629 } } @@ -57907,10 +57825,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4642 := range v { + for _, yyv4633 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4643 := &yyv4642 - yy4643.CodecEncodeSelf(e) + yy4634 := &yyv4633 + yy4634.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57920,83 +57838,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4644 := *v - yyh4644, yyl4644 := z.DecSliceHelperStart() - var yyc4644 bool - if yyl4644 == 0 { - if yyv4644 == nil { - yyv4644 = []EnvVar{} - yyc4644 = true - } else if len(yyv4644) != 0 { - yyv4644 = yyv4644[:0] - yyc4644 = true + yyv4635 := *v + yyh4635, yyl4635 := z.DecSliceHelperStart() + var yyc4635 bool + if yyl4635 == 0 { + if yyv4635 == nil { + yyv4635 = []EnvVar{} + yyc4635 = true + } else if len(yyv4635) != 0 { + yyv4635 = yyv4635[:0] + yyc4635 = true } - } else if yyl4644 > 0 { - var yyrr4644, yyrl4644 int - var yyrt4644 bool - if yyl4644 > cap(yyv4644) { + } else if yyl4635 > 0 { + var yyrr4635, yyrl4635 int + var yyrt4635 bool + if yyl4635 > cap(yyv4635) { - yyrg4644 := len(yyv4644) > 0 - yyv24644 := yyv4644 - yyrl4644, yyrt4644 = z.DecInferLen(yyl4644, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4644 { - if yyrl4644 <= cap(yyv4644) { - yyv4644 = yyv4644[:yyrl4644] + yyrg4635 := len(yyv4635) > 0 + yyv24635 := yyv4635 + yyrl4635, yyrt4635 = z.DecInferLen(yyl4635, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4635 { + if yyrl4635 <= cap(yyv4635) { + yyv4635 = yyv4635[:yyrl4635] } else { - yyv4644 = make([]EnvVar, yyrl4644) + yyv4635 = make([]EnvVar, yyrl4635) } } else { - yyv4644 = make([]EnvVar, yyrl4644) + yyv4635 = make([]EnvVar, yyrl4635) } - yyc4644 = true - yyrr4644 = len(yyv4644) - if yyrg4644 { - copy(yyv4644, yyv24644) + yyc4635 = true + yyrr4635 = len(yyv4635) + if yyrg4635 { + copy(yyv4635, yyv24635) } - } else if yyl4644 != len(yyv4644) { - yyv4644 = yyv4644[:yyl4644] - yyc4644 = true + } else if yyl4635 != len(yyv4635) { + yyv4635 = yyv4635[:yyl4635] + yyc4635 = true } - yyj4644 := 0 - for ; yyj4644 < yyrr4644; yyj4644++ { - yyh4644.ElemContainerState(yyj4644) + yyj4635 := 0 + for ; yyj4635 < yyrr4635; yyj4635++ { + yyh4635.ElemContainerState(yyj4635) if r.TryDecodeAsNil() { - yyv4644[yyj4644] = EnvVar{} + yyv4635[yyj4635] = EnvVar{} } else { - yyv4645 := &yyv4644[yyj4644] - yyv4645.CodecDecodeSelf(d) + yyv4636 := &yyv4635[yyj4635] + yyv4636.CodecDecodeSelf(d) } } - if yyrt4644 { - for ; yyj4644 < yyl4644; yyj4644++ { - yyv4644 = append(yyv4644, EnvVar{}) - yyh4644.ElemContainerState(yyj4644) + if yyrt4635 { + for ; yyj4635 < yyl4635; yyj4635++ { + yyv4635 = append(yyv4635, EnvVar{}) + yyh4635.ElemContainerState(yyj4635) if r.TryDecodeAsNil() { - yyv4644[yyj4644] = EnvVar{} + yyv4635[yyj4635] = EnvVar{} } else { - yyv4646 := &yyv4644[yyj4644] - yyv4646.CodecDecodeSelf(d) + yyv4637 := &yyv4635[yyj4635] + yyv4637.CodecDecodeSelf(d) } } } } else { - yyj4644 := 0 - for ; !r.CheckBreak(); yyj4644++ { + yyj4635 := 0 + for ; !r.CheckBreak(); yyj4635++ { - if yyj4644 >= len(yyv4644) { - yyv4644 = append(yyv4644, EnvVar{}) // var yyz4644 EnvVar - yyc4644 = true + if yyj4635 >= len(yyv4635) { + yyv4635 = append(yyv4635, EnvVar{}) // var yyz4635 EnvVar + yyc4635 = true } - yyh4644.ElemContainerState(yyj4644) - if yyj4644 < len(yyv4644) { + yyh4635.ElemContainerState(yyj4635) + if yyj4635 < len(yyv4635) { if r.TryDecodeAsNil() { - yyv4644[yyj4644] = EnvVar{} + yyv4635[yyj4635] = EnvVar{} } else { - yyv4647 := &yyv4644[yyj4644] - yyv4647.CodecDecodeSelf(d) + yyv4638 := &yyv4635[yyj4635] + yyv4638.CodecDecodeSelf(d) } } else { @@ -58004,17 +57922,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj4644 < len(yyv4644) { - yyv4644 = yyv4644[:yyj4644] - yyc4644 = true - } else if yyj4644 == 0 && yyv4644 == nil { - yyv4644 = []EnvVar{} - yyc4644 = true + if yyj4635 < len(yyv4635) { + yyv4635 = yyv4635[:yyj4635] + yyc4635 = true + } else if yyj4635 == 0 && yyv4635 == nil { + yyv4635 = []EnvVar{} + yyc4635 = true } } - yyh4644.End() - if yyc4644 { - *v = yyv4644 + yyh4635.End() + if yyc4635 { + *v = yyv4635 } } @@ -58023,10 +57941,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4648 := range v { + for _, yyv4639 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4649 := &yyv4648 - yy4649.CodecEncodeSelf(e) + yy4640 := &yyv4639 + yy4640.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58036,83 +57954,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4650 := *v - yyh4650, yyl4650 := z.DecSliceHelperStart() - var yyc4650 bool - if yyl4650 == 0 { - if yyv4650 == nil { - yyv4650 = []VolumeMount{} - yyc4650 = true - } else if len(yyv4650) != 0 { - yyv4650 = yyv4650[:0] - yyc4650 = true + yyv4641 := *v + yyh4641, yyl4641 := z.DecSliceHelperStart() + var yyc4641 bool + if yyl4641 == 0 { + if yyv4641 == nil { + yyv4641 = []VolumeMount{} + yyc4641 = true + } else if len(yyv4641) != 0 { + yyv4641 = yyv4641[:0] + yyc4641 = true } - } else if yyl4650 > 0 { - var yyrr4650, yyrl4650 int - var yyrt4650 bool - if yyl4650 > cap(yyv4650) { + } else if yyl4641 > 0 { + var yyrr4641, yyrl4641 int + var yyrt4641 bool + if yyl4641 > cap(yyv4641) { - yyrg4650 := len(yyv4650) > 0 - yyv24650 := yyv4650 - yyrl4650, yyrt4650 = z.DecInferLen(yyl4650, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4650 { - if yyrl4650 <= cap(yyv4650) { - yyv4650 = yyv4650[:yyrl4650] + yyrg4641 := len(yyv4641) > 0 + yyv24641 := yyv4641 + yyrl4641, yyrt4641 = z.DecInferLen(yyl4641, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4641 { + if yyrl4641 <= cap(yyv4641) { + yyv4641 = yyv4641[:yyrl4641] } else { - yyv4650 = make([]VolumeMount, yyrl4650) + yyv4641 = make([]VolumeMount, yyrl4641) } } else { - yyv4650 = make([]VolumeMount, yyrl4650) + yyv4641 = make([]VolumeMount, yyrl4641) } - yyc4650 = true - yyrr4650 = len(yyv4650) - if yyrg4650 { - copy(yyv4650, yyv24650) + yyc4641 = true + yyrr4641 = len(yyv4641) + if yyrg4641 { + copy(yyv4641, yyv24641) } - } else if yyl4650 != len(yyv4650) { - yyv4650 = yyv4650[:yyl4650] - yyc4650 = true + } else if yyl4641 != len(yyv4641) { + yyv4641 = yyv4641[:yyl4641] + yyc4641 = true } - yyj4650 := 0 - for ; yyj4650 < yyrr4650; yyj4650++ { - yyh4650.ElemContainerState(yyj4650) + yyj4641 := 0 + for ; yyj4641 < yyrr4641; yyj4641++ { + yyh4641.ElemContainerState(yyj4641) if r.TryDecodeAsNil() { - yyv4650[yyj4650] = VolumeMount{} + yyv4641[yyj4641] = VolumeMount{} } else { - yyv4651 := &yyv4650[yyj4650] - yyv4651.CodecDecodeSelf(d) + yyv4642 := &yyv4641[yyj4641] + yyv4642.CodecDecodeSelf(d) } } - if yyrt4650 { - for ; yyj4650 < yyl4650; yyj4650++ { - yyv4650 = append(yyv4650, VolumeMount{}) - yyh4650.ElemContainerState(yyj4650) + if yyrt4641 { + for ; yyj4641 < yyl4641; yyj4641++ { + yyv4641 = append(yyv4641, VolumeMount{}) + yyh4641.ElemContainerState(yyj4641) if r.TryDecodeAsNil() { - yyv4650[yyj4650] = VolumeMount{} + yyv4641[yyj4641] = VolumeMount{} } else { - yyv4652 := &yyv4650[yyj4650] - yyv4652.CodecDecodeSelf(d) + yyv4643 := &yyv4641[yyj4641] + yyv4643.CodecDecodeSelf(d) } } } } else { - yyj4650 := 0 - for ; !r.CheckBreak(); yyj4650++ { + yyj4641 := 0 + for ; !r.CheckBreak(); yyj4641++ { - if yyj4650 >= len(yyv4650) { - yyv4650 = append(yyv4650, VolumeMount{}) // var yyz4650 VolumeMount - yyc4650 = true + if yyj4641 >= len(yyv4641) { + yyv4641 = append(yyv4641, VolumeMount{}) // var yyz4641 VolumeMount + yyc4641 = true } - yyh4650.ElemContainerState(yyj4650) - if yyj4650 < len(yyv4650) { + yyh4641.ElemContainerState(yyj4641) + if yyj4641 < len(yyv4641) { if r.TryDecodeAsNil() { - yyv4650[yyj4650] = VolumeMount{} + yyv4641[yyj4641] = VolumeMount{} } else { - yyv4653 := &yyv4650[yyj4650] - yyv4653.CodecDecodeSelf(d) + yyv4644 := &yyv4641[yyj4641] + yyv4644.CodecDecodeSelf(d) } } else { @@ -58120,17 +58038,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj4650 < len(yyv4650) { - yyv4650 = yyv4650[:yyj4650] - yyc4650 = true - } else if yyj4650 == 0 && yyv4650 == nil { - yyv4650 = []VolumeMount{} - yyc4650 = true + if yyj4641 < len(yyv4641) { + yyv4641 = yyv4641[:yyj4641] + yyc4641 = true + } else if yyj4641 == 0 && yyv4641 == nil { + yyv4641 = []VolumeMount{} + yyc4641 = true } } - yyh4650.End() - if yyc4650 { - *v = yyv4650 + yyh4641.End() + if yyc4641 { + *v = yyv4641 } } @@ -58139,10 +58057,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4654 := range v { + for _, yyv4645 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4655 := &yyv4654 - yy4655.CodecEncodeSelf(e) + yy4646 := &yyv4645 + yy4646.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58152,83 +58070,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4656 := *v - yyh4656, yyl4656 := z.DecSliceHelperStart() - var yyc4656 bool - if yyl4656 == 0 { - if yyv4656 == nil { - yyv4656 = []Pod{} - yyc4656 = true - } else if len(yyv4656) != 0 { - yyv4656 = yyv4656[:0] - yyc4656 = true + yyv4647 := *v + yyh4647, yyl4647 := z.DecSliceHelperStart() + var yyc4647 bool + if yyl4647 == 0 { + if yyv4647 == nil { + yyv4647 = []Pod{} + yyc4647 = true + } else if len(yyv4647) != 0 { + yyv4647 = yyv4647[:0] + yyc4647 = true } - } else if yyl4656 > 0 { - var yyrr4656, yyrl4656 int - var yyrt4656 bool - if yyl4656 > cap(yyv4656) { + } else if yyl4647 > 0 { + var yyrr4647, yyrl4647 int + var yyrt4647 bool + if yyl4647 > cap(yyv4647) { - yyrg4656 := len(yyv4656) > 0 - yyv24656 := yyv4656 - yyrl4656, yyrt4656 = z.DecInferLen(yyl4656, z.DecBasicHandle().MaxInitLen, 640) - if yyrt4656 { - if yyrl4656 <= cap(yyv4656) { - yyv4656 = yyv4656[:yyrl4656] + yyrg4647 := len(yyv4647) > 0 + yyv24647 := yyv4647 + yyrl4647, yyrt4647 = z.DecInferLen(yyl4647, z.DecBasicHandle().MaxInitLen, 640) + if yyrt4647 { + if yyrl4647 <= cap(yyv4647) { + yyv4647 = yyv4647[:yyrl4647] } else { - yyv4656 = make([]Pod, yyrl4656) + yyv4647 = make([]Pod, yyrl4647) } } else { - yyv4656 = make([]Pod, yyrl4656) + yyv4647 = make([]Pod, yyrl4647) } - yyc4656 = true - yyrr4656 = len(yyv4656) - if yyrg4656 { - copy(yyv4656, yyv24656) + yyc4647 = true + yyrr4647 = len(yyv4647) + if yyrg4647 { + copy(yyv4647, yyv24647) } - } else if yyl4656 != len(yyv4656) { - yyv4656 = yyv4656[:yyl4656] - yyc4656 = true + } else if yyl4647 != len(yyv4647) { + yyv4647 = yyv4647[:yyl4647] + yyc4647 = true } - yyj4656 := 0 - for ; yyj4656 < yyrr4656; yyj4656++ { - yyh4656.ElemContainerState(yyj4656) + yyj4647 := 0 + for ; yyj4647 < yyrr4647; yyj4647++ { + yyh4647.ElemContainerState(yyj4647) if r.TryDecodeAsNil() { - yyv4656[yyj4656] = Pod{} + yyv4647[yyj4647] = Pod{} } else { - yyv4657 := &yyv4656[yyj4656] - yyv4657.CodecDecodeSelf(d) + yyv4648 := &yyv4647[yyj4647] + yyv4648.CodecDecodeSelf(d) } } - if yyrt4656 { - for ; yyj4656 < yyl4656; yyj4656++ { - yyv4656 = append(yyv4656, Pod{}) - yyh4656.ElemContainerState(yyj4656) + if yyrt4647 { + for ; yyj4647 < yyl4647; yyj4647++ { + yyv4647 = append(yyv4647, Pod{}) + yyh4647.ElemContainerState(yyj4647) if r.TryDecodeAsNil() { - yyv4656[yyj4656] = Pod{} + yyv4647[yyj4647] = Pod{} } else { - yyv4658 := &yyv4656[yyj4656] - yyv4658.CodecDecodeSelf(d) + yyv4649 := &yyv4647[yyj4647] + yyv4649.CodecDecodeSelf(d) } } } } else { - yyj4656 := 0 - for ; !r.CheckBreak(); yyj4656++ { + yyj4647 := 0 + for ; !r.CheckBreak(); yyj4647++ { - if yyj4656 >= len(yyv4656) { - yyv4656 = append(yyv4656, Pod{}) // var yyz4656 Pod - yyc4656 = true + if yyj4647 >= len(yyv4647) { + yyv4647 = append(yyv4647, Pod{}) // var yyz4647 Pod + yyc4647 = true } - yyh4656.ElemContainerState(yyj4656) - if yyj4656 < len(yyv4656) { + yyh4647.ElemContainerState(yyj4647) + if yyj4647 < len(yyv4647) { if r.TryDecodeAsNil() { - yyv4656[yyj4656] = Pod{} + yyv4647[yyj4647] = Pod{} } else { - yyv4659 := &yyv4656[yyj4656] - yyv4659.CodecDecodeSelf(d) + yyv4650 := &yyv4647[yyj4647] + yyv4650.CodecDecodeSelf(d) } } else { @@ -58236,17 +58154,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj4656 < len(yyv4656) { - yyv4656 = yyv4656[:yyj4656] - yyc4656 = true - } else if yyj4656 == 0 && yyv4656 == nil { - yyv4656 = []Pod{} - yyc4656 = true + if yyj4647 < len(yyv4647) { + yyv4647 = yyv4647[:yyj4647] + yyc4647 = true + } else if yyj4647 == 0 && yyv4647 == nil { + yyv4647 = []Pod{} + yyc4647 = true } } - yyh4656.End() - if yyc4656 { - *v = yyv4656 + yyh4647.End() + if yyc4647 { + *v = yyv4647 } } @@ -58255,10 +58173,10 @@ func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4660 := range v { + for _, yyv4651 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4661 := &yyv4660 - yy4661.CodecEncodeSelf(e) + yy4652 := &yyv4651 + yy4652.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58268,83 +58186,83 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4662 := *v - yyh4662, yyl4662 := z.DecSliceHelperStart() - var yyc4662 bool - if yyl4662 == 0 { - if yyv4662 == nil { - yyv4662 = []NodeSelectorTerm{} - yyc4662 = true - } else if len(yyv4662) != 0 { - yyv4662 = yyv4662[:0] - yyc4662 = true + yyv4653 := *v + yyh4653, yyl4653 := z.DecSliceHelperStart() + var yyc4653 bool + if yyl4653 == 0 { + if yyv4653 == nil { + yyv4653 = []NodeSelectorTerm{} + yyc4653 = true + } else if len(yyv4653) != 0 { + yyv4653 = yyv4653[:0] + yyc4653 = true } - } else if yyl4662 > 0 { - var yyrr4662, yyrl4662 int - var yyrt4662 bool - if yyl4662 > cap(yyv4662) { + } else if yyl4653 > 0 { + var yyrr4653, yyrl4653 int + var yyrt4653 bool + if yyl4653 > cap(yyv4653) { - yyrg4662 := len(yyv4662) > 0 - yyv24662 := yyv4662 - yyrl4662, yyrt4662 = z.DecInferLen(yyl4662, z.DecBasicHandle().MaxInitLen, 24) - if yyrt4662 { - if yyrl4662 <= cap(yyv4662) { - yyv4662 = yyv4662[:yyrl4662] + yyrg4653 := len(yyv4653) > 0 + yyv24653 := yyv4653 + yyrl4653, yyrt4653 = z.DecInferLen(yyl4653, z.DecBasicHandle().MaxInitLen, 24) + if yyrt4653 { + if yyrl4653 <= cap(yyv4653) { + yyv4653 = yyv4653[:yyrl4653] } else { - yyv4662 = make([]NodeSelectorTerm, yyrl4662) + yyv4653 = make([]NodeSelectorTerm, yyrl4653) } } else { - yyv4662 = make([]NodeSelectorTerm, yyrl4662) + yyv4653 = make([]NodeSelectorTerm, yyrl4653) } - yyc4662 = true - yyrr4662 = len(yyv4662) - if yyrg4662 { - copy(yyv4662, yyv24662) + yyc4653 = true + yyrr4653 = len(yyv4653) + if yyrg4653 { + copy(yyv4653, yyv24653) } - } else if yyl4662 != len(yyv4662) { - yyv4662 = yyv4662[:yyl4662] - yyc4662 = true + } else if yyl4653 != len(yyv4653) { + yyv4653 = yyv4653[:yyl4653] + yyc4653 = true } - yyj4662 := 0 - for ; yyj4662 < yyrr4662; yyj4662++ { - yyh4662.ElemContainerState(yyj4662) + yyj4653 := 0 + for ; yyj4653 < yyrr4653; yyj4653++ { + yyh4653.ElemContainerState(yyj4653) if r.TryDecodeAsNil() { - yyv4662[yyj4662] = NodeSelectorTerm{} + yyv4653[yyj4653] = NodeSelectorTerm{} } else { - yyv4663 := &yyv4662[yyj4662] - yyv4663.CodecDecodeSelf(d) + yyv4654 := &yyv4653[yyj4653] + yyv4654.CodecDecodeSelf(d) } } - if yyrt4662 { - for ; yyj4662 < yyl4662; yyj4662++ { - yyv4662 = append(yyv4662, NodeSelectorTerm{}) - yyh4662.ElemContainerState(yyj4662) + if yyrt4653 { + for ; yyj4653 < yyl4653; yyj4653++ { + yyv4653 = append(yyv4653, NodeSelectorTerm{}) + yyh4653.ElemContainerState(yyj4653) if r.TryDecodeAsNil() { - yyv4662[yyj4662] = NodeSelectorTerm{} + yyv4653[yyj4653] = NodeSelectorTerm{} } else { - yyv4664 := &yyv4662[yyj4662] - yyv4664.CodecDecodeSelf(d) + yyv4655 := &yyv4653[yyj4653] + yyv4655.CodecDecodeSelf(d) } } } } else { - yyj4662 := 0 - for ; !r.CheckBreak(); yyj4662++ { + yyj4653 := 0 + for ; !r.CheckBreak(); yyj4653++ { - if yyj4662 >= len(yyv4662) { - yyv4662 = append(yyv4662, NodeSelectorTerm{}) // var yyz4662 NodeSelectorTerm - yyc4662 = true + if yyj4653 >= len(yyv4653) { + yyv4653 = append(yyv4653, NodeSelectorTerm{}) // var yyz4653 NodeSelectorTerm + yyc4653 = true } - yyh4662.ElemContainerState(yyj4662) - if yyj4662 < len(yyv4662) { + yyh4653.ElemContainerState(yyj4653) + if yyj4653 < len(yyv4653) { if r.TryDecodeAsNil() { - yyv4662[yyj4662] = NodeSelectorTerm{} + yyv4653[yyj4653] = NodeSelectorTerm{} } else { - yyv4665 := &yyv4662[yyj4662] - yyv4665.CodecDecodeSelf(d) + yyv4656 := &yyv4653[yyj4653] + yyv4656.CodecDecodeSelf(d) } } else { @@ -58352,17 +58270,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj4662 < len(yyv4662) { - yyv4662 = yyv4662[:yyj4662] - yyc4662 = true - } else if yyj4662 == 0 && yyv4662 == nil { - yyv4662 = []NodeSelectorTerm{} - yyc4662 = true + if yyj4653 < len(yyv4653) { + yyv4653 = yyv4653[:yyj4653] + yyc4653 = true + } else if yyj4653 == 0 && yyv4653 == nil { + yyv4653 = []NodeSelectorTerm{} + yyc4653 = true } } - yyh4662.End() - if yyc4662 { - *v = yyv4662 + yyh4653.End() + if yyc4653 { + *v = yyv4653 } } @@ -58371,10 +58289,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4666 := range v { + for _, yyv4657 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4667 := &yyv4666 - yy4667.CodecEncodeSelf(e) + yy4658 := &yyv4657 + yy4658.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58384,83 +58302,83 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4668 := *v - yyh4668, yyl4668 := z.DecSliceHelperStart() - var yyc4668 bool - if yyl4668 == 0 { - if yyv4668 == nil { - yyv4668 = []NodeSelectorRequirement{} - yyc4668 = true - } else if len(yyv4668) != 0 { - yyv4668 = yyv4668[:0] - yyc4668 = true + yyv4659 := *v + yyh4659, yyl4659 := z.DecSliceHelperStart() + var yyc4659 bool + if yyl4659 == 0 { + if yyv4659 == nil { + yyv4659 = []NodeSelectorRequirement{} + yyc4659 = true + } else if len(yyv4659) != 0 { + yyv4659 = yyv4659[:0] + yyc4659 = true } - } else if yyl4668 > 0 { - var yyrr4668, yyrl4668 int - var yyrt4668 bool - if yyl4668 > cap(yyv4668) { + } else if yyl4659 > 0 { + var yyrr4659, yyrl4659 int + var yyrt4659 bool + if yyl4659 > cap(yyv4659) { - yyrg4668 := len(yyv4668) > 0 - yyv24668 := yyv4668 - yyrl4668, yyrt4668 = z.DecInferLen(yyl4668, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4668 { - if yyrl4668 <= cap(yyv4668) { - yyv4668 = yyv4668[:yyrl4668] + yyrg4659 := len(yyv4659) > 0 + yyv24659 := yyv4659 + yyrl4659, yyrt4659 = z.DecInferLen(yyl4659, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4659 { + if yyrl4659 <= cap(yyv4659) { + yyv4659 = yyv4659[:yyrl4659] } else { - yyv4668 = make([]NodeSelectorRequirement, yyrl4668) + yyv4659 = make([]NodeSelectorRequirement, yyrl4659) } } else { - yyv4668 = make([]NodeSelectorRequirement, yyrl4668) + yyv4659 = make([]NodeSelectorRequirement, yyrl4659) } - yyc4668 = true - yyrr4668 = len(yyv4668) - if yyrg4668 { - copy(yyv4668, yyv24668) + yyc4659 = true + yyrr4659 = len(yyv4659) + if yyrg4659 { + copy(yyv4659, yyv24659) } - } else if yyl4668 != len(yyv4668) { - yyv4668 = yyv4668[:yyl4668] - yyc4668 = true + } else if yyl4659 != len(yyv4659) { + yyv4659 = yyv4659[:yyl4659] + yyc4659 = true } - yyj4668 := 0 - for ; yyj4668 < yyrr4668; yyj4668++ { - yyh4668.ElemContainerState(yyj4668) + yyj4659 := 0 + for ; yyj4659 < yyrr4659; yyj4659++ { + yyh4659.ElemContainerState(yyj4659) if r.TryDecodeAsNil() { - yyv4668[yyj4668] = NodeSelectorRequirement{} + yyv4659[yyj4659] = NodeSelectorRequirement{} } else { - yyv4669 := &yyv4668[yyj4668] - yyv4669.CodecDecodeSelf(d) + yyv4660 := &yyv4659[yyj4659] + yyv4660.CodecDecodeSelf(d) } } - if yyrt4668 { - for ; yyj4668 < yyl4668; yyj4668++ { - yyv4668 = append(yyv4668, NodeSelectorRequirement{}) - yyh4668.ElemContainerState(yyj4668) + if yyrt4659 { + for ; yyj4659 < yyl4659; yyj4659++ { + yyv4659 = append(yyv4659, NodeSelectorRequirement{}) + yyh4659.ElemContainerState(yyj4659) if r.TryDecodeAsNil() { - yyv4668[yyj4668] = NodeSelectorRequirement{} + yyv4659[yyj4659] = NodeSelectorRequirement{} } else { - yyv4670 := &yyv4668[yyj4668] - yyv4670.CodecDecodeSelf(d) + yyv4661 := &yyv4659[yyj4659] + yyv4661.CodecDecodeSelf(d) } } } } else { - yyj4668 := 0 - for ; !r.CheckBreak(); yyj4668++ { + yyj4659 := 0 + for ; !r.CheckBreak(); yyj4659++ { - if yyj4668 >= len(yyv4668) { - yyv4668 = append(yyv4668, NodeSelectorRequirement{}) // var yyz4668 NodeSelectorRequirement - yyc4668 = true + if yyj4659 >= len(yyv4659) { + yyv4659 = append(yyv4659, NodeSelectorRequirement{}) // var yyz4659 NodeSelectorRequirement + yyc4659 = true } - yyh4668.ElemContainerState(yyj4668) - if yyj4668 < len(yyv4668) { + yyh4659.ElemContainerState(yyj4659) + if yyj4659 < len(yyv4659) { if r.TryDecodeAsNil() { - yyv4668[yyj4668] = NodeSelectorRequirement{} + yyv4659[yyj4659] = NodeSelectorRequirement{} } else { - yyv4671 := &yyv4668[yyj4668] - yyv4671.CodecDecodeSelf(d) + yyv4662 := &yyv4659[yyj4659] + yyv4662.CodecDecodeSelf(d) } } else { @@ -58468,17 +58386,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj4668 < len(yyv4668) { - yyv4668 = yyv4668[:yyj4668] - yyc4668 = true - } else if yyj4668 == 0 && yyv4668 == nil { - yyv4668 = []NodeSelectorRequirement{} - yyc4668 = true + if yyj4659 < len(yyv4659) { + yyv4659 = yyv4659[:yyj4659] + yyc4659 = true + } else if yyj4659 == 0 && yyv4659 == nil { + yyv4659 = []NodeSelectorRequirement{} + yyc4659 = true } } - yyh4668.End() - if yyc4668 { - *v = yyv4668 + yyh4659.End() + if yyc4659 { + *v = yyv4659 } } @@ -58487,10 +58405,10 @@ func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4672 := range v { + for _, yyv4663 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4673 := &yyv4672 - yy4673.CodecEncodeSelf(e) + yy4664 := &yyv4663 + yy4664.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58500,83 +58418,83 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4674 := *v - yyh4674, yyl4674 := z.DecSliceHelperStart() - var yyc4674 bool - if yyl4674 == 0 { - if yyv4674 == nil { - yyv4674 = []PodAffinityTerm{} - yyc4674 = true - } else if len(yyv4674) != 0 { - yyv4674 = yyv4674[:0] - yyc4674 = true + yyv4665 := *v + yyh4665, yyl4665 := z.DecSliceHelperStart() + var yyc4665 bool + if yyl4665 == 0 { + if yyv4665 == nil { + yyv4665 = []PodAffinityTerm{} + yyc4665 = true + } else if len(yyv4665) != 0 { + yyv4665 = yyv4665[:0] + yyc4665 = true } - } else if yyl4674 > 0 { - var yyrr4674, yyrl4674 int - var yyrt4674 bool - if yyl4674 > cap(yyv4674) { + } else if yyl4665 > 0 { + var yyrr4665, yyrl4665 int + var yyrt4665 bool + if yyl4665 > cap(yyv4665) { - yyrg4674 := len(yyv4674) > 0 - yyv24674 := yyv4674 - yyrl4674, yyrt4674 = z.DecInferLen(yyl4674, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4674 { - if yyrl4674 <= cap(yyv4674) { - yyv4674 = yyv4674[:yyrl4674] + yyrg4665 := len(yyv4665) > 0 + yyv24665 := yyv4665 + yyrl4665, yyrt4665 = z.DecInferLen(yyl4665, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4665 { + if yyrl4665 <= cap(yyv4665) { + yyv4665 = yyv4665[:yyrl4665] } else { - yyv4674 = make([]PodAffinityTerm, yyrl4674) + yyv4665 = make([]PodAffinityTerm, yyrl4665) } } else { - yyv4674 = make([]PodAffinityTerm, yyrl4674) + yyv4665 = make([]PodAffinityTerm, yyrl4665) } - yyc4674 = true - yyrr4674 = len(yyv4674) - if yyrg4674 { - copy(yyv4674, yyv24674) + yyc4665 = true + yyrr4665 = len(yyv4665) + if yyrg4665 { + copy(yyv4665, yyv24665) } - } else if yyl4674 != len(yyv4674) { - yyv4674 = yyv4674[:yyl4674] - yyc4674 = true + } else if yyl4665 != len(yyv4665) { + yyv4665 = yyv4665[:yyl4665] + yyc4665 = true } - yyj4674 := 0 - for ; yyj4674 < yyrr4674; yyj4674++ { - yyh4674.ElemContainerState(yyj4674) + yyj4665 := 0 + for ; yyj4665 < yyrr4665; yyj4665++ { + yyh4665.ElemContainerState(yyj4665) if r.TryDecodeAsNil() { - yyv4674[yyj4674] = PodAffinityTerm{} + yyv4665[yyj4665] = PodAffinityTerm{} } else { - yyv4675 := &yyv4674[yyj4674] - yyv4675.CodecDecodeSelf(d) + yyv4666 := &yyv4665[yyj4665] + yyv4666.CodecDecodeSelf(d) } } - if yyrt4674 { - for ; yyj4674 < yyl4674; yyj4674++ { - yyv4674 = append(yyv4674, PodAffinityTerm{}) - yyh4674.ElemContainerState(yyj4674) + if yyrt4665 { + for ; yyj4665 < yyl4665; yyj4665++ { + yyv4665 = append(yyv4665, PodAffinityTerm{}) + yyh4665.ElemContainerState(yyj4665) if r.TryDecodeAsNil() { - yyv4674[yyj4674] = PodAffinityTerm{} + yyv4665[yyj4665] = PodAffinityTerm{} } else { - yyv4676 := &yyv4674[yyj4674] - yyv4676.CodecDecodeSelf(d) + yyv4667 := &yyv4665[yyj4665] + yyv4667.CodecDecodeSelf(d) } } } } else { - yyj4674 := 0 - for ; !r.CheckBreak(); yyj4674++ { + yyj4665 := 0 + for ; !r.CheckBreak(); yyj4665++ { - if yyj4674 >= len(yyv4674) { - yyv4674 = append(yyv4674, PodAffinityTerm{}) // var yyz4674 PodAffinityTerm - yyc4674 = true + if yyj4665 >= len(yyv4665) { + yyv4665 = append(yyv4665, PodAffinityTerm{}) // var yyz4665 PodAffinityTerm + yyc4665 = true } - yyh4674.ElemContainerState(yyj4674) - if yyj4674 < len(yyv4674) { + yyh4665.ElemContainerState(yyj4665) + if yyj4665 < len(yyv4665) { if r.TryDecodeAsNil() { - yyv4674[yyj4674] = PodAffinityTerm{} + yyv4665[yyj4665] = PodAffinityTerm{} } else { - yyv4677 := &yyv4674[yyj4674] - yyv4677.CodecDecodeSelf(d) + yyv4668 := &yyv4665[yyj4665] + yyv4668.CodecDecodeSelf(d) } } else { @@ -58584,17 +58502,17 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 } } - if yyj4674 < len(yyv4674) { - yyv4674 = yyv4674[:yyj4674] - yyc4674 = true - } else if yyj4674 == 0 && yyv4674 == nil { - yyv4674 = []PodAffinityTerm{} - yyc4674 = true + if yyj4665 < len(yyv4665) { + yyv4665 = yyv4665[:yyj4665] + yyc4665 = true + } else if yyj4665 == 0 && yyv4665 == nil { + yyv4665 = []PodAffinityTerm{} + yyc4665 = true } } - yyh4674.End() - if yyc4674 { - *v = yyv4674 + yyh4665.End() + if yyc4665 { + *v = yyv4665 } } @@ -58603,10 +58521,10 @@ func (x codecSelfer1234) encSliceWeightedPodAffinityTerm(v []WeightedPodAffinity z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4678 := range v { + for _, yyv4669 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4679 := &yyv4678 - yy4679.CodecEncodeSelf(e) + yy4670 := &yyv4669 + yy4670.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58616,83 +58534,83 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4680 := *v - yyh4680, yyl4680 := z.DecSliceHelperStart() - var yyc4680 bool - if yyl4680 == 0 { - if yyv4680 == nil { - yyv4680 = []WeightedPodAffinityTerm{} - yyc4680 = true - } else if len(yyv4680) != 0 { - yyv4680 = yyv4680[:0] - yyc4680 = true + yyv4671 := *v + yyh4671, yyl4671 := z.DecSliceHelperStart() + var yyc4671 bool + if yyl4671 == 0 { + if yyv4671 == nil { + yyv4671 = []WeightedPodAffinityTerm{} + yyc4671 = true + } else if len(yyv4671) != 0 { + yyv4671 = yyv4671[:0] + yyc4671 = true } - } else if yyl4680 > 0 { - var yyrr4680, yyrl4680 int - var yyrt4680 bool - if yyl4680 > cap(yyv4680) { + } else if yyl4671 > 0 { + var yyrr4671, yyrl4671 int + var yyrt4671 bool + if yyl4671 > cap(yyv4671) { - yyrg4680 := len(yyv4680) > 0 - yyv24680 := yyv4680 - yyrl4680, yyrt4680 = z.DecInferLen(yyl4680, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4680 { - if yyrl4680 <= cap(yyv4680) { - yyv4680 = yyv4680[:yyrl4680] + yyrg4671 := len(yyv4671) > 0 + yyv24671 := yyv4671 + yyrl4671, yyrt4671 = z.DecInferLen(yyl4671, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4671 { + if yyrl4671 <= cap(yyv4671) { + yyv4671 = yyv4671[:yyrl4671] } else { - yyv4680 = make([]WeightedPodAffinityTerm, yyrl4680) + yyv4671 = make([]WeightedPodAffinityTerm, yyrl4671) } } else { - yyv4680 = make([]WeightedPodAffinityTerm, yyrl4680) + yyv4671 = make([]WeightedPodAffinityTerm, yyrl4671) } - yyc4680 = true - yyrr4680 = len(yyv4680) - if yyrg4680 { - copy(yyv4680, yyv24680) + yyc4671 = true + yyrr4671 = len(yyv4671) + if yyrg4671 { + copy(yyv4671, yyv24671) } - } else if yyl4680 != len(yyv4680) { - yyv4680 = yyv4680[:yyl4680] - yyc4680 = true + } else if yyl4671 != len(yyv4671) { + yyv4671 = yyv4671[:yyl4671] + yyc4671 = true } - yyj4680 := 0 - for ; yyj4680 < yyrr4680; yyj4680++ { - yyh4680.ElemContainerState(yyj4680) + yyj4671 := 0 + for ; yyj4671 < yyrr4671; yyj4671++ { + yyh4671.ElemContainerState(yyj4671) if r.TryDecodeAsNil() { - yyv4680[yyj4680] = WeightedPodAffinityTerm{} + yyv4671[yyj4671] = WeightedPodAffinityTerm{} } else { - yyv4681 := &yyv4680[yyj4680] - yyv4681.CodecDecodeSelf(d) + yyv4672 := &yyv4671[yyj4671] + yyv4672.CodecDecodeSelf(d) } } - if yyrt4680 { - for ; yyj4680 < yyl4680; yyj4680++ { - yyv4680 = append(yyv4680, WeightedPodAffinityTerm{}) - yyh4680.ElemContainerState(yyj4680) + if yyrt4671 { + for ; yyj4671 < yyl4671; yyj4671++ { + yyv4671 = append(yyv4671, WeightedPodAffinityTerm{}) + yyh4671.ElemContainerState(yyj4671) if r.TryDecodeAsNil() { - yyv4680[yyj4680] = WeightedPodAffinityTerm{} + yyv4671[yyj4671] = WeightedPodAffinityTerm{} } else { - yyv4682 := &yyv4680[yyj4680] - yyv4682.CodecDecodeSelf(d) + yyv4673 := &yyv4671[yyj4671] + yyv4673.CodecDecodeSelf(d) } } } } else { - yyj4680 := 0 - for ; !r.CheckBreak(); yyj4680++ { + yyj4671 := 0 + for ; !r.CheckBreak(); yyj4671++ { - if yyj4680 >= len(yyv4680) { - yyv4680 = append(yyv4680, WeightedPodAffinityTerm{}) // var yyz4680 WeightedPodAffinityTerm - yyc4680 = true + if yyj4671 >= len(yyv4671) { + yyv4671 = append(yyv4671, WeightedPodAffinityTerm{}) // var yyz4671 WeightedPodAffinityTerm + yyc4671 = true } - yyh4680.ElemContainerState(yyj4680) - if yyj4680 < len(yyv4680) { + yyh4671.ElemContainerState(yyj4671) + if yyj4671 < len(yyv4671) { if r.TryDecodeAsNil() { - yyv4680[yyj4680] = WeightedPodAffinityTerm{} + yyv4671[yyj4671] = WeightedPodAffinityTerm{} } else { - yyv4683 := &yyv4680[yyj4680] - yyv4683.CodecDecodeSelf(d) + yyv4674 := &yyv4671[yyj4671] + yyv4674.CodecDecodeSelf(d) } } else { @@ -58700,17 +58618,17 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit } } - if yyj4680 < len(yyv4680) { - yyv4680 = yyv4680[:yyj4680] - yyc4680 = true - } else if yyj4680 == 0 && yyv4680 == nil { - yyv4680 = []WeightedPodAffinityTerm{} - yyc4680 = true + if yyj4671 < len(yyv4671) { + yyv4671 = yyv4671[:yyj4671] + yyc4671 = true + } else if yyj4671 == 0 && yyv4671 == nil { + yyv4671 = []WeightedPodAffinityTerm{} + yyc4671 = true } } - yyh4680.End() - if yyc4680 { - *v = yyv4680 + yyh4671.End() + if yyc4671 { + *v = yyv4671 } } @@ -58719,10 +58637,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4684 := range v { + for _, yyv4675 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4685 := &yyv4684 - yy4685.CodecEncodeSelf(e) + yy4676 := &yyv4675 + yy4676.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58732,83 +58650,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4686 := *v - yyh4686, yyl4686 := z.DecSliceHelperStart() - var yyc4686 bool - if yyl4686 == 0 { - if yyv4686 == nil { - yyv4686 = []PreferredSchedulingTerm{} - yyc4686 = true - } else if len(yyv4686) != 0 { - yyv4686 = yyv4686[:0] - yyc4686 = true + yyv4677 := *v + yyh4677, yyl4677 := z.DecSliceHelperStart() + var yyc4677 bool + if yyl4677 == 0 { + if yyv4677 == nil { + yyv4677 = []PreferredSchedulingTerm{} + yyc4677 = true + } else if len(yyv4677) != 0 { + yyv4677 = yyv4677[:0] + yyc4677 = true } - } else if yyl4686 > 0 { - var yyrr4686, yyrl4686 int - var yyrt4686 bool - if yyl4686 > cap(yyv4686) { + } else if yyl4677 > 0 { + var yyrr4677, yyrl4677 int + var yyrt4677 bool + if yyl4677 > cap(yyv4677) { - yyrg4686 := len(yyv4686) > 0 - yyv24686 := yyv4686 - yyrl4686, yyrt4686 = z.DecInferLen(yyl4686, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4686 { - if yyrl4686 <= cap(yyv4686) { - yyv4686 = yyv4686[:yyrl4686] + yyrg4677 := len(yyv4677) > 0 + yyv24677 := yyv4677 + yyrl4677, yyrt4677 = z.DecInferLen(yyl4677, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4677 { + if yyrl4677 <= cap(yyv4677) { + yyv4677 = yyv4677[:yyrl4677] } else { - yyv4686 = make([]PreferredSchedulingTerm, yyrl4686) + yyv4677 = make([]PreferredSchedulingTerm, yyrl4677) } } else { - yyv4686 = make([]PreferredSchedulingTerm, yyrl4686) + yyv4677 = make([]PreferredSchedulingTerm, yyrl4677) } - yyc4686 = true - yyrr4686 = len(yyv4686) - if yyrg4686 { - copy(yyv4686, yyv24686) + yyc4677 = true + yyrr4677 = len(yyv4677) + if yyrg4677 { + copy(yyv4677, yyv24677) } - } else if yyl4686 != len(yyv4686) { - yyv4686 = yyv4686[:yyl4686] - yyc4686 = true + } else if yyl4677 != len(yyv4677) { + yyv4677 = yyv4677[:yyl4677] + yyc4677 = true } - yyj4686 := 0 - for ; yyj4686 < yyrr4686; yyj4686++ { - yyh4686.ElemContainerState(yyj4686) + yyj4677 := 0 + for ; yyj4677 < yyrr4677; yyj4677++ { + yyh4677.ElemContainerState(yyj4677) if r.TryDecodeAsNil() { - yyv4686[yyj4686] = PreferredSchedulingTerm{} + yyv4677[yyj4677] = PreferredSchedulingTerm{} } else { - yyv4687 := &yyv4686[yyj4686] - yyv4687.CodecDecodeSelf(d) + yyv4678 := &yyv4677[yyj4677] + yyv4678.CodecDecodeSelf(d) } } - if yyrt4686 { - for ; yyj4686 < yyl4686; yyj4686++ { - yyv4686 = append(yyv4686, PreferredSchedulingTerm{}) - yyh4686.ElemContainerState(yyj4686) + if yyrt4677 { + for ; yyj4677 < yyl4677; yyj4677++ { + yyv4677 = append(yyv4677, PreferredSchedulingTerm{}) + yyh4677.ElemContainerState(yyj4677) if r.TryDecodeAsNil() { - yyv4686[yyj4686] = PreferredSchedulingTerm{} + yyv4677[yyj4677] = PreferredSchedulingTerm{} } else { - yyv4688 := &yyv4686[yyj4686] - yyv4688.CodecDecodeSelf(d) + yyv4679 := &yyv4677[yyj4677] + yyv4679.CodecDecodeSelf(d) } } } } else { - yyj4686 := 0 - for ; !r.CheckBreak(); yyj4686++ { + yyj4677 := 0 + for ; !r.CheckBreak(); yyj4677++ { - if yyj4686 >= len(yyv4686) { - yyv4686 = append(yyv4686, PreferredSchedulingTerm{}) // var yyz4686 PreferredSchedulingTerm - yyc4686 = true + if yyj4677 >= len(yyv4677) { + yyv4677 = append(yyv4677, PreferredSchedulingTerm{}) // var yyz4677 PreferredSchedulingTerm + yyc4677 = true } - yyh4686.ElemContainerState(yyj4686) - if yyj4686 < len(yyv4686) { + yyh4677.ElemContainerState(yyj4677) + if yyj4677 < len(yyv4677) { if r.TryDecodeAsNil() { - yyv4686[yyj4686] = PreferredSchedulingTerm{} + yyv4677[yyj4677] = PreferredSchedulingTerm{} } else { - yyv4689 := &yyv4686[yyj4686] - yyv4689.CodecDecodeSelf(d) + yyv4680 := &yyv4677[yyj4677] + yyv4680.CodecDecodeSelf(d) } } else { @@ -58816,17 +58734,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj4686 < len(yyv4686) { - yyv4686 = yyv4686[:yyj4686] - yyc4686 = true - } else if yyj4686 == 0 && yyv4686 == nil { - yyv4686 = []PreferredSchedulingTerm{} - yyc4686 = true + if yyj4677 < len(yyv4677) { + yyv4677 = yyv4677[:yyj4677] + yyc4677 = true + } else if yyj4677 == 0 && yyv4677 == nil { + yyv4677 = []PreferredSchedulingTerm{} + yyc4677 = true } } - yyh4686.End() - if yyc4686 { - *v = yyv4686 + yyh4677.End() + if yyc4677 { + *v = yyv4677 } } @@ -58835,10 +58753,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4690 := range v { + for _, yyv4681 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4691 := &yyv4690 - yy4691.CodecEncodeSelf(e) + yy4682 := &yyv4681 + yy4682.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58848,83 +58766,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4692 := *v - yyh4692, yyl4692 := z.DecSliceHelperStart() - var yyc4692 bool - if yyl4692 == 0 { - if yyv4692 == nil { - yyv4692 = []Volume{} - yyc4692 = true - } else if len(yyv4692) != 0 { - yyv4692 = yyv4692[:0] - yyc4692 = true + yyv4683 := *v + yyh4683, yyl4683 := z.DecSliceHelperStart() + var yyc4683 bool + if yyl4683 == 0 { + if yyv4683 == nil { + yyv4683 = []Volume{} + yyc4683 = true + } else if len(yyv4683) != 0 { + yyv4683 = yyv4683[:0] + yyc4683 = true } - } else if yyl4692 > 0 { - var yyrr4692, yyrl4692 int - var yyrt4692 bool - if yyl4692 > cap(yyv4692) { + } else if yyl4683 > 0 { + var yyrr4683, yyrl4683 int + var yyrt4683 bool + if yyl4683 > cap(yyv4683) { - yyrg4692 := len(yyv4692) > 0 - yyv24692 := yyv4692 - yyrl4692, yyrt4692 = z.DecInferLen(yyl4692, z.DecBasicHandle().MaxInitLen, 192) - if yyrt4692 { - if yyrl4692 <= cap(yyv4692) { - yyv4692 = yyv4692[:yyrl4692] + yyrg4683 := len(yyv4683) > 0 + yyv24683 := yyv4683 + yyrl4683, yyrt4683 = z.DecInferLen(yyl4683, z.DecBasicHandle().MaxInitLen, 192) + if yyrt4683 { + if yyrl4683 <= cap(yyv4683) { + yyv4683 = yyv4683[:yyrl4683] } else { - yyv4692 = make([]Volume, yyrl4692) + yyv4683 = make([]Volume, yyrl4683) } } else { - yyv4692 = make([]Volume, yyrl4692) + yyv4683 = make([]Volume, yyrl4683) } - yyc4692 = true - yyrr4692 = len(yyv4692) - if yyrg4692 { - copy(yyv4692, yyv24692) + yyc4683 = true + yyrr4683 = len(yyv4683) + if yyrg4683 { + copy(yyv4683, yyv24683) } - } else if yyl4692 != len(yyv4692) { - yyv4692 = yyv4692[:yyl4692] - yyc4692 = true + } else if yyl4683 != len(yyv4683) { + yyv4683 = yyv4683[:yyl4683] + yyc4683 = true } - yyj4692 := 0 - for ; yyj4692 < yyrr4692; yyj4692++ { - yyh4692.ElemContainerState(yyj4692) + yyj4683 := 0 + for ; yyj4683 < yyrr4683; yyj4683++ { + yyh4683.ElemContainerState(yyj4683) if r.TryDecodeAsNil() { - yyv4692[yyj4692] = Volume{} + yyv4683[yyj4683] = Volume{} } else { - yyv4693 := &yyv4692[yyj4692] - yyv4693.CodecDecodeSelf(d) + yyv4684 := &yyv4683[yyj4683] + yyv4684.CodecDecodeSelf(d) } } - if yyrt4692 { - for ; yyj4692 < yyl4692; yyj4692++ { - yyv4692 = append(yyv4692, Volume{}) - yyh4692.ElemContainerState(yyj4692) + if yyrt4683 { + for ; yyj4683 < yyl4683; yyj4683++ { + yyv4683 = append(yyv4683, Volume{}) + yyh4683.ElemContainerState(yyj4683) if r.TryDecodeAsNil() { - yyv4692[yyj4692] = Volume{} + yyv4683[yyj4683] = Volume{} } else { - yyv4694 := &yyv4692[yyj4692] - yyv4694.CodecDecodeSelf(d) + yyv4685 := &yyv4683[yyj4683] + yyv4685.CodecDecodeSelf(d) } } } } else { - yyj4692 := 0 - for ; !r.CheckBreak(); yyj4692++ { + yyj4683 := 0 + for ; !r.CheckBreak(); yyj4683++ { - if yyj4692 >= len(yyv4692) { - yyv4692 = append(yyv4692, Volume{}) // var yyz4692 Volume - yyc4692 = true + if yyj4683 >= len(yyv4683) { + yyv4683 = append(yyv4683, Volume{}) // var yyz4683 Volume + yyc4683 = true } - yyh4692.ElemContainerState(yyj4692) - if yyj4692 < len(yyv4692) { + yyh4683.ElemContainerState(yyj4683) + if yyj4683 < len(yyv4683) { if r.TryDecodeAsNil() { - yyv4692[yyj4692] = Volume{} + yyv4683[yyj4683] = Volume{} } else { - yyv4695 := &yyv4692[yyj4692] - yyv4695.CodecDecodeSelf(d) + yyv4686 := &yyv4683[yyj4683] + yyv4686.CodecDecodeSelf(d) } } else { @@ -58932,17 +58850,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj4692 < len(yyv4692) { - yyv4692 = yyv4692[:yyj4692] - yyc4692 = true - } else if yyj4692 == 0 && yyv4692 == nil { - yyv4692 = []Volume{} - yyc4692 = true + if yyj4683 < len(yyv4683) { + yyv4683 = yyv4683[:yyj4683] + yyc4683 = true + } else if yyj4683 == 0 && yyv4683 == nil { + yyv4683 = []Volume{} + yyc4683 = true } } - yyh4692.End() - if yyc4692 { - *v = yyv4692 + yyh4683.End() + if yyc4683 { + *v = yyv4683 } } @@ -58951,10 +58869,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4696 := range v { + for _, yyv4687 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4697 := &yyv4696 - yy4697.CodecEncodeSelf(e) + yy4688 := &yyv4687 + yy4688.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58964,83 +58882,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4698 := *v - yyh4698, yyl4698 := z.DecSliceHelperStart() - var yyc4698 bool - if yyl4698 == 0 { - if yyv4698 == nil { - yyv4698 = []Container{} - yyc4698 = true - } else if len(yyv4698) != 0 { - yyv4698 = yyv4698[:0] - yyc4698 = true + yyv4689 := *v + yyh4689, yyl4689 := z.DecSliceHelperStart() + var yyc4689 bool + if yyl4689 == 0 { + if yyv4689 == nil { + yyv4689 = []Container{} + yyc4689 = true + } else if len(yyv4689) != 0 { + yyv4689 = yyv4689[:0] + yyc4689 = true } - } else if yyl4698 > 0 { - var yyrr4698, yyrl4698 int - var yyrt4698 bool - if yyl4698 > cap(yyv4698) { + } else if yyl4689 > 0 { + var yyrr4689, yyrl4689 int + var yyrt4689 bool + if yyl4689 > cap(yyv4689) { - yyrg4698 := len(yyv4698) > 0 - yyv24698 := yyv4698 - yyrl4698, yyrt4698 = z.DecInferLen(yyl4698, z.DecBasicHandle().MaxInitLen, 256) - if yyrt4698 { - if yyrl4698 <= cap(yyv4698) { - yyv4698 = yyv4698[:yyrl4698] + yyrg4689 := len(yyv4689) > 0 + yyv24689 := yyv4689 + yyrl4689, yyrt4689 = z.DecInferLen(yyl4689, z.DecBasicHandle().MaxInitLen, 256) + if yyrt4689 { + if yyrl4689 <= cap(yyv4689) { + yyv4689 = yyv4689[:yyrl4689] } else { - yyv4698 = make([]Container, yyrl4698) + yyv4689 = make([]Container, yyrl4689) } } else { - yyv4698 = make([]Container, yyrl4698) + yyv4689 = make([]Container, yyrl4689) } - yyc4698 = true - yyrr4698 = len(yyv4698) - if yyrg4698 { - copy(yyv4698, yyv24698) + yyc4689 = true + yyrr4689 = len(yyv4689) + if yyrg4689 { + copy(yyv4689, yyv24689) } - } else if yyl4698 != len(yyv4698) { - yyv4698 = yyv4698[:yyl4698] - yyc4698 = true + } else if yyl4689 != len(yyv4689) { + yyv4689 = yyv4689[:yyl4689] + yyc4689 = true } - yyj4698 := 0 - for ; yyj4698 < yyrr4698; yyj4698++ { - yyh4698.ElemContainerState(yyj4698) + yyj4689 := 0 + for ; yyj4689 < yyrr4689; yyj4689++ { + yyh4689.ElemContainerState(yyj4689) if r.TryDecodeAsNil() { - yyv4698[yyj4698] = Container{} + yyv4689[yyj4689] = Container{} } else { - yyv4699 := &yyv4698[yyj4698] - yyv4699.CodecDecodeSelf(d) + yyv4690 := &yyv4689[yyj4689] + yyv4690.CodecDecodeSelf(d) } } - if yyrt4698 { - for ; yyj4698 < yyl4698; yyj4698++ { - yyv4698 = append(yyv4698, Container{}) - yyh4698.ElemContainerState(yyj4698) + if yyrt4689 { + for ; yyj4689 < yyl4689; yyj4689++ { + yyv4689 = append(yyv4689, Container{}) + yyh4689.ElemContainerState(yyj4689) if r.TryDecodeAsNil() { - yyv4698[yyj4698] = Container{} + yyv4689[yyj4689] = Container{} } else { - yyv4700 := &yyv4698[yyj4698] - yyv4700.CodecDecodeSelf(d) + yyv4691 := &yyv4689[yyj4689] + yyv4691.CodecDecodeSelf(d) } } } } else { - yyj4698 := 0 - for ; !r.CheckBreak(); yyj4698++ { + yyj4689 := 0 + for ; !r.CheckBreak(); yyj4689++ { - if yyj4698 >= len(yyv4698) { - yyv4698 = append(yyv4698, Container{}) // var yyz4698 Container - yyc4698 = true + if yyj4689 >= len(yyv4689) { + yyv4689 = append(yyv4689, Container{}) // var yyz4689 Container + yyc4689 = true } - yyh4698.ElemContainerState(yyj4698) - if yyj4698 < len(yyv4698) { + yyh4689.ElemContainerState(yyj4689) + if yyj4689 < len(yyv4689) { if r.TryDecodeAsNil() { - yyv4698[yyj4698] = Container{} + yyv4689[yyj4689] = Container{} } else { - yyv4701 := &yyv4698[yyj4698] - yyv4701.CodecDecodeSelf(d) + yyv4692 := &yyv4689[yyj4689] + yyv4692.CodecDecodeSelf(d) } } else { @@ -59048,17 +58966,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj4698 < len(yyv4698) { - yyv4698 = yyv4698[:yyj4698] - yyc4698 = true - } else if yyj4698 == 0 && yyv4698 == nil { - yyv4698 = []Container{} - yyc4698 = true + if yyj4689 < len(yyv4689) { + yyv4689 = yyv4689[:yyj4689] + yyc4689 = true + } else if yyj4689 == 0 && yyv4689 == nil { + yyv4689 = []Container{} + yyc4689 = true } } - yyh4698.End() - if yyc4698 { - *v = yyv4698 + yyh4689.End() + if yyc4689 { + *v = yyv4689 } } @@ -59067,10 +58985,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4702 := range v { + for _, yyv4693 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4703 := &yyv4702 - yy4703.CodecEncodeSelf(e) + yy4694 := &yyv4693 + yy4694.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59080,83 +58998,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4704 := *v - yyh4704, yyl4704 := z.DecSliceHelperStart() - var yyc4704 bool - if yyl4704 == 0 { - if yyv4704 == nil { - yyv4704 = []LocalObjectReference{} - yyc4704 = true - } else if len(yyv4704) != 0 { - yyv4704 = yyv4704[:0] - yyc4704 = true + yyv4695 := *v + yyh4695, yyl4695 := z.DecSliceHelperStart() + var yyc4695 bool + if yyl4695 == 0 { + if yyv4695 == nil { + yyv4695 = []LocalObjectReference{} + yyc4695 = true + } else if len(yyv4695) != 0 { + yyv4695 = yyv4695[:0] + yyc4695 = true } - } else if yyl4704 > 0 { - var yyrr4704, yyrl4704 int - var yyrt4704 bool - if yyl4704 > cap(yyv4704) { + } else if yyl4695 > 0 { + var yyrr4695, yyrl4695 int + var yyrt4695 bool + if yyl4695 > cap(yyv4695) { - yyrg4704 := len(yyv4704) > 0 - yyv24704 := yyv4704 - yyrl4704, yyrt4704 = z.DecInferLen(yyl4704, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4704 { - if yyrl4704 <= cap(yyv4704) { - yyv4704 = yyv4704[:yyrl4704] + yyrg4695 := len(yyv4695) > 0 + yyv24695 := yyv4695 + yyrl4695, yyrt4695 = z.DecInferLen(yyl4695, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4695 { + if yyrl4695 <= cap(yyv4695) { + yyv4695 = yyv4695[:yyrl4695] } else { - yyv4704 = make([]LocalObjectReference, yyrl4704) + yyv4695 = make([]LocalObjectReference, yyrl4695) } } else { - yyv4704 = make([]LocalObjectReference, yyrl4704) + yyv4695 = make([]LocalObjectReference, yyrl4695) } - yyc4704 = true - yyrr4704 = len(yyv4704) - if yyrg4704 { - copy(yyv4704, yyv24704) + yyc4695 = true + yyrr4695 = len(yyv4695) + if yyrg4695 { + copy(yyv4695, yyv24695) } - } else if yyl4704 != len(yyv4704) { - yyv4704 = yyv4704[:yyl4704] - yyc4704 = true + } else if yyl4695 != len(yyv4695) { + yyv4695 = yyv4695[:yyl4695] + yyc4695 = true } - yyj4704 := 0 - for ; yyj4704 < yyrr4704; yyj4704++ { - yyh4704.ElemContainerState(yyj4704) + yyj4695 := 0 + for ; yyj4695 < yyrr4695; yyj4695++ { + yyh4695.ElemContainerState(yyj4695) if r.TryDecodeAsNil() { - yyv4704[yyj4704] = LocalObjectReference{} + yyv4695[yyj4695] = LocalObjectReference{} } else { - yyv4705 := &yyv4704[yyj4704] - yyv4705.CodecDecodeSelf(d) + yyv4696 := &yyv4695[yyj4695] + yyv4696.CodecDecodeSelf(d) } } - if yyrt4704 { - for ; yyj4704 < yyl4704; yyj4704++ { - yyv4704 = append(yyv4704, LocalObjectReference{}) - yyh4704.ElemContainerState(yyj4704) + if yyrt4695 { + for ; yyj4695 < yyl4695; yyj4695++ { + yyv4695 = append(yyv4695, LocalObjectReference{}) + yyh4695.ElemContainerState(yyj4695) if r.TryDecodeAsNil() { - yyv4704[yyj4704] = LocalObjectReference{} + yyv4695[yyj4695] = LocalObjectReference{} } else { - yyv4706 := &yyv4704[yyj4704] - yyv4706.CodecDecodeSelf(d) + yyv4697 := &yyv4695[yyj4695] + yyv4697.CodecDecodeSelf(d) } } } } else { - yyj4704 := 0 - for ; !r.CheckBreak(); yyj4704++ { + yyj4695 := 0 + for ; !r.CheckBreak(); yyj4695++ { - if yyj4704 >= len(yyv4704) { - yyv4704 = append(yyv4704, LocalObjectReference{}) // var yyz4704 LocalObjectReference - yyc4704 = true + if yyj4695 >= len(yyv4695) { + yyv4695 = append(yyv4695, LocalObjectReference{}) // var yyz4695 LocalObjectReference + yyc4695 = true } - yyh4704.ElemContainerState(yyj4704) - if yyj4704 < len(yyv4704) { + yyh4695.ElemContainerState(yyj4695) + if yyj4695 < len(yyv4695) { if r.TryDecodeAsNil() { - yyv4704[yyj4704] = LocalObjectReference{} + yyv4695[yyj4695] = LocalObjectReference{} } else { - yyv4707 := &yyv4704[yyj4704] - yyv4707.CodecDecodeSelf(d) + yyv4698 := &yyv4695[yyj4695] + yyv4698.CodecDecodeSelf(d) } } else { @@ -59164,17 +59082,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj4704 < len(yyv4704) { - yyv4704 = yyv4704[:yyj4704] - yyc4704 = true - } else if yyj4704 == 0 && yyv4704 == nil { - yyv4704 = []LocalObjectReference{} - yyc4704 = true + if yyj4695 < len(yyv4695) { + yyv4695 = yyv4695[:yyj4695] + yyc4695 = true + } else if yyj4695 == 0 && yyv4695 == nil { + yyv4695 = []LocalObjectReference{} + yyc4695 = true } } - yyh4704.End() - if yyc4704 { - *v = yyv4704 + yyh4695.End() + if yyc4695 { + *v = yyv4695 } } @@ -59183,10 +59101,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4708 := range v { + for _, yyv4699 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4709 := &yyv4708 - yy4709.CodecEncodeSelf(e) + yy4700 := &yyv4699 + yy4700.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59196,83 +59114,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4710 := *v - yyh4710, yyl4710 := z.DecSliceHelperStart() - var yyc4710 bool - if yyl4710 == 0 { - if yyv4710 == nil { - yyv4710 = []PodCondition{} - yyc4710 = true - } else if len(yyv4710) != 0 { - yyv4710 = yyv4710[:0] - yyc4710 = true + yyv4701 := *v + yyh4701, yyl4701 := z.DecSliceHelperStart() + var yyc4701 bool + if yyl4701 == 0 { + if yyv4701 == nil { + yyv4701 = []PodCondition{} + yyc4701 = true + } else if len(yyv4701) != 0 { + yyv4701 = yyv4701[:0] + yyc4701 = true } - } else if yyl4710 > 0 { - var yyrr4710, yyrl4710 int - var yyrt4710 bool - if yyl4710 > cap(yyv4710) { + } else if yyl4701 > 0 { + var yyrr4701, yyrl4701 int + var yyrt4701 bool + if yyl4701 > cap(yyv4701) { - yyrg4710 := len(yyv4710) > 0 - yyv24710 := yyv4710 - yyrl4710, yyrt4710 = z.DecInferLen(yyl4710, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4710 { - if yyrl4710 <= cap(yyv4710) { - yyv4710 = yyv4710[:yyrl4710] + yyrg4701 := len(yyv4701) > 0 + yyv24701 := yyv4701 + yyrl4701, yyrt4701 = z.DecInferLen(yyl4701, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4701 { + if yyrl4701 <= cap(yyv4701) { + yyv4701 = yyv4701[:yyrl4701] } else { - yyv4710 = make([]PodCondition, yyrl4710) + yyv4701 = make([]PodCondition, yyrl4701) } } else { - yyv4710 = make([]PodCondition, yyrl4710) + yyv4701 = make([]PodCondition, yyrl4701) } - yyc4710 = true - yyrr4710 = len(yyv4710) - if yyrg4710 { - copy(yyv4710, yyv24710) + yyc4701 = true + yyrr4701 = len(yyv4701) + if yyrg4701 { + copy(yyv4701, yyv24701) } - } else if yyl4710 != len(yyv4710) { - yyv4710 = yyv4710[:yyl4710] - yyc4710 = true + } else if yyl4701 != len(yyv4701) { + yyv4701 = yyv4701[:yyl4701] + yyc4701 = true } - yyj4710 := 0 - for ; yyj4710 < yyrr4710; yyj4710++ { - yyh4710.ElemContainerState(yyj4710) + yyj4701 := 0 + for ; yyj4701 < yyrr4701; yyj4701++ { + yyh4701.ElemContainerState(yyj4701) if r.TryDecodeAsNil() { - yyv4710[yyj4710] = PodCondition{} + yyv4701[yyj4701] = PodCondition{} } else { - yyv4711 := &yyv4710[yyj4710] - yyv4711.CodecDecodeSelf(d) + yyv4702 := &yyv4701[yyj4701] + yyv4702.CodecDecodeSelf(d) } } - if yyrt4710 { - for ; yyj4710 < yyl4710; yyj4710++ { - yyv4710 = append(yyv4710, PodCondition{}) - yyh4710.ElemContainerState(yyj4710) + if yyrt4701 { + for ; yyj4701 < yyl4701; yyj4701++ { + yyv4701 = append(yyv4701, PodCondition{}) + yyh4701.ElemContainerState(yyj4701) if r.TryDecodeAsNil() { - yyv4710[yyj4710] = PodCondition{} + yyv4701[yyj4701] = PodCondition{} } else { - yyv4712 := &yyv4710[yyj4710] - yyv4712.CodecDecodeSelf(d) + yyv4703 := &yyv4701[yyj4701] + yyv4703.CodecDecodeSelf(d) } } } } else { - yyj4710 := 0 - for ; !r.CheckBreak(); yyj4710++ { + yyj4701 := 0 + for ; !r.CheckBreak(); yyj4701++ { - if yyj4710 >= len(yyv4710) { - yyv4710 = append(yyv4710, PodCondition{}) // var yyz4710 PodCondition - yyc4710 = true + if yyj4701 >= len(yyv4701) { + yyv4701 = append(yyv4701, PodCondition{}) // var yyz4701 PodCondition + yyc4701 = true } - yyh4710.ElemContainerState(yyj4710) - if yyj4710 < len(yyv4710) { + yyh4701.ElemContainerState(yyj4701) + if yyj4701 < len(yyv4701) { if r.TryDecodeAsNil() { - yyv4710[yyj4710] = PodCondition{} + yyv4701[yyj4701] = PodCondition{} } else { - yyv4713 := &yyv4710[yyj4710] - yyv4713.CodecDecodeSelf(d) + yyv4704 := &yyv4701[yyj4701] + yyv4704.CodecDecodeSelf(d) } } else { @@ -59280,17 +59198,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj4710 < len(yyv4710) { - yyv4710 = yyv4710[:yyj4710] - yyc4710 = true - } else if yyj4710 == 0 && yyv4710 == nil { - yyv4710 = []PodCondition{} - yyc4710 = true + if yyj4701 < len(yyv4701) { + yyv4701 = yyv4701[:yyj4701] + yyc4701 = true + } else if yyj4701 == 0 && yyv4701 == nil { + yyv4701 = []PodCondition{} + yyc4701 = true } } - yyh4710.End() - if yyc4710 { - *v = yyv4710 + yyh4701.End() + if yyc4701 { + *v = yyv4701 } } @@ -59299,10 +59217,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4714 := range v { + for _, yyv4705 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4715 := &yyv4714 - yy4715.CodecEncodeSelf(e) + yy4706 := &yyv4705 + yy4706.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59312,83 +59230,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4716 := *v - yyh4716, yyl4716 := z.DecSliceHelperStart() - var yyc4716 bool - if yyl4716 == 0 { - if yyv4716 == nil { - yyv4716 = []ContainerStatus{} - yyc4716 = true - } else if len(yyv4716) != 0 { - yyv4716 = yyv4716[:0] - yyc4716 = true + yyv4707 := *v + yyh4707, yyl4707 := z.DecSliceHelperStart() + var yyc4707 bool + if yyl4707 == 0 { + if yyv4707 == nil { + yyv4707 = []ContainerStatus{} + yyc4707 = true + } else if len(yyv4707) != 0 { + yyv4707 = yyv4707[:0] + yyc4707 = true } - } else if yyl4716 > 0 { - var yyrr4716, yyrl4716 int - var yyrt4716 bool - if yyl4716 > cap(yyv4716) { + } else if yyl4707 > 0 { + var yyrr4707, yyrl4707 int + var yyrt4707 bool + if yyl4707 > cap(yyv4707) { - yyrg4716 := len(yyv4716) > 0 - yyv24716 := yyv4716 - yyrl4716, yyrt4716 = z.DecInferLen(yyl4716, z.DecBasicHandle().MaxInitLen, 120) - if yyrt4716 { - if yyrl4716 <= cap(yyv4716) { - yyv4716 = yyv4716[:yyrl4716] + yyrg4707 := len(yyv4707) > 0 + yyv24707 := yyv4707 + yyrl4707, yyrt4707 = z.DecInferLen(yyl4707, z.DecBasicHandle().MaxInitLen, 120) + if yyrt4707 { + if yyrl4707 <= cap(yyv4707) { + yyv4707 = yyv4707[:yyrl4707] } else { - yyv4716 = make([]ContainerStatus, yyrl4716) + yyv4707 = make([]ContainerStatus, yyrl4707) } } else { - yyv4716 = make([]ContainerStatus, yyrl4716) + yyv4707 = make([]ContainerStatus, yyrl4707) } - yyc4716 = true - yyrr4716 = len(yyv4716) - if yyrg4716 { - copy(yyv4716, yyv24716) + yyc4707 = true + yyrr4707 = len(yyv4707) + if yyrg4707 { + copy(yyv4707, yyv24707) } - } else if yyl4716 != len(yyv4716) { - yyv4716 = yyv4716[:yyl4716] - yyc4716 = true + } else if yyl4707 != len(yyv4707) { + yyv4707 = yyv4707[:yyl4707] + yyc4707 = true } - yyj4716 := 0 - for ; yyj4716 < yyrr4716; yyj4716++ { - yyh4716.ElemContainerState(yyj4716) + yyj4707 := 0 + for ; yyj4707 < yyrr4707; yyj4707++ { + yyh4707.ElemContainerState(yyj4707) if r.TryDecodeAsNil() { - yyv4716[yyj4716] = ContainerStatus{} + yyv4707[yyj4707] = ContainerStatus{} } else { - yyv4717 := &yyv4716[yyj4716] - yyv4717.CodecDecodeSelf(d) + yyv4708 := &yyv4707[yyj4707] + yyv4708.CodecDecodeSelf(d) } } - if yyrt4716 { - for ; yyj4716 < yyl4716; yyj4716++ { - yyv4716 = append(yyv4716, ContainerStatus{}) - yyh4716.ElemContainerState(yyj4716) + if yyrt4707 { + for ; yyj4707 < yyl4707; yyj4707++ { + yyv4707 = append(yyv4707, ContainerStatus{}) + yyh4707.ElemContainerState(yyj4707) if r.TryDecodeAsNil() { - yyv4716[yyj4716] = ContainerStatus{} + yyv4707[yyj4707] = ContainerStatus{} } else { - yyv4718 := &yyv4716[yyj4716] - yyv4718.CodecDecodeSelf(d) + yyv4709 := &yyv4707[yyj4707] + yyv4709.CodecDecodeSelf(d) } } } } else { - yyj4716 := 0 - for ; !r.CheckBreak(); yyj4716++ { + yyj4707 := 0 + for ; !r.CheckBreak(); yyj4707++ { - if yyj4716 >= len(yyv4716) { - yyv4716 = append(yyv4716, ContainerStatus{}) // var yyz4716 ContainerStatus - yyc4716 = true + if yyj4707 >= len(yyv4707) { + yyv4707 = append(yyv4707, ContainerStatus{}) // var yyz4707 ContainerStatus + yyc4707 = true } - yyh4716.ElemContainerState(yyj4716) - if yyj4716 < len(yyv4716) { + yyh4707.ElemContainerState(yyj4707) + if yyj4707 < len(yyv4707) { if r.TryDecodeAsNil() { - yyv4716[yyj4716] = ContainerStatus{} + yyv4707[yyj4707] = ContainerStatus{} } else { - yyv4719 := &yyv4716[yyj4716] - yyv4719.CodecDecodeSelf(d) + yyv4710 := &yyv4707[yyj4707] + yyv4710.CodecDecodeSelf(d) } } else { @@ -59396,17 +59314,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj4716 < len(yyv4716) { - yyv4716 = yyv4716[:yyj4716] - yyc4716 = true - } else if yyj4716 == 0 && yyv4716 == nil { - yyv4716 = []ContainerStatus{} - yyc4716 = true + if yyj4707 < len(yyv4707) { + yyv4707 = yyv4707[:yyj4707] + yyc4707 = true + } else if yyj4707 == 0 && yyv4707 == nil { + yyv4707 = []ContainerStatus{} + yyc4707 = true } } - yyh4716.End() - if yyc4716 { - *v = yyv4716 + yyh4707.End() + if yyc4707 { + *v = yyv4707 } } @@ -59415,10 +59333,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4720 := range v { + for _, yyv4711 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4721 := &yyv4720 - yy4721.CodecEncodeSelf(e) + yy4712 := &yyv4711 + yy4712.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59428,83 +59346,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4722 := *v - yyh4722, yyl4722 := z.DecSliceHelperStart() - var yyc4722 bool - if yyl4722 == 0 { - if yyv4722 == nil { - yyv4722 = []PodTemplate{} - yyc4722 = true - } else if len(yyv4722) != 0 { - yyv4722 = yyv4722[:0] - yyc4722 = true + yyv4713 := *v + yyh4713, yyl4713 := z.DecSliceHelperStart() + var yyc4713 bool + if yyl4713 == 0 { + if yyv4713 == nil { + yyv4713 = []PodTemplate{} + yyc4713 = true + } else if len(yyv4713) != 0 { + yyv4713 = yyv4713[:0] + yyc4713 = true } - } else if yyl4722 > 0 { - var yyrr4722, yyrl4722 int - var yyrt4722 bool - if yyl4722 > cap(yyv4722) { + } else if yyl4713 > 0 { + var yyrr4713, yyrl4713 int + var yyrt4713 bool + if yyl4713 > cap(yyv4713) { - yyrg4722 := len(yyv4722) > 0 - yyv24722 := yyv4722 - yyrl4722, yyrt4722 = z.DecInferLen(yyl4722, z.DecBasicHandle().MaxInitLen, 704) - if yyrt4722 { - if yyrl4722 <= cap(yyv4722) { - yyv4722 = yyv4722[:yyrl4722] + yyrg4713 := len(yyv4713) > 0 + yyv24713 := yyv4713 + yyrl4713, yyrt4713 = z.DecInferLen(yyl4713, z.DecBasicHandle().MaxInitLen, 704) + if yyrt4713 { + if yyrl4713 <= cap(yyv4713) { + yyv4713 = yyv4713[:yyrl4713] } else { - yyv4722 = make([]PodTemplate, yyrl4722) + yyv4713 = make([]PodTemplate, yyrl4713) } } else { - yyv4722 = make([]PodTemplate, yyrl4722) + yyv4713 = make([]PodTemplate, yyrl4713) } - yyc4722 = true - yyrr4722 = len(yyv4722) - if yyrg4722 { - copy(yyv4722, yyv24722) + yyc4713 = true + yyrr4713 = len(yyv4713) + if yyrg4713 { + copy(yyv4713, yyv24713) } - } else if yyl4722 != len(yyv4722) { - yyv4722 = yyv4722[:yyl4722] - yyc4722 = true + } else if yyl4713 != len(yyv4713) { + yyv4713 = yyv4713[:yyl4713] + yyc4713 = true } - yyj4722 := 0 - for ; yyj4722 < yyrr4722; yyj4722++ { - yyh4722.ElemContainerState(yyj4722) + yyj4713 := 0 + for ; yyj4713 < yyrr4713; yyj4713++ { + yyh4713.ElemContainerState(yyj4713) if r.TryDecodeAsNil() { - yyv4722[yyj4722] = PodTemplate{} + yyv4713[yyj4713] = PodTemplate{} } else { - yyv4723 := &yyv4722[yyj4722] - yyv4723.CodecDecodeSelf(d) + yyv4714 := &yyv4713[yyj4713] + yyv4714.CodecDecodeSelf(d) } } - if yyrt4722 { - for ; yyj4722 < yyl4722; yyj4722++ { - yyv4722 = append(yyv4722, PodTemplate{}) - yyh4722.ElemContainerState(yyj4722) + if yyrt4713 { + for ; yyj4713 < yyl4713; yyj4713++ { + yyv4713 = append(yyv4713, PodTemplate{}) + yyh4713.ElemContainerState(yyj4713) if r.TryDecodeAsNil() { - yyv4722[yyj4722] = PodTemplate{} + yyv4713[yyj4713] = PodTemplate{} } else { - yyv4724 := &yyv4722[yyj4722] - yyv4724.CodecDecodeSelf(d) + yyv4715 := &yyv4713[yyj4713] + yyv4715.CodecDecodeSelf(d) } } } } else { - yyj4722 := 0 - for ; !r.CheckBreak(); yyj4722++ { + yyj4713 := 0 + for ; !r.CheckBreak(); yyj4713++ { - if yyj4722 >= len(yyv4722) { - yyv4722 = append(yyv4722, PodTemplate{}) // var yyz4722 PodTemplate - yyc4722 = true + if yyj4713 >= len(yyv4713) { + yyv4713 = append(yyv4713, PodTemplate{}) // var yyz4713 PodTemplate + yyc4713 = true } - yyh4722.ElemContainerState(yyj4722) - if yyj4722 < len(yyv4722) { + yyh4713.ElemContainerState(yyj4713) + if yyj4713 < len(yyv4713) { if r.TryDecodeAsNil() { - yyv4722[yyj4722] = PodTemplate{} + yyv4713[yyj4713] = PodTemplate{} } else { - yyv4725 := &yyv4722[yyj4722] - yyv4725.CodecDecodeSelf(d) + yyv4716 := &yyv4713[yyj4713] + yyv4716.CodecDecodeSelf(d) } } else { @@ -59512,17 +59430,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj4722 < len(yyv4722) { - yyv4722 = yyv4722[:yyj4722] - yyc4722 = true - } else if yyj4722 == 0 && yyv4722 == nil { - yyv4722 = []PodTemplate{} - yyc4722 = true + if yyj4713 < len(yyv4713) { + yyv4713 = yyv4713[:yyj4713] + yyc4713 = true + } else if yyj4713 == 0 && yyv4713 == nil { + yyv4713 = []PodTemplate{} + yyc4713 = true } } - yyh4722.End() - if yyc4722 { - *v = yyv4722 + yyh4713.End() + if yyc4713 { + *v = yyv4713 } } @@ -59531,10 +59449,10 @@ func (x codecSelfer1234) encSliceReplicationControllerCondition(v []ReplicationC z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4726 := range v { + for _, yyv4717 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4727 := &yyv4726 - yy4727.CodecEncodeSelf(e) + yy4718 := &yyv4717 + yy4718.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59544,83 +59462,83 @@ func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]Replication z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4728 := *v - yyh4728, yyl4728 := z.DecSliceHelperStart() - var yyc4728 bool - if yyl4728 == 0 { - if yyv4728 == nil { - yyv4728 = []ReplicationControllerCondition{} - yyc4728 = true - } else if len(yyv4728) != 0 { - yyv4728 = yyv4728[:0] - yyc4728 = true + yyv4719 := *v + yyh4719, yyl4719 := z.DecSliceHelperStart() + var yyc4719 bool + if yyl4719 == 0 { + if yyv4719 == nil { + yyv4719 = []ReplicationControllerCondition{} + yyc4719 = true + } else if len(yyv4719) != 0 { + yyv4719 = yyv4719[:0] + yyc4719 = true } - } else if yyl4728 > 0 { - var yyrr4728, yyrl4728 int - var yyrt4728 bool - if yyl4728 > cap(yyv4728) { + } else if yyl4719 > 0 { + var yyrr4719, yyrl4719 int + var yyrt4719 bool + if yyl4719 > cap(yyv4719) { - yyrg4728 := len(yyv4728) > 0 - yyv24728 := yyv4728 - yyrl4728, yyrt4728 = z.DecInferLen(yyl4728, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4728 { - if yyrl4728 <= cap(yyv4728) { - yyv4728 = yyv4728[:yyrl4728] + yyrg4719 := len(yyv4719) > 0 + yyv24719 := yyv4719 + yyrl4719, yyrt4719 = z.DecInferLen(yyl4719, z.DecBasicHandle().MaxInitLen, 88) + if yyrt4719 { + if yyrl4719 <= cap(yyv4719) { + yyv4719 = yyv4719[:yyrl4719] } else { - yyv4728 = make([]ReplicationControllerCondition, yyrl4728) + yyv4719 = make([]ReplicationControllerCondition, yyrl4719) } } else { - yyv4728 = make([]ReplicationControllerCondition, yyrl4728) + yyv4719 = make([]ReplicationControllerCondition, yyrl4719) } - yyc4728 = true - yyrr4728 = len(yyv4728) - if yyrg4728 { - copy(yyv4728, yyv24728) + yyc4719 = true + yyrr4719 = len(yyv4719) + if yyrg4719 { + copy(yyv4719, yyv24719) } - } else if yyl4728 != len(yyv4728) { - yyv4728 = yyv4728[:yyl4728] - yyc4728 = true + } else if yyl4719 != len(yyv4719) { + yyv4719 = yyv4719[:yyl4719] + yyc4719 = true } - yyj4728 := 0 - for ; yyj4728 < yyrr4728; yyj4728++ { - yyh4728.ElemContainerState(yyj4728) + yyj4719 := 0 + for ; yyj4719 < yyrr4719; yyj4719++ { + yyh4719.ElemContainerState(yyj4719) if r.TryDecodeAsNil() { - yyv4728[yyj4728] = ReplicationControllerCondition{} + yyv4719[yyj4719] = ReplicationControllerCondition{} } else { - yyv4729 := &yyv4728[yyj4728] - yyv4729.CodecDecodeSelf(d) + yyv4720 := &yyv4719[yyj4719] + yyv4720.CodecDecodeSelf(d) } } - if yyrt4728 { - for ; yyj4728 < yyl4728; yyj4728++ { - yyv4728 = append(yyv4728, ReplicationControllerCondition{}) - yyh4728.ElemContainerState(yyj4728) + if yyrt4719 { + for ; yyj4719 < yyl4719; yyj4719++ { + yyv4719 = append(yyv4719, ReplicationControllerCondition{}) + yyh4719.ElemContainerState(yyj4719) if r.TryDecodeAsNil() { - yyv4728[yyj4728] = ReplicationControllerCondition{} + yyv4719[yyj4719] = ReplicationControllerCondition{} } else { - yyv4730 := &yyv4728[yyj4728] - yyv4730.CodecDecodeSelf(d) + yyv4721 := &yyv4719[yyj4719] + yyv4721.CodecDecodeSelf(d) } } } } else { - yyj4728 := 0 - for ; !r.CheckBreak(); yyj4728++ { + yyj4719 := 0 + for ; !r.CheckBreak(); yyj4719++ { - if yyj4728 >= len(yyv4728) { - yyv4728 = append(yyv4728, ReplicationControllerCondition{}) // var yyz4728 ReplicationControllerCondition - yyc4728 = true + if yyj4719 >= len(yyv4719) { + yyv4719 = append(yyv4719, ReplicationControllerCondition{}) // var yyz4719 ReplicationControllerCondition + yyc4719 = true } - yyh4728.ElemContainerState(yyj4728) - if yyj4728 < len(yyv4728) { + yyh4719.ElemContainerState(yyj4719) + if yyj4719 < len(yyv4719) { if r.TryDecodeAsNil() { - yyv4728[yyj4728] = ReplicationControllerCondition{} + yyv4719[yyj4719] = ReplicationControllerCondition{} } else { - yyv4731 := &yyv4728[yyj4728] - yyv4731.CodecDecodeSelf(d) + yyv4722 := &yyv4719[yyj4719] + yyv4722.CodecDecodeSelf(d) } } else { @@ -59628,17 +59546,17 @@ func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]Replication } } - if yyj4728 < len(yyv4728) { - yyv4728 = yyv4728[:yyj4728] - yyc4728 = true - } else if yyj4728 == 0 && yyv4728 == nil { - yyv4728 = []ReplicationControllerCondition{} - yyc4728 = true + if yyj4719 < len(yyv4719) { + yyv4719 = yyv4719[:yyj4719] + yyc4719 = true + } else if yyj4719 == 0 && yyv4719 == nil { + yyv4719 = []ReplicationControllerCondition{} + yyc4719 = true } } - yyh4728.End() - if yyc4728 { - *v = yyv4728 + yyh4719.End() + if yyc4719 { + *v = yyv4719 } } @@ -59647,10 +59565,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4732 := range v { + for _, yyv4723 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4733 := &yyv4732 - yy4733.CodecEncodeSelf(e) + yy4724 := &yyv4723 + yy4724.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59660,83 +59578,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4734 := *v - yyh4734, yyl4734 := z.DecSliceHelperStart() - var yyc4734 bool - if yyl4734 == 0 { - if yyv4734 == nil { - yyv4734 = []ReplicationController{} - yyc4734 = true - } else if len(yyv4734) != 0 { - yyv4734 = yyv4734[:0] - yyc4734 = true + yyv4725 := *v + yyh4725, yyl4725 := z.DecSliceHelperStart() + var yyc4725 bool + if yyl4725 == 0 { + if yyv4725 == nil { + yyv4725 = []ReplicationController{} + yyc4725 = true + } else if len(yyv4725) != 0 { + yyv4725 = yyv4725[:0] + yyc4725 = true } - } else if yyl4734 > 0 { - var yyrr4734, yyrl4734 int - var yyrt4734 bool - if yyl4734 > cap(yyv4734) { + } else if yyl4725 > 0 { + var yyrr4725, yyrl4725 int + var yyrt4725 bool + if yyl4725 > cap(yyv4725) { - yyrg4734 := len(yyv4734) > 0 - yyv24734 := yyv4734 - yyrl4734, yyrt4734 = z.DecInferLen(yyl4734, z.DecBasicHandle().MaxInitLen, 328) - if yyrt4734 { - if yyrl4734 <= cap(yyv4734) { - yyv4734 = yyv4734[:yyrl4734] + yyrg4725 := len(yyv4725) > 0 + yyv24725 := yyv4725 + yyrl4725, yyrt4725 = z.DecInferLen(yyl4725, z.DecBasicHandle().MaxInitLen, 328) + if yyrt4725 { + if yyrl4725 <= cap(yyv4725) { + yyv4725 = yyv4725[:yyrl4725] } else { - yyv4734 = make([]ReplicationController, yyrl4734) + yyv4725 = make([]ReplicationController, yyrl4725) } } else { - yyv4734 = make([]ReplicationController, yyrl4734) + yyv4725 = make([]ReplicationController, yyrl4725) } - yyc4734 = true - yyrr4734 = len(yyv4734) - if yyrg4734 { - copy(yyv4734, yyv24734) + yyc4725 = true + yyrr4725 = len(yyv4725) + if yyrg4725 { + copy(yyv4725, yyv24725) } - } else if yyl4734 != len(yyv4734) { - yyv4734 = yyv4734[:yyl4734] - yyc4734 = true + } else if yyl4725 != len(yyv4725) { + yyv4725 = yyv4725[:yyl4725] + yyc4725 = true } - yyj4734 := 0 - for ; yyj4734 < yyrr4734; yyj4734++ { - yyh4734.ElemContainerState(yyj4734) + yyj4725 := 0 + for ; yyj4725 < yyrr4725; yyj4725++ { + yyh4725.ElemContainerState(yyj4725) if r.TryDecodeAsNil() { - yyv4734[yyj4734] = ReplicationController{} + yyv4725[yyj4725] = ReplicationController{} } else { - yyv4735 := &yyv4734[yyj4734] - yyv4735.CodecDecodeSelf(d) + yyv4726 := &yyv4725[yyj4725] + yyv4726.CodecDecodeSelf(d) } } - if yyrt4734 { - for ; yyj4734 < yyl4734; yyj4734++ { - yyv4734 = append(yyv4734, ReplicationController{}) - yyh4734.ElemContainerState(yyj4734) + if yyrt4725 { + for ; yyj4725 < yyl4725; yyj4725++ { + yyv4725 = append(yyv4725, ReplicationController{}) + yyh4725.ElemContainerState(yyj4725) if r.TryDecodeAsNil() { - yyv4734[yyj4734] = ReplicationController{} + yyv4725[yyj4725] = ReplicationController{} } else { - yyv4736 := &yyv4734[yyj4734] - yyv4736.CodecDecodeSelf(d) + yyv4727 := &yyv4725[yyj4725] + yyv4727.CodecDecodeSelf(d) } } } } else { - yyj4734 := 0 - for ; !r.CheckBreak(); yyj4734++ { + yyj4725 := 0 + for ; !r.CheckBreak(); yyj4725++ { - if yyj4734 >= len(yyv4734) { - yyv4734 = append(yyv4734, ReplicationController{}) // var yyz4734 ReplicationController - yyc4734 = true + if yyj4725 >= len(yyv4725) { + yyv4725 = append(yyv4725, ReplicationController{}) // var yyz4725 ReplicationController + yyc4725 = true } - yyh4734.ElemContainerState(yyj4734) - if yyj4734 < len(yyv4734) { + yyh4725.ElemContainerState(yyj4725) + if yyj4725 < len(yyv4725) { if r.TryDecodeAsNil() { - yyv4734[yyj4734] = ReplicationController{} + yyv4725[yyj4725] = ReplicationController{} } else { - yyv4737 := &yyv4734[yyj4734] - yyv4737.CodecDecodeSelf(d) + yyv4728 := &yyv4725[yyj4725] + yyv4728.CodecDecodeSelf(d) } } else { @@ -59744,17 +59662,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj4734 < len(yyv4734) { - yyv4734 = yyv4734[:yyj4734] - yyc4734 = true - } else if yyj4734 == 0 && yyv4734 == nil { - yyv4734 = []ReplicationController{} - yyc4734 = true + if yyj4725 < len(yyv4725) { + yyv4725 = yyv4725[:yyj4725] + yyc4725 = true + } else if yyj4725 == 0 && yyv4725 == nil { + yyv4725 = []ReplicationController{} + yyc4725 = true } } - yyh4734.End() - if yyc4734 { - *v = yyv4734 + yyh4725.End() + if yyc4725 { + *v = yyv4725 } } @@ -59763,10 +59681,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4738 := range v { + for _, yyv4729 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4739 := &yyv4738 - yy4739.CodecEncodeSelf(e) + yy4730 := &yyv4729 + yy4730.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59776,83 +59694,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4740 := *v - yyh4740, yyl4740 := z.DecSliceHelperStart() - var yyc4740 bool - if yyl4740 == 0 { - if yyv4740 == nil { - yyv4740 = []Service{} - yyc4740 = true - } else if len(yyv4740) != 0 { - yyv4740 = yyv4740[:0] - yyc4740 = true + yyv4731 := *v + yyh4731, yyl4731 := z.DecSliceHelperStart() + var yyc4731 bool + if yyl4731 == 0 { + if yyv4731 == nil { + yyv4731 = []Service{} + yyc4731 = true + } else if len(yyv4731) != 0 { + yyv4731 = yyv4731[:0] + yyc4731 = true } - } else if yyl4740 > 0 { - var yyrr4740, yyrl4740 int - var yyrt4740 bool - if yyl4740 > cap(yyv4740) { + } else if yyl4731 > 0 { + var yyrr4731, yyrl4731 int + var yyrt4731 bool + if yyl4731 > cap(yyv4731) { - yyrg4740 := len(yyv4740) > 0 - yyv24740 := yyv4740 - yyrl4740, yyrt4740 = z.DecInferLen(yyl4740, z.DecBasicHandle().MaxInitLen, 440) - if yyrt4740 { - if yyrl4740 <= cap(yyv4740) { - yyv4740 = yyv4740[:yyrl4740] + yyrg4731 := len(yyv4731) > 0 + yyv24731 := yyv4731 + yyrl4731, yyrt4731 = z.DecInferLen(yyl4731, z.DecBasicHandle().MaxInitLen, 440) + if yyrt4731 { + if yyrl4731 <= cap(yyv4731) { + yyv4731 = yyv4731[:yyrl4731] } else { - yyv4740 = make([]Service, yyrl4740) + yyv4731 = make([]Service, yyrl4731) } } else { - yyv4740 = make([]Service, yyrl4740) + yyv4731 = make([]Service, yyrl4731) } - yyc4740 = true - yyrr4740 = len(yyv4740) - if yyrg4740 { - copy(yyv4740, yyv24740) + yyc4731 = true + yyrr4731 = len(yyv4731) + if yyrg4731 { + copy(yyv4731, yyv24731) } - } else if yyl4740 != len(yyv4740) { - yyv4740 = yyv4740[:yyl4740] - yyc4740 = true + } else if yyl4731 != len(yyv4731) { + yyv4731 = yyv4731[:yyl4731] + yyc4731 = true } - yyj4740 := 0 - for ; yyj4740 < yyrr4740; yyj4740++ { - yyh4740.ElemContainerState(yyj4740) + yyj4731 := 0 + for ; yyj4731 < yyrr4731; yyj4731++ { + yyh4731.ElemContainerState(yyj4731) if r.TryDecodeAsNil() { - yyv4740[yyj4740] = Service{} + yyv4731[yyj4731] = Service{} } else { - yyv4741 := &yyv4740[yyj4740] - yyv4741.CodecDecodeSelf(d) + yyv4732 := &yyv4731[yyj4731] + yyv4732.CodecDecodeSelf(d) } } - if yyrt4740 { - for ; yyj4740 < yyl4740; yyj4740++ { - yyv4740 = append(yyv4740, Service{}) - yyh4740.ElemContainerState(yyj4740) + if yyrt4731 { + for ; yyj4731 < yyl4731; yyj4731++ { + yyv4731 = append(yyv4731, Service{}) + yyh4731.ElemContainerState(yyj4731) if r.TryDecodeAsNil() { - yyv4740[yyj4740] = Service{} + yyv4731[yyj4731] = Service{} } else { - yyv4742 := &yyv4740[yyj4740] - yyv4742.CodecDecodeSelf(d) + yyv4733 := &yyv4731[yyj4731] + yyv4733.CodecDecodeSelf(d) } } } } else { - yyj4740 := 0 - for ; !r.CheckBreak(); yyj4740++ { + yyj4731 := 0 + for ; !r.CheckBreak(); yyj4731++ { - if yyj4740 >= len(yyv4740) { - yyv4740 = append(yyv4740, Service{}) // var yyz4740 Service - yyc4740 = true + if yyj4731 >= len(yyv4731) { + yyv4731 = append(yyv4731, Service{}) // var yyz4731 Service + yyc4731 = true } - yyh4740.ElemContainerState(yyj4740) - if yyj4740 < len(yyv4740) { + yyh4731.ElemContainerState(yyj4731) + if yyj4731 < len(yyv4731) { if r.TryDecodeAsNil() { - yyv4740[yyj4740] = Service{} + yyv4731[yyj4731] = Service{} } else { - yyv4743 := &yyv4740[yyj4740] - yyv4743.CodecDecodeSelf(d) + yyv4734 := &yyv4731[yyj4731] + yyv4734.CodecDecodeSelf(d) } } else { @@ -59860,17 +59778,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj4740 < len(yyv4740) { - yyv4740 = yyv4740[:yyj4740] - yyc4740 = true - } else if yyj4740 == 0 && yyv4740 == nil { - yyv4740 = []Service{} - yyc4740 = true + if yyj4731 < len(yyv4731) { + yyv4731 = yyv4731[:yyj4731] + yyc4731 = true + } else if yyj4731 == 0 && yyv4731 == nil { + yyv4731 = []Service{} + yyc4731 = true } } - yyh4740.End() - if yyc4740 { - *v = yyv4740 + yyh4731.End() + if yyc4731 { + *v = yyv4731 } } @@ -59879,10 +59797,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4744 := range v { + for _, yyv4735 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4745 := &yyv4744 - yy4745.CodecEncodeSelf(e) + yy4736 := &yyv4735 + yy4736.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59892,83 +59810,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4746 := *v - yyh4746, yyl4746 := z.DecSliceHelperStart() - var yyc4746 bool - if yyl4746 == 0 { - if yyv4746 == nil { - yyv4746 = []LoadBalancerIngress{} - yyc4746 = true - } else if len(yyv4746) != 0 { - yyv4746 = yyv4746[:0] - yyc4746 = true + yyv4737 := *v + yyh4737, yyl4737 := z.DecSliceHelperStart() + var yyc4737 bool + if yyl4737 == 0 { + if yyv4737 == nil { + yyv4737 = []LoadBalancerIngress{} + yyc4737 = true + } else if len(yyv4737) != 0 { + yyv4737 = yyv4737[:0] + yyc4737 = true } - } else if yyl4746 > 0 { - var yyrr4746, yyrl4746 int - var yyrt4746 bool - if yyl4746 > cap(yyv4746) { + } else if yyl4737 > 0 { + var yyrr4737, yyrl4737 int + var yyrt4737 bool + if yyl4737 > cap(yyv4737) { - yyrg4746 := len(yyv4746) > 0 - yyv24746 := yyv4746 - yyrl4746, yyrt4746 = z.DecInferLen(yyl4746, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4746 { - if yyrl4746 <= cap(yyv4746) { - yyv4746 = yyv4746[:yyrl4746] + yyrg4737 := len(yyv4737) > 0 + yyv24737 := yyv4737 + yyrl4737, yyrt4737 = z.DecInferLen(yyl4737, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4737 { + if yyrl4737 <= cap(yyv4737) { + yyv4737 = yyv4737[:yyrl4737] } else { - yyv4746 = make([]LoadBalancerIngress, yyrl4746) + yyv4737 = make([]LoadBalancerIngress, yyrl4737) } } else { - yyv4746 = make([]LoadBalancerIngress, yyrl4746) + yyv4737 = make([]LoadBalancerIngress, yyrl4737) } - yyc4746 = true - yyrr4746 = len(yyv4746) - if yyrg4746 { - copy(yyv4746, yyv24746) + yyc4737 = true + yyrr4737 = len(yyv4737) + if yyrg4737 { + copy(yyv4737, yyv24737) } - } else if yyl4746 != len(yyv4746) { - yyv4746 = yyv4746[:yyl4746] - yyc4746 = true + } else if yyl4737 != len(yyv4737) { + yyv4737 = yyv4737[:yyl4737] + yyc4737 = true } - yyj4746 := 0 - for ; yyj4746 < yyrr4746; yyj4746++ { - yyh4746.ElemContainerState(yyj4746) + yyj4737 := 0 + for ; yyj4737 < yyrr4737; yyj4737++ { + yyh4737.ElemContainerState(yyj4737) if r.TryDecodeAsNil() { - yyv4746[yyj4746] = LoadBalancerIngress{} + yyv4737[yyj4737] = LoadBalancerIngress{} } else { - yyv4747 := &yyv4746[yyj4746] - yyv4747.CodecDecodeSelf(d) + yyv4738 := &yyv4737[yyj4737] + yyv4738.CodecDecodeSelf(d) } } - if yyrt4746 { - for ; yyj4746 < yyl4746; yyj4746++ { - yyv4746 = append(yyv4746, LoadBalancerIngress{}) - yyh4746.ElemContainerState(yyj4746) + if yyrt4737 { + for ; yyj4737 < yyl4737; yyj4737++ { + yyv4737 = append(yyv4737, LoadBalancerIngress{}) + yyh4737.ElemContainerState(yyj4737) if r.TryDecodeAsNil() { - yyv4746[yyj4746] = LoadBalancerIngress{} + yyv4737[yyj4737] = LoadBalancerIngress{} } else { - yyv4748 := &yyv4746[yyj4746] - yyv4748.CodecDecodeSelf(d) + yyv4739 := &yyv4737[yyj4737] + yyv4739.CodecDecodeSelf(d) } } } } else { - yyj4746 := 0 - for ; !r.CheckBreak(); yyj4746++ { + yyj4737 := 0 + for ; !r.CheckBreak(); yyj4737++ { - if yyj4746 >= len(yyv4746) { - yyv4746 = append(yyv4746, LoadBalancerIngress{}) // var yyz4746 LoadBalancerIngress - yyc4746 = true + if yyj4737 >= len(yyv4737) { + yyv4737 = append(yyv4737, LoadBalancerIngress{}) // var yyz4737 LoadBalancerIngress + yyc4737 = true } - yyh4746.ElemContainerState(yyj4746) - if yyj4746 < len(yyv4746) { + yyh4737.ElemContainerState(yyj4737) + if yyj4737 < len(yyv4737) { if r.TryDecodeAsNil() { - yyv4746[yyj4746] = LoadBalancerIngress{} + yyv4737[yyj4737] = LoadBalancerIngress{} } else { - yyv4749 := &yyv4746[yyj4746] - yyv4749.CodecDecodeSelf(d) + yyv4740 := &yyv4737[yyj4737] + yyv4740.CodecDecodeSelf(d) } } else { @@ -59976,17 +59894,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj4746 < len(yyv4746) { - yyv4746 = yyv4746[:yyj4746] - yyc4746 = true - } else if yyj4746 == 0 && yyv4746 == nil { - yyv4746 = []LoadBalancerIngress{} - yyc4746 = true + if yyj4737 < len(yyv4737) { + yyv4737 = yyv4737[:yyj4737] + yyc4737 = true + } else if yyj4737 == 0 && yyv4737 == nil { + yyv4737 = []LoadBalancerIngress{} + yyc4737 = true } } - yyh4746.End() - if yyc4746 { - *v = yyv4746 + yyh4737.End() + if yyc4737 { + *v = yyv4737 } } @@ -59995,10 +59913,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4750 := range v { + for _, yyv4741 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4751 := &yyv4750 - yy4751.CodecEncodeSelf(e) + yy4742 := &yyv4741 + yy4742.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60008,83 +59926,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4752 := *v - yyh4752, yyl4752 := z.DecSliceHelperStart() - var yyc4752 bool - if yyl4752 == 0 { - if yyv4752 == nil { - yyv4752 = []ServicePort{} - yyc4752 = true - } else if len(yyv4752) != 0 { - yyv4752 = yyv4752[:0] - yyc4752 = true + yyv4743 := *v + yyh4743, yyl4743 := z.DecSliceHelperStart() + var yyc4743 bool + if yyl4743 == 0 { + if yyv4743 == nil { + yyv4743 = []ServicePort{} + yyc4743 = true + } else if len(yyv4743) != 0 { + yyv4743 = yyv4743[:0] + yyc4743 = true } - } else if yyl4752 > 0 { - var yyrr4752, yyrl4752 int - var yyrt4752 bool - if yyl4752 > cap(yyv4752) { + } else if yyl4743 > 0 { + var yyrr4743, yyrl4743 int + var yyrt4743 bool + if yyl4743 > cap(yyv4743) { - yyrg4752 := len(yyv4752) > 0 - yyv24752 := yyv4752 - yyrl4752, yyrt4752 = z.DecInferLen(yyl4752, z.DecBasicHandle().MaxInitLen, 80) - if yyrt4752 { - if yyrl4752 <= cap(yyv4752) { - yyv4752 = yyv4752[:yyrl4752] + yyrg4743 := len(yyv4743) > 0 + yyv24743 := yyv4743 + yyrl4743, yyrt4743 = z.DecInferLen(yyl4743, z.DecBasicHandle().MaxInitLen, 80) + if yyrt4743 { + if yyrl4743 <= cap(yyv4743) { + yyv4743 = yyv4743[:yyrl4743] } else { - yyv4752 = make([]ServicePort, yyrl4752) + yyv4743 = make([]ServicePort, yyrl4743) } } else { - yyv4752 = make([]ServicePort, yyrl4752) + yyv4743 = make([]ServicePort, yyrl4743) } - yyc4752 = true - yyrr4752 = len(yyv4752) - if yyrg4752 { - copy(yyv4752, yyv24752) + yyc4743 = true + yyrr4743 = len(yyv4743) + if yyrg4743 { + copy(yyv4743, yyv24743) } - } else if yyl4752 != len(yyv4752) { - yyv4752 = yyv4752[:yyl4752] - yyc4752 = true + } else if yyl4743 != len(yyv4743) { + yyv4743 = yyv4743[:yyl4743] + yyc4743 = true } - yyj4752 := 0 - for ; yyj4752 < yyrr4752; yyj4752++ { - yyh4752.ElemContainerState(yyj4752) + yyj4743 := 0 + for ; yyj4743 < yyrr4743; yyj4743++ { + yyh4743.ElemContainerState(yyj4743) if r.TryDecodeAsNil() { - yyv4752[yyj4752] = ServicePort{} + yyv4743[yyj4743] = ServicePort{} } else { - yyv4753 := &yyv4752[yyj4752] - yyv4753.CodecDecodeSelf(d) + yyv4744 := &yyv4743[yyj4743] + yyv4744.CodecDecodeSelf(d) } } - if yyrt4752 { - for ; yyj4752 < yyl4752; yyj4752++ { - yyv4752 = append(yyv4752, ServicePort{}) - yyh4752.ElemContainerState(yyj4752) + if yyrt4743 { + for ; yyj4743 < yyl4743; yyj4743++ { + yyv4743 = append(yyv4743, ServicePort{}) + yyh4743.ElemContainerState(yyj4743) if r.TryDecodeAsNil() { - yyv4752[yyj4752] = ServicePort{} + yyv4743[yyj4743] = ServicePort{} } else { - yyv4754 := &yyv4752[yyj4752] - yyv4754.CodecDecodeSelf(d) + yyv4745 := &yyv4743[yyj4743] + yyv4745.CodecDecodeSelf(d) } } } } else { - yyj4752 := 0 - for ; !r.CheckBreak(); yyj4752++ { + yyj4743 := 0 + for ; !r.CheckBreak(); yyj4743++ { - if yyj4752 >= len(yyv4752) { - yyv4752 = append(yyv4752, ServicePort{}) // var yyz4752 ServicePort - yyc4752 = true + if yyj4743 >= len(yyv4743) { + yyv4743 = append(yyv4743, ServicePort{}) // var yyz4743 ServicePort + yyc4743 = true } - yyh4752.ElemContainerState(yyj4752) - if yyj4752 < len(yyv4752) { + yyh4743.ElemContainerState(yyj4743) + if yyj4743 < len(yyv4743) { if r.TryDecodeAsNil() { - yyv4752[yyj4752] = ServicePort{} + yyv4743[yyj4743] = ServicePort{} } else { - yyv4755 := &yyv4752[yyj4752] - yyv4755.CodecDecodeSelf(d) + yyv4746 := &yyv4743[yyj4743] + yyv4746.CodecDecodeSelf(d) } } else { @@ -60092,17 +60010,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj4752 < len(yyv4752) { - yyv4752 = yyv4752[:yyj4752] - yyc4752 = true - } else if yyj4752 == 0 && yyv4752 == nil { - yyv4752 = []ServicePort{} - yyc4752 = true + if yyj4743 < len(yyv4743) { + yyv4743 = yyv4743[:yyj4743] + yyc4743 = true + } else if yyj4743 == 0 && yyv4743 == nil { + yyv4743 = []ServicePort{} + yyc4743 = true } } - yyh4752.End() - if yyc4752 { - *v = yyv4752 + yyh4743.End() + if yyc4743 { + *v = yyv4743 } } @@ -60111,10 +60029,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4756 := range v { + for _, yyv4747 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4757 := &yyv4756 - yy4757.CodecEncodeSelf(e) + yy4748 := &yyv4747 + yy4748.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60124,83 +60042,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4758 := *v - yyh4758, yyl4758 := z.DecSliceHelperStart() - var yyc4758 bool - if yyl4758 == 0 { - if yyv4758 == nil { - yyv4758 = []ObjectReference{} - yyc4758 = true - } else if len(yyv4758) != 0 { - yyv4758 = yyv4758[:0] - yyc4758 = true + yyv4749 := *v + yyh4749, yyl4749 := z.DecSliceHelperStart() + var yyc4749 bool + if yyl4749 == 0 { + if yyv4749 == nil { + yyv4749 = []ObjectReference{} + yyc4749 = true + } else if len(yyv4749) != 0 { + yyv4749 = yyv4749[:0] + yyc4749 = true } - } else if yyl4758 > 0 { - var yyrr4758, yyrl4758 int - var yyrt4758 bool - if yyl4758 > cap(yyv4758) { + } else if yyl4749 > 0 { + var yyrr4749, yyrl4749 int + var yyrt4749 bool + if yyl4749 > cap(yyv4749) { - yyrg4758 := len(yyv4758) > 0 - yyv24758 := yyv4758 - yyrl4758, yyrt4758 = z.DecInferLen(yyl4758, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4758 { - if yyrl4758 <= cap(yyv4758) { - yyv4758 = yyv4758[:yyrl4758] + yyrg4749 := len(yyv4749) > 0 + yyv24749 := yyv4749 + yyrl4749, yyrt4749 = z.DecInferLen(yyl4749, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4749 { + if yyrl4749 <= cap(yyv4749) { + yyv4749 = yyv4749[:yyrl4749] } else { - yyv4758 = make([]ObjectReference, yyrl4758) + yyv4749 = make([]ObjectReference, yyrl4749) } } else { - yyv4758 = make([]ObjectReference, yyrl4758) + yyv4749 = make([]ObjectReference, yyrl4749) } - yyc4758 = true - yyrr4758 = len(yyv4758) - if yyrg4758 { - copy(yyv4758, yyv24758) + yyc4749 = true + yyrr4749 = len(yyv4749) + if yyrg4749 { + copy(yyv4749, yyv24749) } - } else if yyl4758 != len(yyv4758) { - yyv4758 = yyv4758[:yyl4758] - yyc4758 = true + } else if yyl4749 != len(yyv4749) { + yyv4749 = yyv4749[:yyl4749] + yyc4749 = true } - yyj4758 := 0 - for ; yyj4758 < yyrr4758; yyj4758++ { - yyh4758.ElemContainerState(yyj4758) + yyj4749 := 0 + for ; yyj4749 < yyrr4749; yyj4749++ { + yyh4749.ElemContainerState(yyj4749) if r.TryDecodeAsNil() { - yyv4758[yyj4758] = ObjectReference{} + yyv4749[yyj4749] = ObjectReference{} } else { - yyv4759 := &yyv4758[yyj4758] - yyv4759.CodecDecodeSelf(d) + yyv4750 := &yyv4749[yyj4749] + yyv4750.CodecDecodeSelf(d) } } - if yyrt4758 { - for ; yyj4758 < yyl4758; yyj4758++ { - yyv4758 = append(yyv4758, ObjectReference{}) - yyh4758.ElemContainerState(yyj4758) + if yyrt4749 { + for ; yyj4749 < yyl4749; yyj4749++ { + yyv4749 = append(yyv4749, ObjectReference{}) + yyh4749.ElemContainerState(yyj4749) if r.TryDecodeAsNil() { - yyv4758[yyj4758] = ObjectReference{} + yyv4749[yyj4749] = ObjectReference{} } else { - yyv4760 := &yyv4758[yyj4758] - yyv4760.CodecDecodeSelf(d) + yyv4751 := &yyv4749[yyj4749] + yyv4751.CodecDecodeSelf(d) } } } } else { - yyj4758 := 0 - for ; !r.CheckBreak(); yyj4758++ { + yyj4749 := 0 + for ; !r.CheckBreak(); yyj4749++ { - if yyj4758 >= len(yyv4758) { - yyv4758 = append(yyv4758, ObjectReference{}) // var yyz4758 ObjectReference - yyc4758 = true + if yyj4749 >= len(yyv4749) { + yyv4749 = append(yyv4749, ObjectReference{}) // var yyz4749 ObjectReference + yyc4749 = true } - yyh4758.ElemContainerState(yyj4758) - if yyj4758 < len(yyv4758) { + yyh4749.ElemContainerState(yyj4749) + if yyj4749 < len(yyv4749) { if r.TryDecodeAsNil() { - yyv4758[yyj4758] = ObjectReference{} + yyv4749[yyj4749] = ObjectReference{} } else { - yyv4761 := &yyv4758[yyj4758] - yyv4761.CodecDecodeSelf(d) + yyv4752 := &yyv4749[yyj4749] + yyv4752.CodecDecodeSelf(d) } } else { @@ -60208,17 +60126,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj4758 < len(yyv4758) { - yyv4758 = yyv4758[:yyj4758] - yyc4758 = true - } else if yyj4758 == 0 && yyv4758 == nil { - yyv4758 = []ObjectReference{} - yyc4758 = true + if yyj4749 < len(yyv4749) { + yyv4749 = yyv4749[:yyj4749] + yyc4749 = true + } else if yyj4749 == 0 && yyv4749 == nil { + yyv4749 = []ObjectReference{} + yyc4749 = true } } - yyh4758.End() - if yyc4758 { - *v = yyv4758 + yyh4749.End() + if yyc4749 { + *v = yyv4749 } } @@ -60227,10 +60145,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4762 := range v { + for _, yyv4753 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4763 := &yyv4762 - yy4763.CodecEncodeSelf(e) + yy4754 := &yyv4753 + yy4754.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60240,83 +60158,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4764 := *v - yyh4764, yyl4764 := z.DecSliceHelperStart() - var yyc4764 bool - if yyl4764 == 0 { - if yyv4764 == nil { - yyv4764 = []ServiceAccount{} - yyc4764 = true - } else if len(yyv4764) != 0 { - yyv4764 = yyv4764[:0] - yyc4764 = true + yyv4755 := *v + yyh4755, yyl4755 := z.DecSliceHelperStart() + var yyc4755 bool + if yyl4755 == 0 { + if yyv4755 == nil { + yyv4755 = []ServiceAccount{} + yyc4755 = true + } else if len(yyv4755) != 0 { + yyv4755 = yyv4755[:0] + yyc4755 = true } - } else if yyl4764 > 0 { - var yyrr4764, yyrl4764 int - var yyrt4764 bool - if yyl4764 > cap(yyv4764) { + } else if yyl4755 > 0 { + var yyrr4755, yyrl4755 int + var yyrt4755 bool + if yyl4755 > cap(yyv4755) { - yyrg4764 := len(yyv4764) > 0 - yyv24764 := yyv4764 - yyrl4764, yyrt4764 = z.DecInferLen(yyl4764, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4764 { - if yyrl4764 <= cap(yyv4764) { - yyv4764 = yyv4764[:yyrl4764] + yyrg4755 := len(yyv4755) > 0 + yyv24755 := yyv4755 + yyrl4755, yyrt4755 = z.DecInferLen(yyl4755, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4755 { + if yyrl4755 <= cap(yyv4755) { + yyv4755 = yyv4755[:yyrl4755] } else { - yyv4764 = make([]ServiceAccount, yyrl4764) + yyv4755 = make([]ServiceAccount, yyrl4755) } } else { - yyv4764 = make([]ServiceAccount, yyrl4764) + yyv4755 = make([]ServiceAccount, yyrl4755) } - yyc4764 = true - yyrr4764 = len(yyv4764) - if yyrg4764 { - copy(yyv4764, yyv24764) + yyc4755 = true + yyrr4755 = len(yyv4755) + if yyrg4755 { + copy(yyv4755, yyv24755) } - } else if yyl4764 != len(yyv4764) { - yyv4764 = yyv4764[:yyl4764] - yyc4764 = true + } else if yyl4755 != len(yyv4755) { + yyv4755 = yyv4755[:yyl4755] + yyc4755 = true } - yyj4764 := 0 - for ; yyj4764 < yyrr4764; yyj4764++ { - yyh4764.ElemContainerState(yyj4764) + yyj4755 := 0 + for ; yyj4755 < yyrr4755; yyj4755++ { + yyh4755.ElemContainerState(yyj4755) if r.TryDecodeAsNil() { - yyv4764[yyj4764] = ServiceAccount{} + yyv4755[yyj4755] = ServiceAccount{} } else { - yyv4765 := &yyv4764[yyj4764] - yyv4765.CodecDecodeSelf(d) + yyv4756 := &yyv4755[yyj4755] + yyv4756.CodecDecodeSelf(d) } } - if yyrt4764 { - for ; yyj4764 < yyl4764; yyj4764++ { - yyv4764 = append(yyv4764, ServiceAccount{}) - yyh4764.ElemContainerState(yyj4764) + if yyrt4755 { + for ; yyj4755 < yyl4755; yyj4755++ { + yyv4755 = append(yyv4755, ServiceAccount{}) + yyh4755.ElemContainerState(yyj4755) if r.TryDecodeAsNil() { - yyv4764[yyj4764] = ServiceAccount{} + yyv4755[yyj4755] = ServiceAccount{} } else { - yyv4766 := &yyv4764[yyj4764] - yyv4766.CodecDecodeSelf(d) + yyv4757 := &yyv4755[yyj4755] + yyv4757.CodecDecodeSelf(d) } } } } else { - yyj4764 := 0 - for ; !r.CheckBreak(); yyj4764++ { + yyj4755 := 0 + for ; !r.CheckBreak(); yyj4755++ { - if yyj4764 >= len(yyv4764) { - yyv4764 = append(yyv4764, ServiceAccount{}) // var yyz4764 ServiceAccount - yyc4764 = true + if yyj4755 >= len(yyv4755) { + yyv4755 = append(yyv4755, ServiceAccount{}) // var yyz4755 ServiceAccount + yyc4755 = true } - yyh4764.ElemContainerState(yyj4764) - if yyj4764 < len(yyv4764) { + yyh4755.ElemContainerState(yyj4755) + if yyj4755 < len(yyv4755) { if r.TryDecodeAsNil() { - yyv4764[yyj4764] = ServiceAccount{} + yyv4755[yyj4755] = ServiceAccount{} } else { - yyv4767 := &yyv4764[yyj4764] - yyv4767.CodecDecodeSelf(d) + yyv4758 := &yyv4755[yyj4755] + yyv4758.CodecDecodeSelf(d) } } else { @@ -60324,17 +60242,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj4764 < len(yyv4764) { - yyv4764 = yyv4764[:yyj4764] - yyc4764 = true - } else if yyj4764 == 0 && yyv4764 == nil { - yyv4764 = []ServiceAccount{} - yyc4764 = true + if yyj4755 < len(yyv4755) { + yyv4755 = yyv4755[:yyj4755] + yyc4755 = true + } else if yyj4755 == 0 && yyv4755 == nil { + yyv4755 = []ServiceAccount{} + yyc4755 = true } } - yyh4764.End() - if yyc4764 { - *v = yyv4764 + yyh4755.End() + if yyc4755 { + *v = yyv4755 } } @@ -60343,10 +60261,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4768 := range v { + for _, yyv4759 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4769 := &yyv4768 - yy4769.CodecEncodeSelf(e) + yy4760 := &yyv4759 + yy4760.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60356,83 +60274,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4770 := *v - yyh4770, yyl4770 := z.DecSliceHelperStart() - var yyc4770 bool - if yyl4770 == 0 { - if yyv4770 == nil { - yyv4770 = []EndpointSubset{} - yyc4770 = true - } else if len(yyv4770) != 0 { - yyv4770 = yyv4770[:0] - yyc4770 = true + yyv4761 := *v + yyh4761, yyl4761 := z.DecSliceHelperStart() + var yyc4761 bool + if yyl4761 == 0 { + if yyv4761 == nil { + yyv4761 = []EndpointSubset{} + yyc4761 = true + } else if len(yyv4761) != 0 { + yyv4761 = yyv4761[:0] + yyc4761 = true } - } else if yyl4770 > 0 { - var yyrr4770, yyrl4770 int - var yyrt4770 bool - if yyl4770 > cap(yyv4770) { + } else if yyl4761 > 0 { + var yyrr4761, yyrl4761 int + var yyrt4761 bool + if yyl4761 > cap(yyv4761) { - yyrg4770 := len(yyv4770) > 0 - yyv24770 := yyv4770 - yyrl4770, yyrt4770 = z.DecInferLen(yyl4770, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4770 { - if yyrl4770 <= cap(yyv4770) { - yyv4770 = yyv4770[:yyrl4770] + yyrg4761 := len(yyv4761) > 0 + yyv24761 := yyv4761 + yyrl4761, yyrt4761 = z.DecInferLen(yyl4761, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4761 { + if yyrl4761 <= cap(yyv4761) { + yyv4761 = yyv4761[:yyrl4761] } else { - yyv4770 = make([]EndpointSubset, yyrl4770) + yyv4761 = make([]EndpointSubset, yyrl4761) } } else { - yyv4770 = make([]EndpointSubset, yyrl4770) + yyv4761 = make([]EndpointSubset, yyrl4761) } - yyc4770 = true - yyrr4770 = len(yyv4770) - if yyrg4770 { - copy(yyv4770, yyv24770) + yyc4761 = true + yyrr4761 = len(yyv4761) + if yyrg4761 { + copy(yyv4761, yyv24761) } - } else if yyl4770 != len(yyv4770) { - yyv4770 = yyv4770[:yyl4770] - yyc4770 = true + } else if yyl4761 != len(yyv4761) { + yyv4761 = yyv4761[:yyl4761] + yyc4761 = true } - yyj4770 := 0 - for ; yyj4770 < yyrr4770; yyj4770++ { - yyh4770.ElemContainerState(yyj4770) + yyj4761 := 0 + for ; yyj4761 < yyrr4761; yyj4761++ { + yyh4761.ElemContainerState(yyj4761) if r.TryDecodeAsNil() { - yyv4770[yyj4770] = EndpointSubset{} + yyv4761[yyj4761] = EndpointSubset{} } else { - yyv4771 := &yyv4770[yyj4770] - yyv4771.CodecDecodeSelf(d) + yyv4762 := &yyv4761[yyj4761] + yyv4762.CodecDecodeSelf(d) } } - if yyrt4770 { - for ; yyj4770 < yyl4770; yyj4770++ { - yyv4770 = append(yyv4770, EndpointSubset{}) - yyh4770.ElemContainerState(yyj4770) + if yyrt4761 { + for ; yyj4761 < yyl4761; yyj4761++ { + yyv4761 = append(yyv4761, EndpointSubset{}) + yyh4761.ElemContainerState(yyj4761) if r.TryDecodeAsNil() { - yyv4770[yyj4770] = EndpointSubset{} + yyv4761[yyj4761] = EndpointSubset{} } else { - yyv4772 := &yyv4770[yyj4770] - yyv4772.CodecDecodeSelf(d) + yyv4763 := &yyv4761[yyj4761] + yyv4763.CodecDecodeSelf(d) } } } } else { - yyj4770 := 0 - for ; !r.CheckBreak(); yyj4770++ { + yyj4761 := 0 + for ; !r.CheckBreak(); yyj4761++ { - if yyj4770 >= len(yyv4770) { - yyv4770 = append(yyv4770, EndpointSubset{}) // var yyz4770 EndpointSubset - yyc4770 = true + if yyj4761 >= len(yyv4761) { + yyv4761 = append(yyv4761, EndpointSubset{}) // var yyz4761 EndpointSubset + yyc4761 = true } - yyh4770.ElemContainerState(yyj4770) - if yyj4770 < len(yyv4770) { + yyh4761.ElemContainerState(yyj4761) + if yyj4761 < len(yyv4761) { if r.TryDecodeAsNil() { - yyv4770[yyj4770] = EndpointSubset{} + yyv4761[yyj4761] = EndpointSubset{} } else { - yyv4773 := &yyv4770[yyj4770] - yyv4773.CodecDecodeSelf(d) + yyv4764 := &yyv4761[yyj4761] + yyv4764.CodecDecodeSelf(d) } } else { @@ -60440,17 +60358,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj4770 < len(yyv4770) { - yyv4770 = yyv4770[:yyj4770] - yyc4770 = true - } else if yyj4770 == 0 && yyv4770 == nil { - yyv4770 = []EndpointSubset{} - yyc4770 = true + if yyj4761 < len(yyv4761) { + yyv4761 = yyv4761[:yyj4761] + yyc4761 = true + } else if yyj4761 == 0 && yyv4761 == nil { + yyv4761 = []EndpointSubset{} + yyc4761 = true } } - yyh4770.End() - if yyc4770 { - *v = yyv4770 + yyh4761.End() + if yyc4761 { + *v = yyv4761 } } @@ -60459,10 +60377,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4774 := range v { + for _, yyv4765 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4775 := &yyv4774 - yy4775.CodecEncodeSelf(e) + yy4766 := &yyv4765 + yy4766.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60472,83 +60390,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4776 := *v - yyh4776, yyl4776 := z.DecSliceHelperStart() - var yyc4776 bool - if yyl4776 == 0 { - if yyv4776 == nil { - yyv4776 = []EndpointAddress{} - yyc4776 = true - } else if len(yyv4776) != 0 { - yyv4776 = yyv4776[:0] - yyc4776 = true + yyv4767 := *v + yyh4767, yyl4767 := z.DecSliceHelperStart() + var yyc4767 bool + if yyl4767 == 0 { + if yyv4767 == nil { + yyv4767 = []EndpointAddress{} + yyc4767 = true + } else if len(yyv4767) != 0 { + yyv4767 = yyv4767[:0] + yyc4767 = true } - } else if yyl4776 > 0 { - var yyrr4776, yyrl4776 int - var yyrt4776 bool - if yyl4776 > cap(yyv4776) { + } else if yyl4767 > 0 { + var yyrr4767, yyrl4767 int + var yyrt4767 bool + if yyl4767 > cap(yyv4767) { - yyrg4776 := len(yyv4776) > 0 - yyv24776 := yyv4776 - yyrl4776, yyrt4776 = z.DecInferLen(yyl4776, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4776 { - if yyrl4776 <= cap(yyv4776) { - yyv4776 = yyv4776[:yyrl4776] + yyrg4767 := len(yyv4767) > 0 + yyv24767 := yyv4767 + yyrl4767, yyrt4767 = z.DecInferLen(yyl4767, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4767 { + if yyrl4767 <= cap(yyv4767) { + yyv4767 = yyv4767[:yyrl4767] } else { - yyv4776 = make([]EndpointAddress, yyrl4776) + yyv4767 = make([]EndpointAddress, yyrl4767) } } else { - yyv4776 = make([]EndpointAddress, yyrl4776) + yyv4767 = make([]EndpointAddress, yyrl4767) } - yyc4776 = true - yyrr4776 = len(yyv4776) - if yyrg4776 { - copy(yyv4776, yyv24776) + yyc4767 = true + yyrr4767 = len(yyv4767) + if yyrg4767 { + copy(yyv4767, yyv24767) } - } else if yyl4776 != len(yyv4776) { - yyv4776 = yyv4776[:yyl4776] - yyc4776 = true + } else if yyl4767 != len(yyv4767) { + yyv4767 = yyv4767[:yyl4767] + yyc4767 = true } - yyj4776 := 0 - for ; yyj4776 < yyrr4776; yyj4776++ { - yyh4776.ElemContainerState(yyj4776) + yyj4767 := 0 + for ; yyj4767 < yyrr4767; yyj4767++ { + yyh4767.ElemContainerState(yyj4767) if r.TryDecodeAsNil() { - yyv4776[yyj4776] = EndpointAddress{} + yyv4767[yyj4767] = EndpointAddress{} } else { - yyv4777 := &yyv4776[yyj4776] - yyv4777.CodecDecodeSelf(d) + yyv4768 := &yyv4767[yyj4767] + yyv4768.CodecDecodeSelf(d) } } - if yyrt4776 { - for ; yyj4776 < yyl4776; yyj4776++ { - yyv4776 = append(yyv4776, EndpointAddress{}) - yyh4776.ElemContainerState(yyj4776) + if yyrt4767 { + for ; yyj4767 < yyl4767; yyj4767++ { + yyv4767 = append(yyv4767, EndpointAddress{}) + yyh4767.ElemContainerState(yyj4767) if r.TryDecodeAsNil() { - yyv4776[yyj4776] = EndpointAddress{} + yyv4767[yyj4767] = EndpointAddress{} } else { - yyv4778 := &yyv4776[yyj4776] - yyv4778.CodecDecodeSelf(d) + yyv4769 := &yyv4767[yyj4767] + yyv4769.CodecDecodeSelf(d) } } } } else { - yyj4776 := 0 - for ; !r.CheckBreak(); yyj4776++ { + yyj4767 := 0 + for ; !r.CheckBreak(); yyj4767++ { - if yyj4776 >= len(yyv4776) { - yyv4776 = append(yyv4776, EndpointAddress{}) // var yyz4776 EndpointAddress - yyc4776 = true + if yyj4767 >= len(yyv4767) { + yyv4767 = append(yyv4767, EndpointAddress{}) // var yyz4767 EndpointAddress + yyc4767 = true } - yyh4776.ElemContainerState(yyj4776) - if yyj4776 < len(yyv4776) { + yyh4767.ElemContainerState(yyj4767) + if yyj4767 < len(yyv4767) { if r.TryDecodeAsNil() { - yyv4776[yyj4776] = EndpointAddress{} + yyv4767[yyj4767] = EndpointAddress{} } else { - yyv4779 := &yyv4776[yyj4776] - yyv4779.CodecDecodeSelf(d) + yyv4770 := &yyv4767[yyj4767] + yyv4770.CodecDecodeSelf(d) } } else { @@ -60556,17 +60474,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj4776 < len(yyv4776) { - yyv4776 = yyv4776[:yyj4776] - yyc4776 = true - } else if yyj4776 == 0 && yyv4776 == nil { - yyv4776 = []EndpointAddress{} - yyc4776 = true + if yyj4767 < len(yyv4767) { + yyv4767 = yyv4767[:yyj4767] + yyc4767 = true + } else if yyj4767 == 0 && yyv4767 == nil { + yyv4767 = []EndpointAddress{} + yyc4767 = true } } - yyh4776.End() - if yyc4776 { - *v = yyv4776 + yyh4767.End() + if yyc4767 { + *v = yyv4767 } } @@ -60575,10 +60493,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4780 := range v { + for _, yyv4771 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4781 := &yyv4780 - yy4781.CodecEncodeSelf(e) + yy4772 := &yyv4771 + yy4772.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60588,83 +60506,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4782 := *v - yyh4782, yyl4782 := z.DecSliceHelperStart() - var yyc4782 bool - if yyl4782 == 0 { - if yyv4782 == nil { - yyv4782 = []EndpointPort{} - yyc4782 = true - } else if len(yyv4782) != 0 { - yyv4782 = yyv4782[:0] - yyc4782 = true + yyv4773 := *v + yyh4773, yyl4773 := z.DecSliceHelperStart() + var yyc4773 bool + if yyl4773 == 0 { + if yyv4773 == nil { + yyv4773 = []EndpointPort{} + yyc4773 = true + } else if len(yyv4773) != 0 { + yyv4773 = yyv4773[:0] + yyc4773 = true } - } else if yyl4782 > 0 { - var yyrr4782, yyrl4782 int - var yyrt4782 bool - if yyl4782 > cap(yyv4782) { + } else if yyl4773 > 0 { + var yyrr4773, yyrl4773 int + var yyrt4773 bool + if yyl4773 > cap(yyv4773) { - yyrg4782 := len(yyv4782) > 0 - yyv24782 := yyv4782 - yyrl4782, yyrt4782 = z.DecInferLen(yyl4782, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4782 { - if yyrl4782 <= cap(yyv4782) { - yyv4782 = yyv4782[:yyrl4782] + yyrg4773 := len(yyv4773) > 0 + yyv24773 := yyv4773 + yyrl4773, yyrt4773 = z.DecInferLen(yyl4773, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4773 { + if yyrl4773 <= cap(yyv4773) { + yyv4773 = yyv4773[:yyrl4773] } else { - yyv4782 = make([]EndpointPort, yyrl4782) + yyv4773 = make([]EndpointPort, yyrl4773) } } else { - yyv4782 = make([]EndpointPort, yyrl4782) + yyv4773 = make([]EndpointPort, yyrl4773) } - yyc4782 = true - yyrr4782 = len(yyv4782) - if yyrg4782 { - copy(yyv4782, yyv24782) + yyc4773 = true + yyrr4773 = len(yyv4773) + if yyrg4773 { + copy(yyv4773, yyv24773) } - } else if yyl4782 != len(yyv4782) { - yyv4782 = yyv4782[:yyl4782] - yyc4782 = true + } else if yyl4773 != len(yyv4773) { + yyv4773 = yyv4773[:yyl4773] + yyc4773 = true } - yyj4782 := 0 - for ; yyj4782 < yyrr4782; yyj4782++ { - yyh4782.ElemContainerState(yyj4782) + yyj4773 := 0 + for ; yyj4773 < yyrr4773; yyj4773++ { + yyh4773.ElemContainerState(yyj4773) if r.TryDecodeAsNil() { - yyv4782[yyj4782] = EndpointPort{} + yyv4773[yyj4773] = EndpointPort{} } else { - yyv4783 := &yyv4782[yyj4782] - yyv4783.CodecDecodeSelf(d) + yyv4774 := &yyv4773[yyj4773] + yyv4774.CodecDecodeSelf(d) } } - if yyrt4782 { - for ; yyj4782 < yyl4782; yyj4782++ { - yyv4782 = append(yyv4782, EndpointPort{}) - yyh4782.ElemContainerState(yyj4782) + if yyrt4773 { + for ; yyj4773 < yyl4773; yyj4773++ { + yyv4773 = append(yyv4773, EndpointPort{}) + yyh4773.ElemContainerState(yyj4773) if r.TryDecodeAsNil() { - yyv4782[yyj4782] = EndpointPort{} + yyv4773[yyj4773] = EndpointPort{} } else { - yyv4784 := &yyv4782[yyj4782] - yyv4784.CodecDecodeSelf(d) + yyv4775 := &yyv4773[yyj4773] + yyv4775.CodecDecodeSelf(d) } } } } else { - yyj4782 := 0 - for ; !r.CheckBreak(); yyj4782++ { + yyj4773 := 0 + for ; !r.CheckBreak(); yyj4773++ { - if yyj4782 >= len(yyv4782) { - yyv4782 = append(yyv4782, EndpointPort{}) // var yyz4782 EndpointPort - yyc4782 = true + if yyj4773 >= len(yyv4773) { + yyv4773 = append(yyv4773, EndpointPort{}) // var yyz4773 EndpointPort + yyc4773 = true } - yyh4782.ElemContainerState(yyj4782) - if yyj4782 < len(yyv4782) { + yyh4773.ElemContainerState(yyj4773) + if yyj4773 < len(yyv4773) { if r.TryDecodeAsNil() { - yyv4782[yyj4782] = EndpointPort{} + yyv4773[yyj4773] = EndpointPort{} } else { - yyv4785 := &yyv4782[yyj4782] - yyv4785.CodecDecodeSelf(d) + yyv4776 := &yyv4773[yyj4773] + yyv4776.CodecDecodeSelf(d) } } else { @@ -60672,17 +60590,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj4782 < len(yyv4782) { - yyv4782 = yyv4782[:yyj4782] - yyc4782 = true - } else if yyj4782 == 0 && yyv4782 == nil { - yyv4782 = []EndpointPort{} - yyc4782 = true + if yyj4773 < len(yyv4773) { + yyv4773 = yyv4773[:yyj4773] + yyc4773 = true + } else if yyj4773 == 0 && yyv4773 == nil { + yyv4773 = []EndpointPort{} + yyc4773 = true } } - yyh4782.End() - if yyc4782 { - *v = yyv4782 + yyh4773.End() + if yyc4773 { + *v = yyv4773 } } @@ -60691,10 +60609,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4786 := range v { + for _, yyv4777 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4787 := &yyv4786 - yy4787.CodecEncodeSelf(e) + yy4778 := &yyv4777 + yy4778.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60704,83 +60622,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4788 := *v - yyh4788, yyl4788 := z.DecSliceHelperStart() - var yyc4788 bool - if yyl4788 == 0 { - if yyv4788 == nil { - yyv4788 = []Endpoints{} - yyc4788 = true - } else if len(yyv4788) != 0 { - yyv4788 = yyv4788[:0] - yyc4788 = true + yyv4779 := *v + yyh4779, yyl4779 := z.DecSliceHelperStart() + var yyc4779 bool + if yyl4779 == 0 { + if yyv4779 == nil { + yyv4779 = []Endpoints{} + yyc4779 = true + } else if len(yyv4779) != 0 { + yyv4779 = yyv4779[:0] + yyc4779 = true } - } else if yyl4788 > 0 { - var yyrr4788, yyrl4788 int - var yyrt4788 bool - if yyl4788 > cap(yyv4788) { + } else if yyl4779 > 0 { + var yyrr4779, yyrl4779 int + var yyrt4779 bool + if yyl4779 > cap(yyv4779) { - yyrg4788 := len(yyv4788) > 0 - yyv24788 := yyv4788 - yyrl4788, yyrt4788 = z.DecInferLen(yyl4788, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4788 { - if yyrl4788 <= cap(yyv4788) { - yyv4788 = yyv4788[:yyrl4788] + yyrg4779 := len(yyv4779) > 0 + yyv24779 := yyv4779 + yyrl4779, yyrt4779 = z.DecInferLen(yyl4779, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4779 { + if yyrl4779 <= cap(yyv4779) { + yyv4779 = yyv4779[:yyrl4779] } else { - yyv4788 = make([]Endpoints, yyrl4788) + yyv4779 = make([]Endpoints, yyrl4779) } } else { - yyv4788 = make([]Endpoints, yyrl4788) + yyv4779 = make([]Endpoints, yyrl4779) } - yyc4788 = true - yyrr4788 = len(yyv4788) - if yyrg4788 { - copy(yyv4788, yyv24788) + yyc4779 = true + yyrr4779 = len(yyv4779) + if yyrg4779 { + copy(yyv4779, yyv24779) } - } else if yyl4788 != len(yyv4788) { - yyv4788 = yyv4788[:yyl4788] - yyc4788 = true + } else if yyl4779 != len(yyv4779) { + yyv4779 = yyv4779[:yyl4779] + yyc4779 = true } - yyj4788 := 0 - for ; yyj4788 < yyrr4788; yyj4788++ { - yyh4788.ElemContainerState(yyj4788) + yyj4779 := 0 + for ; yyj4779 < yyrr4779; yyj4779++ { + yyh4779.ElemContainerState(yyj4779) if r.TryDecodeAsNil() { - yyv4788[yyj4788] = Endpoints{} + yyv4779[yyj4779] = Endpoints{} } else { - yyv4789 := &yyv4788[yyj4788] - yyv4789.CodecDecodeSelf(d) + yyv4780 := &yyv4779[yyj4779] + yyv4780.CodecDecodeSelf(d) } } - if yyrt4788 { - for ; yyj4788 < yyl4788; yyj4788++ { - yyv4788 = append(yyv4788, Endpoints{}) - yyh4788.ElemContainerState(yyj4788) + if yyrt4779 { + for ; yyj4779 < yyl4779; yyj4779++ { + yyv4779 = append(yyv4779, Endpoints{}) + yyh4779.ElemContainerState(yyj4779) if r.TryDecodeAsNil() { - yyv4788[yyj4788] = Endpoints{} + yyv4779[yyj4779] = Endpoints{} } else { - yyv4790 := &yyv4788[yyj4788] - yyv4790.CodecDecodeSelf(d) + yyv4781 := &yyv4779[yyj4779] + yyv4781.CodecDecodeSelf(d) } } } } else { - yyj4788 := 0 - for ; !r.CheckBreak(); yyj4788++ { + yyj4779 := 0 + for ; !r.CheckBreak(); yyj4779++ { - if yyj4788 >= len(yyv4788) { - yyv4788 = append(yyv4788, Endpoints{}) // var yyz4788 Endpoints - yyc4788 = true + if yyj4779 >= len(yyv4779) { + yyv4779 = append(yyv4779, Endpoints{}) // var yyz4779 Endpoints + yyc4779 = true } - yyh4788.ElemContainerState(yyj4788) - if yyj4788 < len(yyv4788) { + yyh4779.ElemContainerState(yyj4779) + if yyj4779 < len(yyv4779) { if r.TryDecodeAsNil() { - yyv4788[yyj4788] = Endpoints{} + yyv4779[yyj4779] = Endpoints{} } else { - yyv4791 := &yyv4788[yyj4788] - yyv4791.CodecDecodeSelf(d) + yyv4782 := &yyv4779[yyj4779] + yyv4782.CodecDecodeSelf(d) } } else { @@ -60788,17 +60706,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj4788 < len(yyv4788) { - yyv4788 = yyv4788[:yyj4788] - yyc4788 = true - } else if yyj4788 == 0 && yyv4788 == nil { - yyv4788 = []Endpoints{} - yyc4788 = true + if yyj4779 < len(yyv4779) { + yyv4779 = yyv4779[:yyj4779] + yyc4779 = true + } else if yyj4779 == 0 && yyv4779 == nil { + yyv4779 = []Endpoints{} + yyc4779 = true } } - yyh4788.End() - if yyc4788 { - *v = yyv4788 + yyh4779.End() + if yyc4779 { + *v = yyv4779 } } @@ -60807,10 +60725,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4792 := range v { + for _, yyv4783 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4793 := &yyv4792 - yy4793.CodecEncodeSelf(e) + yy4784 := &yyv4783 + yy4784.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60820,83 +60738,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4794 := *v - yyh4794, yyl4794 := z.DecSliceHelperStart() - var yyc4794 bool - if yyl4794 == 0 { - if yyv4794 == nil { - yyv4794 = []NodeCondition{} - yyc4794 = true - } else if len(yyv4794) != 0 { - yyv4794 = yyv4794[:0] - yyc4794 = true + yyv4785 := *v + yyh4785, yyl4785 := z.DecSliceHelperStart() + var yyc4785 bool + if yyl4785 == 0 { + if yyv4785 == nil { + yyv4785 = []NodeCondition{} + yyc4785 = true + } else if len(yyv4785) != 0 { + yyv4785 = yyv4785[:0] + yyc4785 = true } - } else if yyl4794 > 0 { - var yyrr4794, yyrl4794 int - var yyrt4794 bool - if yyl4794 > cap(yyv4794) { + } else if yyl4785 > 0 { + var yyrr4785, yyrl4785 int + var yyrt4785 bool + if yyl4785 > cap(yyv4785) { - yyrg4794 := len(yyv4794) > 0 - yyv24794 := yyv4794 - yyrl4794, yyrt4794 = z.DecInferLen(yyl4794, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4794 { - if yyrl4794 <= cap(yyv4794) { - yyv4794 = yyv4794[:yyrl4794] + yyrg4785 := len(yyv4785) > 0 + yyv24785 := yyv4785 + yyrl4785, yyrt4785 = z.DecInferLen(yyl4785, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4785 { + if yyrl4785 <= cap(yyv4785) { + yyv4785 = yyv4785[:yyrl4785] } else { - yyv4794 = make([]NodeCondition, yyrl4794) + yyv4785 = make([]NodeCondition, yyrl4785) } } else { - yyv4794 = make([]NodeCondition, yyrl4794) + yyv4785 = make([]NodeCondition, yyrl4785) } - yyc4794 = true - yyrr4794 = len(yyv4794) - if yyrg4794 { - copy(yyv4794, yyv24794) + yyc4785 = true + yyrr4785 = len(yyv4785) + if yyrg4785 { + copy(yyv4785, yyv24785) } - } else if yyl4794 != len(yyv4794) { - yyv4794 = yyv4794[:yyl4794] - yyc4794 = true + } else if yyl4785 != len(yyv4785) { + yyv4785 = yyv4785[:yyl4785] + yyc4785 = true } - yyj4794 := 0 - for ; yyj4794 < yyrr4794; yyj4794++ { - yyh4794.ElemContainerState(yyj4794) + yyj4785 := 0 + for ; yyj4785 < yyrr4785; yyj4785++ { + yyh4785.ElemContainerState(yyj4785) if r.TryDecodeAsNil() { - yyv4794[yyj4794] = NodeCondition{} + yyv4785[yyj4785] = NodeCondition{} } else { - yyv4795 := &yyv4794[yyj4794] - yyv4795.CodecDecodeSelf(d) + yyv4786 := &yyv4785[yyj4785] + yyv4786.CodecDecodeSelf(d) } } - if yyrt4794 { - for ; yyj4794 < yyl4794; yyj4794++ { - yyv4794 = append(yyv4794, NodeCondition{}) - yyh4794.ElemContainerState(yyj4794) + if yyrt4785 { + for ; yyj4785 < yyl4785; yyj4785++ { + yyv4785 = append(yyv4785, NodeCondition{}) + yyh4785.ElemContainerState(yyj4785) if r.TryDecodeAsNil() { - yyv4794[yyj4794] = NodeCondition{} + yyv4785[yyj4785] = NodeCondition{} } else { - yyv4796 := &yyv4794[yyj4794] - yyv4796.CodecDecodeSelf(d) + yyv4787 := &yyv4785[yyj4785] + yyv4787.CodecDecodeSelf(d) } } } } else { - yyj4794 := 0 - for ; !r.CheckBreak(); yyj4794++ { + yyj4785 := 0 + for ; !r.CheckBreak(); yyj4785++ { - if yyj4794 >= len(yyv4794) { - yyv4794 = append(yyv4794, NodeCondition{}) // var yyz4794 NodeCondition - yyc4794 = true + if yyj4785 >= len(yyv4785) { + yyv4785 = append(yyv4785, NodeCondition{}) // var yyz4785 NodeCondition + yyc4785 = true } - yyh4794.ElemContainerState(yyj4794) - if yyj4794 < len(yyv4794) { + yyh4785.ElemContainerState(yyj4785) + if yyj4785 < len(yyv4785) { if r.TryDecodeAsNil() { - yyv4794[yyj4794] = NodeCondition{} + yyv4785[yyj4785] = NodeCondition{} } else { - yyv4797 := &yyv4794[yyj4794] - yyv4797.CodecDecodeSelf(d) + yyv4788 := &yyv4785[yyj4785] + yyv4788.CodecDecodeSelf(d) } } else { @@ -60904,17 +60822,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj4794 < len(yyv4794) { - yyv4794 = yyv4794[:yyj4794] - yyc4794 = true - } else if yyj4794 == 0 && yyv4794 == nil { - yyv4794 = []NodeCondition{} - yyc4794 = true + if yyj4785 < len(yyv4785) { + yyv4785 = yyv4785[:yyj4785] + yyc4785 = true + } else if yyj4785 == 0 && yyv4785 == nil { + yyv4785 = []NodeCondition{} + yyc4785 = true } } - yyh4794.End() - if yyc4794 { - *v = yyv4794 + yyh4785.End() + if yyc4785 { + *v = yyv4785 } } @@ -60923,10 +60841,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4798 := range v { + for _, yyv4789 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4799 := &yyv4798 - yy4799.CodecEncodeSelf(e) + yy4790 := &yyv4789 + yy4790.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60936,83 +60854,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4800 := *v - yyh4800, yyl4800 := z.DecSliceHelperStart() - var yyc4800 bool - if yyl4800 == 0 { - if yyv4800 == nil { - yyv4800 = []NodeAddress{} - yyc4800 = true - } else if len(yyv4800) != 0 { - yyv4800 = yyv4800[:0] - yyc4800 = true + yyv4791 := *v + yyh4791, yyl4791 := z.DecSliceHelperStart() + var yyc4791 bool + if yyl4791 == 0 { + if yyv4791 == nil { + yyv4791 = []NodeAddress{} + yyc4791 = true + } else if len(yyv4791) != 0 { + yyv4791 = yyv4791[:0] + yyc4791 = true } - } else if yyl4800 > 0 { - var yyrr4800, yyrl4800 int - var yyrt4800 bool - if yyl4800 > cap(yyv4800) { + } else if yyl4791 > 0 { + var yyrr4791, yyrl4791 int + var yyrt4791 bool + if yyl4791 > cap(yyv4791) { - yyrg4800 := len(yyv4800) > 0 - yyv24800 := yyv4800 - yyrl4800, yyrt4800 = z.DecInferLen(yyl4800, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4800 { - if yyrl4800 <= cap(yyv4800) { - yyv4800 = yyv4800[:yyrl4800] + yyrg4791 := len(yyv4791) > 0 + yyv24791 := yyv4791 + yyrl4791, yyrt4791 = z.DecInferLen(yyl4791, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4791 { + if yyrl4791 <= cap(yyv4791) { + yyv4791 = yyv4791[:yyrl4791] } else { - yyv4800 = make([]NodeAddress, yyrl4800) + yyv4791 = make([]NodeAddress, yyrl4791) } } else { - yyv4800 = make([]NodeAddress, yyrl4800) + yyv4791 = make([]NodeAddress, yyrl4791) } - yyc4800 = true - yyrr4800 = len(yyv4800) - if yyrg4800 { - copy(yyv4800, yyv24800) + yyc4791 = true + yyrr4791 = len(yyv4791) + if yyrg4791 { + copy(yyv4791, yyv24791) } - } else if yyl4800 != len(yyv4800) { - yyv4800 = yyv4800[:yyl4800] - yyc4800 = true + } else if yyl4791 != len(yyv4791) { + yyv4791 = yyv4791[:yyl4791] + yyc4791 = true } - yyj4800 := 0 - for ; yyj4800 < yyrr4800; yyj4800++ { - yyh4800.ElemContainerState(yyj4800) + yyj4791 := 0 + for ; yyj4791 < yyrr4791; yyj4791++ { + yyh4791.ElemContainerState(yyj4791) if r.TryDecodeAsNil() { - yyv4800[yyj4800] = NodeAddress{} + yyv4791[yyj4791] = NodeAddress{} } else { - yyv4801 := &yyv4800[yyj4800] - yyv4801.CodecDecodeSelf(d) + yyv4792 := &yyv4791[yyj4791] + yyv4792.CodecDecodeSelf(d) } } - if yyrt4800 { - for ; yyj4800 < yyl4800; yyj4800++ { - yyv4800 = append(yyv4800, NodeAddress{}) - yyh4800.ElemContainerState(yyj4800) + if yyrt4791 { + for ; yyj4791 < yyl4791; yyj4791++ { + yyv4791 = append(yyv4791, NodeAddress{}) + yyh4791.ElemContainerState(yyj4791) if r.TryDecodeAsNil() { - yyv4800[yyj4800] = NodeAddress{} + yyv4791[yyj4791] = NodeAddress{} } else { - yyv4802 := &yyv4800[yyj4800] - yyv4802.CodecDecodeSelf(d) + yyv4793 := &yyv4791[yyj4791] + yyv4793.CodecDecodeSelf(d) } } } } else { - yyj4800 := 0 - for ; !r.CheckBreak(); yyj4800++ { + yyj4791 := 0 + for ; !r.CheckBreak(); yyj4791++ { - if yyj4800 >= len(yyv4800) { - yyv4800 = append(yyv4800, NodeAddress{}) // var yyz4800 NodeAddress - yyc4800 = true + if yyj4791 >= len(yyv4791) { + yyv4791 = append(yyv4791, NodeAddress{}) // var yyz4791 NodeAddress + yyc4791 = true } - yyh4800.ElemContainerState(yyj4800) - if yyj4800 < len(yyv4800) { + yyh4791.ElemContainerState(yyj4791) + if yyj4791 < len(yyv4791) { if r.TryDecodeAsNil() { - yyv4800[yyj4800] = NodeAddress{} + yyv4791[yyj4791] = NodeAddress{} } else { - yyv4803 := &yyv4800[yyj4800] - yyv4803.CodecDecodeSelf(d) + yyv4794 := &yyv4791[yyj4791] + yyv4794.CodecDecodeSelf(d) } } else { @@ -61020,17 +60938,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj4800 < len(yyv4800) { - yyv4800 = yyv4800[:yyj4800] - yyc4800 = true - } else if yyj4800 == 0 && yyv4800 == nil { - yyv4800 = []NodeAddress{} - yyc4800 = true + if yyj4791 < len(yyv4791) { + yyv4791 = yyv4791[:yyj4791] + yyc4791 = true + } else if yyj4791 == 0 && yyv4791 == nil { + yyv4791 = []NodeAddress{} + yyc4791 = true } } - yyh4800.End() - if yyc4800 { - *v = yyv4800 + yyh4791.End() + if yyc4791 { + *v = yyv4791 } } @@ -61039,10 +60957,10 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4804 := range v { + for _, yyv4795 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4805 := &yyv4804 - yy4805.CodecEncodeSelf(e) + yy4796 := &yyv4795 + yy4796.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61052,83 +60970,83 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4806 := *v - yyh4806, yyl4806 := z.DecSliceHelperStart() - var yyc4806 bool - if yyl4806 == 0 { - if yyv4806 == nil { - yyv4806 = []ContainerImage{} - yyc4806 = true - } else if len(yyv4806) != 0 { - yyv4806 = yyv4806[:0] - yyc4806 = true + yyv4797 := *v + yyh4797, yyl4797 := z.DecSliceHelperStart() + var yyc4797 bool + if yyl4797 == 0 { + if yyv4797 == nil { + yyv4797 = []ContainerImage{} + yyc4797 = true + } else if len(yyv4797) != 0 { + yyv4797 = yyv4797[:0] + yyc4797 = true } - } else if yyl4806 > 0 { - var yyrr4806, yyrl4806 int - var yyrt4806 bool - if yyl4806 > cap(yyv4806) { + } else if yyl4797 > 0 { + var yyrr4797, yyrl4797 int + var yyrt4797 bool + if yyl4797 > cap(yyv4797) { - yyrg4806 := len(yyv4806) > 0 - yyv24806 := yyv4806 - yyrl4806, yyrt4806 = z.DecInferLen(yyl4806, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4806 { - if yyrl4806 <= cap(yyv4806) { - yyv4806 = yyv4806[:yyrl4806] + yyrg4797 := len(yyv4797) > 0 + yyv24797 := yyv4797 + yyrl4797, yyrt4797 = z.DecInferLen(yyl4797, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4797 { + if yyrl4797 <= cap(yyv4797) { + yyv4797 = yyv4797[:yyrl4797] } else { - yyv4806 = make([]ContainerImage, yyrl4806) + yyv4797 = make([]ContainerImage, yyrl4797) } } else { - yyv4806 = make([]ContainerImage, yyrl4806) + yyv4797 = make([]ContainerImage, yyrl4797) } - yyc4806 = true - yyrr4806 = len(yyv4806) - if yyrg4806 { - copy(yyv4806, yyv24806) + yyc4797 = true + yyrr4797 = len(yyv4797) + if yyrg4797 { + copy(yyv4797, yyv24797) } - } else if yyl4806 != len(yyv4806) { - yyv4806 = yyv4806[:yyl4806] - yyc4806 = true + } else if yyl4797 != len(yyv4797) { + yyv4797 = yyv4797[:yyl4797] + yyc4797 = true } - yyj4806 := 0 - for ; yyj4806 < yyrr4806; yyj4806++ { - yyh4806.ElemContainerState(yyj4806) + yyj4797 := 0 + for ; yyj4797 < yyrr4797; yyj4797++ { + yyh4797.ElemContainerState(yyj4797) if r.TryDecodeAsNil() { - yyv4806[yyj4806] = ContainerImage{} + yyv4797[yyj4797] = ContainerImage{} } else { - yyv4807 := &yyv4806[yyj4806] - yyv4807.CodecDecodeSelf(d) + yyv4798 := &yyv4797[yyj4797] + yyv4798.CodecDecodeSelf(d) } } - if yyrt4806 { - for ; yyj4806 < yyl4806; yyj4806++ { - yyv4806 = append(yyv4806, ContainerImage{}) - yyh4806.ElemContainerState(yyj4806) + if yyrt4797 { + for ; yyj4797 < yyl4797; yyj4797++ { + yyv4797 = append(yyv4797, ContainerImage{}) + yyh4797.ElemContainerState(yyj4797) if r.TryDecodeAsNil() { - yyv4806[yyj4806] = ContainerImage{} + yyv4797[yyj4797] = ContainerImage{} } else { - yyv4808 := &yyv4806[yyj4806] - yyv4808.CodecDecodeSelf(d) + yyv4799 := &yyv4797[yyj4797] + yyv4799.CodecDecodeSelf(d) } } } } else { - yyj4806 := 0 - for ; !r.CheckBreak(); yyj4806++ { + yyj4797 := 0 + for ; !r.CheckBreak(); yyj4797++ { - if yyj4806 >= len(yyv4806) { - yyv4806 = append(yyv4806, ContainerImage{}) // var yyz4806 ContainerImage - yyc4806 = true + if yyj4797 >= len(yyv4797) { + yyv4797 = append(yyv4797, ContainerImage{}) // var yyz4797 ContainerImage + yyc4797 = true } - yyh4806.ElemContainerState(yyj4806) - if yyj4806 < len(yyv4806) { + yyh4797.ElemContainerState(yyj4797) + if yyj4797 < len(yyv4797) { if r.TryDecodeAsNil() { - yyv4806[yyj4806] = ContainerImage{} + yyv4797[yyj4797] = ContainerImage{} } else { - yyv4809 := &yyv4806[yyj4806] - yyv4809.CodecDecodeSelf(d) + yyv4800 := &yyv4797[yyj4797] + yyv4800.CodecDecodeSelf(d) } } else { @@ -61136,17 +61054,17 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } - if yyj4806 < len(yyv4806) { - yyv4806 = yyv4806[:yyj4806] - yyc4806 = true - } else if yyj4806 == 0 && yyv4806 == nil { - yyv4806 = []ContainerImage{} - yyc4806 = true + if yyj4797 < len(yyv4797) { + yyv4797 = yyv4797[:yyj4797] + yyc4797 = true + } else if yyj4797 == 0 && yyv4797 == nil { + yyv4797 = []ContainerImage{} + yyc4797 = true } } - yyh4806.End() - if yyc4806 { - *v = yyv4806 + yyh4797.End() + if yyc4797 { + *v = yyv4797 } } @@ -61155,9 +61073,9 @@ func (x codecSelfer1234) encSliceUniqueVolumeName(v []UniqueVolumeName, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4810 := range v { + for _, yyv4801 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4810.CodecEncodeSelf(e) + yyv4801.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61167,75 +61085,75 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4811 := *v - yyh4811, yyl4811 := z.DecSliceHelperStart() - var yyc4811 bool - if yyl4811 == 0 { - if yyv4811 == nil { - yyv4811 = []UniqueVolumeName{} - yyc4811 = true - } else if len(yyv4811) != 0 { - yyv4811 = yyv4811[:0] - yyc4811 = true + yyv4802 := *v + yyh4802, yyl4802 := z.DecSliceHelperStart() + var yyc4802 bool + if yyl4802 == 0 { + if yyv4802 == nil { + yyv4802 = []UniqueVolumeName{} + yyc4802 = true + } else if len(yyv4802) != 0 { + yyv4802 = yyv4802[:0] + yyc4802 = true } - } else if yyl4811 > 0 { - var yyrr4811, yyrl4811 int - var yyrt4811 bool - if yyl4811 > cap(yyv4811) { + } else if yyl4802 > 0 { + var yyrr4802, yyrl4802 int + var yyrt4802 bool + if yyl4802 > cap(yyv4802) { - yyrl4811, yyrt4811 = z.DecInferLen(yyl4811, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4811 { - if yyrl4811 <= cap(yyv4811) { - yyv4811 = yyv4811[:yyrl4811] + yyrl4802, yyrt4802 = z.DecInferLen(yyl4802, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4802 { + if yyrl4802 <= cap(yyv4802) { + yyv4802 = yyv4802[:yyrl4802] } else { - yyv4811 = make([]UniqueVolumeName, yyrl4811) + yyv4802 = make([]UniqueVolumeName, yyrl4802) } } else { - yyv4811 = make([]UniqueVolumeName, yyrl4811) + yyv4802 = make([]UniqueVolumeName, yyrl4802) } - yyc4811 = true - yyrr4811 = len(yyv4811) - } else if yyl4811 != len(yyv4811) { - yyv4811 = yyv4811[:yyl4811] - yyc4811 = true + yyc4802 = true + yyrr4802 = len(yyv4802) + } else if yyl4802 != len(yyv4802) { + yyv4802 = yyv4802[:yyl4802] + yyc4802 = true } - yyj4811 := 0 - for ; yyj4811 < yyrr4811; yyj4811++ { - yyh4811.ElemContainerState(yyj4811) + yyj4802 := 0 + for ; yyj4802 < yyrr4802; yyj4802++ { + yyh4802.ElemContainerState(yyj4802) if r.TryDecodeAsNil() { - yyv4811[yyj4811] = "" + yyv4802[yyj4802] = "" } else { - yyv4811[yyj4811] = UniqueVolumeName(r.DecodeString()) + yyv4802[yyj4802] = UniqueVolumeName(r.DecodeString()) } } - if yyrt4811 { - for ; yyj4811 < yyl4811; yyj4811++ { - yyv4811 = append(yyv4811, "") - yyh4811.ElemContainerState(yyj4811) + if yyrt4802 { + for ; yyj4802 < yyl4802; yyj4802++ { + yyv4802 = append(yyv4802, "") + yyh4802.ElemContainerState(yyj4802) if r.TryDecodeAsNil() { - yyv4811[yyj4811] = "" + yyv4802[yyj4802] = "" } else { - yyv4811[yyj4811] = UniqueVolumeName(r.DecodeString()) + yyv4802[yyj4802] = UniqueVolumeName(r.DecodeString()) } } } } else { - yyj4811 := 0 - for ; !r.CheckBreak(); yyj4811++ { + yyj4802 := 0 + for ; !r.CheckBreak(); yyj4802++ { - if yyj4811 >= len(yyv4811) { - yyv4811 = append(yyv4811, "") // var yyz4811 UniqueVolumeName - yyc4811 = true + if yyj4802 >= len(yyv4802) { + yyv4802 = append(yyv4802, "") // var yyz4802 UniqueVolumeName + yyc4802 = true } - yyh4811.ElemContainerState(yyj4811) - if yyj4811 < len(yyv4811) { + yyh4802.ElemContainerState(yyj4802) + if yyj4802 < len(yyv4802) { if r.TryDecodeAsNil() { - yyv4811[yyj4811] = "" + yyv4802[yyj4802] = "" } else { - yyv4811[yyj4811] = UniqueVolumeName(r.DecodeString()) + yyv4802[yyj4802] = UniqueVolumeName(r.DecodeString()) } } else { @@ -61243,17 +61161,17 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code } } - if yyj4811 < len(yyv4811) { - yyv4811 = yyv4811[:yyj4811] - yyc4811 = true - } else if yyj4811 == 0 && yyv4811 == nil { - yyv4811 = []UniqueVolumeName{} - yyc4811 = true + if yyj4802 < len(yyv4802) { + yyv4802 = yyv4802[:yyj4802] + yyc4802 = true + } else if yyj4802 == 0 && yyv4802 == nil { + yyv4802 = []UniqueVolumeName{} + yyc4802 = true } } - yyh4811.End() - if yyc4811 { - *v = yyv4811 + yyh4802.End() + if yyc4802 { + *v = yyv4802 } } @@ -61262,10 +61180,10 @@ func (x codecSelfer1234) encSliceAttachedVolume(v []AttachedVolume, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4815 := range v { + for _, yyv4806 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4816 := &yyv4815 - yy4816.CodecEncodeSelf(e) + yy4807 := &yyv4806 + yy4807.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61275,83 +61193,83 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4817 := *v - yyh4817, yyl4817 := z.DecSliceHelperStart() - var yyc4817 bool - if yyl4817 == 0 { - if yyv4817 == nil { - yyv4817 = []AttachedVolume{} - yyc4817 = true - } else if len(yyv4817) != 0 { - yyv4817 = yyv4817[:0] - yyc4817 = true + yyv4808 := *v + yyh4808, yyl4808 := z.DecSliceHelperStart() + var yyc4808 bool + if yyl4808 == 0 { + if yyv4808 == nil { + yyv4808 = []AttachedVolume{} + yyc4808 = true + } else if len(yyv4808) != 0 { + yyv4808 = yyv4808[:0] + yyc4808 = true } - } else if yyl4817 > 0 { - var yyrr4817, yyrl4817 int - var yyrt4817 bool - if yyl4817 > cap(yyv4817) { + } else if yyl4808 > 0 { + var yyrr4808, yyrl4808 int + var yyrt4808 bool + if yyl4808 > cap(yyv4808) { - yyrg4817 := len(yyv4817) > 0 - yyv24817 := yyv4817 - yyrl4817, yyrt4817 = z.DecInferLen(yyl4817, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4817 { - if yyrl4817 <= cap(yyv4817) { - yyv4817 = yyv4817[:yyrl4817] + yyrg4808 := len(yyv4808) > 0 + yyv24808 := yyv4808 + yyrl4808, yyrt4808 = z.DecInferLen(yyl4808, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4808 { + if yyrl4808 <= cap(yyv4808) { + yyv4808 = yyv4808[:yyrl4808] } else { - yyv4817 = make([]AttachedVolume, yyrl4817) + yyv4808 = make([]AttachedVolume, yyrl4808) } } else { - yyv4817 = make([]AttachedVolume, yyrl4817) + yyv4808 = make([]AttachedVolume, yyrl4808) } - yyc4817 = true - yyrr4817 = len(yyv4817) - if yyrg4817 { - copy(yyv4817, yyv24817) + yyc4808 = true + yyrr4808 = len(yyv4808) + if yyrg4808 { + copy(yyv4808, yyv24808) } - } else if yyl4817 != len(yyv4817) { - yyv4817 = yyv4817[:yyl4817] - yyc4817 = true + } else if yyl4808 != len(yyv4808) { + yyv4808 = yyv4808[:yyl4808] + yyc4808 = true } - yyj4817 := 0 - for ; yyj4817 < yyrr4817; yyj4817++ { - yyh4817.ElemContainerState(yyj4817) + yyj4808 := 0 + for ; yyj4808 < yyrr4808; yyj4808++ { + yyh4808.ElemContainerState(yyj4808) if r.TryDecodeAsNil() { - yyv4817[yyj4817] = AttachedVolume{} + yyv4808[yyj4808] = AttachedVolume{} } else { - yyv4818 := &yyv4817[yyj4817] - yyv4818.CodecDecodeSelf(d) + yyv4809 := &yyv4808[yyj4808] + yyv4809.CodecDecodeSelf(d) } } - if yyrt4817 { - for ; yyj4817 < yyl4817; yyj4817++ { - yyv4817 = append(yyv4817, AttachedVolume{}) - yyh4817.ElemContainerState(yyj4817) + if yyrt4808 { + for ; yyj4808 < yyl4808; yyj4808++ { + yyv4808 = append(yyv4808, AttachedVolume{}) + yyh4808.ElemContainerState(yyj4808) if r.TryDecodeAsNil() { - yyv4817[yyj4817] = AttachedVolume{} + yyv4808[yyj4808] = AttachedVolume{} } else { - yyv4819 := &yyv4817[yyj4817] - yyv4819.CodecDecodeSelf(d) + yyv4810 := &yyv4808[yyj4808] + yyv4810.CodecDecodeSelf(d) } } } } else { - yyj4817 := 0 - for ; !r.CheckBreak(); yyj4817++ { + yyj4808 := 0 + for ; !r.CheckBreak(); yyj4808++ { - if yyj4817 >= len(yyv4817) { - yyv4817 = append(yyv4817, AttachedVolume{}) // var yyz4817 AttachedVolume - yyc4817 = true + if yyj4808 >= len(yyv4808) { + yyv4808 = append(yyv4808, AttachedVolume{}) // var yyz4808 AttachedVolume + yyc4808 = true } - yyh4817.ElemContainerState(yyj4817) - if yyj4817 < len(yyv4817) { + yyh4808.ElemContainerState(yyj4808) + if yyj4808 < len(yyv4808) { if r.TryDecodeAsNil() { - yyv4817[yyj4817] = AttachedVolume{} + yyv4808[yyj4808] = AttachedVolume{} } else { - yyv4820 := &yyv4817[yyj4817] - yyv4820.CodecDecodeSelf(d) + yyv4811 := &yyv4808[yyj4808] + yyv4811.CodecDecodeSelf(d) } } else { @@ -61359,17 +61277,17 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 } } - if yyj4817 < len(yyv4817) { - yyv4817 = yyv4817[:yyj4817] - yyc4817 = true - } else if yyj4817 == 0 && yyv4817 == nil { - yyv4817 = []AttachedVolume{} - yyc4817 = true + if yyj4808 < len(yyv4808) { + yyv4808 = yyv4808[:yyj4808] + yyc4808 = true + } else if yyj4808 == 0 && yyv4808 == nil { + yyv4808 = []AttachedVolume{} + yyc4808 = true } } - yyh4817.End() - if yyc4817 { - *v = yyv4817 + yyh4808.End() + if yyc4808 { + *v = yyv4808 } } @@ -61378,10 +61296,10 @@ func (x codecSelfer1234) encSlicePreferAvoidPodsEntry(v []PreferAvoidPodsEntry, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4821 := range v { + for _, yyv4812 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4822 := &yyv4821 - yy4822.CodecEncodeSelf(e) + yy4813 := &yyv4812 + yy4813.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61391,83 +61309,83 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4823 := *v - yyh4823, yyl4823 := z.DecSliceHelperStart() - var yyc4823 bool - if yyl4823 == 0 { - if yyv4823 == nil { - yyv4823 = []PreferAvoidPodsEntry{} - yyc4823 = true - } else if len(yyv4823) != 0 { - yyv4823 = yyv4823[:0] - yyc4823 = true + yyv4814 := *v + yyh4814, yyl4814 := z.DecSliceHelperStart() + var yyc4814 bool + if yyl4814 == 0 { + if yyv4814 == nil { + yyv4814 = []PreferAvoidPodsEntry{} + yyc4814 = true + } else if len(yyv4814) != 0 { + yyv4814 = yyv4814[:0] + yyc4814 = true } - } else if yyl4823 > 0 { - var yyrr4823, yyrl4823 int - var yyrt4823 bool - if yyl4823 > cap(yyv4823) { + } else if yyl4814 > 0 { + var yyrr4814, yyrl4814 int + var yyrt4814 bool + if yyl4814 > cap(yyv4814) { - yyrg4823 := len(yyv4823) > 0 - yyv24823 := yyv4823 - yyrl4823, yyrt4823 = z.DecInferLen(yyl4823, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4823 { - if yyrl4823 <= cap(yyv4823) { - yyv4823 = yyv4823[:yyrl4823] + yyrg4814 := len(yyv4814) > 0 + yyv24814 := yyv4814 + yyrl4814, yyrt4814 = z.DecInferLen(yyl4814, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4814 { + if yyrl4814 <= cap(yyv4814) { + yyv4814 = yyv4814[:yyrl4814] } else { - yyv4823 = make([]PreferAvoidPodsEntry, yyrl4823) + yyv4814 = make([]PreferAvoidPodsEntry, yyrl4814) } } else { - yyv4823 = make([]PreferAvoidPodsEntry, yyrl4823) + yyv4814 = make([]PreferAvoidPodsEntry, yyrl4814) } - yyc4823 = true - yyrr4823 = len(yyv4823) - if yyrg4823 { - copy(yyv4823, yyv24823) + yyc4814 = true + yyrr4814 = len(yyv4814) + if yyrg4814 { + copy(yyv4814, yyv24814) } - } else if yyl4823 != len(yyv4823) { - yyv4823 = yyv4823[:yyl4823] - yyc4823 = true + } else if yyl4814 != len(yyv4814) { + yyv4814 = yyv4814[:yyl4814] + yyc4814 = true } - yyj4823 := 0 - for ; yyj4823 < yyrr4823; yyj4823++ { - yyh4823.ElemContainerState(yyj4823) + yyj4814 := 0 + for ; yyj4814 < yyrr4814; yyj4814++ { + yyh4814.ElemContainerState(yyj4814) if r.TryDecodeAsNil() { - yyv4823[yyj4823] = PreferAvoidPodsEntry{} + yyv4814[yyj4814] = PreferAvoidPodsEntry{} } else { - yyv4824 := &yyv4823[yyj4823] - yyv4824.CodecDecodeSelf(d) + yyv4815 := &yyv4814[yyj4814] + yyv4815.CodecDecodeSelf(d) } } - if yyrt4823 { - for ; yyj4823 < yyl4823; yyj4823++ { - yyv4823 = append(yyv4823, PreferAvoidPodsEntry{}) - yyh4823.ElemContainerState(yyj4823) + if yyrt4814 { + for ; yyj4814 < yyl4814; yyj4814++ { + yyv4814 = append(yyv4814, PreferAvoidPodsEntry{}) + yyh4814.ElemContainerState(yyj4814) if r.TryDecodeAsNil() { - yyv4823[yyj4823] = PreferAvoidPodsEntry{} + yyv4814[yyj4814] = PreferAvoidPodsEntry{} } else { - yyv4825 := &yyv4823[yyj4823] - yyv4825.CodecDecodeSelf(d) + yyv4816 := &yyv4814[yyj4814] + yyv4816.CodecDecodeSelf(d) } } } } else { - yyj4823 := 0 - for ; !r.CheckBreak(); yyj4823++ { + yyj4814 := 0 + for ; !r.CheckBreak(); yyj4814++ { - if yyj4823 >= len(yyv4823) { - yyv4823 = append(yyv4823, PreferAvoidPodsEntry{}) // var yyz4823 PreferAvoidPodsEntry - yyc4823 = true + if yyj4814 >= len(yyv4814) { + yyv4814 = append(yyv4814, PreferAvoidPodsEntry{}) // var yyz4814 PreferAvoidPodsEntry + yyc4814 = true } - yyh4823.ElemContainerState(yyj4823) - if yyj4823 < len(yyv4823) { + yyh4814.ElemContainerState(yyj4814) + if yyj4814 < len(yyv4814) { if r.TryDecodeAsNil() { - yyv4823[yyj4823] = PreferAvoidPodsEntry{} + yyv4814[yyj4814] = PreferAvoidPodsEntry{} } else { - yyv4826 := &yyv4823[yyj4823] - yyv4826.CodecDecodeSelf(d) + yyv4817 := &yyv4814[yyj4814] + yyv4817.CodecDecodeSelf(d) } } else { @@ -61475,17 +61393,17 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, } } - if yyj4823 < len(yyv4823) { - yyv4823 = yyv4823[:yyj4823] - yyc4823 = true - } else if yyj4823 == 0 && yyv4823 == nil { - yyv4823 = []PreferAvoidPodsEntry{} - yyc4823 = true + if yyj4814 < len(yyv4814) { + yyv4814 = yyv4814[:yyj4814] + yyc4814 = true + } else if yyj4814 == 0 && yyv4814 == nil { + yyv4814 = []PreferAvoidPodsEntry{} + yyc4814 = true } } - yyh4823.End() - if yyc4823 { - *v = yyv4823 + yyh4814.End() + if yyc4814 { + *v = yyv4814 } } @@ -61494,19 +61412,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4827, yyv4827 := range v { + for yyk4818, yyv4818 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk4827.CodecEncodeSelf(e) + yyk4818.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4828 := &yyv4827 - yym4829 := z.EncBinary() - _ = yym4829 + yy4819 := &yyv4818 + yym4820 := z.EncBinary() + _ = yym4820 if false { - } else if z.HasExtensions() && z.EncExt(yy4828) { - } else if !yym4829 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4828) + } else if z.HasExtensions() && z.EncExt(yy4819) { + } else if !yym4820 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4819) } else { - z.EncFallback(yy4828) + z.EncFallback(yy4819) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -61517,86 +61435,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4830 := *v - yyl4830 := r.ReadMapStart() - yybh4830 := z.DecBasicHandle() - if yyv4830 == nil { - yyrl4830, _ := z.DecInferLen(yyl4830, yybh4830.MaxInitLen, 72) - yyv4830 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4830) - *v = yyv4830 + yyv4821 := *v + yyl4821 := r.ReadMapStart() + yybh4821 := z.DecBasicHandle() + if yyv4821 == nil { + yyrl4821, _ := z.DecInferLen(yyl4821, yybh4821.MaxInitLen, 72) + yyv4821 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4821) + *v = yyv4821 } - var yymk4830 ResourceName - var yymv4830 pkg3_resource.Quantity - var yymg4830 bool - if yybh4830.MapValueReset { - yymg4830 = true + var yymk4821 ResourceName + var yymv4821 pkg3_resource.Quantity + var yymg4821 bool + if yybh4821.MapValueReset { + yymg4821 = true } - if yyl4830 > 0 { - for yyj4830 := 0; yyj4830 < yyl4830; yyj4830++ { + if yyl4821 > 0 { + for yyj4821 := 0; yyj4821 < yyl4821; yyj4821++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4830 = "" + yymk4821 = "" } else { - yymk4830 = ResourceName(r.DecodeString()) + yymk4821 = ResourceName(r.DecodeString()) } - if yymg4830 { - yymv4830 = yyv4830[yymk4830] + if yymg4821 { + yymv4821 = yyv4821[yymk4821] } else { - yymv4830 = pkg3_resource.Quantity{} + yymv4821 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4830 = pkg3_resource.Quantity{} + yymv4821 = pkg3_resource.Quantity{} } else { - yyv4832 := &yymv4830 - yym4833 := z.DecBinary() - _ = yym4833 + yyv4823 := &yymv4821 + yym4824 := z.DecBinary() + _ = yym4824 if false { - } else if z.HasExtensions() && z.DecExt(yyv4832) { - } else if !yym4833 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4832) + } else if z.HasExtensions() && z.DecExt(yyv4823) { + } else if !yym4824 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4823) } else { - z.DecFallback(yyv4832, false) + z.DecFallback(yyv4823, false) } } - if yyv4830 != nil { - yyv4830[yymk4830] = yymv4830 + if yyv4821 != nil { + yyv4821[yymk4821] = yymv4821 } } - } else if yyl4830 < 0 { - for yyj4830 := 0; !r.CheckBreak(); yyj4830++ { + } else if yyl4821 < 0 { + for yyj4821 := 0; !r.CheckBreak(); yyj4821++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4830 = "" + yymk4821 = "" } else { - yymk4830 = ResourceName(r.DecodeString()) + yymk4821 = ResourceName(r.DecodeString()) } - if yymg4830 { - yymv4830 = yyv4830[yymk4830] + if yymg4821 { + yymv4821 = yyv4821[yymk4821] } else { - yymv4830 = pkg3_resource.Quantity{} + yymv4821 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4830 = pkg3_resource.Quantity{} + yymv4821 = pkg3_resource.Quantity{} } else { - yyv4835 := &yymv4830 - yym4836 := z.DecBinary() - _ = yym4836 + yyv4826 := &yymv4821 + yym4827 := z.DecBinary() + _ = yym4827 if false { - } else if z.HasExtensions() && z.DecExt(yyv4835) { - } else if !yym4836 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4835) + } else if z.HasExtensions() && z.DecExt(yyv4826) { + } else if !yym4827 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4826) } else { - z.DecFallback(yyv4835, false) + z.DecFallback(yyv4826, false) } } - if yyv4830 != nil { - yyv4830[yymk4830] = yymv4830 + if yyv4821 != nil { + yyv4821[yymk4821] = yymv4821 } } } // else len==0: TODO: Should we clear map entries? @@ -61608,10 +61526,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4837 := range v { + for _, yyv4828 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4838 := &yyv4837 - yy4838.CodecEncodeSelf(e) + yy4829 := &yyv4828 + yy4829.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61621,83 +61539,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4839 := *v - yyh4839, yyl4839 := z.DecSliceHelperStart() - var yyc4839 bool - if yyl4839 == 0 { - if yyv4839 == nil { - yyv4839 = []Node{} - yyc4839 = true - } else if len(yyv4839) != 0 { - yyv4839 = yyv4839[:0] - yyc4839 = true + yyv4830 := *v + yyh4830, yyl4830 := z.DecSliceHelperStart() + var yyc4830 bool + if yyl4830 == 0 { + if yyv4830 == nil { + yyv4830 = []Node{} + yyc4830 = true + } else if len(yyv4830) != 0 { + yyv4830 = yyv4830[:0] + yyc4830 = true } - } else if yyl4839 > 0 { - var yyrr4839, yyrl4839 int - var yyrt4839 bool - if yyl4839 > cap(yyv4839) { + } else if yyl4830 > 0 { + var yyrr4830, yyrl4830 int + var yyrt4830 bool + if yyl4830 > cap(yyv4830) { - yyrg4839 := len(yyv4839) > 0 - yyv24839 := yyv4839 - yyrl4839, yyrt4839 = z.DecInferLen(yyl4839, z.DecBasicHandle().MaxInitLen, 632) - if yyrt4839 { - if yyrl4839 <= cap(yyv4839) { - yyv4839 = yyv4839[:yyrl4839] + yyrg4830 := len(yyv4830) > 0 + yyv24830 := yyv4830 + yyrl4830, yyrt4830 = z.DecInferLen(yyl4830, z.DecBasicHandle().MaxInitLen, 632) + if yyrt4830 { + if yyrl4830 <= cap(yyv4830) { + yyv4830 = yyv4830[:yyrl4830] } else { - yyv4839 = make([]Node, yyrl4839) + yyv4830 = make([]Node, yyrl4830) } } else { - yyv4839 = make([]Node, yyrl4839) + yyv4830 = make([]Node, yyrl4830) } - yyc4839 = true - yyrr4839 = len(yyv4839) - if yyrg4839 { - copy(yyv4839, yyv24839) + yyc4830 = true + yyrr4830 = len(yyv4830) + if yyrg4830 { + copy(yyv4830, yyv24830) } - } else if yyl4839 != len(yyv4839) { - yyv4839 = yyv4839[:yyl4839] - yyc4839 = true + } else if yyl4830 != len(yyv4830) { + yyv4830 = yyv4830[:yyl4830] + yyc4830 = true } - yyj4839 := 0 - for ; yyj4839 < yyrr4839; yyj4839++ { - yyh4839.ElemContainerState(yyj4839) + yyj4830 := 0 + for ; yyj4830 < yyrr4830; yyj4830++ { + yyh4830.ElemContainerState(yyj4830) if r.TryDecodeAsNil() { - yyv4839[yyj4839] = Node{} + yyv4830[yyj4830] = Node{} } else { - yyv4840 := &yyv4839[yyj4839] - yyv4840.CodecDecodeSelf(d) + yyv4831 := &yyv4830[yyj4830] + yyv4831.CodecDecodeSelf(d) } } - if yyrt4839 { - for ; yyj4839 < yyl4839; yyj4839++ { - yyv4839 = append(yyv4839, Node{}) - yyh4839.ElemContainerState(yyj4839) + if yyrt4830 { + for ; yyj4830 < yyl4830; yyj4830++ { + yyv4830 = append(yyv4830, Node{}) + yyh4830.ElemContainerState(yyj4830) if r.TryDecodeAsNil() { - yyv4839[yyj4839] = Node{} + yyv4830[yyj4830] = Node{} } else { - yyv4841 := &yyv4839[yyj4839] - yyv4841.CodecDecodeSelf(d) + yyv4832 := &yyv4830[yyj4830] + yyv4832.CodecDecodeSelf(d) } } } } else { - yyj4839 := 0 - for ; !r.CheckBreak(); yyj4839++ { + yyj4830 := 0 + for ; !r.CheckBreak(); yyj4830++ { - if yyj4839 >= len(yyv4839) { - yyv4839 = append(yyv4839, Node{}) // var yyz4839 Node - yyc4839 = true + if yyj4830 >= len(yyv4830) { + yyv4830 = append(yyv4830, Node{}) // var yyz4830 Node + yyc4830 = true } - yyh4839.ElemContainerState(yyj4839) - if yyj4839 < len(yyv4839) { + yyh4830.ElemContainerState(yyj4830) + if yyj4830 < len(yyv4830) { if r.TryDecodeAsNil() { - yyv4839[yyj4839] = Node{} + yyv4830[yyj4830] = Node{} } else { - yyv4842 := &yyv4839[yyj4839] - yyv4842.CodecDecodeSelf(d) + yyv4833 := &yyv4830[yyj4830] + yyv4833.CodecDecodeSelf(d) } } else { @@ -61705,17 +61623,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj4839 < len(yyv4839) { - yyv4839 = yyv4839[:yyj4839] - yyc4839 = true - } else if yyj4839 == 0 && yyv4839 == nil { - yyv4839 = []Node{} - yyc4839 = true + if yyj4830 < len(yyv4830) { + yyv4830 = yyv4830[:yyj4830] + yyc4830 = true + } else if yyj4830 == 0 && yyv4830 == nil { + yyv4830 = []Node{} + yyc4830 = true } } - yyh4839.End() - if yyc4839 { - *v = yyv4839 + yyh4830.End() + if yyc4830 { + *v = yyv4830 } } @@ -61724,9 +61642,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4843 := range v { + for _, yyv4834 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4843.CodecEncodeSelf(e) + yyv4834.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61736,75 +61654,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4844 := *v - yyh4844, yyl4844 := z.DecSliceHelperStart() - var yyc4844 bool - if yyl4844 == 0 { - if yyv4844 == nil { - yyv4844 = []FinalizerName{} - yyc4844 = true - } else if len(yyv4844) != 0 { - yyv4844 = yyv4844[:0] - yyc4844 = true + yyv4835 := *v + yyh4835, yyl4835 := z.DecSliceHelperStart() + var yyc4835 bool + if yyl4835 == 0 { + if yyv4835 == nil { + yyv4835 = []FinalizerName{} + yyc4835 = true + } else if len(yyv4835) != 0 { + yyv4835 = yyv4835[:0] + yyc4835 = true } - } else if yyl4844 > 0 { - var yyrr4844, yyrl4844 int - var yyrt4844 bool - if yyl4844 > cap(yyv4844) { + } else if yyl4835 > 0 { + var yyrr4835, yyrl4835 int + var yyrt4835 bool + if yyl4835 > cap(yyv4835) { - yyrl4844, yyrt4844 = z.DecInferLen(yyl4844, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4844 { - if yyrl4844 <= cap(yyv4844) { - yyv4844 = yyv4844[:yyrl4844] + yyrl4835, yyrt4835 = z.DecInferLen(yyl4835, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4835 { + if yyrl4835 <= cap(yyv4835) { + yyv4835 = yyv4835[:yyrl4835] } else { - yyv4844 = make([]FinalizerName, yyrl4844) + yyv4835 = make([]FinalizerName, yyrl4835) } } else { - yyv4844 = make([]FinalizerName, yyrl4844) + yyv4835 = make([]FinalizerName, yyrl4835) } - yyc4844 = true - yyrr4844 = len(yyv4844) - } else if yyl4844 != len(yyv4844) { - yyv4844 = yyv4844[:yyl4844] - yyc4844 = true + yyc4835 = true + yyrr4835 = len(yyv4835) + } else if yyl4835 != len(yyv4835) { + yyv4835 = yyv4835[:yyl4835] + yyc4835 = true } - yyj4844 := 0 - for ; yyj4844 < yyrr4844; yyj4844++ { - yyh4844.ElemContainerState(yyj4844) + yyj4835 := 0 + for ; yyj4835 < yyrr4835; yyj4835++ { + yyh4835.ElemContainerState(yyj4835) if r.TryDecodeAsNil() { - yyv4844[yyj4844] = "" + yyv4835[yyj4835] = "" } else { - yyv4844[yyj4844] = FinalizerName(r.DecodeString()) + yyv4835[yyj4835] = FinalizerName(r.DecodeString()) } } - if yyrt4844 { - for ; yyj4844 < yyl4844; yyj4844++ { - yyv4844 = append(yyv4844, "") - yyh4844.ElemContainerState(yyj4844) + if yyrt4835 { + for ; yyj4835 < yyl4835; yyj4835++ { + yyv4835 = append(yyv4835, "") + yyh4835.ElemContainerState(yyj4835) if r.TryDecodeAsNil() { - yyv4844[yyj4844] = "" + yyv4835[yyj4835] = "" } else { - yyv4844[yyj4844] = FinalizerName(r.DecodeString()) + yyv4835[yyj4835] = FinalizerName(r.DecodeString()) } } } } else { - yyj4844 := 0 - for ; !r.CheckBreak(); yyj4844++ { + yyj4835 := 0 + for ; !r.CheckBreak(); yyj4835++ { - if yyj4844 >= len(yyv4844) { - yyv4844 = append(yyv4844, "") // var yyz4844 FinalizerName - yyc4844 = true + if yyj4835 >= len(yyv4835) { + yyv4835 = append(yyv4835, "") // var yyz4835 FinalizerName + yyc4835 = true } - yyh4844.ElemContainerState(yyj4844) - if yyj4844 < len(yyv4844) { + yyh4835.ElemContainerState(yyj4835) + if yyj4835 < len(yyv4835) { if r.TryDecodeAsNil() { - yyv4844[yyj4844] = "" + yyv4835[yyj4835] = "" } else { - yyv4844[yyj4844] = FinalizerName(r.DecodeString()) + yyv4835[yyj4835] = FinalizerName(r.DecodeString()) } } else { @@ -61812,17 +61730,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj4844 < len(yyv4844) { - yyv4844 = yyv4844[:yyj4844] - yyc4844 = true - } else if yyj4844 == 0 && yyv4844 == nil { - yyv4844 = []FinalizerName{} - yyc4844 = true + if yyj4835 < len(yyv4835) { + yyv4835 = yyv4835[:yyj4835] + yyc4835 = true + } else if yyj4835 == 0 && yyv4835 == nil { + yyv4835 = []FinalizerName{} + yyc4835 = true } } - yyh4844.End() - if yyc4844 { - *v = yyv4844 + yyh4835.End() + if yyc4835 { + *v = yyv4835 } } @@ -61831,10 +61749,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4848 := range v { + for _, yyv4839 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4849 := &yyv4848 - yy4849.CodecEncodeSelf(e) + yy4840 := &yyv4839 + yy4840.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61844,83 +61762,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4850 := *v - yyh4850, yyl4850 := z.DecSliceHelperStart() - var yyc4850 bool - if yyl4850 == 0 { - if yyv4850 == nil { - yyv4850 = []Namespace{} - yyc4850 = true - } else if len(yyv4850) != 0 { - yyv4850 = yyv4850[:0] - yyc4850 = true + yyv4841 := *v + yyh4841, yyl4841 := z.DecSliceHelperStart() + var yyc4841 bool + if yyl4841 == 0 { + if yyv4841 == nil { + yyv4841 = []Namespace{} + yyc4841 = true + } else if len(yyv4841) != 0 { + yyv4841 = yyv4841[:0] + yyc4841 = true } - } else if yyl4850 > 0 { - var yyrr4850, yyrl4850 int - var yyrt4850 bool - if yyl4850 > cap(yyv4850) { + } else if yyl4841 > 0 { + var yyrr4841, yyrl4841 int + var yyrt4841 bool + if yyl4841 > cap(yyv4841) { - yyrg4850 := len(yyv4850) > 0 - yyv24850 := yyv4850 - yyrl4850, yyrt4850 = z.DecInferLen(yyl4850, z.DecBasicHandle().MaxInitLen, 296) - if yyrt4850 { - if yyrl4850 <= cap(yyv4850) { - yyv4850 = yyv4850[:yyrl4850] + yyrg4841 := len(yyv4841) > 0 + yyv24841 := yyv4841 + yyrl4841, yyrt4841 = z.DecInferLen(yyl4841, z.DecBasicHandle().MaxInitLen, 296) + if yyrt4841 { + if yyrl4841 <= cap(yyv4841) { + yyv4841 = yyv4841[:yyrl4841] } else { - yyv4850 = make([]Namespace, yyrl4850) + yyv4841 = make([]Namespace, yyrl4841) } } else { - yyv4850 = make([]Namespace, yyrl4850) + yyv4841 = make([]Namespace, yyrl4841) } - yyc4850 = true - yyrr4850 = len(yyv4850) - if yyrg4850 { - copy(yyv4850, yyv24850) + yyc4841 = true + yyrr4841 = len(yyv4841) + if yyrg4841 { + copy(yyv4841, yyv24841) } - } else if yyl4850 != len(yyv4850) { - yyv4850 = yyv4850[:yyl4850] - yyc4850 = true + } else if yyl4841 != len(yyv4841) { + yyv4841 = yyv4841[:yyl4841] + yyc4841 = true } - yyj4850 := 0 - for ; yyj4850 < yyrr4850; yyj4850++ { - yyh4850.ElemContainerState(yyj4850) + yyj4841 := 0 + for ; yyj4841 < yyrr4841; yyj4841++ { + yyh4841.ElemContainerState(yyj4841) if r.TryDecodeAsNil() { - yyv4850[yyj4850] = Namespace{} + yyv4841[yyj4841] = Namespace{} } else { - yyv4851 := &yyv4850[yyj4850] - yyv4851.CodecDecodeSelf(d) + yyv4842 := &yyv4841[yyj4841] + yyv4842.CodecDecodeSelf(d) } } - if yyrt4850 { - for ; yyj4850 < yyl4850; yyj4850++ { - yyv4850 = append(yyv4850, Namespace{}) - yyh4850.ElemContainerState(yyj4850) + if yyrt4841 { + for ; yyj4841 < yyl4841; yyj4841++ { + yyv4841 = append(yyv4841, Namespace{}) + yyh4841.ElemContainerState(yyj4841) if r.TryDecodeAsNil() { - yyv4850[yyj4850] = Namespace{} + yyv4841[yyj4841] = Namespace{} } else { - yyv4852 := &yyv4850[yyj4850] - yyv4852.CodecDecodeSelf(d) + yyv4843 := &yyv4841[yyj4841] + yyv4843.CodecDecodeSelf(d) } } } } else { - yyj4850 := 0 - for ; !r.CheckBreak(); yyj4850++ { + yyj4841 := 0 + for ; !r.CheckBreak(); yyj4841++ { - if yyj4850 >= len(yyv4850) { - yyv4850 = append(yyv4850, Namespace{}) // var yyz4850 Namespace - yyc4850 = true + if yyj4841 >= len(yyv4841) { + yyv4841 = append(yyv4841, Namespace{}) // var yyz4841 Namespace + yyc4841 = true } - yyh4850.ElemContainerState(yyj4850) - if yyj4850 < len(yyv4850) { + yyh4841.ElemContainerState(yyj4841) + if yyj4841 < len(yyv4841) { if r.TryDecodeAsNil() { - yyv4850[yyj4850] = Namespace{} + yyv4841[yyj4841] = Namespace{} } else { - yyv4853 := &yyv4850[yyj4850] - yyv4853.CodecDecodeSelf(d) + yyv4844 := &yyv4841[yyj4841] + yyv4844.CodecDecodeSelf(d) } } else { @@ -61928,17 +61846,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj4850 < len(yyv4850) { - yyv4850 = yyv4850[:yyj4850] - yyc4850 = true - } else if yyj4850 == 0 && yyv4850 == nil { - yyv4850 = []Namespace{} - yyc4850 = true + if yyj4841 < len(yyv4841) { + yyv4841 = yyv4841[:yyj4841] + yyc4841 = true + } else if yyj4841 == 0 && yyv4841 == nil { + yyv4841 = []Namespace{} + yyc4841 = true } } - yyh4850.End() - if yyc4850 { - *v = yyv4850 + yyh4841.End() + if yyc4841 { + *v = yyv4841 } } @@ -61947,10 +61865,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4854 := range v { + for _, yyv4845 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4855 := &yyv4854 - yy4855.CodecEncodeSelf(e) + yy4846 := &yyv4845 + yy4846.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61960,83 +61878,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4856 := *v - yyh4856, yyl4856 := z.DecSliceHelperStart() - var yyc4856 bool - if yyl4856 == 0 { - if yyv4856 == nil { - yyv4856 = []Event{} - yyc4856 = true - } else if len(yyv4856) != 0 { - yyv4856 = yyv4856[:0] - yyc4856 = true + yyv4847 := *v + yyh4847, yyl4847 := z.DecSliceHelperStart() + var yyc4847 bool + if yyl4847 == 0 { + if yyv4847 == nil { + yyv4847 = []Event{} + yyc4847 = true + } else if len(yyv4847) != 0 { + yyv4847 = yyv4847[:0] + yyc4847 = true } - } else if yyl4856 > 0 { - var yyrr4856, yyrl4856 int - var yyrt4856 bool - if yyl4856 > cap(yyv4856) { + } else if yyl4847 > 0 { + var yyrr4847, yyrl4847 int + var yyrt4847 bool + if yyl4847 > cap(yyv4847) { - yyrg4856 := len(yyv4856) > 0 - yyv24856 := yyv4856 - yyrl4856, yyrt4856 = z.DecInferLen(yyl4856, z.DecBasicHandle().MaxInitLen, 504) - if yyrt4856 { - if yyrl4856 <= cap(yyv4856) { - yyv4856 = yyv4856[:yyrl4856] + yyrg4847 := len(yyv4847) > 0 + yyv24847 := yyv4847 + yyrl4847, yyrt4847 = z.DecInferLen(yyl4847, z.DecBasicHandle().MaxInitLen, 504) + if yyrt4847 { + if yyrl4847 <= cap(yyv4847) { + yyv4847 = yyv4847[:yyrl4847] } else { - yyv4856 = make([]Event, yyrl4856) + yyv4847 = make([]Event, yyrl4847) } } else { - yyv4856 = make([]Event, yyrl4856) + yyv4847 = make([]Event, yyrl4847) } - yyc4856 = true - yyrr4856 = len(yyv4856) - if yyrg4856 { - copy(yyv4856, yyv24856) + yyc4847 = true + yyrr4847 = len(yyv4847) + if yyrg4847 { + copy(yyv4847, yyv24847) } - } else if yyl4856 != len(yyv4856) { - yyv4856 = yyv4856[:yyl4856] - yyc4856 = true + } else if yyl4847 != len(yyv4847) { + yyv4847 = yyv4847[:yyl4847] + yyc4847 = true } - yyj4856 := 0 - for ; yyj4856 < yyrr4856; yyj4856++ { - yyh4856.ElemContainerState(yyj4856) + yyj4847 := 0 + for ; yyj4847 < yyrr4847; yyj4847++ { + yyh4847.ElemContainerState(yyj4847) if r.TryDecodeAsNil() { - yyv4856[yyj4856] = Event{} + yyv4847[yyj4847] = Event{} } else { - yyv4857 := &yyv4856[yyj4856] - yyv4857.CodecDecodeSelf(d) + yyv4848 := &yyv4847[yyj4847] + yyv4848.CodecDecodeSelf(d) } } - if yyrt4856 { - for ; yyj4856 < yyl4856; yyj4856++ { - yyv4856 = append(yyv4856, Event{}) - yyh4856.ElemContainerState(yyj4856) + if yyrt4847 { + for ; yyj4847 < yyl4847; yyj4847++ { + yyv4847 = append(yyv4847, Event{}) + yyh4847.ElemContainerState(yyj4847) if r.TryDecodeAsNil() { - yyv4856[yyj4856] = Event{} + yyv4847[yyj4847] = Event{} } else { - yyv4858 := &yyv4856[yyj4856] - yyv4858.CodecDecodeSelf(d) + yyv4849 := &yyv4847[yyj4847] + yyv4849.CodecDecodeSelf(d) } } } } else { - yyj4856 := 0 - for ; !r.CheckBreak(); yyj4856++ { + yyj4847 := 0 + for ; !r.CheckBreak(); yyj4847++ { - if yyj4856 >= len(yyv4856) { - yyv4856 = append(yyv4856, Event{}) // var yyz4856 Event - yyc4856 = true + if yyj4847 >= len(yyv4847) { + yyv4847 = append(yyv4847, Event{}) // var yyz4847 Event + yyc4847 = true } - yyh4856.ElemContainerState(yyj4856) - if yyj4856 < len(yyv4856) { + yyh4847.ElemContainerState(yyj4847) + if yyj4847 < len(yyv4847) { if r.TryDecodeAsNil() { - yyv4856[yyj4856] = Event{} + yyv4847[yyj4847] = Event{} } else { - yyv4859 := &yyv4856[yyj4856] - yyv4859.CodecDecodeSelf(d) + yyv4850 := &yyv4847[yyj4847] + yyv4850.CodecDecodeSelf(d) } } else { @@ -62044,17 +61962,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj4856 < len(yyv4856) { - yyv4856 = yyv4856[:yyj4856] - yyc4856 = true - } else if yyj4856 == 0 && yyv4856 == nil { - yyv4856 = []Event{} - yyc4856 = true + if yyj4847 < len(yyv4847) { + yyv4847 = yyv4847[:yyj4847] + yyc4847 = true + } else if yyj4847 == 0 && yyv4847 == nil { + yyv4847 = []Event{} + yyc4847 = true } } - yyh4856.End() - if yyc4856 { - *v = yyv4856 + yyh4847.End() + if yyc4847 { + *v = yyv4847 } } @@ -62063,17 +61981,17 @@ func (x codecSelfer1234) encSliceruntime_Object(v []pkg7_runtime.Object, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4860 := range v { + for _, yyv4851 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyv4860 == nil { + if yyv4851 == nil { r.EncodeNil() } else { - yym4861 := z.EncBinary() - _ = yym4861 + yym4852 := z.EncBinary() + _ = yym4852 if false { - } else if z.HasExtensions() && z.EncExt(yyv4860) { + } else if z.HasExtensions() && z.EncExt(yyv4851) { } else { - z.EncFallback(yyv4860) + z.EncFallback(yyv4851) } } } @@ -62085,12 +62003,146 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r + yyv4853 := *v + yyh4853, yyl4853 := z.DecSliceHelperStart() + var yyc4853 bool + if yyl4853 == 0 { + if yyv4853 == nil { + yyv4853 = []pkg7_runtime.Object{} + yyc4853 = true + } else if len(yyv4853) != 0 { + yyv4853 = yyv4853[:0] + yyc4853 = true + } + } else if yyl4853 > 0 { + var yyrr4853, yyrl4853 int + var yyrt4853 bool + if yyl4853 > cap(yyv4853) { + + yyrg4853 := len(yyv4853) > 0 + yyv24853 := yyv4853 + yyrl4853, yyrt4853 = z.DecInferLen(yyl4853, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4853 { + if yyrl4853 <= cap(yyv4853) { + yyv4853 = yyv4853[:yyrl4853] + } else { + yyv4853 = make([]pkg7_runtime.Object, yyrl4853) + } + } else { + yyv4853 = make([]pkg7_runtime.Object, yyrl4853) + } + yyc4853 = true + yyrr4853 = len(yyv4853) + if yyrg4853 { + copy(yyv4853, yyv24853) + } + } else if yyl4853 != len(yyv4853) { + yyv4853 = yyv4853[:yyl4853] + yyc4853 = true + } + yyj4853 := 0 + for ; yyj4853 < yyrr4853; yyj4853++ { + yyh4853.ElemContainerState(yyj4853) + if r.TryDecodeAsNil() { + yyv4853[yyj4853] = nil + } else { + yyv4854 := &yyv4853[yyj4853] + yym4855 := z.DecBinary() + _ = yym4855 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4854) { + } else { + z.DecFallback(yyv4854, true) + } + } + + } + if yyrt4853 { + for ; yyj4853 < yyl4853; yyj4853++ { + yyv4853 = append(yyv4853, nil) + yyh4853.ElemContainerState(yyj4853) + if r.TryDecodeAsNil() { + yyv4853[yyj4853] = nil + } else { + yyv4856 := &yyv4853[yyj4853] + yym4857 := z.DecBinary() + _ = yym4857 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4856) { + } else { + z.DecFallback(yyv4856, true) + } + } + + } + } + + } else { + yyj4853 := 0 + for ; !r.CheckBreak(); yyj4853++ { + + if yyj4853 >= len(yyv4853) { + yyv4853 = append(yyv4853, nil) // var yyz4853 pkg7_runtime.Object + yyc4853 = true + } + yyh4853.ElemContainerState(yyj4853) + if yyj4853 < len(yyv4853) { + if r.TryDecodeAsNil() { + yyv4853[yyj4853] = nil + } else { + yyv4858 := &yyv4853[yyj4853] + yym4859 := z.DecBinary() + _ = yym4859 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4858) { + } else { + z.DecFallback(yyv4858, true) + } + } + + } else { + z.DecSwallow() + } + + } + if yyj4853 < len(yyv4853) { + yyv4853 = yyv4853[:yyj4853] + yyc4853 = true + } else if yyj4853 == 0 && yyv4853 == nil { + yyv4853 = []pkg7_runtime.Object{} + yyc4853 = true + } + } + yyh4853.End() + if yyc4853 { + *v = yyv4853 + } +} + +func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4860 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4861 := &yyv4860 + yy4861.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yyv4862 := *v yyh4862, yyl4862 := z.DecSliceHelperStart() var yyc4862 bool if yyl4862 == 0 { if yyv4862 == nil { - yyv4862 = []pkg7_runtime.Object{} + yyv4862 = []LimitRangeItem{} yyc4862 = true } else if len(yyv4862) != 0 { yyv4862 = yyv4862[:0] @@ -62103,15 +62155,15 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod yyrg4862 := len(yyv4862) > 0 yyv24862 := yyv4862 - yyrl4862, yyrt4862 = z.DecInferLen(yyl4862, z.DecBasicHandle().MaxInitLen, 16) + yyrl4862, yyrt4862 = z.DecInferLen(yyl4862, z.DecBasicHandle().MaxInitLen, 56) if yyrt4862 { if yyrl4862 <= cap(yyv4862) { yyv4862 = yyv4862[:yyrl4862] } else { - yyv4862 = make([]pkg7_runtime.Object, yyrl4862) + yyv4862 = make([]LimitRangeItem, yyrl4862) } } else { - yyv4862 = make([]pkg7_runtime.Object, yyrl4862) + yyv4862 = make([]LimitRangeItem, yyrl4862) } yyc4862 = true yyrr4862 = len(yyv4862) @@ -62126,34 +62178,22 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod for ; yyj4862 < yyrr4862; yyj4862++ { yyh4862.ElemContainerState(yyj4862) if r.TryDecodeAsNil() { - yyv4862[yyj4862] = nil + yyv4862[yyj4862] = LimitRangeItem{} } else { yyv4863 := &yyv4862[yyj4862] - yym4864 := z.DecBinary() - _ = yym4864 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4863) { - } else { - z.DecFallback(yyv4863, true) - } + yyv4863.CodecDecodeSelf(d) } } if yyrt4862 { for ; yyj4862 < yyl4862; yyj4862++ { - yyv4862 = append(yyv4862, nil) + yyv4862 = append(yyv4862, LimitRangeItem{}) yyh4862.ElemContainerState(yyj4862) if r.TryDecodeAsNil() { - yyv4862[yyj4862] = nil + yyv4862[yyj4862] = LimitRangeItem{} } else { - yyv4865 := &yyv4862[yyj4862] - yym4866 := z.DecBinary() - _ = yym4866 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4865) { - } else { - z.DecFallback(yyv4865, true) - } + yyv4864 := &yyv4862[yyj4862] + yyv4864.CodecDecodeSelf(d) } } @@ -62164,22 +62204,16 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod for ; !r.CheckBreak(); yyj4862++ { if yyj4862 >= len(yyv4862) { - yyv4862 = append(yyv4862, nil) // var yyz4862 pkg7_runtime.Object + yyv4862 = append(yyv4862, LimitRangeItem{}) // var yyz4862 LimitRangeItem yyc4862 = true } yyh4862.ElemContainerState(yyj4862) if yyj4862 < len(yyv4862) { if r.TryDecodeAsNil() { - yyv4862[yyj4862] = nil + yyv4862[yyj4862] = LimitRangeItem{} } else { - yyv4867 := &yyv4862[yyj4862] - yym4868 := z.DecBinary() - _ = yym4868 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4867) { - } else { - z.DecFallback(yyv4867, true) - } + yyv4865 := &yyv4862[yyj4862] + yyv4865.CodecDecodeSelf(d) } } else { @@ -62191,7 +62225,7 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod yyv4862 = yyv4862[:yyj4862] yyc4862 = true } else if yyj4862 == 0 && yyv4862 == nil { - yyv4862 = []pkg7_runtime.Object{} + yyv4862 = []LimitRangeItem{} yyc4862 = true } } @@ -62201,131 +62235,15 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod } } -func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4869 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4870 := &yyv4869 - yy4870.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4871 := *v - yyh4871, yyl4871 := z.DecSliceHelperStart() - var yyc4871 bool - if yyl4871 == 0 { - if yyv4871 == nil { - yyv4871 = []LimitRangeItem{} - yyc4871 = true - } else if len(yyv4871) != 0 { - yyv4871 = yyv4871[:0] - yyc4871 = true - } - } else if yyl4871 > 0 { - var yyrr4871, yyrl4871 int - var yyrt4871 bool - if yyl4871 > cap(yyv4871) { - - yyrg4871 := len(yyv4871) > 0 - yyv24871 := yyv4871 - yyrl4871, yyrt4871 = z.DecInferLen(yyl4871, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4871 { - if yyrl4871 <= cap(yyv4871) { - yyv4871 = yyv4871[:yyrl4871] - } else { - yyv4871 = make([]LimitRangeItem, yyrl4871) - } - } else { - yyv4871 = make([]LimitRangeItem, yyrl4871) - } - yyc4871 = true - yyrr4871 = len(yyv4871) - if yyrg4871 { - copy(yyv4871, yyv24871) - } - } else if yyl4871 != len(yyv4871) { - yyv4871 = yyv4871[:yyl4871] - yyc4871 = true - } - yyj4871 := 0 - for ; yyj4871 < yyrr4871; yyj4871++ { - yyh4871.ElemContainerState(yyj4871) - if r.TryDecodeAsNil() { - yyv4871[yyj4871] = LimitRangeItem{} - } else { - yyv4872 := &yyv4871[yyj4871] - yyv4872.CodecDecodeSelf(d) - } - - } - if yyrt4871 { - for ; yyj4871 < yyl4871; yyj4871++ { - yyv4871 = append(yyv4871, LimitRangeItem{}) - yyh4871.ElemContainerState(yyj4871) - if r.TryDecodeAsNil() { - yyv4871[yyj4871] = LimitRangeItem{} - } else { - yyv4873 := &yyv4871[yyj4871] - yyv4873.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4871 := 0 - for ; !r.CheckBreak(); yyj4871++ { - - if yyj4871 >= len(yyv4871) { - yyv4871 = append(yyv4871, LimitRangeItem{}) // var yyz4871 LimitRangeItem - yyc4871 = true - } - yyh4871.ElemContainerState(yyj4871) - if yyj4871 < len(yyv4871) { - if r.TryDecodeAsNil() { - yyv4871[yyj4871] = LimitRangeItem{} - } else { - yyv4874 := &yyv4871[yyj4871] - yyv4874.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4871 < len(yyv4871) { - yyv4871 = yyv4871[:yyj4871] - yyc4871 = true - } else if yyj4871 == 0 && yyv4871 == nil { - yyv4871 = []LimitRangeItem{} - yyc4871 = true - } - } - yyh4871.End() - if yyc4871 { - *v = yyv4871 - } -} - func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4875 := range v { + for _, yyv4866 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4876 := &yyv4875 - yy4876.CodecEncodeSelf(e) + yy4867 := &yyv4866 + yy4867.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62335,83 +62253,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4877 := *v - yyh4877, yyl4877 := z.DecSliceHelperStart() - var yyc4877 bool - if yyl4877 == 0 { - if yyv4877 == nil { - yyv4877 = []LimitRange{} - yyc4877 = true - } else if len(yyv4877) != 0 { - yyv4877 = yyv4877[:0] - yyc4877 = true + yyv4868 := *v + yyh4868, yyl4868 := z.DecSliceHelperStart() + var yyc4868 bool + if yyl4868 == 0 { + if yyv4868 == nil { + yyv4868 = []LimitRange{} + yyc4868 = true + } else if len(yyv4868) != 0 { + yyv4868 = yyv4868[:0] + yyc4868 = true } - } else if yyl4877 > 0 { - var yyrr4877, yyrl4877 int - var yyrt4877 bool - if yyl4877 > cap(yyv4877) { + } else if yyl4868 > 0 { + var yyrr4868, yyrl4868 int + var yyrt4868 bool + if yyl4868 > cap(yyv4868) { - yyrg4877 := len(yyv4877) > 0 - yyv24877 := yyv4877 - yyrl4877, yyrt4877 = z.DecInferLen(yyl4877, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4877 { - if yyrl4877 <= cap(yyv4877) { - yyv4877 = yyv4877[:yyrl4877] + yyrg4868 := len(yyv4868) > 0 + yyv24868 := yyv4868 + yyrl4868, yyrt4868 = z.DecInferLen(yyl4868, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4868 { + if yyrl4868 <= cap(yyv4868) { + yyv4868 = yyv4868[:yyrl4868] } else { - yyv4877 = make([]LimitRange, yyrl4877) + yyv4868 = make([]LimitRange, yyrl4868) } } else { - yyv4877 = make([]LimitRange, yyrl4877) + yyv4868 = make([]LimitRange, yyrl4868) } - yyc4877 = true - yyrr4877 = len(yyv4877) - if yyrg4877 { - copy(yyv4877, yyv24877) + yyc4868 = true + yyrr4868 = len(yyv4868) + if yyrg4868 { + copy(yyv4868, yyv24868) } - } else if yyl4877 != len(yyv4877) { - yyv4877 = yyv4877[:yyl4877] - yyc4877 = true + } else if yyl4868 != len(yyv4868) { + yyv4868 = yyv4868[:yyl4868] + yyc4868 = true } - yyj4877 := 0 - for ; yyj4877 < yyrr4877; yyj4877++ { - yyh4877.ElemContainerState(yyj4877) + yyj4868 := 0 + for ; yyj4868 < yyrr4868; yyj4868++ { + yyh4868.ElemContainerState(yyj4868) if r.TryDecodeAsNil() { - yyv4877[yyj4877] = LimitRange{} + yyv4868[yyj4868] = LimitRange{} } else { - yyv4878 := &yyv4877[yyj4877] - yyv4878.CodecDecodeSelf(d) + yyv4869 := &yyv4868[yyj4868] + yyv4869.CodecDecodeSelf(d) } } - if yyrt4877 { - for ; yyj4877 < yyl4877; yyj4877++ { - yyv4877 = append(yyv4877, LimitRange{}) - yyh4877.ElemContainerState(yyj4877) + if yyrt4868 { + for ; yyj4868 < yyl4868; yyj4868++ { + yyv4868 = append(yyv4868, LimitRange{}) + yyh4868.ElemContainerState(yyj4868) if r.TryDecodeAsNil() { - yyv4877[yyj4877] = LimitRange{} + yyv4868[yyj4868] = LimitRange{} } else { - yyv4879 := &yyv4877[yyj4877] - yyv4879.CodecDecodeSelf(d) + yyv4870 := &yyv4868[yyj4868] + yyv4870.CodecDecodeSelf(d) } } } } else { - yyj4877 := 0 - for ; !r.CheckBreak(); yyj4877++ { + yyj4868 := 0 + for ; !r.CheckBreak(); yyj4868++ { - if yyj4877 >= len(yyv4877) { - yyv4877 = append(yyv4877, LimitRange{}) // var yyz4877 LimitRange - yyc4877 = true + if yyj4868 >= len(yyv4868) { + yyv4868 = append(yyv4868, LimitRange{}) // var yyz4868 LimitRange + yyc4868 = true } - yyh4877.ElemContainerState(yyj4877) - if yyj4877 < len(yyv4877) { + yyh4868.ElemContainerState(yyj4868) + if yyj4868 < len(yyv4868) { if r.TryDecodeAsNil() { - yyv4877[yyj4877] = LimitRange{} + yyv4868[yyj4868] = LimitRange{} } else { - yyv4880 := &yyv4877[yyj4877] - yyv4880.CodecDecodeSelf(d) + yyv4871 := &yyv4868[yyj4868] + yyv4871.CodecDecodeSelf(d) } } else { @@ -62419,17 +62337,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj4877 < len(yyv4877) { - yyv4877 = yyv4877[:yyj4877] - yyc4877 = true - } else if yyj4877 == 0 && yyv4877 == nil { - yyv4877 = []LimitRange{} - yyc4877 = true + if yyj4868 < len(yyv4868) { + yyv4868 = yyv4868[:yyj4868] + yyc4868 = true + } else if yyj4868 == 0 && yyv4868 == nil { + yyv4868 = []LimitRange{} + yyc4868 = true } } - yyh4877.End() - if yyc4877 { - *v = yyv4877 + yyh4868.End() + if yyc4868 { + *v = yyv4868 } } @@ -62438,9 +62356,9 @@ func (x codecSelfer1234) encSliceResourceQuotaScope(v []ResourceQuotaScope, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4881 := range v { + for _, yyv4872 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4881.CodecEncodeSelf(e) + yyv4872.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62450,75 +62368,75 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4882 := *v - yyh4882, yyl4882 := z.DecSliceHelperStart() - var yyc4882 bool - if yyl4882 == 0 { - if yyv4882 == nil { - yyv4882 = []ResourceQuotaScope{} - yyc4882 = true - } else if len(yyv4882) != 0 { - yyv4882 = yyv4882[:0] - yyc4882 = true + yyv4873 := *v + yyh4873, yyl4873 := z.DecSliceHelperStart() + var yyc4873 bool + if yyl4873 == 0 { + if yyv4873 == nil { + yyv4873 = []ResourceQuotaScope{} + yyc4873 = true + } else if len(yyv4873) != 0 { + yyv4873 = yyv4873[:0] + yyc4873 = true } - } else if yyl4882 > 0 { - var yyrr4882, yyrl4882 int - var yyrt4882 bool - if yyl4882 > cap(yyv4882) { + } else if yyl4873 > 0 { + var yyrr4873, yyrl4873 int + var yyrt4873 bool + if yyl4873 > cap(yyv4873) { - yyrl4882, yyrt4882 = z.DecInferLen(yyl4882, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4882 { - if yyrl4882 <= cap(yyv4882) { - yyv4882 = yyv4882[:yyrl4882] + yyrl4873, yyrt4873 = z.DecInferLen(yyl4873, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4873 { + if yyrl4873 <= cap(yyv4873) { + yyv4873 = yyv4873[:yyrl4873] } else { - yyv4882 = make([]ResourceQuotaScope, yyrl4882) + yyv4873 = make([]ResourceQuotaScope, yyrl4873) } } else { - yyv4882 = make([]ResourceQuotaScope, yyrl4882) + yyv4873 = make([]ResourceQuotaScope, yyrl4873) } - yyc4882 = true - yyrr4882 = len(yyv4882) - } else if yyl4882 != len(yyv4882) { - yyv4882 = yyv4882[:yyl4882] - yyc4882 = true + yyc4873 = true + yyrr4873 = len(yyv4873) + } else if yyl4873 != len(yyv4873) { + yyv4873 = yyv4873[:yyl4873] + yyc4873 = true } - yyj4882 := 0 - for ; yyj4882 < yyrr4882; yyj4882++ { - yyh4882.ElemContainerState(yyj4882) + yyj4873 := 0 + for ; yyj4873 < yyrr4873; yyj4873++ { + yyh4873.ElemContainerState(yyj4873) if r.TryDecodeAsNil() { - yyv4882[yyj4882] = "" + yyv4873[yyj4873] = "" } else { - yyv4882[yyj4882] = ResourceQuotaScope(r.DecodeString()) + yyv4873[yyj4873] = ResourceQuotaScope(r.DecodeString()) } } - if yyrt4882 { - for ; yyj4882 < yyl4882; yyj4882++ { - yyv4882 = append(yyv4882, "") - yyh4882.ElemContainerState(yyj4882) + if yyrt4873 { + for ; yyj4873 < yyl4873; yyj4873++ { + yyv4873 = append(yyv4873, "") + yyh4873.ElemContainerState(yyj4873) if r.TryDecodeAsNil() { - yyv4882[yyj4882] = "" + yyv4873[yyj4873] = "" } else { - yyv4882[yyj4882] = ResourceQuotaScope(r.DecodeString()) + yyv4873[yyj4873] = ResourceQuotaScope(r.DecodeString()) } } } } else { - yyj4882 := 0 - for ; !r.CheckBreak(); yyj4882++ { + yyj4873 := 0 + for ; !r.CheckBreak(); yyj4873++ { - if yyj4882 >= len(yyv4882) { - yyv4882 = append(yyv4882, "") // var yyz4882 ResourceQuotaScope - yyc4882 = true + if yyj4873 >= len(yyv4873) { + yyv4873 = append(yyv4873, "") // var yyz4873 ResourceQuotaScope + yyc4873 = true } - yyh4882.ElemContainerState(yyj4882) - if yyj4882 < len(yyv4882) { + yyh4873.ElemContainerState(yyj4873) + if yyj4873 < len(yyv4873) { if r.TryDecodeAsNil() { - yyv4882[yyj4882] = "" + yyv4873[yyj4873] = "" } else { - yyv4882[yyj4882] = ResourceQuotaScope(r.DecodeString()) + yyv4873[yyj4873] = ResourceQuotaScope(r.DecodeString()) } } else { @@ -62526,17 +62444,17 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * } } - if yyj4882 < len(yyv4882) { - yyv4882 = yyv4882[:yyj4882] - yyc4882 = true - } else if yyj4882 == 0 && yyv4882 == nil { - yyv4882 = []ResourceQuotaScope{} - yyc4882 = true + if yyj4873 < len(yyv4873) { + yyv4873 = yyv4873[:yyj4873] + yyc4873 = true + } else if yyj4873 == 0 && yyv4873 == nil { + yyv4873 = []ResourceQuotaScope{} + yyc4873 = true } } - yyh4882.End() - if yyc4882 { - *v = yyv4882 + yyh4873.End() + if yyc4873 { + *v = yyv4873 } } @@ -62545,10 +62463,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4886 := range v { + for _, yyv4877 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4887 := &yyv4886 - yy4887.CodecEncodeSelf(e) + yy4878 := &yyv4877 + yy4878.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62558,83 +62476,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4888 := *v - yyh4888, yyl4888 := z.DecSliceHelperStart() - var yyc4888 bool - if yyl4888 == 0 { - if yyv4888 == nil { - yyv4888 = []ResourceQuota{} - yyc4888 = true - } else if len(yyv4888) != 0 { - yyv4888 = yyv4888[:0] - yyc4888 = true + yyv4879 := *v + yyh4879, yyl4879 := z.DecSliceHelperStart() + var yyc4879 bool + if yyl4879 == 0 { + if yyv4879 == nil { + yyv4879 = []ResourceQuota{} + yyc4879 = true + } else if len(yyv4879) != 0 { + yyv4879 = yyv4879[:0] + yyc4879 = true } - } else if yyl4888 > 0 { - var yyrr4888, yyrl4888 int - var yyrt4888 bool - if yyl4888 > cap(yyv4888) { + } else if yyl4879 > 0 { + var yyrr4879, yyrl4879 int + var yyrt4879 bool + if yyl4879 > cap(yyv4879) { - yyrg4888 := len(yyv4888) > 0 - yyv24888 := yyv4888 - yyrl4888, yyrt4888 = z.DecInferLen(yyl4888, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4888 { - if yyrl4888 <= cap(yyv4888) { - yyv4888 = yyv4888[:yyrl4888] + yyrg4879 := len(yyv4879) > 0 + yyv24879 := yyv4879 + yyrl4879, yyrt4879 = z.DecInferLen(yyl4879, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4879 { + if yyrl4879 <= cap(yyv4879) { + yyv4879 = yyv4879[:yyrl4879] } else { - yyv4888 = make([]ResourceQuota, yyrl4888) + yyv4879 = make([]ResourceQuota, yyrl4879) } } else { - yyv4888 = make([]ResourceQuota, yyrl4888) + yyv4879 = make([]ResourceQuota, yyrl4879) } - yyc4888 = true - yyrr4888 = len(yyv4888) - if yyrg4888 { - copy(yyv4888, yyv24888) + yyc4879 = true + yyrr4879 = len(yyv4879) + if yyrg4879 { + copy(yyv4879, yyv24879) } - } else if yyl4888 != len(yyv4888) { - yyv4888 = yyv4888[:yyl4888] - yyc4888 = true + } else if yyl4879 != len(yyv4879) { + yyv4879 = yyv4879[:yyl4879] + yyc4879 = true } - yyj4888 := 0 - for ; yyj4888 < yyrr4888; yyj4888++ { - yyh4888.ElemContainerState(yyj4888) + yyj4879 := 0 + for ; yyj4879 < yyrr4879; yyj4879++ { + yyh4879.ElemContainerState(yyj4879) if r.TryDecodeAsNil() { - yyv4888[yyj4888] = ResourceQuota{} + yyv4879[yyj4879] = ResourceQuota{} } else { - yyv4889 := &yyv4888[yyj4888] - yyv4889.CodecDecodeSelf(d) + yyv4880 := &yyv4879[yyj4879] + yyv4880.CodecDecodeSelf(d) } } - if yyrt4888 { - for ; yyj4888 < yyl4888; yyj4888++ { - yyv4888 = append(yyv4888, ResourceQuota{}) - yyh4888.ElemContainerState(yyj4888) + if yyrt4879 { + for ; yyj4879 < yyl4879; yyj4879++ { + yyv4879 = append(yyv4879, ResourceQuota{}) + yyh4879.ElemContainerState(yyj4879) if r.TryDecodeAsNil() { - yyv4888[yyj4888] = ResourceQuota{} + yyv4879[yyj4879] = ResourceQuota{} } else { - yyv4890 := &yyv4888[yyj4888] - yyv4890.CodecDecodeSelf(d) + yyv4881 := &yyv4879[yyj4879] + yyv4881.CodecDecodeSelf(d) } } } } else { - yyj4888 := 0 - for ; !r.CheckBreak(); yyj4888++ { + yyj4879 := 0 + for ; !r.CheckBreak(); yyj4879++ { - if yyj4888 >= len(yyv4888) { - yyv4888 = append(yyv4888, ResourceQuota{}) // var yyz4888 ResourceQuota - yyc4888 = true + if yyj4879 >= len(yyv4879) { + yyv4879 = append(yyv4879, ResourceQuota{}) // var yyz4879 ResourceQuota + yyc4879 = true } - yyh4888.ElemContainerState(yyj4888) - if yyj4888 < len(yyv4888) { + yyh4879.ElemContainerState(yyj4879) + if yyj4879 < len(yyv4879) { if r.TryDecodeAsNil() { - yyv4888[yyj4888] = ResourceQuota{} + yyv4879[yyj4879] = ResourceQuota{} } else { - yyv4891 := &yyv4888[yyj4888] - yyv4891.CodecDecodeSelf(d) + yyv4882 := &yyv4879[yyj4879] + yyv4882.CodecDecodeSelf(d) } } else { @@ -62642,17 +62560,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj4888 < len(yyv4888) { - yyv4888 = yyv4888[:yyj4888] - yyc4888 = true - } else if yyj4888 == 0 && yyv4888 == nil { - yyv4888 = []ResourceQuota{} - yyc4888 = true + if yyj4879 < len(yyv4879) { + yyv4879 = yyv4879[:yyj4879] + yyc4879 = true + } else if yyj4879 == 0 && yyv4879 == nil { + yyv4879 = []ResourceQuota{} + yyc4879 = true } } - yyh4888.End() - if yyc4888 { - *v = yyv4888 + yyh4879.End() + if yyc4879 { + *v = yyv4879 } } @@ -62661,23 +62579,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4892, yyv4892 := range v { + for yyk4883, yyv4883 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym4893 := z.EncBinary() - _ = yym4893 + yym4884 := z.EncBinary() + _ = yym4884 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk4892)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4883)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv4892 == nil { + if yyv4883 == nil { r.EncodeNil() } else { - yym4894 := z.EncBinary() - _ = yym4894 + yym4885 := z.EncBinary() + _ = yym4885 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4892)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4883)) } } } @@ -62689,80 +62607,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4895 := *v - yyl4895 := r.ReadMapStart() - yybh4895 := z.DecBasicHandle() - if yyv4895 == nil { - yyrl4895, _ := z.DecInferLen(yyl4895, yybh4895.MaxInitLen, 40) - yyv4895 = make(map[string][]uint8, yyrl4895) - *v = yyv4895 + yyv4886 := *v + yyl4886 := r.ReadMapStart() + yybh4886 := z.DecBasicHandle() + if yyv4886 == nil { + yyrl4886, _ := z.DecInferLen(yyl4886, yybh4886.MaxInitLen, 40) + yyv4886 = make(map[string][]uint8, yyrl4886) + *v = yyv4886 } - var yymk4895 string - var yymv4895 []uint8 - var yymg4895 bool - if yybh4895.MapValueReset { - yymg4895 = true + var yymk4886 string + var yymv4886 []uint8 + var yymg4886 bool + if yybh4886.MapValueReset { + yymg4886 = true } - if yyl4895 > 0 { - for yyj4895 := 0; yyj4895 < yyl4895; yyj4895++ { + if yyl4886 > 0 { + for yyj4886 := 0; yyj4886 < yyl4886; yyj4886++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4895 = "" + yymk4886 = "" } else { - yymk4895 = string(r.DecodeString()) + yymk4886 = string(r.DecodeString()) } - if yymg4895 { - yymv4895 = yyv4895[yymk4895] + if yymg4886 { + yymv4886 = yyv4886[yymk4886] } else { - yymv4895 = nil + yymv4886 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4895 = nil + yymv4886 = nil } else { - yyv4897 := &yymv4895 - yym4898 := z.DecBinary() - _ = yym4898 + yyv4888 := &yymv4886 + yym4889 := z.DecBinary() + _ = yym4889 if false { } else { - *yyv4897 = r.DecodeBytes(*(*[]byte)(yyv4897), false, false) + *yyv4888 = r.DecodeBytes(*(*[]byte)(yyv4888), false, false) } } - if yyv4895 != nil { - yyv4895[yymk4895] = yymv4895 + if yyv4886 != nil { + yyv4886[yymk4886] = yymv4886 } } - } else if yyl4895 < 0 { - for yyj4895 := 0; !r.CheckBreak(); yyj4895++ { + } else if yyl4886 < 0 { + for yyj4886 := 0; !r.CheckBreak(); yyj4886++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4895 = "" + yymk4886 = "" } else { - yymk4895 = string(r.DecodeString()) + yymk4886 = string(r.DecodeString()) } - if yymg4895 { - yymv4895 = yyv4895[yymk4895] + if yymg4886 { + yymv4886 = yyv4886[yymk4886] } else { - yymv4895 = nil + yymv4886 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4895 = nil + yymv4886 = nil } else { - yyv4900 := &yymv4895 - yym4901 := z.DecBinary() - _ = yym4901 + yyv4891 := &yymv4886 + yym4892 := z.DecBinary() + _ = yym4892 if false { } else { - *yyv4900 = r.DecodeBytes(*(*[]byte)(yyv4900), false, false) + *yyv4891 = r.DecodeBytes(*(*[]byte)(yyv4891), false, false) } } - if yyv4895 != nil { - yyv4895[yymk4895] = yymv4895 + if yyv4886 != nil { + yyv4886[yymk4886] = yymv4886 } } } // else len==0: TODO: Should we clear map entries? @@ -62774,10 +62692,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4902 := range v { + for _, yyv4893 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4903 := &yyv4902 - yy4903.CodecEncodeSelf(e) + yy4894 := &yyv4893 + yy4894.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62787,83 +62705,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4904 := *v - yyh4904, yyl4904 := z.DecSliceHelperStart() - var yyc4904 bool - if yyl4904 == 0 { - if yyv4904 == nil { - yyv4904 = []Secret{} - yyc4904 = true - } else if len(yyv4904) != 0 { - yyv4904 = yyv4904[:0] - yyc4904 = true + yyv4895 := *v + yyh4895, yyl4895 := z.DecSliceHelperStart() + var yyc4895 bool + if yyl4895 == 0 { + if yyv4895 == nil { + yyv4895 = []Secret{} + yyc4895 = true + } else if len(yyv4895) != 0 { + yyv4895 = yyv4895[:0] + yyc4895 = true } - } else if yyl4904 > 0 { - var yyrr4904, yyrl4904 int - var yyrt4904 bool - if yyl4904 > cap(yyv4904) { + } else if yyl4895 > 0 { + var yyrr4895, yyrl4895 int + var yyrt4895 bool + if yyl4895 > cap(yyv4895) { - yyrg4904 := len(yyv4904) > 0 - yyv24904 := yyv4904 - yyrl4904, yyrt4904 = z.DecInferLen(yyl4904, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4904 { - if yyrl4904 <= cap(yyv4904) { - yyv4904 = yyv4904[:yyrl4904] + yyrg4895 := len(yyv4895) > 0 + yyv24895 := yyv4895 + yyrl4895, yyrt4895 = z.DecInferLen(yyl4895, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4895 { + if yyrl4895 <= cap(yyv4895) { + yyv4895 = yyv4895[:yyrl4895] } else { - yyv4904 = make([]Secret, yyrl4904) + yyv4895 = make([]Secret, yyrl4895) } } else { - yyv4904 = make([]Secret, yyrl4904) + yyv4895 = make([]Secret, yyrl4895) } - yyc4904 = true - yyrr4904 = len(yyv4904) - if yyrg4904 { - copy(yyv4904, yyv24904) + yyc4895 = true + yyrr4895 = len(yyv4895) + if yyrg4895 { + copy(yyv4895, yyv24895) } - } else if yyl4904 != len(yyv4904) { - yyv4904 = yyv4904[:yyl4904] - yyc4904 = true + } else if yyl4895 != len(yyv4895) { + yyv4895 = yyv4895[:yyl4895] + yyc4895 = true } - yyj4904 := 0 - for ; yyj4904 < yyrr4904; yyj4904++ { - yyh4904.ElemContainerState(yyj4904) + yyj4895 := 0 + for ; yyj4895 < yyrr4895; yyj4895++ { + yyh4895.ElemContainerState(yyj4895) if r.TryDecodeAsNil() { - yyv4904[yyj4904] = Secret{} + yyv4895[yyj4895] = Secret{} } else { - yyv4905 := &yyv4904[yyj4904] - yyv4905.CodecDecodeSelf(d) + yyv4896 := &yyv4895[yyj4895] + yyv4896.CodecDecodeSelf(d) } } - if yyrt4904 { - for ; yyj4904 < yyl4904; yyj4904++ { - yyv4904 = append(yyv4904, Secret{}) - yyh4904.ElemContainerState(yyj4904) + if yyrt4895 { + for ; yyj4895 < yyl4895; yyj4895++ { + yyv4895 = append(yyv4895, Secret{}) + yyh4895.ElemContainerState(yyj4895) if r.TryDecodeAsNil() { - yyv4904[yyj4904] = Secret{} + yyv4895[yyj4895] = Secret{} } else { - yyv4906 := &yyv4904[yyj4904] - yyv4906.CodecDecodeSelf(d) + yyv4897 := &yyv4895[yyj4895] + yyv4897.CodecDecodeSelf(d) } } } } else { - yyj4904 := 0 - for ; !r.CheckBreak(); yyj4904++ { + yyj4895 := 0 + for ; !r.CheckBreak(); yyj4895++ { - if yyj4904 >= len(yyv4904) { - yyv4904 = append(yyv4904, Secret{}) // var yyz4904 Secret - yyc4904 = true + if yyj4895 >= len(yyv4895) { + yyv4895 = append(yyv4895, Secret{}) // var yyz4895 Secret + yyc4895 = true } - yyh4904.ElemContainerState(yyj4904) - if yyj4904 < len(yyv4904) { + yyh4895.ElemContainerState(yyj4895) + if yyj4895 < len(yyv4895) { if r.TryDecodeAsNil() { - yyv4904[yyj4904] = Secret{} + yyv4895[yyj4895] = Secret{} } else { - yyv4907 := &yyv4904[yyj4904] - yyv4907.CodecDecodeSelf(d) + yyv4898 := &yyv4895[yyj4895] + yyv4898.CodecDecodeSelf(d) } } else { @@ -62871,17 +62789,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj4904 < len(yyv4904) { - yyv4904 = yyv4904[:yyj4904] - yyc4904 = true - } else if yyj4904 == 0 && yyv4904 == nil { - yyv4904 = []Secret{} - yyc4904 = true + if yyj4895 < len(yyv4895) { + yyv4895 = yyv4895[:yyj4895] + yyc4895 = true + } else if yyj4895 == 0 && yyv4895 == nil { + yyv4895 = []Secret{} + yyc4895 = true } } - yyh4904.End() - if yyc4904 { - *v = yyv4904 + yyh4895.End() + if yyc4895 { + *v = yyv4895 } } @@ -62890,10 +62808,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4908 := range v { + for _, yyv4899 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4909 := &yyv4908 - yy4909.CodecEncodeSelf(e) + yy4900 := &yyv4899 + yy4900.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62903,83 +62821,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4910 := *v - yyh4910, yyl4910 := z.DecSliceHelperStart() - var yyc4910 bool - if yyl4910 == 0 { - if yyv4910 == nil { - yyv4910 = []ConfigMap{} - yyc4910 = true - } else if len(yyv4910) != 0 { - yyv4910 = yyv4910[:0] - yyc4910 = true + yyv4901 := *v + yyh4901, yyl4901 := z.DecSliceHelperStart() + var yyc4901 bool + if yyl4901 == 0 { + if yyv4901 == nil { + yyv4901 = []ConfigMap{} + yyc4901 = true + } else if len(yyv4901) != 0 { + yyv4901 = yyv4901[:0] + yyc4901 = true } - } else if yyl4910 > 0 { - var yyrr4910, yyrl4910 int - var yyrt4910 bool - if yyl4910 > cap(yyv4910) { + } else if yyl4901 > 0 { + var yyrr4901, yyrl4901 int + var yyrt4901 bool + if yyl4901 > cap(yyv4901) { - yyrg4910 := len(yyv4910) > 0 - yyv24910 := yyv4910 - yyrl4910, yyrt4910 = z.DecInferLen(yyl4910, z.DecBasicHandle().MaxInitLen, 264) - if yyrt4910 { - if yyrl4910 <= cap(yyv4910) { - yyv4910 = yyv4910[:yyrl4910] + yyrg4901 := len(yyv4901) > 0 + yyv24901 := yyv4901 + yyrl4901, yyrt4901 = z.DecInferLen(yyl4901, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4901 { + if yyrl4901 <= cap(yyv4901) { + yyv4901 = yyv4901[:yyrl4901] } else { - yyv4910 = make([]ConfigMap, yyrl4910) + yyv4901 = make([]ConfigMap, yyrl4901) } } else { - yyv4910 = make([]ConfigMap, yyrl4910) + yyv4901 = make([]ConfigMap, yyrl4901) } - yyc4910 = true - yyrr4910 = len(yyv4910) - if yyrg4910 { - copy(yyv4910, yyv24910) + yyc4901 = true + yyrr4901 = len(yyv4901) + if yyrg4901 { + copy(yyv4901, yyv24901) } - } else if yyl4910 != len(yyv4910) { - yyv4910 = yyv4910[:yyl4910] - yyc4910 = true + } else if yyl4901 != len(yyv4901) { + yyv4901 = yyv4901[:yyl4901] + yyc4901 = true } - yyj4910 := 0 - for ; yyj4910 < yyrr4910; yyj4910++ { - yyh4910.ElemContainerState(yyj4910) + yyj4901 := 0 + for ; yyj4901 < yyrr4901; yyj4901++ { + yyh4901.ElemContainerState(yyj4901) if r.TryDecodeAsNil() { - yyv4910[yyj4910] = ConfigMap{} + yyv4901[yyj4901] = ConfigMap{} } else { - yyv4911 := &yyv4910[yyj4910] - yyv4911.CodecDecodeSelf(d) + yyv4902 := &yyv4901[yyj4901] + yyv4902.CodecDecodeSelf(d) } } - if yyrt4910 { - for ; yyj4910 < yyl4910; yyj4910++ { - yyv4910 = append(yyv4910, ConfigMap{}) - yyh4910.ElemContainerState(yyj4910) + if yyrt4901 { + for ; yyj4901 < yyl4901; yyj4901++ { + yyv4901 = append(yyv4901, ConfigMap{}) + yyh4901.ElemContainerState(yyj4901) if r.TryDecodeAsNil() { - yyv4910[yyj4910] = ConfigMap{} + yyv4901[yyj4901] = ConfigMap{} } else { - yyv4912 := &yyv4910[yyj4910] - yyv4912.CodecDecodeSelf(d) + yyv4903 := &yyv4901[yyj4901] + yyv4903.CodecDecodeSelf(d) } } } } else { - yyj4910 := 0 - for ; !r.CheckBreak(); yyj4910++ { + yyj4901 := 0 + for ; !r.CheckBreak(); yyj4901++ { - if yyj4910 >= len(yyv4910) { - yyv4910 = append(yyv4910, ConfigMap{}) // var yyz4910 ConfigMap - yyc4910 = true + if yyj4901 >= len(yyv4901) { + yyv4901 = append(yyv4901, ConfigMap{}) // var yyz4901 ConfigMap + yyc4901 = true } - yyh4910.ElemContainerState(yyj4910) - if yyj4910 < len(yyv4910) { + yyh4901.ElemContainerState(yyj4901) + if yyj4901 < len(yyv4901) { if r.TryDecodeAsNil() { - yyv4910[yyj4910] = ConfigMap{} + yyv4901[yyj4901] = ConfigMap{} } else { - yyv4913 := &yyv4910[yyj4910] - yyv4913.CodecDecodeSelf(d) + yyv4904 := &yyv4901[yyj4901] + yyv4904.CodecDecodeSelf(d) } } else { @@ -62987,17 +62905,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj4910 < len(yyv4910) { - yyv4910 = yyv4910[:yyj4910] - yyc4910 = true - } else if yyj4910 == 0 && yyv4910 == nil { - yyv4910 = []ConfigMap{} - yyc4910 = true + if yyj4901 < len(yyv4901) { + yyv4901 = yyv4901[:yyj4901] + yyc4901 = true + } else if yyj4901 == 0 && yyv4901 == nil { + yyv4901 = []ConfigMap{} + yyc4901 = true } } - yyh4910.End() - if yyc4910 { - *v = yyv4910 + yyh4901.End() + if yyc4901 { + *v = yyv4901 } } @@ -63006,10 +62924,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4914 := range v { + for _, yyv4905 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4915 := &yyv4914 - yy4915.CodecEncodeSelf(e) + yy4906 := &yyv4905 + yy4906.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -63019,83 +62937,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4916 := *v - yyh4916, yyl4916 := z.DecSliceHelperStart() - var yyc4916 bool - if yyl4916 == 0 { - if yyv4916 == nil { - yyv4916 = []ComponentCondition{} - yyc4916 = true - } else if len(yyv4916) != 0 { - yyv4916 = yyv4916[:0] - yyc4916 = true + yyv4907 := *v + yyh4907, yyl4907 := z.DecSliceHelperStart() + var yyc4907 bool + if yyl4907 == 0 { + if yyv4907 == nil { + yyv4907 = []ComponentCondition{} + yyc4907 = true + } else if len(yyv4907) != 0 { + yyv4907 = yyv4907[:0] + yyc4907 = true } - } else if yyl4916 > 0 { - var yyrr4916, yyrl4916 int - var yyrt4916 bool - if yyl4916 > cap(yyv4916) { + } else if yyl4907 > 0 { + var yyrr4907, yyrl4907 int + var yyrt4907 bool + if yyl4907 > cap(yyv4907) { - yyrg4916 := len(yyv4916) > 0 - yyv24916 := yyv4916 - yyrl4916, yyrt4916 = z.DecInferLen(yyl4916, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4916 { - if yyrl4916 <= cap(yyv4916) { - yyv4916 = yyv4916[:yyrl4916] + yyrg4907 := len(yyv4907) > 0 + yyv24907 := yyv4907 + yyrl4907, yyrt4907 = z.DecInferLen(yyl4907, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4907 { + if yyrl4907 <= cap(yyv4907) { + yyv4907 = yyv4907[:yyrl4907] } else { - yyv4916 = make([]ComponentCondition, yyrl4916) + yyv4907 = make([]ComponentCondition, yyrl4907) } } else { - yyv4916 = make([]ComponentCondition, yyrl4916) + yyv4907 = make([]ComponentCondition, yyrl4907) } - yyc4916 = true - yyrr4916 = len(yyv4916) - if yyrg4916 { - copy(yyv4916, yyv24916) + yyc4907 = true + yyrr4907 = len(yyv4907) + if yyrg4907 { + copy(yyv4907, yyv24907) } - } else if yyl4916 != len(yyv4916) { - yyv4916 = yyv4916[:yyl4916] - yyc4916 = true + } else if yyl4907 != len(yyv4907) { + yyv4907 = yyv4907[:yyl4907] + yyc4907 = true } - yyj4916 := 0 - for ; yyj4916 < yyrr4916; yyj4916++ { - yyh4916.ElemContainerState(yyj4916) + yyj4907 := 0 + for ; yyj4907 < yyrr4907; yyj4907++ { + yyh4907.ElemContainerState(yyj4907) if r.TryDecodeAsNil() { - yyv4916[yyj4916] = ComponentCondition{} + yyv4907[yyj4907] = ComponentCondition{} } else { - yyv4917 := &yyv4916[yyj4916] - yyv4917.CodecDecodeSelf(d) + yyv4908 := &yyv4907[yyj4907] + yyv4908.CodecDecodeSelf(d) } } - if yyrt4916 { - for ; yyj4916 < yyl4916; yyj4916++ { - yyv4916 = append(yyv4916, ComponentCondition{}) - yyh4916.ElemContainerState(yyj4916) + if yyrt4907 { + for ; yyj4907 < yyl4907; yyj4907++ { + yyv4907 = append(yyv4907, ComponentCondition{}) + yyh4907.ElemContainerState(yyj4907) if r.TryDecodeAsNil() { - yyv4916[yyj4916] = ComponentCondition{} + yyv4907[yyj4907] = ComponentCondition{} } else { - yyv4918 := &yyv4916[yyj4916] - yyv4918.CodecDecodeSelf(d) + yyv4909 := &yyv4907[yyj4907] + yyv4909.CodecDecodeSelf(d) } } } } else { - yyj4916 := 0 - for ; !r.CheckBreak(); yyj4916++ { + yyj4907 := 0 + for ; !r.CheckBreak(); yyj4907++ { - if yyj4916 >= len(yyv4916) { - yyv4916 = append(yyv4916, ComponentCondition{}) // var yyz4916 ComponentCondition - yyc4916 = true + if yyj4907 >= len(yyv4907) { + yyv4907 = append(yyv4907, ComponentCondition{}) // var yyz4907 ComponentCondition + yyc4907 = true } - yyh4916.ElemContainerState(yyj4916) - if yyj4916 < len(yyv4916) { + yyh4907.ElemContainerState(yyj4907) + if yyj4907 < len(yyv4907) { if r.TryDecodeAsNil() { - yyv4916[yyj4916] = ComponentCondition{} + yyv4907[yyj4907] = ComponentCondition{} } else { - yyv4919 := &yyv4916[yyj4916] - yyv4919.CodecDecodeSelf(d) + yyv4910 := &yyv4907[yyj4907] + yyv4910.CodecDecodeSelf(d) } } else { @@ -63103,17 +63021,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj4916 < len(yyv4916) { - yyv4916 = yyv4916[:yyj4916] - yyc4916 = true - } else if yyj4916 == 0 && yyv4916 == nil { - yyv4916 = []ComponentCondition{} - yyc4916 = true + if yyj4907 < len(yyv4907) { + yyv4907 = yyv4907[:yyj4907] + yyc4907 = true + } else if yyj4907 == 0 && yyv4907 == nil { + yyv4907 = []ComponentCondition{} + yyc4907 = true } } - yyh4916.End() - if yyc4916 { - *v = yyv4916 + yyh4907.End() + if yyc4907 { + *v = yyv4907 } } @@ -63122,10 +63040,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4920 := range v { + for _, yyv4911 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4921 := &yyv4920 - yy4921.CodecEncodeSelf(e) + yy4912 := &yyv4911 + yy4912.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -63135,83 +63053,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4922 := *v - yyh4922, yyl4922 := z.DecSliceHelperStart() - var yyc4922 bool - if yyl4922 == 0 { - if yyv4922 == nil { - yyv4922 = []ComponentStatus{} - yyc4922 = true - } else if len(yyv4922) != 0 { - yyv4922 = yyv4922[:0] - yyc4922 = true + yyv4913 := *v + yyh4913, yyl4913 := z.DecSliceHelperStart() + var yyc4913 bool + if yyl4913 == 0 { + if yyv4913 == nil { + yyv4913 = []ComponentStatus{} + yyc4913 = true + } else if len(yyv4913) != 0 { + yyv4913 = yyv4913[:0] + yyc4913 = true } - } else if yyl4922 > 0 { - var yyrr4922, yyrl4922 int - var yyrt4922 bool - if yyl4922 > cap(yyv4922) { + } else if yyl4913 > 0 { + var yyrr4913, yyrl4913 int + var yyrt4913 bool + if yyl4913 > cap(yyv4913) { - yyrg4922 := len(yyv4922) > 0 - yyv24922 := yyv4922 - yyrl4922, yyrt4922 = z.DecInferLen(yyl4922, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4922 { - if yyrl4922 <= cap(yyv4922) { - yyv4922 = yyv4922[:yyrl4922] + yyrg4913 := len(yyv4913) > 0 + yyv24913 := yyv4913 + yyrl4913, yyrt4913 = z.DecInferLen(yyl4913, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4913 { + if yyrl4913 <= cap(yyv4913) { + yyv4913 = yyv4913[:yyrl4913] } else { - yyv4922 = make([]ComponentStatus, yyrl4922) + yyv4913 = make([]ComponentStatus, yyrl4913) } } else { - yyv4922 = make([]ComponentStatus, yyrl4922) + yyv4913 = make([]ComponentStatus, yyrl4913) } - yyc4922 = true - yyrr4922 = len(yyv4922) - if yyrg4922 { - copy(yyv4922, yyv24922) + yyc4913 = true + yyrr4913 = len(yyv4913) + if yyrg4913 { + copy(yyv4913, yyv24913) } - } else if yyl4922 != len(yyv4922) { - yyv4922 = yyv4922[:yyl4922] - yyc4922 = true + } else if yyl4913 != len(yyv4913) { + yyv4913 = yyv4913[:yyl4913] + yyc4913 = true } - yyj4922 := 0 - for ; yyj4922 < yyrr4922; yyj4922++ { - yyh4922.ElemContainerState(yyj4922) + yyj4913 := 0 + for ; yyj4913 < yyrr4913; yyj4913++ { + yyh4913.ElemContainerState(yyj4913) if r.TryDecodeAsNil() { - yyv4922[yyj4922] = ComponentStatus{} + yyv4913[yyj4913] = ComponentStatus{} } else { - yyv4923 := &yyv4922[yyj4922] - yyv4923.CodecDecodeSelf(d) + yyv4914 := &yyv4913[yyj4913] + yyv4914.CodecDecodeSelf(d) } } - if yyrt4922 { - for ; yyj4922 < yyl4922; yyj4922++ { - yyv4922 = append(yyv4922, ComponentStatus{}) - yyh4922.ElemContainerState(yyj4922) + if yyrt4913 { + for ; yyj4913 < yyl4913; yyj4913++ { + yyv4913 = append(yyv4913, ComponentStatus{}) + yyh4913.ElemContainerState(yyj4913) if r.TryDecodeAsNil() { - yyv4922[yyj4922] = ComponentStatus{} + yyv4913[yyj4913] = ComponentStatus{} } else { - yyv4924 := &yyv4922[yyj4922] - yyv4924.CodecDecodeSelf(d) + yyv4915 := &yyv4913[yyj4913] + yyv4915.CodecDecodeSelf(d) } } } } else { - yyj4922 := 0 - for ; !r.CheckBreak(); yyj4922++ { + yyj4913 := 0 + for ; !r.CheckBreak(); yyj4913++ { - if yyj4922 >= len(yyv4922) { - yyv4922 = append(yyv4922, ComponentStatus{}) // var yyz4922 ComponentStatus - yyc4922 = true + if yyj4913 >= len(yyv4913) { + yyv4913 = append(yyv4913, ComponentStatus{}) // var yyz4913 ComponentStatus + yyc4913 = true } - yyh4922.ElemContainerState(yyj4922) - if yyj4922 < len(yyv4922) { + yyh4913.ElemContainerState(yyj4913) + if yyj4913 < len(yyv4913) { if r.TryDecodeAsNil() { - yyv4922[yyj4922] = ComponentStatus{} + yyv4913[yyj4913] = ComponentStatus{} } else { - yyv4925 := &yyv4922[yyj4922] - yyv4925.CodecDecodeSelf(d) + yyv4916 := &yyv4913[yyj4913] + yyv4916.CodecDecodeSelf(d) } } else { @@ -63219,16 +63137,16 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj4922 < len(yyv4922) { - yyv4922 = yyv4922[:yyj4922] - yyc4922 = true - } else if yyj4922 == 0 && yyv4922 == nil { - yyv4922 = []ComponentStatus{} - yyc4922 = true + if yyj4913 < len(yyv4913) { + yyv4913 = yyv4913[:yyj4913] + yyc4913 = true + } else if yyj4913 == 0 && yyv4913 == nil { + yyv4913 = []ComponentStatus{} + yyc4913 = true } } - yyh4922.End() - if yyc4922 { - *v = yyv4922 + yyh4913.End() + if yyc4913 { + *v = yyv4913 } } diff --git a/pkg/api/types.go b/pkg/api/types.go index a8148da5..dba9c0fa 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -62,6 +62,7 @@ type ObjectMeta struct { // some resources may allow a client to request the generation of an appropriate name // automatically. Name is primarily intended for creation idempotence and configuration // definition. + // +optional Name string `json:"name,omitempty"` // GenerateName indicates that the name should be made unique by the server prior to persisting @@ -75,35 +76,42 @@ type ObjectMeta struct { // generated name exists - instead, it will either return 201 Created or 500 with Reason // ServerTimeout indicating a unique name could not be found in the time allotted, and the client // should retry (optionally after the time indicated in the Retry-After header). + // +optional GenerateName string `json:"generateName,omitempty"` // Namespace defines the space within which name must be unique. An empty namespace is // equivalent to the "default" namespace, but "default" is the canonical representation. // Not all objects are required to be scoped to a namespace - the value of this field for // those objects will be empty. + // +optional Namespace string `json:"namespace,omitempty"` // SelfLink is a URL representing this object. + // +optional SelfLink string `json:"selfLink,omitempty"` // UID is the unique in time and space value for this object. It is typically generated by // the server on successful creation of a resource and is not allowed to change on PUT // operations. + // +optional UID types.UID `json:"uid,omitempty"` // An opaque value that represents the version of this resource. May be used for optimistic // concurrency, change detection, and the watch operation on a resource or set of resources. // Clients must treat these values as opaque and values may only be valid for a particular // resource or set of resources. Only servers will generate resource versions. + // +optional ResourceVersion string `json:"resourceVersion,omitempty"` // A sequence number representing a specific generation of the desired state. // Populated by the system. Read-only. + // +optional Generation int64 `json:"generation,omitempty"` // CreationTimestamp is a timestamp representing the server time when this object was // created. It is not guaranteed to be set in happens-before order across separate operations. // Clients may not set this value. It is represented in RFC3339 form and is in UTC. + // +optional CreationTimestamp unversioned.Time `json:"creationTimestamp,omitempty"` // DeletionTimestamp is the time after which this resource will be deleted. This @@ -115,10 +123,12 @@ type ObjectMeta struct { // a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination // signal to the containers in the pod. Once the resource is deleted in the API, the Kubelet // will send a hard termination signal to the container. + // +optional DeletionTimestamp *unversioned.Time `json:"deletionTimestamp,omitempty"` // DeletionGracePeriodSeconds records the graceful deletion value set when graceful deletion // was requested. Represents the most recent grace period, and may only be shortened once set. + // +optional DeletionGracePeriodSeconds *int64 `json:"deletionGracePeriodSeconds,omitempty"` // Labels are key value pairs that may be used to scope and select individual resources. @@ -130,29 +140,34 @@ type ObjectMeta struct { // The prefix is optional. If the prefix is not specified, the key is assumed to be private // to the user. Other system components that wish to use labels must specify a prefix. The // "kubernetes.io/" prefix is reserved for use by kubernetes components. + // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations are unstructured key value data stored with a resource that may be set by // external tooling. They are not queryable and should be preserved when modifying // objects. Annotation keys have the same formatting restrictions as Label keys. See the // comments on Labels for details. + // +optional Annotations map[string]string `json:"annotations,omitempty"` // List of objects depended by this object. If ALL objects in the list have // been deleted, this object will be garbage collected. If this object is managed by a controller, // 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 OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` // 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 // from the list. If the deletionTimestamp of the object is non-nil, entries // in this list can only be removed. + // +optional Finalizers []string `json:"finalizers,omitempty"` // The name of the cluster which the object belongs to. // This is used to distinguish resources with same name and namespace in different clusters. // This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. + // +optional ClusterName string `json:"clusterName,omitempty"` } @@ -177,6 +192,7 @@ type Volume struct { // The VolumeSource represents the location and type of a volume to mount. // This is optional for now. If not specified, the Volume is implied to be an EmptyDir. // This implied behavior is deprecated and will be removed in a future version. + // +optional VolumeSource `json:",inline,omitempty"` } @@ -190,58 +206,80 @@ type VolumeSource struct { // --- // TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not // mount host directories as read/write. + // +optional HostPath *HostPathVolumeSource `json:"hostPath,omitempty"` // EmptyDir represents a temporary directory that shares a pod's lifetime. + // +optional EmptyDir *EmptyDirVolumeSource `json:"emptyDir,omitempty"` // GCEPersistentDisk represents a GCE Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. + // +optional GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty"` // AWSElasticBlockStore represents an AWS EBS disk that is attached to a // kubelet's host machine and then exposed to the pod. + // +optional AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"` // GitRepo represents a git repository at a particular revision. + // +optional GitRepo *GitRepoVolumeSource `json:"gitRepo,omitempty"` // Secret represents a secret that should populate this volume. + // +optional Secret *SecretVolumeSource `json:"secret,omitempty"` // NFS represents an NFS mount on the host that shares a pod's lifetime + // +optional NFS *NFSVolumeSource `json:"nfs,omitempty"` // ISCSIVolumeSource represents an ISCSI Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. + // +optional ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty"` // Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime + // +optional Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty"` // PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace + // +optional PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"` // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime + // +optional RBD *RBDVolumeSource `json:"rbd,omitempty"` // Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty"` // FlexVolume represents a generic volume resource that is // provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + // +optional FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` // Cinder represents a cinder volume attached and mounted on kubelets host machine + // +optional Cinder *CinderVolumeSource `json:"cinder,omitempty"` // CephFS represents a Cephfs mount on the host that shares a pod's lifetime + // +optional CephFS *CephFSVolumeSource `json:"cephfs,omitempty"` // Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + // +optional Flocker *FlockerVolumeSource `json:"flocker,omitempty"` // DownwardAPI represents metadata about the pod that should populate this volume + // +optional DownwardAPI *DownwardAPIVolumeSource `json:"downwardAPI,omitempty"` // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional FC *FCVolumeSource `json:"fc,omitempty"` // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty"` // ConfigMap represents a configMap that should populate this volume + // +optional ConfigMap *ConfigMapVolumeSource `json:"configMap,omitempty"` // VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty"` // AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty"` } @@ -250,42 +288,58 @@ type VolumeSource struct { type PersistentVolumeSource struct { // GCEPersistentDisk represents a GCE Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. + // +optional GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty"` // AWSElasticBlockStore represents an AWS EBS disk that is attached to a // kubelet's host machine and then exposed to the pod. + // +optional AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"` // HostPath represents a directory on the host. // Provisioned by a developer or tester. // This is useful for single-node development and testing only! // On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. + // +optional HostPath *HostPathVolumeSource `json:"hostPath,omitempty"` // Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod + // +optional Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty"` // NFS represents an NFS mount on the host that shares a pod's lifetime + // +optional NFS *NFSVolumeSource `json:"nfs,omitempty"` // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime + // +optional RBD *RBDVolumeSource `json:"rbd,omitempty"` // Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty"` // ISCSIVolumeSource represents an ISCSI resource that is attached to a // kubelet's host machine and then exposed to the pod. + // +optional ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty"` // FlexVolume represents a generic volume resource that is // provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + // +optional FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` // Cinder represents a cinder volume attached and mounted on kubelets host machine + // +optional Cinder *CinderVolumeSource `json:"cinder,omitempty"` // CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional CephFS *CephFSVolumeSource `json:"cephfs,omitempty"` // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional FC *FCVolumeSource `json:"fc,omitempty"` // Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + // +optional Flocker *FlockerVolumeSource `json:"flocker,omitempty"` // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty"` // VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty"` // AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty"` } @@ -294,6 +348,7 @@ type PersistentVolumeClaimVolumeSource struct { ClaimName string `json:"claimName"` // Optional: Defaults to false (read/write). ReadOnly here // will force the ReadOnly setting in VolumeMounts + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -302,12 +357,15 @@ type PersistentVolumeClaimVolumeSource struct { type PersistentVolume struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` //Spec defines a persistent volume owned by the cluster + // +optional Spec PersistentVolumeSpec `json:"spec,omitempty"` // Status represents the current information about persistent volume. + // +optional Status PersistentVolumeStatus `json:"status,omitempty"` } @@ -317,14 +375,17 @@ type PersistentVolumeSpec struct { // Source represents the location and type of a volume to mount. PersistentVolumeSource `json:",inline"` // AccessModes contains all ways the volume can be mounted + // +optional AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty"` // ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. // ClaimRef is expected to be non-nil when bound. // claim.VolumeName is the authoritative bind between PV and PVC. // When set to non-nil value, PVC.Spec.Selector of the referenced PVC is // ignored, i.e. labels of this PV do not need to match PVC selector. + // +optional ClaimRef *ObjectReference `json:"claimRef,omitempty"` // Optional: what happens to a persistent volume when released from its claim. + // +optional PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy `json:"persistentVolumeReclaimPolicy,omitempty"` } @@ -345,15 +406,19 @@ const ( type PersistentVolumeStatus struct { // Phase indicates if a volume is available, bound to a claim, or released by a claim + // +optional Phase PersistentVolumePhase `json:"phase,omitempty"` // A human-readable message indicating details about why the volume is in this state. + // +optional Message string `json:"message,omitempty"` // Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI + // +optional Reason string `json:"reason,omitempty"` } type PersistentVolumeList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []PersistentVolume `json:"items"` } @@ -363,17 +428,21 @@ type PersistentVolumeList struct { // PersistentVolumeClaim is a user's request for and claim to a persistent volume type PersistentVolumeClaim struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the volume requested by a pod author + // +optional Spec PersistentVolumeClaimSpec `json:"spec,omitempty"` // Status represents the current information about a claim + // +optional Status PersistentVolumeClaimStatus `json:"status,omitempty"` } type PersistentVolumeClaimList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []PersistentVolumeClaim `json:"items"` } @@ -382,23 +451,30 @@ type PersistentVolumeClaimList struct { // and allows a Source for provider-specific attributes type PersistentVolumeClaimSpec struct { // Contains the types of access modes required + // +optional AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty"` // A label query over volumes to consider for binding. This selector is // ignored when VolumeName is set + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` // Resources represents the minimum resources required + // +optional Resources ResourceRequirements `json:"resources,omitempty"` // VolumeName is the binding reference to the PersistentVolume backing this // claim. When set to non-empty value Selector is not evaluated + // +optional VolumeName string `json:"volumeName,omitempty"` } type PersistentVolumeClaimStatus struct { // Phase represents the current phase of PersistentVolumeClaim + // +optional Phase PersistentVolumeClaimPhase `json:"phase,omitempty"` // AccessModes contains all ways the volume backing the PVC can be mounted + // +optional AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty"` // Represents the actual resources of the underlying volume + // +optional Capacity ResourceList `json:"capacity,omitempty"` } @@ -459,6 +535,7 @@ type EmptyDirVolumeSource struct { // this will cover the most common needs. // Optional: what type of storage medium should back this directory. // The default is "" which means to use the node's default medium. + // +optional Medium StorageMedium `json:"medium,omitempty"` } @@ -493,13 +570,16 @@ type GCEPersistentDiskVolumeSource struct { // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty"` // Optional: Partition on the disk to mount. // If omitted, kubelet will attempt to mount the device name. // Ex. For /dev/sda1, this field is "1", for /dev/sda, this field is 0 or empty. + // +optional Partition int32 `json:"partition,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -509,20 +589,26 @@ type GCEPersistentDiskVolumeSource struct { type ISCSIVolumeSource struct { // Required: iSCSI target portal // the portal is either an IP or ip_addr:port if port is other than default (typically TCP ports 860 and 3260) + // +optional TargetPortal string `json:"targetPortal,omitempty"` // Required: target iSCSI Qualified Name + // +optional IQN string `json:"iqn,omitempty"` // Required: iSCSI target lun number + // +optional Lun int32 `json:"lun,omitempty"` // Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. + // +optional ISCSIInterface string `json:"iscsiInterface,omitempty"` // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -538,9 +624,11 @@ type FCVolumeSource struct { // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -552,17 +640,21 @@ type FlexVolumeSource struct { // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + // +optional FSType string `json:"fsType,omitempty"` // Optional: SecretRef is reference to the secret object containing // sensitive information to pass to the plugin scripts. This may be // empty if no secret object is specified. If the secret object // contains more than one secret, all secrets are passed to the plugin // scripts. + // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` // Optional: Extra driver options if any. + // +optional Options map[string]string `json:"options,omitempty"` } @@ -579,13 +671,16 @@ type AWSElasticBlockStoreVolumeSource struct { // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty"` // Optional: Partition on the disk to mount. // If omitted, kubelet will attempt to mount the device name. // Ex. For /dev/sda1, this field is "1", for /dev/sda, this field is 0 or empty. + // +optional Partition int32 `json:"partition,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -596,11 +691,13 @@ type GitRepoVolumeSource struct { // Repository URL Repository string `json:"repository"` // Commit hash, this is optional + // +optional Revision string `json:"revision,omitempty"` // Clone target, this is optional // Must not contain or start with '..'. If '.' is supplied, the volume directory will be the // git repository. Otherwise, if specified, the volume will contain the git repository in // the subdirectory with the given name. + // +optional Directory string `json:"directory,omitempty"` // TODO: Consider credentials here. } @@ -612,6 +709,7 @@ type GitRepoVolumeSource struct { // Secret volumes support ownership management and SELinux relabeling. type SecretVolumeSource struct { // Name of the secret in the pod's namespace to use. + // +optional SecretName string `json:"secretName,omitempty"` // If unspecified, each key-value pair in the Data field of the referenced // Secret will be projected into the volume as a file whose name is the @@ -620,12 +718,14 @@ type SecretVolumeSource struct { // present. If a key is specified which is not present in the Secret, // the volume setup will error. Paths must be relative and may not contain // the '..' path or start with '..'. + // +optional Items []KeyToPath `json:"items,omitempty"` // Mode bits to use on created files by default. Must be a value between // 0 and 0777. // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional DefaultMode *int32 `json:"defaultMode,omitempty"` } @@ -640,6 +740,7 @@ type NFSVolumeSource struct { // Optional: Defaults to false (read/write). ReadOnly here will force // the NFS export to be mounted with read-only permissions + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -656,14 +757,17 @@ type QuobyteVolumeSource struct { // Defaults to false (read/write). ReadOnly here will force // the Quobyte to be mounted with read-only permissions + // +optional ReadOnly bool `json:"readOnly,omitempty"` // User to map volume access to // Defaults to the root user + // +optional User string `json:"user,omitempty"` // Group to map volume access to // Default is no group + // +optional Group string `json:"group,omitempty"` } @@ -678,6 +782,7 @@ type GlusterfsVolumeSource struct { // Optional: Defaults to false (read/write). ReadOnly here will force // the Glusterfs to be mounted with read-only permissions + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -692,17 +797,23 @@ type RBDVolumeSource struct { // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty"` // Optional: RadosPool is the rados pool name,default is rbd + // +optional RBDPool string `json:"pool,omitempty"` // Optional: RBDUser is the rados user name, default is admin + // +optional RadosUser string `json:"user,omitempty"` // Optional: Keyring is the path to key ring for RBDUser, default is /etc/ceph/keyring + // +optional Keyring string `json:"keyring,omitempty"` // Optional: SecretRef is name of the authentication secret for RBDUser, default is nil. + // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -716,9 +827,11 @@ type CinderVolumeSource struct { // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional FSType string `json:"fsType,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -728,15 +841,20 @@ type CephFSVolumeSource struct { // Required: Monitors is a collection of Ceph monitors Monitors []string `json:"monitors"` // Optional: Used as the mounted root, rather than the full Ceph tree, default is / + // +optional Path string `json:"path,omitempty"` // Optional: User is the rados user name, default is admin + // +optional User string `json:"user,omitempty"` // Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + // +optional SecretFile string `json:"secretFile,omitempty"` // Optional: SecretRef is reference to the authentication secret for User, default is empty. + // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -746,8 +864,10 @@ type CephFSVolumeSource struct { type FlockerVolumeSource struct { // Name of the dataset stored as metadata -> name on the dataset for Flocker // should be considered as deprecated + // +optional DatasetName string `json:"datasetName,omitempty"` // UUID of the dataset. This is unique identifier of a Flocker dataset + // +optional DatasetUUID string `json:"datasetUUID,omitempty"` } @@ -755,12 +875,14 @@ type FlockerVolumeSource struct { // Downward API volumes support ownership management and SELinux relabeling. type DownwardAPIVolumeSource struct { // Items is a list of DownwardAPIVolume file + // +optional Items []DownwardAPIVolumeFile `json:"items,omitempty"` // Mode bits to use on created files by default. Must be a value between // 0 and 0777. // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional DefaultMode *int32 `json:"defaultMode,omitempty"` } @@ -769,14 +891,17 @@ type DownwardAPIVolumeFile struct { // Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' Path string `json:"path"` // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + // +optional FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty"` // Selects a resource of the container: only resources limits and requests // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty"` // Optional: mode bits to use on this file, must be a value between 0 // and 0777. If not specified, the volume defaultMode will be used. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional Mode *int32 `json:"mode,omitempty"` } @@ -788,6 +913,7 @@ type AzureFileVolumeSource struct { ShareName string `json:"shareName"` // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty"` } @@ -798,6 +924,7 @@ type VsphereVirtualDiskVolumeSource struct { // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional FSType string `json:"fsType,omitempty"` } @@ -816,13 +943,16 @@ type AzureDiskVolumeSource struct { // The URI the the data disk in the blob storage DataDiskURI string `json:"diskURI"` // Host Caching mode: None, Read Only, Read Write. + // +optional CachingMode *AzureDataDiskCachingMode `json:"cachingMode,omitempty"` // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional FSType *string `json:"fsType,omitempty"` // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly *bool `json:"readOnly,omitempty"` } @@ -841,12 +971,14 @@ type ConfigMapVolumeSource struct { // present. If a key is specified which is not present in the ConfigMap, // the volume setup will error. Paths must be relative and may not contain // the '..' path or start with '..'. + // +optional Items []KeyToPath `json:"items,omitempty"` // Mode bits to use on created files by default. Must be a value between // 0 and 0777. // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional DefaultMode *int32 `json:"defaultMode,omitempty"` } @@ -864,6 +996,7 @@ type KeyToPath struct { // and 0777. If not specified, the volume defaultMode will be used. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional Mode *int32 `json:"mode,omitempty"` } @@ -871,15 +1004,19 @@ type KeyToPath struct { type ContainerPort struct { // Optional: If specified, this must be an IANA_SVC_NAME Each named port // in a pod must have a unique name. + // +optional Name string `json:"name,omitempty"` // Optional: If specified, this must be a valid port number, 0 < x < 65536. // If HostNetwork is specified, this must match ContainerPort. + // +optional HostPort int32 `json:"hostPort,omitempty"` // Required: This must be a valid port number, 0 < x < 65536. ContainerPort int32 `json:"containerPort"` // Required: Supports "TCP" and "UDP". + // +optional Protocol Protocol `json:"protocol,omitempty"` // Optional: What host IP to bind the external port to. + // +optional HostIP string `json:"hostIP,omitempty"` } @@ -888,11 +1025,13 @@ type VolumeMount struct { // Required: This must match the Name of a Volume [above]. Name string `json:"name"` // Optional: Defaults to false (read-write). + // +optional ReadOnly bool `json:"readOnly,omitempty"` // Required. Must not contain ':'. MountPath string `json:"mountPath"` // Path within the volume from which the container's volume should be mounted. // Defaults to "" (volume's root). + // +optional SubPath string `json:"subPath,omitempty"` } @@ -908,8 +1047,10 @@ type EnvVar struct { // syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped // references will never be expanded, regardless of whether the variable // exists or not. + // +optional Value string `json:"value,omitempty"` // Optional: Specifies a source the value of this var should come from. + // +optional ValueFrom *EnvVarSource `json:"valueFrom,omitempty"` } @@ -918,13 +1059,17 @@ type EnvVar struct { type EnvVarSource struct { // Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, // spec.nodeName, spec.serviceAccountName, status.podIP. + // +optional FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty"` // Selects a resource of the container: only resources limits and requests // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty"` // Selects a key of a ConfigMap. + // +optional ConfigMapKeyRef *ConfigMapKeySelector `json:"configMapKeyRef,omitempty"` // Selects a key of a secret in the pod's namespace. + // +optional SecretKeyRef *SecretKeySelector `json:"secretKeyRef,omitempty"` } @@ -941,10 +1086,12 @@ type ObjectFieldSelector struct { // ResourceFieldSelector represents container resources (cpu, memory) and their output format type ResourceFieldSelector struct { // Container name: required for volumes, optional for env vars + // +optional ContainerName string `json:"containerName,omitempty"` // Required: resource to select Resource string `json:"resource"` // Specifies the output format of the exposed resources, defaults to "1" + // +optional Divisor resource.Quantity `json:"divisor,omitempty"` } @@ -975,15 +1122,20 @@ type HTTPHeader struct { // HTTPGetAction describes an action based on HTTP Get requests. type HTTPGetAction struct { // Optional: Path to access on the HTTP server. + // +optional Path string `json:"path,omitempty"` // Required: Name or number of the port to access on the container. + // +optional Port intstr.IntOrString `json:"port,omitempty"` // Optional: Host name to connect to, defaults to the pod IP. You // probably want to set "Host" in httpHeaders instead. + // +optional Host string `json:"host,omitempty"` // Optional: Scheme to use for connecting to the host, defaults to HTTP. + // +optional Scheme URIScheme `json:"scheme,omitempty"` // Optional: Custom headers to set in the request. HTTP allows repeated headers. + // +optional HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty"` } @@ -1000,6 +1152,7 @@ const ( // TCPSocketAction describes an action based on opening a socket type TCPSocketAction struct { // Required: Port to connect to. + // +optional Port intstr.IntOrString `json:"port,omitempty"` } @@ -1009,6 +1162,7 @@ type ExecAction struct { // command is root ('/') in the container's filesystem. The command is simply exec'd, it is // not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use // a shell, you need to explicitly call out to that shell. + // +optional Command []string `json:"command,omitempty"` } @@ -1018,15 +1172,20 @@ type Probe struct { // The action taken to determine the health of a container Handler `json:",inline"` // Length of time before health checking is activated. In seconds. + // +optional InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty"` // Length of time before health checking times out. In seconds. + // +optional TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"` // How often (in seconds) to perform the probe. + // +optional PeriodSeconds int32 `json:"periodSeconds,omitempty"` // Minimum consecutive successes for the probe to be considered successful after having failed. // Must be 1 for liveness. + // +optional SuccessThreshold int32 `json:"successThreshold,omitempty"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. + // +optional FailureThreshold int32 `json:"failureThreshold,omitempty"` } @@ -1048,18 +1207,22 @@ type Capability string // Capabilities represent POSIX capabilities that can be added or removed to a running container. type Capabilities struct { // Added capabilities + // +optional Add []Capability `json:"add,omitempty"` // Removed capabilities + // +optional Drop []Capability `json:"drop,omitempty"` } // ResourceRequirements describes the compute resource requirements. type ResourceRequirements struct { // Limits describes the maximum amount of compute resources allowed. + // +optional Limits ResourceList `json:"limits,omitempty"` // Requests describes the minimum amount of compute resources required. // If Request is omitted for a container, it defaults to Limits if that is explicitly specified, // otherwise to an implementation-defined value + // +optional Requests ResourceList `json:"requests,omitempty"` } @@ -1075,36 +1238,51 @@ type Container struct { // 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. + // +optional Command []string `json:"command,omitempty"` // Optional: The docker image's cmd is used if this is not provided; cannot be updated. // 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. + // +optional Args []string `json:"args,omitempty"` // Optional: Defaults to Docker's default. - WorkingDir string `json:"workingDir,omitempty"` - Ports []ContainerPort `json:"ports,omitempty"` - Env []EnvVar `json:"env,omitempty"` + // +optional + WorkingDir string `json:"workingDir,omitempty"` + // +optional + Ports []ContainerPort `json:"ports,omitempty"` + // +optional + Env []EnvVar `json:"env,omitempty"` // Compute resource requirements. - Resources ResourceRequirements `json:"resources,omitempty"` - VolumeMounts []VolumeMount `json:"volumeMounts,omitempty"` - LivenessProbe *Probe `json:"livenessProbe,omitempty"` - ReadinessProbe *Probe `json:"readinessProbe,omitempty"` - Lifecycle *Lifecycle `json:"lifecycle,omitempty"` + // +optional + Resources ResourceRequirements `json:"resources,omitempty"` + // +optional + VolumeMounts []VolumeMount `json:"volumeMounts,omitempty"` + // +optional + LivenessProbe *Probe `json:"livenessProbe,omitempty"` + // +optional + ReadinessProbe *Probe `json:"readinessProbe,omitempty"` + // +optional + Lifecycle *Lifecycle `json:"lifecycle,omitempty"` // Required. + // +optional TerminationMessagePath string `json:"terminationMessagePath,omitempty"` // Required: Policy for pulling images for this container ImagePullPolicy PullPolicy `json:"imagePullPolicy"` // Optional: SecurityContext defines the security options the container should be run with. // If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + // +optional SecurityContext *SecurityContext `json:"securityContext,omitempty"` // Variables for interactive containers, these have very specialized use-cases (e.g. debugging) // and shouldn't be used for general purpose containers. - Stdin bool `json:"stdin,omitempty"` + // +optional + Stdin bool `json:"stdin,omitempty"` + // +optional StdinOnce bool `json:"stdinOnce,omitempty"` - TTY bool `json:"tty,omitempty"` + // +optional + TTY bool `json:"tty,omitempty"` } // Handler defines a specific action that should be taken @@ -1112,11 +1290,14 @@ type Container struct { type Handler struct { // One and only one of the following should be specified. // Exec specifies the action to take. + // +optional Exec *ExecAction `json:"exec,omitempty"` // HTTPGet specifies the http request to perform. + // +optional HTTPGet *HTTPGetAction `json:"httpGet,omitempty"` // TCPSocket specifies an action involving a TCP port. // TODO: implement a realistic TCP lifecycle hook + // +optional TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty"` } @@ -1126,9 +1307,11 @@ type Handler struct { type Lifecycle struct { // PostStart is called immediately after a container is created. If the handler fails, the container // is terminated and restarted. + // +optional PostStart *Handler `json:"postStart,omitempty"` // PreStop is called immediately before a container is terminated. The reason for termination is // passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. + // +optional PreStop *Handler `json:"preStop,omitempty"` } @@ -1148,38 +1331,52 @@ const ( type ContainerStateWaiting struct { // A brief CamelCase string indicating details about why the container is in waiting state. + // +optional Reason string `json:"reason,omitempty"` // A human-readable message indicating details about why the container is in waiting state. + // +optional Message string `json:"message,omitempty"` } type ContainerStateRunning struct { + // +optional StartedAt unversioned.Time `json:"startedAt,omitempty"` } type ContainerStateTerminated struct { - ExitCode int32 `json:"exitCode"` - Signal int32 `json:"signal,omitempty"` - Reason string `json:"reason,omitempty"` - Message string `json:"message,omitempty"` - StartedAt unversioned.Time `json:"startedAt,omitempty"` - FinishedAt unversioned.Time `json:"finishedAt,omitempty"` - ContainerID string `json:"containerID,omitempty"` + ExitCode int32 `json:"exitCode"` + // +optional + Signal int32 `json:"signal,omitempty"` + // +optional + Reason string `json:"reason,omitempty"` + // +optional + Message string `json:"message,omitempty"` + // +optional + StartedAt unversioned.Time `json:"startedAt,omitempty"` + // +optional + FinishedAt unversioned.Time `json:"finishedAt,omitempty"` + // +optional + ContainerID string `json:"containerID,omitempty"` } // ContainerState holds a possible state of container. // Only one of its members may be specified. // If none of them is specified, the default one is ContainerStateWaiting. type ContainerState struct { - Waiting *ContainerStateWaiting `json:"waiting,omitempty"` - Running *ContainerStateRunning `json:"running,omitempty"` + // +optional + Waiting *ContainerStateWaiting `json:"waiting,omitempty"` + // +optional + Running *ContainerStateRunning `json:"running,omitempty"` + // +optional Terminated *ContainerStateTerminated `json:"terminated,omitempty"` } type ContainerStatus struct { // Each container in a pod must have a unique name. - Name string `json:"name"` - State ContainerState `json:"state,omitempty"` + Name string `json:"name"` + // +optional + State ContainerState `json:"state,omitempty"` + // +optional LastTerminationState ContainerState `json:"lastState,omitempty"` // Ready specifies whether the container has passed its readiness check. Ready bool `json:"ready"` @@ -1188,7 +1385,8 @@ type ContainerStatus struct { RestartCount int32 `json:"restartCount"` Image string `json:"image"` ImageID string `json:"imageID"` - ContainerID string `json:"containerID,omitempty"` + // +optional + ContainerID string `json:"containerID,omitempty"` } // PodPhase is a label for the condition of a pod at the current time. @@ -1225,15 +1423,22 @@ const ( PodReady PodConditionType = "Ready" // PodInitialized means that all init containers in the pod have started successfully. PodInitialized PodConditionType = "Initialized" + // PodReasonUnschedulable reason in PodScheduled PodCondition means that the scheduler + // can't schedule the pod right now, for example due to insufficient resources in the cluster. + PodReasonUnschedulable = "Unschedulable" ) type PodCondition struct { - Type PodConditionType `json:"type"` - Status ConditionStatus `json:"status"` - LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` + Type PodConditionType `json:"type"` + Status ConditionStatus `json:"status"` + // +optional + LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` - Reason string `json:"reason,omitempty"` - Message string `json:"message,omitempty"` + // +optional + Reason string `json:"reason,omitempty"` + // +optional + Message string `json:"message,omitempty"` } // RestartPolicy describes how the container should be restarted. @@ -1251,6 +1456,7 @@ const ( // PodList is a list of Pods. type PodList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []Pod `json:"items"` @@ -1297,6 +1503,7 @@ type NodeSelectorRequirement struct { // the values array must be empty. If the operator is Gt or Lt, the values // array must have a single element, which will be interpreted as an integer. // This array is replaced during a strategic merge patch. + // +optional Values []string `json:"values,omitempty"` } @@ -1316,10 +1523,13 @@ const ( // Affinity is a group of affinity scheduling rules. type Affinity struct { // Describes node affinity scheduling rules for the pod. + // +optional NodeAffinity *NodeAffinity `json:"nodeAffinity,omitempty"` // Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). + // +optional PodAffinity *PodAffinity `json:"podAffinity,omitempty"` // Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). + // +optional PodAntiAffinity *PodAntiAffinity `json:"podAntiAffinity,omitempty"` } @@ -1333,6 +1543,7 @@ type PodAffinity struct { // system will try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional // RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at // scheduling time, the pod will not be scheduled onto the node. @@ -1341,6 +1552,7 @@ type PodAffinity struct { // system may or may not try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` // The scheduler will prefer to schedule pods to nodes that satisfy // the affinity expressions specified by this field, but it may choose @@ -1351,6 +1563,7 @@ type PodAffinity struct { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the // node(s) with the highest sum are the most preferred. + // +optional PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` } @@ -1364,6 +1577,7 @@ type PodAntiAffinity struct { // system will try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional // RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the anti-affinity requirements specified by this field are not met at // scheduling time, the pod will not be scheduled onto the node. @@ -1372,6 +1586,7 @@ type PodAntiAffinity struct { // system may or may not try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` // The scheduler will prefer to schedule pods to nodes that satisfy // the anti-affinity expressions specified by this field, but it may choose @@ -1382,6 +1597,7 @@ type PodAntiAffinity struct { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the // node(s) with the highest sum are the most preferred. + // +optional PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` } @@ -1389,7 +1605,7 @@ type PodAntiAffinity struct { type WeightedPodAffinityTerm struct { // weight associated with matching the corresponding podAffinityTerm, // in the range 1-100. - Weight int `json:"weight"` + Weight int32 `json:"weight"` // Required. A pod affinity term, associated with the corresponding weight. PodAffinityTerm PodAffinityTerm `json:"podAffinityTerm"` } @@ -1402,6 +1618,7 @@ type WeightedPodAffinityTerm struct { // a pod of the set of pods is running. type PodAffinityTerm struct { // A label query over a set of resources, in this case pods. + // +optional LabelSelector *unversioned.LabelSelector `json:"labelSelector,omitempty"` // namespaces specifies which namespaces the labelSelector applies to (matches against); // nil list means "this pod's namespace," empty list means "all namespaces" @@ -1415,6 +1632,7 @@ type PodAffinityTerm struct { // For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as "all topologies" // ("all topologies" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); // for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed. + // +optional TopologyKey string `json:"topologyKey,omitempty"` } @@ -1426,6 +1644,7 @@ type NodeAffinity struct { // If the affinity requirements specified by this field cease to be met // at some point during pod execution (e.g. due to an update), the system // will try to eventually evict the pod from its node. + // +optional // RequiredDuringSchedulingRequiredDuringExecution *NodeSelector `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at @@ -1433,6 +1652,7 @@ type NodeAffinity struct { // If the affinity requirements specified by this field cease to be met // at some point during pod execution (e.g. due to an update), the system // may or may not try to eventually evict the pod from its node. + // +optional RequiredDuringSchedulingIgnoredDuringExecution *NodeSelector `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` // The scheduler will prefer to schedule pods to nodes that satisfy // the affinity expressions specified by this field, but it may choose @@ -1443,6 +1663,7 @@ type NodeAffinity struct { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node matches the corresponding matchExpressions; the // node(s) with the highest sum are the most preferred. + // +optional PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` } @@ -1461,6 +1682,7 @@ type Taint struct { // Required. The taint key to be applied to a node. Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key"` // Required. The taint value corresponding to the taint key. + // +optional Value string `json:"value,omitempty"` // Required. The effect of the taint on pods // that do not tolerate the taint. @@ -1498,17 +1720,21 @@ const ( // the triple using the matching operator . type Toleration struct { // Required. Key is the taint key that the toleration applies to. + // +optional Key string `json:"key,omitempty" patchStrategy:"merge" patchMergeKey:"key"` // operator represents a key's relationship to the value. // Valid operators are Exists and Equal. Defaults to Equal. // Exists is equivalent to wildcard for value, so that a pod can // tolerate all taints of a particular category. + // +optional Operator TolerationOperator `json:"operator,omitempty"` // Value is the taint value the toleration matches to. // If the operator is Exists, the value should be empty, otherwise just a regular string. + // +optional Value string `json:"value,omitempty"` // Effect indicates the taint effect to match. Empty means match all taint effects. // When specified, allowed values are NoSchedule and PreferNoSchedule. + // +optional Effect TaintEffect `json:"effect,omitempty"` // TODO: For forgiveness (#1574), we'd eventually add at least a grace period // here, and possibly an occurrence threshold and period. @@ -1528,7 +1754,8 @@ type PodSpec struct { // List of initialization containers belonging to the pod. InitContainers []Container `json:"-"` // List of containers belonging to the pod. - Containers []Container `json:"containers"` + Containers []Container `json:"containers"` + // +optional RestartPolicy RestartPolicy `json:"restartPolicy,omitempty"` // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. // Value must be non-negative integer. The value zero indicates delete immediately. @@ -1536,13 +1763,17 @@ type PodSpec struct { // The grace period is the duration in seconds after the processes running in the pod are sent // a termination signal and the time when the processes are forcibly halted with a kill signal. // Set this value longer than the expected cleanup time for your process. + // +optional TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Optional duration in seconds relative to the StartTime that the pod may be active on a node // before the system actively tries to terminate the pod; value must be positive integer + // +optional ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"` // Required: Set DNS policy. + // +optional DNSPolicy DNSPolicy `json:"dnsPolicy,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node + // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` // ServiceAccountName is the name of the ServiceAccount to use to run this pod @@ -1552,19 +1783,24 @@ type PodSpec struct { // NodeName is a request to schedule this pod onto a specific node. If it is non-empty, // the scheduler simply schedules this pod onto that node, assuming that it fits resource // requirements. + // +optional NodeName string `json:"nodeName,omitempty"` // SecurityContext holds pod-level security attributes and common container settings. // Optional: Defaults to empty. See type description for default values of each field. + // +optional SecurityContext *PodSecurityContext `json:"securityContext,omitempty"` // ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. // If specified, these secrets will be passed to individual puller implementations for them to use. For example, // in the case of docker, only DockerConfig type secrets are honored. + // +optional ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty"` // Specifies the hostname of the Pod. // If not specified, the pod's hostname will be set to a system-defined value. + // +optional Hostname string `json:"hostname,omitempty"` // If specified, the fully qualified Pod hostname will be "...svc.". // If not specified, the pod will not have a domainname at all. + // +optional Subdomain string `json:"subdomain,omitempty"` } @@ -1584,26 +1820,31 @@ type PodSecurityContext struct { // used must be specified. // Optional: Default to false // +k8s:conversion-gen=false + // +optional HostNetwork bool `json:"hostNetwork,omitempty"` // Use the host's pid namespace. // Optional: Default to false. // +k8s:conversion-gen=false + // +optional HostPID bool `json:"hostPID,omitempty"` // Use the host's ipc namespace. // Optional: Default to false. // +k8s:conversion-gen=false + // +optional HostIPC bool `json:"hostIPC,omitempty"` // The SELinux context to be applied to all containers. // If unspecified, the container runtime will allocate a random SELinux context for each // container. May also be set in SecurityContext. If set in // both SecurityContext and PodSecurityContext, the value specified in SecurityContext // takes precedence for that container. + // +optional SELinuxOptions *SELinuxOptions `json:"seLinuxOptions,omitempty"` // The UID to run the entrypoint of the container process. // Defaults to user specified in image metadata if unspecified. // May also be set in SecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence // for that container. + // +optional RunAsUser *int64 `json:"runAsUser,omitempty"` // Indicates that the container must run as a non-root user. // If true, the Kubelet will validate the image at runtime to ensure that it @@ -1611,10 +1852,12 @@ type PodSecurityContext struct { // If unset or false, no such validation will be performed. // May also be set in SecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"` // A list of groups applied to the first process run in each container, in addition // to the container's primary GID. If unspecified, no groups will be added to // any container. + // +optional SupplementalGroups []int64 `json:"supplementalGroups,omitempty"` // A special supplemental group that applies to all containers in a pod. // Some volume types allow the Kubelet to change the ownership of that volume @@ -1625,24 +1868,32 @@ type PodSecurityContext struct { // 3. The permission bits are OR'd with rw-rw---- // // If unset, the Kubelet will not modify the ownership and permissions of any volume. + // +optional FSGroup *int64 `json:"fsGroup,omitempty"` } // PodStatus represents information about the status of a pod. Status may trail the actual // state of a system. type PodStatus struct { - Phase PodPhase `json:"phase,omitempty"` + // +optional + Phase PodPhase `json:"phase,omitempty"` + // +optional Conditions []PodCondition `json:"conditions,omitempty"` // A human readable message indicating details about why the pod is in this state. + // +optional Message string `json:"message,omitempty"` // A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' + // +optional Reason string `json:"reason,omitempty"` + // +optional HostIP string `json:"hostIP,omitempty"` - PodIP string `json:"podIP,omitempty"` + // +optional + PodIP string `json:"podIP,omitempty"` // 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 StartTime *unversioned.Time `json:"startTime,omitempty"` // The list has one entry per init container in the manifest. The most recent successful @@ -1655,15 +1906,18 @@ type PodStatus struct { // final and should not be relied upon. // TODO: Make real decisions about what our info should look like. Re-enable fuzz test // when we have done this. + // +optional ContainerStatuses []ContainerStatus `json:"containerStatuses,omitempty"` } // PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded type PodStatusResult struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Status represents the current information about a pod. This data may not be up // to date. + // +optional Status PodStatus `json:"status,omitempty"` } @@ -1672,22 +1926,27 @@ type PodStatusResult struct { // Pod is a collection of containers, used as either input (create, update) or as output (list, get). type Pod struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the behavior of a pod. + // +optional Spec PodSpec `json:"spec,omitempty"` // Status represents the current information about a pod. This data may not be up // to date. + // +optional Status PodStatus `json:"status,omitempty"` } // PodTemplateSpec describes the data a pod should have when created from a template type PodTemplateSpec struct { // Metadata of the pods created from this template. + // +optional ObjectMeta `json:"metadata,omitempty"` // Spec defines the behavior of a pod. + // +optional Spec PodSpec `json:"spec,omitempty"` } @@ -1696,15 +1955,18 @@ type PodTemplateSpec struct { // PodTemplate describes a template for creating copies of a predefined pod. type PodTemplate struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Template defines the pods that will be created from this pod template + // +optional Template PodTemplateSpec `json:"template,omitempty"` } // PodTemplateList is a list of PodTemplates. type PodTemplateList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []PodTemplate `json:"items"` @@ -1720,6 +1982,7 @@ type ReplicationControllerSpec struct { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // Selector is a label query over pods that should match the Replicas count. @@ -1728,11 +1991,13 @@ type ReplicationControllerSpec struct { // TemplateRef is a reference to an object that describes the pod that will be created if // insufficient replicas are detected. This reference is ignored if a Template is set. // Must be set before converting to a versioned API object + // +optional //TemplateRef *ObjectReference `json:"templateRef,omitempty"` // Template is the object that describes the pod that will be created if // insufficient replicas are detected. Internally, this takes precedence over a // TemplateRef. + // +optional Template *PodTemplateSpec `json:"template,omitempty"` } @@ -1743,18 +2008,23 @@ type ReplicationControllerStatus struct { Replicas int32 `json:"replicas"` // The number of pods that have labels matching the labels of the pod template of the replication controller. + // +optional FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"` // The number of ready replicas for this replication controller. + // +optional ReadyReplicas int32 `json:"readyReplicas,omitempty"` // The number of available replicas (ready for at least minReadySeconds) for this replication controller. + // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // ObservedGeneration is the most recent generation observed by the controller. + // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Represents the latest available observations of a replication controller's current state. + // +optional Conditions []ReplicationControllerCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` } @@ -1774,13 +2044,14 @@ type ReplicationControllerCondition struct { Type ReplicationControllerConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status ConditionStatus `json:"status"` - // Last time we probed the condition. - LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` // The last time the condition transitioned from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. + // +optional Message string `json:"message,omitempty"` } @@ -1789,19 +2060,23 @@ type ReplicationControllerCondition struct { // ReplicationController represents the configuration of a replication controller. type ReplicationController struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired behavior of this replication controller. + // +optional Spec ReplicationControllerSpec `json:"spec,omitempty"` // Status is the current status of this replication controller. This data may be // out of date by some window of time. + // +optional Status ReplicationControllerStatus `json:"status,omitempty"` } // ReplicationControllerList is a collection of replication controllers. type ReplicationControllerList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []ReplicationController `json:"items"` @@ -1816,6 +2091,7 @@ const ( // ServiceList holds a list of services. type ServiceList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []Service `json:"items"` @@ -1859,6 +2135,7 @@ const ( type ServiceStatus struct { // LoadBalancer contains the current status of the load-balancer, // if one is present. + // +optional LoadBalancer LoadBalancerStatus `json:"loadBalancer,omitempty"` } @@ -1866,6 +2143,7 @@ type ServiceStatus struct { type LoadBalancerStatus struct { // Ingress is a list containing ingress points for the load-balancer; // traffic intended for the service should be sent to these ingress points. + // +optional Ingress []LoadBalancerIngress `json:"ingress,omitempty"` } @@ -1874,10 +2152,12 @@ type LoadBalancerStatus struct { type LoadBalancerIngress struct { // IP is set for load-balancer ingress points that are IP based // (typically GCE or OpenStack load-balancers) + // +optional IP string `json:"ip,omitempty"` // Hostname is set for load-balancer ingress points that are DNS based // (typically AWS load-balancers) + // +optional Hostname string `json:"hostname,omitempty"` } @@ -1897,6 +2177,7 @@ type ServiceSpec struct { // external load-balancer (if supported in the current cloud) which routes // to the clusterIP. // More info: http://kubernetes.io/docs/user-guide/services#overview + // +optional Type ServiceType `json:"type,omitempty"` // Required: The list of ports that are exposed by this service. @@ -1919,6 +2200,7 @@ type ServiceSpec struct { // Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if // type is ExternalName. // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + // +optional ClusterIP string `json:"clusterIP,omitempty"` // ExternalName is the external reference that kubedns or equivalent will @@ -1928,6 +2210,7 @@ type ServiceSpec struct { // ExternalIPs are used by external load balancers, or can be set by // users to handle external traffic that arrives at a node. + // +optional ExternalIPs []string `json:"externalIPs,omitempty"` // Only applies to Service Type: LoadBalancer @@ -1935,14 +2218,17 @@ type ServiceSpec struct { // This feature depends on whether the underlying cloud-provider supports specifying // the loadBalancerIP when a load balancer is created. // This field will be ignored if the cloud-provider does not support the feature. + // +optional LoadBalancerIP string `json:"loadBalancerIP,omitempty"` // Optional: Supports "ClientIP" and "None". Used to maintain session affinity. + // +optional SessionAffinity ServiceAffinity `json:"sessionAffinity,omitempty"` // Optional: If specified and supported by the platform, this will restrict traffic through the cloud-provider // load-balancer will be restricted to the specified client IPs. This field will be ignored if the // cloud-provider does not support the feature." + // +optional LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty"` } @@ -1979,12 +2265,15 @@ type ServicePort struct { // will answer requests sent through the proxy. type Service struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the behavior of a service. + // +optional Spec ServiceSpec `json:"spec,omitempty"` // Status represents the current status of a service. + // +optional Status ServiceStatus `json:"status,omitempty"` } @@ -1996,7 +2285,8 @@ type Service struct { // * a set of secrets type ServiceAccount struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount Secrets []ObjectReference `json:"secrets"` @@ -2004,12 +2294,14 @@ type ServiceAccount struct { // ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images // in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets // can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. + // +optional ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty"` } // ServiceAccountList is a list of ServiceAccount objects type ServiceAccountList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []ServiceAccount `json:"items"` @@ -2031,7 +2323,8 @@ type ServiceAccountList struct { // ] type Endpoints struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // The set of all endpoints is the union of all subsets. Subsets []EndpointSubset @@ -2062,8 +2355,10 @@ type EndpointAddress struct { IP string // Optional: Hostname of this endpoint // Meant to be used by DNS servers etc. + // +optional Hostname string `json:"hostname,omitempty"` // Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. + // +optional NodeName *string `json:"nodeName,omitempty"` // Optional: The kubernetes object related to the entry point. TargetRef *ObjectReference @@ -2085,6 +2380,7 @@ type EndpointPort struct { // EndpointsList is a list of endpoints. type EndpointsList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []Endpoints `json:"items"` @@ -2094,16 +2390,20 @@ type EndpointsList struct { type NodeSpec struct { // PodCIDR represents the pod IP range assigned to the node // Note: assigning IP ranges to nodes might need to be revisited when we support migratable IPs. + // +optional PodCIDR string `json:"podCIDR,omitempty"` // External ID of the node assigned by some machine database (e.g. a cloud provider) + // +optional ExternalID string `json:"externalID,omitempty"` // ID of the node assigned by the cloud provider // Note: format is "://" + // +optional ProviderID string `json:"providerID,omitempty"` // Unschedulable controls node schedulability of new pods. By default node is schedulable. + // +optional Unschedulable bool `json:"unschedulable,omitempty"` } @@ -2122,6 +2422,7 @@ type DaemonEndpoint struct { // NodeDaemonEndpoints lists ports opened by daemons running on the Node. type NodeDaemonEndpoints struct { // Endpoint on which Kubelet is listening. + // +optional KubeletEndpoint DaemonEndpoint `json:"kubeletEndpoint,omitempty"` } @@ -2156,24 +2457,34 @@ type NodeSystemInfo struct { // NodeStatus is information about the current status of a node. type NodeStatus struct { // Capacity represents the total resources of a node. + // +optional Capacity ResourceList `json:"capacity,omitempty"` // Allocatable represents the resources of a node that are available for scheduling. + // +optional Allocatable ResourceList `json:"allocatable,omitempty"` // NodePhase is the current lifecycle phase of the node. + // +optional Phase NodePhase `json:"phase,omitempty"` // Conditions is an array of current node conditions. + // +optional Conditions []NodeCondition `json:"conditions,omitempty"` // Queried from cloud provider, if available. + // +optional Addresses []NodeAddress `json:"addresses,omitempty"` // Endpoints of daemons running on the Node. + // +optional DaemonEndpoints NodeDaemonEndpoints `json:"daemonEndpoints,omitempty"` // Set of ids/uuids to uniquely identify the node. + // +optional NodeInfo NodeSystemInfo `json:"nodeInfo,omitempty"` // List of container images on this node + // +optional Images []ContainerImage `json:"images,omitempty"` // List of attachable volumes in use (mounted) by the node. + // +optional VolumesInUse []UniqueVolumeName `json:"volumesInUse,omitempty"` // List of volumes that are attached to the node. + // +optional VolumesAttached []AttachedVolume `json:"volumesAttached,omitempty"` } @@ -2194,6 +2505,7 @@ type AttachedVolume struct { type AvoidPods struct { // Bounded-sized list of signatures of pods that should avoid this node, sorted // in timestamp order from oldest to newest. Size of the slice is unspecified. + // +optional PreferAvoidPods []PreferAvoidPodsEntry `json:"preferAvoidPods,omitempty"` } @@ -2202,10 +2514,13 @@ type PreferAvoidPodsEntry struct { // The class of pods. PodSignature PodSignature `json:"podSignature"` // Time at which this entry was added to the list. + // +optional EvictionTime unversioned.Time `json:"evictionTime,omitempty"` // (brief) reason why this entry was added to the list. + // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating why this entry was added to the list. + // +optional Message string `json:"message,omitempty"` } @@ -2213,6 +2528,7 @@ type PreferAvoidPodsEntry struct { // Exactly one field should be set. type PodSignature struct { // Reference to controller whose pods should avoid this node. + // +optional PodController *OwnerReference `json:"podController,omitempty"` } @@ -2221,6 +2537,7 @@ type ContainerImage struct { // Names by which this image is known. Names []string `json:"names"` // The size of the image in bytes. + // +optional SizeBytes int64 `json:"sizeBytes,omitempty"` } @@ -2258,12 +2575,16 @@ const ( ) type NodeCondition struct { - Type NodeConditionType `json:"type"` - Status ConditionStatus `json:"status"` - LastHeartbeatTime unversioned.Time `json:"lastHeartbeatTime,omitempty"` - LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` - Reason string `json:"reason,omitempty"` - Message string `json:"message,omitempty"` + Type NodeConditionType `json:"type"` + Status ConditionStatus `json:"status"` + // +optional + LastHeartbeatTime unversioned.Time `json:"lastHeartbeatTime,omitempty"` + // +optional + LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` + // +optional + Reason string `json:"reason,omitempty"` + // +optional + Message string `json:"message,omitempty"` } type NodeAddressType string @@ -2286,6 +2607,7 @@ type NodeAddress struct { // see http://releases.k8s.io/HEAD/docs/design/resources.md for more details. type NodeResources struct { // Capacity represents the available resources of a node + // +optional Capacity ResourceList `json:"capacity,omitempty"` } @@ -2309,6 +2631,11 @@ const ( // Number of Pods that may be running on this Node: see ResourcePods ) +const ( + // Namespace prefix for opaque counted resources (alpha). + ResourceOpaqueIntPrefix = "pod.alpha.kubernetes.io/opaque-int-resource-" +) + // ResourceList is a set of (resource name, quantity) pairs. type ResourceList map[ResourceName]resource.Quantity @@ -2319,18 +2646,22 @@ type ResourceList map[ResourceName]resource.Quantity // The name of the node according to etcd is in ObjectMeta.Name. type Node struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the behavior of a node. + // +optional Spec NodeSpec `json:"spec,omitempty"` // Status describes the current status of a Node + // +optional Status NodeStatus `json:"status,omitempty"` } // NodeList is a list of nodes. type NodeList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []Node `json:"items"` @@ -2353,6 +2684,7 @@ const ( // NamespaceStatus is information about the current status of a Namespace. type NamespaceStatus struct { // Phase is the current lifecycle phase of the namespace. + // +optional Phase NamespacePhase `json:"phase,omitempty"` } @@ -2373,18 +2705,22 @@ const ( // Use of multiple namespaces is optional type Namespace struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the behavior of the Namespace. + // +optional Spec NamespaceSpec `json:"spec,omitempty"` // Status describes the current status of a Namespace + // +optional Status NamespaceStatus `json:"status,omitempty"` } // NamespaceList is a list of Namespaces. type NamespaceList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []Namespace `json:"items"` @@ -2394,6 +2730,7 @@ type NamespaceList struct { type Binding struct { unversioned.TypeMeta `json:",inline"` // ObjectMeta describes the object that is being bound. + // +optional ObjectMeta `json:"metadata,omitempty"` // Target is the object to bind to. @@ -2403,6 +2740,7 @@ type Binding struct { // Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. type Preconditions struct { // Specifies the target UID. + // +optional UID *types.UID `json:"uid,omitempty"` } @@ -2413,14 +2751,17 @@ type DeleteOptions struct { // Optional 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. + // +optional GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"` // Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be // returned. + // +optional Preconditions *Preconditions `json:"preconditions,omitempty"` // Should the dependent objects be orphaned. If true/false, the "orphan" // finalizer will be added to/removed from the object's finalizers list. + // +optional OrphanDependents *bool `json:"orphanDependents,omitempty"` } @@ -2492,18 +2833,23 @@ type PodAttachOptions struct { unversioned.TypeMeta `json:",inline"` // Stdin if true indicates that stdin is to be redirected for the attach call + // +optional Stdin bool `json:"stdin,omitempty"` // Stdout if true indicates that stdout is to be redirected for the attach call + // +optional Stdout bool `json:"stdout,omitempty"` // Stderr if true indicates that stderr is to be redirected for the attach call + // +optional Stderr bool `json:"stderr,omitempty"` // TTY if true indicates that a tty will be allocated for the attach call + // +optional TTY bool `json:"tty,omitempty"` // Container to attach to. + // +optional Container string `json:"container,omitempty"` } @@ -2574,17 +2920,24 @@ type OwnerReference struct { // More info: http://kubernetes.io/docs/user-guide/identifiers#uids UID types.UID `json:"uid"` // If true, this reference points to the managing controller. + // +optional Controller *bool `json:"controller,omitempty"` } // ObjectReference contains enough information to let you inspect or modify the referred object. type ObjectReference struct { - Kind string `json:"kind,omitempty"` - Namespace string `json:"namespace,omitempty"` - Name string `json:"name,omitempty"` - UID types.UID `json:"uid,omitempty"` - APIVersion string `json:"apiVersion,omitempty"` - ResourceVersion string `json:"resourceVersion,omitempty"` + // +optional + Kind string `json:"kind,omitempty"` + // +optional + Namespace string `json:"namespace,omitempty"` + // +optional + Name string `json:"name,omitempty"` + // +optional + UID types.UID `json:"uid,omitempty"` + // +optional + APIVersion string `json:"apiVersion,omitempty"` + // +optional + ResourceVersion string `json:"resourceVersion,omitempty"` // Optional. If referring to a piece of an object instead of an entire object, this string // should contain information to identify the sub-object. For example, if the object @@ -2594,6 +2947,7 @@ type ObjectReference struct { // index 2 in this pod). This syntax is chosen only to have some well-defined way of // referencing a part of an object. // TODO: this design is not final and this field is subject to change in the future. + // +optional FieldPath string `json:"fieldPath,omitempty"` } @@ -2605,13 +2959,16 @@ type LocalObjectReference struct { type SerializedReference struct { unversioned.TypeMeta `json:",inline"` - Reference ObjectReference `json:"reference,omitempty"` + // +optional + Reference ObjectReference `json:"reference,omitempty"` } type EventSource struct { // Component from which the event is generated. + // +optional Component string `json:"component,omitempty"` // Node name on which the event is generated. + // +optional Host string `json:"host,omitempty"` } @@ -2629,40 +2986,50 @@ const ( // TODO: Decide whether to store these separately or with the object they apply to. type Event struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Required. The object that this event is about. + // +optional InvolvedObject ObjectReference `json:"involvedObject,omitempty"` // Optional; this should be a short, machine understandable string that gives the reason // for this event being generated. For example, if the event is reporting that a container // can't start, the Reason might be "ImageNotFound". // TODO: provide exact specification for format. + // +optional Reason string `json:"reason,omitempty"` // Optional. A human-readable description of the status of this operation. // TODO: decide on maximum length. + // +optional Message string `json:"message,omitempty"` // Optional. The component reporting this event. Should be a short machine understandable string. + // +optional Source EventSource `json:"source,omitempty"` // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) + // +optional FirstTimestamp unversioned.Time `json:"firstTimestamp,omitempty"` // The time at which the most recent occurrence of this event was recorded. + // +optional LastTimestamp unversioned.Time `json:"lastTimestamp,omitempty"` // The number of times this event has occurred. + // +optional Count int32 `json:"count,omitempty"` // Type of this event (Normal, Warning), new types could be added in the future. + // +optional Type string `json:"type,omitempty"` } // EventList is a list of events. type EventList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []Event `json:"items"` @@ -2671,6 +3038,7 @@ type EventList struct { // List holds a list of objects, which may not be known by the server. type List struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []runtime.Object `json:"items"` @@ -2691,16 +3059,22 @@ const ( // LimitRangeItem defines a min/max usage limit for any resource that matches on kind type LimitRangeItem struct { // Type of resource that this limit applies to + // +optional Type LimitType `json:"type,omitempty"` // Max usage constraints on this kind by resource name + // +optional Max ResourceList `json:"max,omitempty"` // Min usage constraints on this kind by resource name + // +optional Min ResourceList `json:"min,omitempty"` // Default resource requirement limit value by resource name. + // +optional Default ResourceList `json:"default,omitempty"` // DefaultRequest resource requirement request value by resource name. + // +optional DefaultRequest ResourceList `json:"defaultRequest,omitempty"` // MaxLimitRequestRatio represents the max burst value for the named resource + // +optional MaxLimitRequestRatio ResourceList `json:"maxLimitRequestRatio,omitempty"` } @@ -2715,15 +3089,18 @@ type LimitRangeSpec struct { // LimitRange sets resource usage limits for each kind of resource in a Namespace type LimitRange struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the limits enforced + // +optional Spec LimitRangeSpec `json:"spec,omitempty"` } // LimitRangeList is a list of LimitRange items. type LimitRangeList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is a list of LimitRange objects @@ -2779,17 +3156,21 @@ const ( // ResourceQuotaSpec defines the desired hard limits to enforce for Quota type ResourceQuotaSpec struct { // Hard is the set of desired hard limits for each named resource + // +optional Hard ResourceList `json:"hard,omitempty"` // A collection of filters that must match each object tracked by a quota. // If not specified, the quota matches all objects. + // +optional Scopes []ResourceQuotaScope `json:"scopes,omitempty"` } // ResourceQuotaStatus defines the enforced hard limits and observed use type ResourceQuotaStatus struct { // Hard is the set of enforced hard limits for each named resource + // +optional Hard ResourceList `json:"hard,omitempty"` // Used is the current observed total usage of the resource in the namespace + // +optional Used ResourceList `json:"used,omitempty"` } @@ -2798,18 +3179,22 @@ type ResourceQuotaStatus struct { // ResourceQuota sets aggregate quota restrictions enforced per namespace type ResourceQuota struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired quota + // +optional Spec ResourceQuotaSpec `json:"spec,omitempty"` // Status defines the actual enforced quota and its current usage + // +optional Status ResourceQuotaStatus `json:"status,omitempty"` } // ResourceQuotaList is a list of ResourceQuota items type ResourceQuotaList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is a list of ResourceQuota objects @@ -2822,15 +3207,18 @@ type ResourceQuotaList struct { // the Data field must be less than MaxSecretSize bytes. type Secret struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN // or leading dot followed by valid DNS_SUBDOMAIN. // The serialized form of the secret data is a base64 encoded string, // representing the arbitrary (possibly non-string) data value here. + // +optional Data map[string][]byte `json:"data,omitempty"` // Used to facilitate programmatic handling of secret data. + // +optional Type SecretType `json:"type,omitempty"` } @@ -2920,6 +3308,7 @@ const ( type SecretList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []Secret `json:"items"` @@ -2930,16 +3319,19 @@ type SecretList struct { // ConfigMap holds configuration data for components or applications to consume. type ConfigMap struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // Data contains the configuration data. // Each key must be a valid DNS_SUBDOMAIN with an optional leading dot. + // +optional Data map[string]string `json:"data,omitempty"` } // ConfigMapList is a resource containing a list of ConfigMap objects. type ConfigMapList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of ConfigMaps. @@ -3007,10 +3399,12 @@ const ( ) type ComponentCondition struct { - Type ComponentConditionType `json:"type"` - Status ConditionStatus `json:"status"` - Message string `json:"message,omitempty"` - Error string `json:"error,omitempty"` + Type ComponentConditionType `json:"type"` + Status ConditionStatus `json:"status"` + // +optional + Message string `json:"message,omitempty"` + // +optional + Error string `json:"error,omitempty"` } // +genclient=true @@ -3019,13 +3413,16 @@ type ComponentCondition struct { // ComponentStatus (and ComponentStatusList) holds the cluster validation info. type ComponentStatus struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` + // +optional Conditions []ComponentCondition `json:"conditions,omitempty"` } type ComponentStatusList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []ComponentStatus `json:"items"` @@ -3037,20 +3434,24 @@ type ComponentStatusList struct { type SecurityContext struct { // The capabilities to add/drop when running containers. // Defaults to the default set of capabilities granted by the container runtime. + // +optional Capabilities *Capabilities `json:"capabilities,omitempty"` // Run container in privileged mode. // Processes in privileged containers are essentially equivalent to root on the host. // Defaults to false. + // +optional Privileged *bool `json:"privileged,omitempty"` // The SELinux context to be applied to the container. // If unspecified, the container runtime will allocate a random SELinux context for each // container. May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional SELinuxOptions *SELinuxOptions `json:"seLinuxOptions,omitempty"` // The UID to run the entrypoint of the container process. // Defaults to user specified in image metadata if unspecified. // May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional RunAsUser *int64 `json:"runAsUser,omitempty"` // Indicates that the container must run as a non-root user. // If true, the Kubelet will validate the image at runtime to ensure that it @@ -3058,21 +3459,27 @@ type SecurityContext struct { // If unset or false, no such validation will be performed. // May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"` // The read-only root filesystem allows you to restrict the locations that an application can write // files to, ensuring the persistent data can only be written to mounts. + // +optional ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem,omitempty"` } // SELinuxOptions are the labels to be applied to the container. type SELinuxOptions struct { // SELinux user label + // +optional User string `json:"user,omitempty"` // SELinux role label + // +optional Role string `json:"role,omitempty"` // SELinux type label + // +optional Type string `json:"type,omitempty"` // SELinux level label. + // +optional Level string `json:"level,omitempty"` } @@ -3085,7 +3492,8 @@ type SELinuxOptions struct { // of the cluster, thus the object is less strongly typed than most. type RangeAllocation struct { unversioned.TypeMeta `json:",inline"` - ObjectMeta `json:"metadata,omitempty"` + // +optional + ObjectMeta `json:"metadata,omitempty"` // A string representing a unique label for a range of resources, such as a CIDR "10.0.0.0/8" or // port range "10000-30000". Range is not strongly schema'd here. The Range is expected to define // a start and end unless there is an implicit end. diff --git a/pkg/api/unversioned/doc.go b/pkg/api/unversioned/doc.go index 02566d2a..720c686a 100644 --- a/pkg/api/unversioned/doc.go +++ b/pkg/api/unversioned/doc.go @@ -16,5 +16,6 @@ limitations under the License. // +k8s:deepcopy-gen=package // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package unversioned diff --git a/pkg/api/unversioned/generated.pb.go b/pkg/api/unversioned/generated.pb.go index ac4f6233..a50052da 100644 --- a/pkg/api/unversioned/generated.pb.go +++ b/pkg/api/unversioned/generated.pb.go @@ -4446,91 +4446,92 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 1376 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45, - 0x14, 0xf7, 0x47, 0xec, 0xae, 0x9f, 0x63, 0x92, 0x0e, 0xa9, 0x70, 0x2d, 0x11, 0x87, 0x45, 0xa0, - 0x54, 0x6a, 0x6d, 0x35, 0x02, 0x54, 0x15, 0xf1, 0x11, 0x27, 0x69, 0x15, 0x35, 0x49, 0xa3, 0x49, - 0x15, 0xa4, 0x16, 0x24, 0x36, 0xde, 0xb1, 0xb3, 0xb2, 0xbd, 0xbb, 0xec, 0xec, 0x56, 0x8d, 0x40, - 0xa2, 0x17, 0x24, 0x0e, 0x08, 0xe5, 0xc8, 0x05, 0xd4, 0x4a, 0xfc, 0x07, 0xfc, 0x13, 0x11, 0xa7, - 0x5e, 0x90, 0x38, 0xa0, 0x08, 0xca, 0x85, 0x2b, 0x57, 0x4e, 0xcc, 0xcc, 0xce, 0xec, 0x87, 0x53, - 0x93, 0x0d, 0xf4, 0xc0, 0x61, 0x15, 0xcf, 0xfb, 0x9e, 0xf7, 0x7e, 0xf3, 0xde, 0x0b, 0xbc, 0x39, - 0xb8, 0x46, 0x5b, 0x96, 0xd3, 0x1e, 0x04, 0x7b, 0xc4, 0xb3, 0x89, 0x4f, 0x68, 0xdb, 0x1d, 0xf4, - 0xdb, 0x86, 0x6b, 0xb5, 0x03, 0xfb, 0x3e, 0xf1, 0xa8, 0xe5, 0xd8, 0xc4, 0x6c, 0xf7, 0x89, 0x4d, - 0x3c, 0xc3, 0x27, 0x66, 0xcb, 0xf5, 0x1c, 0xdf, 0x41, 0xaf, 0x85, 0x6a, 0xad, 0x58, 0xad, 0xc5, - 0xd4, 0x5a, 0x4c, 0xad, 0x95, 0x50, 0x6b, 0x5c, 0xe9, 0x5b, 0xfe, 0x7e, 0xb0, 0xd7, 0xea, 0x3a, - 0xa3, 0x76, 0xdf, 0xe9, 0x3b, 0x6d, 0xa1, 0xbd, 0x17, 0xf4, 0xc4, 0x49, 0x1c, 0xc4, 0xaf, 0xd0, - 0x6a, 0xe3, 0xca, 0xb3, 0x83, 0xf1, 0x02, 0xdb, 0xb7, 0x46, 0x64, 0x3c, 0x88, 0xc6, 0xd5, 0x67, - 0x8b, 0x07, 0xbe, 0x35, 0x6c, 0x5b, 0xb6, 0x4f, 0x7d, 0x6f, 0x5c, 0x45, 0xff, 0xb1, 0x08, 0xda, - 0xf2, 0xf6, 0xfa, 0x4d, 0xcf, 0x09, 0x5c, 0xb4, 0x00, 0x53, 0xb6, 0x31, 0x22, 0xf5, 0xfc, 0x42, - 0x7e, 0xb1, 0xd2, 0x99, 0x3e, 0x3a, 0x6e, 0xe6, 0x9e, 0x1e, 0x37, 0xa7, 0xb6, 0x18, 0x0d, 0x0b, - 0x0e, 0x1a, 0x81, 0x26, 0x2f, 0x43, 0xeb, 0x85, 0x85, 0xe2, 0x62, 0x75, 0xe9, 0xbd, 0x56, 0xa6, - 0x9b, 0xb7, 0x84, 0x87, 0xdd, 0xf0, 0x78, 0xc3, 0xf1, 0x56, 0x2d, 0xda, 0x75, 0x18, 0xf7, 0xa0, - 0x33, 0x2b, 0xdd, 0x68, 0x92, 0x49, 0x71, 0xe4, 0x02, 0x7d, 0x91, 0x87, 0x59, 0xd7, 0x23, 0x3d, - 0xe2, 0x79, 0xc4, 0x94, 0xfc, 0x7a, 0x91, 0x45, 0xf7, 0x1c, 0xfc, 0xd6, 0xa5, 0xdf, 0xd9, 0xed, - 0x31, 0x07, 0xf8, 0x84, 0x4b, 0xf4, 0x7d, 0x1e, 0x1a, 0x94, 0x78, 0x4c, 0x6f, 0xd9, 0x34, 0x3d, - 0x42, 0x69, 0xe7, 0x60, 0x65, 0x68, 0x11, 0xdb, 0x5f, 0x59, 0x5f, 0xc5, 0xb4, 0x3e, 0x25, 0x32, - 0xf1, 0x7e, 0xc6, 0x88, 0x76, 0x26, 0x19, 0xea, 0xe8, 0x32, 0xa4, 0xc6, 0x44, 0x11, 0x8a, 0xff, - 0x21, 0x0e, 0xbd, 0x0f, 0xd3, 0xaa, 0x96, 0x1b, 0x16, 0xf5, 0xd1, 0x07, 0x50, 0xee, 0xf3, 0x03, - 0x65, 0x15, 0xe5, 0x11, 0xb6, 0x33, 0x46, 0xa8, 0x8c, 0x74, 0x5e, 0x90, 0x01, 0x95, 0xc5, 0x91, - 0x62, 0x69, 0x4e, 0x67, 0x75, 0xa9, 0x32, 0x21, 0x4c, 0xa8, 0x13, 0x78, 0x5d, 0x92, 0x01, 0x38, - 0x4b, 0x00, 0xfc, 0x2f, 0x75, 0x8d, 0x2e, 0x31, 0x19, 0x74, 0xf2, 0x8b, 0x5a, 0x07, 0x49, 0x39, - 0xd8, 0x8a, 0x38, 0x38, 0x21, 0xc5, 0xad, 0x0e, 0x2c, 0xdb, 0x14, 0x05, 0x4f, 0x58, 0xbd, 0xc5, - 0x68, 0x58, 0x70, 0xf4, 0x1f, 0xf2, 0x30, 0x93, 0x88, 0x43, 0x5c, 0xfa, 0x1a, 0x4c, 0xf7, 0x13, - 0x35, 0x97, 0x31, 0xcd, 0x49, 0xed, 0xe9, 0x24, 0x1e, 0x70, 0x4a, 0x12, 0xf5, 0xa0, 0xe2, 0x49, - 0x4b, 0x0a, 0xdd, 0x4b, 0xd9, 0x33, 0xa6, 0x82, 0x88, 0x5d, 0x25, 0x88, 0x14, 0xc7, 0xa6, 0xf5, - 0x3f, 0xc2, 0xec, 0x29, 0xbc, 0xa3, 0xc5, 0xc4, 0xa3, 0xe2, 0x85, 0x62, 0x77, 0x9d, 0xf0, 0x1e, - 0x4e, 0xc1, 0x61, 0xe1, 0xff, 0x81, 0xc3, 0xeb, 0xda, 0x37, 0x8f, 0x9a, 0xb9, 0x87, 0xbf, 0x2c, - 0xe4, 0xf4, 0x75, 0xd0, 0x56, 0x03, 0xd6, 0x6f, 0x78, 0x7a, 0xdf, 0x01, 0xcd, 0x94, 0xbf, 0x45, - 0x51, 0x8a, 0x9d, 0x57, 0xd4, 0xd3, 0x57, 0x32, 0x7f, 0x1d, 0x37, 0x6b, 0xbc, 0xb3, 0xb5, 0x14, - 0x01, 0x47, 0x2a, 0xfa, 0x87, 0x50, 0x5b, 0x7b, 0xe0, 0x3a, 0x9e, 0x7f, 0xdb, 0xf5, 0x45, 0x32, - 0x5e, 0x87, 0x32, 0x11, 0x04, 0x61, 0x4d, 0x8b, 0xc1, 0x1a, 0x8a, 0x61, 0xc9, 0x45, 0xaf, 0x42, - 0x89, 0x3c, 0x30, 0xba, 0xbe, 0x44, 0x5d, 0x4d, 0x8a, 0x95, 0xd6, 0x38, 0x11, 0x87, 0x3c, 0x66, - 0xbd, 0x22, 0x90, 0xc1, 0xc1, 0xc5, 0x35, 0x04, 0x30, 0x24, 0x76, 0x22, 0x0d, 0x21, 0x81, 0x43, - 0x5e, 0x84, 0xce, 0xc2, 0x24, 0x74, 0x26, 0xd2, 0x30, 0x84, 0x5a, 0xa8, 0xab, 0x1e, 0x4c, 0x26, - 0x0f, 0x97, 0x41, 0x53, 0xa0, 0x91, 0x5e, 0xa2, 0x5e, 0xa9, 0x0c, 0xe1, 0x48, 0x22, 0xe1, 0x6d, - 0x1f, 0x52, 0x28, 0xcf, 0xe6, 0xec, 0x12, 0x9c, 0x93, 0xd0, 0x90, 0xbe, 0x66, 0xa4, 0xd8, 0x39, - 0xf5, 0x58, 0x14, 0x3f, 0xe1, 0xe9, 0x73, 0xa8, 0x4f, 0xea, 0xaf, 0xff, 0xe1, 0x1d, 0x66, 0x0f, - 0x45, 0xff, 0x9a, 0x0d, 0x88, 0xa4, 0xa5, 0xec, 0xe5, 0xcb, 0xee, 0xe4, 0xf4, 0x3e, 0x94, 0xc8, - 0xc8, 0x77, 0x79, 0x98, 0x4b, 0x5d, 0xed, 0x4c, 0x15, 0x3f, 0x43, 0x50, 0x49, 0x70, 0x14, 0xcf, - 0x00, 0x8e, 0x9f, 0x0a, 0x50, 0xdb, 0x30, 0xf6, 0xc8, 0x70, 0x87, 0x0c, 0x49, 0xd7, 0x77, 0x3c, - 0xf4, 0x19, 0x54, 0x47, 0x86, 0xdf, 0xdd, 0x17, 0x54, 0x35, 0x2a, 0xd6, 0x32, 0x36, 0x91, 0x94, - 0xa9, 0xd6, 0x66, 0x6c, 0x67, 0xcd, 0xf6, 0xd9, 0x90, 0x7d, 0x51, 0xc6, 0x54, 0x4d, 0x70, 0x70, - 0xd2, 0x9d, 0x18, 0xf1, 0xe2, 0xcc, 0x5e, 0x2d, 0xef, 0x24, 0xff, 0x62, 0xb5, 0x48, 0xc5, 0x80, - 0xc9, 0x27, 0x81, 0xe5, 0x91, 0x11, 0x6b, 0x46, 0xf1, 0x88, 0xdf, 0x1c, 0x73, 0x80, 0x4f, 0xb8, - 0x6c, 0xbc, 0x0b, 0xb3, 0xe3, 0xd1, 0xa3, 0x59, 0x28, 0x0e, 0xc8, 0x41, 0x58, 0x31, 0xcc, 0x7f, - 0xa2, 0x39, 0x28, 0xdd, 0x37, 0x86, 0x81, 0x7c, 0x8f, 0x38, 0x3c, 0x5c, 0x2f, 0x5c, 0xcb, 0xeb, - 0xac, 0x35, 0xd7, 0x27, 0x05, 0x82, 0x5e, 0x4e, 0x18, 0xea, 0x54, 0x65, 0x54, 0xc5, 0x5b, 0xe4, - 0x20, 0xb4, 0xba, 0x06, 0x9a, 0xe3, 0xf2, 0xb5, 0xcc, 0xf1, 0x64, 0xdd, 0x2f, 0xa9, 0x5a, 0xde, - 0x96, 0x74, 0xd6, 0x19, 0x2f, 0xa4, 0xcc, 0x2b, 0x06, 0x8e, 0x54, 0x91, 0x0e, 0x65, 0x11, 0x0f, - 0x65, 0x80, 0xe0, 0x53, 0x04, 0x78, 0x33, 0xdc, 0x15, 0x14, 0x2c, 0x39, 0xfa, 0xa7, 0xa0, 0xf1, - 0x29, 0xb9, 0x49, 0x7c, 0x83, 0x43, 0x88, 0x92, 0x61, 0x6f, 0xc3, 0xb2, 0x07, 0x32, 0xb4, 0x08, - 0x42, 0x3b, 0x92, 0x8e, 0x23, 0x09, 0xb4, 0x0c, 0x33, 0x0a, 0x4e, 0xbb, 0x29, 0x8c, 0xbe, 0x24, - 0x95, 0x66, 0x70, 0x9a, 0x8d, 0xc7, 0xe5, 0xf5, 0xcb, 0x50, 0xc1, 0x8e, 0xe3, 0x6f, 0x1b, 0xfe, - 0x3e, 0x45, 0x4d, 0x28, 0xb9, 0xfc, 0x87, 0x1c, 0x79, 0x15, 0xfe, 0x18, 0x04, 0x07, 0x87, 0x74, - 0xfd, 0xab, 0x3c, 0x5c, 0x9c, 0x38, 0x80, 0xf8, 0x42, 0xd1, 0x8d, 0x4e, 0x32, 0xfc, 0x68, 0xa1, - 0x88, 0xe5, 0x70, 0x42, 0x0a, 0xbd, 0x0d, 0xb5, 0xd4, 0xd4, 0x92, 0x17, 0xb8, 0x20, 0xd5, 0x6a, - 0x29, 0x6f, 0x38, 0x2d, 0xab, 0xff, 0x59, 0x80, 0xf2, 0x8e, 0x6f, 0xf8, 0x01, 0x45, 0x1f, 0x81, - 0x36, 0x62, 0x09, 0x34, 0x0d, 0xdf, 0x10, 0x9e, 0xb3, 0x6f, 0x56, 0x2a, 0xf7, 0x71, 0xa6, 0x15, - 0x05, 0x47, 0x26, 0xf9, 0x60, 0xa3, 0xc2, 0x91, 0x8c, 0x2f, 0x1a, 0x6c, 0xa1, 0x7b, 0x2c, 0xb9, - 0xbc, 0x5b, 0xb0, 0x5d, 0x89, 0x1a, 0x7d, 0xd5, 0x01, 0xa2, 0x6e, 0xb1, 0x19, 0x92, 0xb1, 0xe2, - 0xa3, 0xb7, 0xa0, 0xec, 0x11, 0x83, 0xb2, 0x9a, 0x4d, 0x09, 0xc9, 0x79, 0x65, 0x12, 0x0b, 0x2a, - 0x43, 0xd7, 0xb4, 0x34, 0x2e, 0xce, 0x58, 0x4a, 0xa3, 0x7b, 0x70, 0xce, 0x64, 0x61, 0x59, 0xac, - 0x2f, 0x94, 0xc4, 0x45, 0xdf, 0xc8, 0xba, 0x5c, 0x08, 0x6b, 0xab, 0xa1, 0x6e, 0xa7, 0xca, 0x83, - 0x92, 0x07, 0xac, 0x2c, 0xf2, 0xbe, 0xda, 0x75, 0x4c, 0x52, 0x2f, 0x33, 0xcb, 0xa5, 0xb8, 0xaf, - 0xae, 0x30, 0x1a, 0x16, 0x1c, 0xfd, 0x90, 0x6d, 0x4a, 0xa1, 0xa5, 0x15, 0x23, 0xa0, 0x04, 0x5d, - 0x8d, 0xae, 0x11, 0x16, 0xfc, 0xa2, 0xd2, 0xb9, 0x73, 0xe0, 0x12, 0x76, 0x89, 0x8a, 0x10, 0xe3, - 0x87, 0xe8, 0x06, 0x89, 0x24, 0x15, 0x4e, 0x49, 0x12, 0x6b, 0xd1, 0x3d, 0x8b, 0x0c, 0x55, 0xa3, - 0x8f, 0x5a, 0xf4, 0x0d, 0x4e, 0xc4, 0x21, 0x4f, 0xff, 0x96, 0xf5, 0xcf, 0xd4, 0xe5, 0x32, 0x2c, - 0xbf, 0x51, 0xef, 0x2f, 0x64, 0xd8, 0x27, 0x26, 0x4e, 0x19, 0x74, 0x17, 0xca, 0x5d, 0x7e, 0x3f, - 0xf5, 0x0f, 0xc7, 0xd2, 0x99, 0x6a, 0x21, 0x52, 0x13, 0x63, 0x49, 0x1c, 0x19, 0x96, 0x42, 0x8b, - 0xe8, 0x26, 0x9c, 0xf7, 0x08, 0xeb, 0x79, 0xcb, 0x3d, 0x9f, 0x78, 0x3b, 0xa4, 0xeb, 0xd8, 0x66, - 0x58, 0xf2, 0x52, 0x94, 0xe4, 0xf3, 0x78, 0x5c, 0x00, 0x9f, 0xd4, 0x61, 0xab, 0xce, 0xd4, 0x1d, - 0xb6, 0xc1, 0xf1, 0xbc, 0x53, 0x69, 0x26, 0x5c, 0xf6, 0xa2, 0xbc, 0x2b, 0x65, 0xc5, 0xe7, 0xe9, - 0xb1, 0x0d, 0xdb, 0x09, 0xe1, 0x5e, 0x8a, 0xd3, 0xb3, 0xc5, 0x89, 0x38, 0xe4, 0x5d, 0x9f, 0xe3, - 0x13, 0xec, 0xcb, 0xc7, 0xcd, 0xdc, 0x21, 0xfb, 0x1e, 0x3d, 0x96, 0xd3, 0xec, 0x1e, 0x54, 0xb8, - 0x37, 0xf6, 0x20, 0x46, 0xee, 0xf3, 0x76, 0xa9, 0x7f, 0x0c, 0x1a, 0x87, 0x92, 0xe8, 0x95, 0xaa, - 0x3a, 0xf9, 0x89, 0xd5, 0x61, 0x0d, 0x89, 0x25, 0x3e, 0xdd, 0x1a, 0xa3, 0x86, 0x14, 0xaf, 0xfb, - 0x38, 0x21, 0xd5, 0xb9, 0x72, 0xf4, 0xdb, 0x7c, 0xee, 0x09, 0xfb, 0x7e, 0x66, 0xdf, 0xc3, 0xa7, - 0xf3, 0xf9, 0x23, 0xf6, 0x3d, 0x61, 0xdf, 0xaf, 0xec, 0x3b, 0xfc, 0x7d, 0x3e, 0x77, 0xb7, 0x9a, - 0x28, 0xe4, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x22, 0x00, 0xde, 0x9c, 0x10, 0x00, 0x00, + // 1390 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0xda, 0xb1, 0xbb, 0x7e, 0x8e, 0x49, 0xba, 0xa4, 0x62, 0x1b, 0x09, 0xdb, 0x6c, 0x05, + 0x4a, 0xa5, 0xd6, 0x56, 0x23, 0x40, 0x55, 0x11, 0x7f, 0xe2, 0x24, 0xad, 0xa2, 0x36, 0x6d, 0x34, + 0xa9, 0x8a, 0xd4, 0x16, 0x89, 0x8d, 0x77, 0xe2, 0xac, 0x6c, 0xef, 0x2e, 0x33, 0xb3, 0x51, 0x2d, + 0x90, 0xe8, 0xa5, 0x12, 0x07, 0x84, 0x7a, 0xe4, 0x02, 0x6a, 0xa5, 0x7e, 0x03, 0xbe, 0x44, 0xc5, + 0xa9, 0x17, 0x24, 0x0e, 0xc8, 0xa2, 0xe1, 0xc2, 0x95, 0x6b, 0x4e, 0x68, 0x66, 0x67, 0xd6, 0xbb, + 0x6e, 0x4d, 0x36, 0xd0, 0x03, 0x27, 0xef, 0xfb, 0xff, 0xe6, 0xbd, 0xdf, 0xbc, 0x37, 0x86, 0xf7, + 0x7a, 0x17, 0x69, 0xd3, 0xf5, 0x5b, 0xbd, 0x70, 0x07, 0x13, 0x0f, 0x33, 0x4c, 0x5b, 0x41, 0xaf, + 0xdb, 0xb2, 0x03, 0xb7, 0x15, 0x7a, 0xfb, 0x98, 0x50, 0xd7, 0xf7, 0xb0, 0xd3, 0xea, 0x62, 0x0f, + 0x13, 0x9b, 0x61, 0xa7, 0x19, 0x10, 0x9f, 0xf9, 0xc6, 0xdb, 0x91, 0x59, 0x73, 0x6c, 0xd6, 0x0c, + 0x7a, 0xdd, 0xa6, 0x1d, 0xb8, 0xcd, 0x84, 0xd9, 0xe2, 0xf9, 0xae, 0xcb, 0xf6, 0xc2, 0x9d, 0x66, + 0xc7, 0x1f, 0xb4, 0xba, 0x7e, 0xd7, 0x6f, 0x09, 0xeb, 0x9d, 0x70, 0x57, 0x50, 0x82, 0x10, 0x5f, + 0x91, 0xd7, 0xc5, 0xf3, 0x2f, 0x4f, 0x86, 0x84, 0x1e, 0x73, 0x07, 0x78, 0x32, 0x89, 0xc5, 0x0b, + 0x2f, 0x57, 0x0f, 0x99, 0xdb, 0x6f, 0xb9, 0x1e, 0xa3, 0x8c, 0x4c, 0x9a, 0x58, 0x3f, 0x17, 0x40, + 0x5f, 0xd9, 0xda, 0xb8, 0x42, 0xfc, 0x30, 0x30, 0x1a, 0x30, 0xe3, 0xd9, 0x03, 0x6c, 0x6a, 0x0d, + 0x6d, 0xa9, 0xdc, 0x9e, 0x7d, 0x3a, 0xaa, 0xe7, 0x0e, 0x46, 0xf5, 0x99, 0xeb, 0xf6, 0x00, 0x23, + 0x21, 0x31, 0x06, 0xa0, 0xcb, 0xc3, 0x50, 0x33, 0xdf, 0x28, 0x2c, 0x55, 0x96, 0x3f, 0x6e, 0x66, + 0x3a, 0x79, 0x53, 0x44, 0xb8, 0x15, 0x91, 0x97, 0x7d, 0xb2, 0xe6, 0xd2, 0x8e, 0xbf, 0x8f, 0xc9, + 0xb0, 0x3d, 0x2f, 0xc3, 0xe8, 0x52, 0x48, 0x51, 0x1c, 0xc2, 0x78, 0xa0, 0xc1, 0x7c, 0x40, 0xf0, + 0x2e, 0x26, 0x04, 0x3b, 0x52, 0x6e, 0x16, 0x1a, 0xda, 0xab, 0x88, 0x6b, 0xca, 0xb8, 0xf3, 0x5b, + 0x13, 0x01, 0xd0, 0x0b, 0x21, 0x8d, 0x27, 0x1a, 0x2c, 0x52, 0x4c, 0xf6, 0x31, 0x59, 0x71, 0x1c, + 0x82, 0x29, 0x6d, 0x0f, 0x57, 0xfb, 0x2e, 0xf6, 0xd8, 0xea, 0xc6, 0x1a, 0xa2, 0xe6, 0x8c, 0xa8, + 0xc4, 0x27, 0x19, 0x33, 0xda, 0x9e, 0xe6, 0xa8, 0x6d, 0xc9, 0x94, 0x16, 0xa7, 0xaa, 0x50, 0xf4, + 0x0f, 0x79, 0x58, 0x5d, 0x98, 0x55, 0xbd, 0xbc, 0xe6, 0x52, 0x66, 0x7c, 0x0a, 0xa5, 0x2e, 0x27, + 0xa8, 0xa9, 0x89, 0x0c, 0x5b, 0x19, 0x33, 0x54, 0x4e, 0xda, 0xaf, 0xc9, 0x84, 0x4a, 0x82, 0xa4, + 0x48, 0xba, 0xb3, 0x1e, 0x68, 0x50, 0x59, 0xd9, 0xda, 0x40, 0x98, 0xfa, 0x21, 0xe9, 0xe0, 0x0c, + 0xc0, 0x59, 0x06, 0xe0, 0xbf, 0x34, 0xb0, 0x3b, 0xd8, 0x31, 0xf3, 0x0d, 0x6d, 0x49, 0x6f, 0x1b, + 0x52, 0x0f, 0xae, 0xc7, 0x12, 0x94, 0xd0, 0xe2, 0x5e, 0x7b, 0xae, 0xe7, 0x88, 0x86, 0x27, 0xbc, + 0x5e, 0x75, 0x3d, 0x07, 0x09, 0x89, 0xf5, 0x93, 0x06, 0x73, 0x89, 0x3c, 0xc4, 0xa1, 0x2f, 0xc2, + 0x6c, 0x37, 0xd1, 0x73, 0x99, 0xd3, 0x82, 0xb4, 0x9e, 0x4d, 0xe2, 0x01, 0xa5, 0x34, 0x8d, 0x5d, + 0x28, 0x13, 0xe9, 0x49, 0xa1, 0x7b, 0x39, 0x7b, 0xc5, 0x54, 0x12, 0xe3, 0x50, 0x09, 0x26, 0x45, + 0x63, 0xd7, 0xd6, 0x9f, 0x51, 0xf5, 0x14, 0xde, 0x8d, 0xa5, 0xc4, 0xa5, 0xe2, 0x8d, 0x2a, 0xb7, + 0x67, 0xa7, 0xdc, 0x87, 0x23, 0x70, 0x98, 0xff, 0x7f, 0xe0, 0xf0, 0x92, 0xfe, 0xfd, 0xa3, 0x7a, + 0xee, 0xfe, 0x6f, 0x8d, 0x9c, 0xb5, 0x01, 0xfa, 0x5a, 0x48, 0x6c, 0xc6, 0xcb, 0xfb, 0x21, 0xe8, + 0x8e, 0xfc, 0x16, 0x4d, 0x29, 0xb4, 0xdf, 0x52, 0x57, 0x5f, 0xe9, 0x1c, 0x8e, 0xea, 0x55, 0x3e, + 0xd9, 0x9a, 0x8a, 0x81, 0x62, 0x13, 0xeb, 0x2e, 0x54, 0xd7, 0xef, 0x05, 0x3e, 0x61, 0x37, 0x02, + 0x26, 0x8a, 0xf1, 0x0e, 0x94, 0xb0, 0x60, 0x08, 0x6f, 0xfa, 0x18, 0xac, 0x91, 0x1a, 0x92, 0x52, + 0xe3, 0x0c, 0x14, 0xf1, 0x3d, 0xbb, 0xc3, 0x24, 0xea, 0xaa, 0x52, 0xad, 0xb8, 0xce, 0x99, 0x28, + 0x92, 0x59, 0x77, 0xa1, 0x2c, 0x90, 0xc1, 0xc1, 0xc5, 0x2d, 0x04, 0x30, 0x24, 0x76, 0x62, 0x0b, + 0xa1, 0x81, 0x22, 0x59, 0x8c, 0xce, 0xfc, 0x34, 0x74, 0x26, 0xca, 0xd0, 0x87, 0x6a, 0x64, 0xab, + 0x2e, 0x4c, 0xa6, 0x08, 0xe7, 0x40, 0x57, 0xa0, 0x91, 0x51, 0xe2, 0x59, 0xa9, 0x1c, 0xa1, 0x58, + 0x23, 0x11, 0x6d, 0x0f, 0x52, 0x28, 0xcf, 0x16, 0xec, 0x2c, 0x9c, 0x90, 0xd0, 0x90, 0xb1, 0xe6, + 0xa4, 0xda, 0x09, 0x75, 0x59, 0x94, 0x3c, 0x11, 0xe9, 0x6b, 0x30, 0xa7, 0xcd, 0xd7, 0xff, 0x70, + 0x0f, 0xb3, 0xa7, 0x62, 0x7d, 0xa7, 0xc1, 0x7c, 0xd2, 0x53, 0xf6, 0xf6, 0x65, 0x0f, 0x72, 0xf4, + 0x1c, 0x4a, 0x54, 0xe4, 0x47, 0x0d, 0x16, 0x52, 0x47, 0x3b, 0x56, 0xc7, 0x8f, 0x91, 0x54, 0x12, + 0x1c, 0x85, 0x63, 0x80, 0xe3, 0x97, 0x3c, 0x54, 0xaf, 0xd9, 0x3b, 0xb8, 0xbf, 0x8d, 0xfb, 0xb8, + 0xc3, 0x7c, 0x62, 0x7c, 0x05, 0x95, 0x81, 0xcd, 0x3a, 0x7b, 0x82, 0xab, 0x56, 0xc5, 0x7a, 0xc6, + 0x21, 0x92, 0x72, 0xd5, 0xdc, 0x1c, 0xfb, 0x59, 0xf7, 0x18, 0x19, 0xb6, 0x5f, 0x97, 0x39, 0x55, + 0x12, 0x12, 0x94, 0x0c, 0x27, 0x56, 0xbc, 0xa0, 0xd7, 0xef, 0x05, 0x7c, 0x92, 0xfc, 0x8b, 0xa7, + 0x45, 0x2a, 0x07, 0x84, 0xbf, 0x08, 0x5d, 0x82, 0x07, 0xd8, 0x63, 0xe3, 0x15, 0xbf, 0x39, 0x11, + 0x00, 0xbd, 0x10, 0x72, 0xf1, 0x23, 0x98, 0x9f, 0xcc, 0xde, 0x98, 0x87, 0x42, 0x0f, 0x0f, 0xa3, + 0x8e, 0x21, 0xfe, 0x69, 0x2c, 0x40, 0x71, 0xdf, 0xee, 0x87, 0xf2, 0x3e, 0xa2, 0x88, 0xb8, 0x94, + 0xbf, 0xa8, 0x59, 0x4f, 0x34, 0x30, 0xa7, 0x25, 0x62, 0xbc, 0x99, 0x70, 0xd4, 0xae, 0xc8, 0xac, + 0x0a, 0x57, 0xf1, 0x30, 0xf2, 0xba, 0x0e, 0xba, 0x1f, 0xf0, 0x67, 0x99, 0x4f, 0x64, 0xdf, 0xcf, + 0xaa, 0x5e, 0xde, 0x90, 0xfc, 0xc3, 0x51, 0xfd, 0x54, 0xca, 0xbd, 0x12, 0xa0, 0xd8, 0xd4, 0xb0, + 0xa0, 0x24, 0xf2, 0xa1, 0x66, 0x41, 0x6c, 0x11, 0xe0, 0xc3, 0xf0, 0x96, 0xe0, 0x20, 0x29, 0xb1, + 0xbe, 0x04, 0x9d, 0x6f, 0xc9, 0x4d, 0xcc, 0x6c, 0x0e, 0x21, 0x8a, 0xfb, 0xbb, 0xd7, 0x5c, 0xaf, + 0x27, 0x53, 0x8b, 0x21, 0xb4, 0x2d, 0xf9, 0x28, 0xd6, 0x30, 0x56, 0x60, 0x4e, 0xc1, 0xe9, 0x56, + 0x0a, 0xa3, 0x6f, 0x48, 0xa3, 0x39, 0x94, 0x16, 0xa3, 0x49, 0x7d, 0xeb, 0x1c, 0x94, 0x91, 0xef, + 0xb3, 0x2d, 0x9b, 0xed, 0x51, 0xa3, 0x0e, 0xc5, 0x80, 0x7f, 0xc8, 0x95, 0x57, 0xe6, 0x97, 0x41, + 0x48, 0x50, 0xc4, 0xb7, 0xbe, 0xd5, 0xe0, 0xf4, 0xd4, 0x05, 0xc4, 0x1f, 0x14, 0x9d, 0x98, 0x92, + 0xe9, 0xc7, 0x0f, 0x8a, 0xb1, 0x1e, 0x4a, 0x68, 0x19, 0x1f, 0x40, 0x35, 0xb5, 0xb5, 0xe4, 0x01, + 0x4e, 0x49, 0xb3, 0x6a, 0x2a, 0x1a, 0x4a, 0xeb, 0x5a, 0x7f, 0xe5, 0xa1, 0xb4, 0xcd, 0x6c, 0x16, + 0x52, 0xe3, 0x33, 0xd0, 0x07, 0x98, 0xd9, 0x8e, 0xcd, 0x6c, 0x11, 0x39, 0xfb, 0xcb, 0x4a, 0xd5, + 0x7e, 0x5c, 0x69, 0xc5, 0x41, 0xb1, 0x4b, 0xbe, 0xd8, 0xa8, 0x08, 0x24, 0xf3, 0x8b, 0x17, 0x5b, + 0x14, 0x1e, 0x49, 0x29, 0x9f, 0x16, 0x03, 0x4c, 0xa9, 0xdd, 0x55, 0x13, 0x20, 0x9e, 0x16, 0x9b, + 0x11, 0x1b, 0x29, 0xb9, 0xf1, 0x3e, 0x94, 0x08, 0xb6, 0xa9, 0xef, 0x99, 0x33, 0x42, 0xb3, 0xa6, + 0x5c, 0x22, 0xc1, 0x3d, 0x1c, 0xd5, 0x67, 0xa5, 0x73, 0x41, 0x23, 0xa9, 0x6d, 0xdc, 0x81, 0x13, + 0x0e, 0x66, 0xb6, 0xdb, 0xa7, 0x66, 0x51, 0x1c, 0xf4, 0xdd, 0xac, 0x8f, 0x0b, 0xe1, 0x6d, 0x2d, + 0xb2, 0x6d, 0x57, 0x78, 0x52, 0x92, 0x40, 0xca, 0x23, 0x9f, 0xab, 0x1d, 0xdf, 0xc1, 0x66, 0xa9, + 0xa1, 0x2d, 0x15, 0xc7, 0x73, 0x75, 0xd5, 0x77, 0x30, 0x12, 0x12, 0xeb, 0xa1, 0x06, 0x95, 0xc8, + 0xd3, 0xaa, 0x1d, 0x52, 0x6c, 0x5c, 0x88, 0x8f, 0x11, 0x35, 0xfc, 0xb4, 0xb2, 0xb9, 0x39, 0x0c, + 0xf0, 0xe1, 0xa8, 0x5e, 0x16, 0x6a, 0x9c, 0x88, 0x4f, 0x90, 0x28, 0x52, 0xfe, 0x88, 0x22, 0x9d, + 0x81, 0xe2, 0xae, 0x8b, 0xfb, 0x6a, 0xd0, 0xc7, 0x23, 0xfa, 0x32, 0x67, 0xa2, 0x48, 0x66, 0xfd, + 0x90, 0x87, 0x6a, 0xea, 0x70, 0x19, 0x1e, 0xbf, 0xf1, 0xec, 0xcf, 0x67, 0x78, 0x4f, 0x4c, 0xdd, + 0x32, 0xc6, 0x6d, 0x28, 0x75, 0xf8, 0xf9, 0xd4, 0x1f, 0x8e, 0xe5, 0x63, 0xf5, 0x42, 0x94, 0x66, + 0x8c, 0x25, 0x41, 0x52, 0x24, 0x3d, 0x1a, 0x57, 0xe0, 0x24, 0xc1, 0x8c, 0x0c, 0x57, 0x76, 0x19, + 0x26, 0xdb, 0xb8, 0xe3, 0x7b, 0x4e, 0xd4, 0xf2, 0x62, 0x5c, 0xe4, 0x93, 0x68, 0x52, 0x01, 0xbd, + 0x68, 0x63, 0xf5, 0x61, 0xe6, 0xa6, 0x3b, 0xc0, 0xbc, 0xee, 0x54, 0xba, 0x89, 0x1e, 0x7b, 0x71, + 0xdd, 0x95, 0xb1, 0x92, 0xf3, 0xf2, 0x78, 0xb6, 0xe7, 0x47, 0x70, 0x2f, 0x8e, 0xcb, 0x73, 0x9d, + 0x33, 0x51, 0x24, 0xbb, 0xb4, 0xc0, 0x37, 0xd8, 0x37, 0x8f, 0xeb, 0xb9, 0x87, 0x8f, 0xeb, 0xb9, + 0x47, 0x8f, 0xe5, 0x36, 0xbb, 0x03, 0x65, 0x1e, 0x8d, 0x32, 0x7b, 0x10, 0xbc, 0xea, 0x90, 0xd6, + 0xe7, 0xa0, 0x73, 0x28, 0x89, 0x59, 0xa9, 0xba, 0xa3, 0x4d, 0xed, 0xce, 0x32, 0x80, 0x1d, 0xb8, + 0xe9, 0xd1, 0x18, 0x0f, 0xa4, 0xf1, 0x73, 0x1f, 0x25, 0xb4, 0xda, 0xe7, 0x9f, 0x3e, 0xaf, 0xe5, + 0x9e, 0x3d, 0xaf, 0xe5, 0x7e, 0x7d, 0x5e, 0xcb, 0xdd, 0x3f, 0xa8, 0x69, 0x4f, 0x0f, 0x6a, 0xda, + 0xb3, 0x83, 0x9a, 0xf6, 0xfb, 0x41, 0x4d, 0x7b, 0xf8, 0x47, 0x2d, 0x77, 0xbb, 0x92, 0x68, 0xe4, + 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x22, 0x00, 0xde, 0x9c, 0x10, 0x00, 0x00, } diff --git a/pkg/api/unversioned/generated.proto b/pkg/api/unversioned/generated.proto index ce817c9a..91d3fbf6 100644 --- a/pkg/api/unversioned/generated.proto +++ b/pkg/api/unversioned/generated.proto @@ -21,8 +21,8 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.api.unversioned; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +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 = "unversioned"; @@ -38,6 +38,7 @@ message APIGroup { // preferredVersion is the version preferred by the API server, which // probably is the storage version. + // +optional optional GroupVersionForDiscovery preferredVersion = 3; // a map of client CIDR to server address that is serving this group. @@ -185,9 +186,11 @@ message LabelSelector { // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels // map is equivalent to an element of matchExpressions, whose key field is "key", the // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional map matchLabels = 1; // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional repeated LabelSelectorRequirement matchExpressions = 2; } @@ -205,6 +208,7 @@ message LabelSelectorRequirement { // the values array must be non-empty. If the operator is Exists or DoesNotExist, // the values array must be empty. This array is replaced during a strategic // merge patch. + // +optional repeated string values = 3; } @@ -214,6 +218,7 @@ message ListMeta { // SelfLink is a URL representing this object. // Populated by the system. // Read-only. + // +optional optional string selfLink = 1; // String that identifies the server's internal version of this object that @@ -222,6 +227,7 @@ message ListMeta { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + // +optional optional string resourceVersion = 2; } @@ -246,29 +252,35 @@ message ServerAddressByClientCIDR { message Status { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional ListMeta metadata = 1; // Status of the operation. // One of: "Success" or "Failure". // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional string status = 2; // A human-readable description of the status of this operation. + // +optional optional string message = 3; // A machine-readable description of why this operation is in the // "Failure" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. + // +optional optional string reason = 4; // Extended data associated with the reason. Each reason may define its // own extended details. This field is optional and the data returned // is not guaranteed to conform to any schema except that defined by // the reason type. + // +optional optional StatusDetails details = 5; // Suggested HTTP return code for this status, 0 if not set. + // +optional optional int32 code = 6; } @@ -277,10 +289,12 @@ message Status { message StatusCause { // A machine-readable description of the cause of the error. If this value is // empty there is no information available. + // +optional optional string reason = 1; // A human-readable description of the cause of the error. This field may be // presented as-is to a reader. + // +optional optional string message = 2; // The field of the resource that has caused this error, as named by its JSON @@ -292,6 +306,7 @@ message StatusCause { // Examples: // "name" - the field "name" on the current resource // "items[0].name" - the field "name" on the first array entry in "items" + // +optional optional string field = 3; } @@ -304,21 +319,26 @@ message StatusCause { message StatusDetails { // The name attribute of the resource associated with the status StatusReason // (when there is a single name which can be described). + // +optional optional string name = 1; // The group attribute of the resource associated with the status StatusReason. + // +optional optional string group = 2; // The kind attribute of the resource associated with the status StatusReason. // On some operations may differ from the requested resource Kind. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional string kind = 3; // The Causes array includes more details associated with the StatusReason // failure. Not all StatusReasons may provide detailed causes. + // +optional repeated StatusCause causes = 4; // If specified, the time in seconds before the operation should be retried. + // +optional optional int32 retryAfterSeconds = 5; } @@ -367,12 +387,14 @@ message TypeMeta { // Cannot be updated. // In CamelCase. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional string kind = 1; // APIVersion defines the versioned schema of this representation of an object. // Servers should convert recognized schemas to the latest internal value, and // may reject unrecognized values. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + // +optional optional string apiVersion = 2; } diff --git a/pkg/api/unversioned/helpers.go b/pkg/api/unversioned/helpers.go index 8ba2b7a3..8ef9b038 100644 --- a/pkg/api/unversioned/helpers.go +++ b/pkg/api/unversioned/helpers.go @@ -21,7 +21,6 @@ import ( "k8s.io/client-go/pkg/labels" "k8s.io/client-go/pkg/selection" - "k8s.io/client-go/pkg/util/sets" ) // LabelSelectorAsSelector converts the LabelSelector api type into a struct that implements @@ -36,7 +35,7 @@ func LabelSelectorAsSelector(ps *LabelSelector) (labels.Selector, error) { } selector := labels.NewSelector() for k, v := range ps.MatchLabels { - r, err := labels.NewRequirement(k, selection.Equals, sets.NewString(v)) + r, err := labels.NewRequirement(k, selection.Equals, []string{v}) if err != nil { return nil, err } @@ -56,7 +55,7 @@ func LabelSelectorAsSelector(ps *LabelSelector) (labels.Selector, error) { default: return nil, fmt.Errorf("%q is not a valid pod selector operator", expr.Operator) } - r, err := labels.NewRequirement(expr.Key, op, sets.NewString(expr.Values...)) + r, err := labels.NewRequirement(expr.Key, op, append([]string(nil), expr.Values...)) if err != nil { return nil, err } diff --git a/pkg/api/unversioned/types.go b/pkg/api/unversioned/types.go index 7d632b49..6178f199 100644 --- a/pkg/api/unversioned/types.go +++ b/pkg/api/unversioned/types.go @@ -36,12 +36,14 @@ type TypeMeta struct { // Cannot be updated. // In CamelCase. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` // APIVersion defines the versioned schema of this representation of an object. // Servers should convert recognized schemas to the latest internal value, and // may reject unrecognized values. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=apiVersion"` } @@ -51,6 +53,7 @@ type ListMeta struct { // SelfLink is a URL representing this object. // Populated by the system. // Read-only. + // +optional SelfLink string `json:"selfLink,omitempty" protobuf:"bytes,1,opt,name=selfLink"` // String that identifies the server's internal version of this object that @@ -59,6 +62,7 @@ type ListMeta struct { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + // +optional ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,2,opt,name=resourceVersion"` } @@ -76,25 +80,31 @@ type Status struct { TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Status of the operation. // One of: "Success" or "Failure". // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status string `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"` // A human-readable description of the status of this operation. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // A machine-readable description of why this operation is in the // "Failure" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. + // +optional Reason StatusReason `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason,casttype=StatusReason"` // Extended data associated with the reason. Each reason may define its // own extended details. This field is optional and the data returned // is not guaranteed to conform to any schema except that defined by // the reason type. + // +optional Details *StatusDetails `json:"details,omitempty" protobuf:"bytes,5,opt,name=details"` // Suggested HTTP return code for this status, 0 if not set. + // +optional Code int32 `json:"code,omitempty" protobuf:"varint,6,opt,name=code"` } @@ -107,17 +117,22 @@ type Status struct { type StatusDetails struct { // The name attribute of the resource associated with the status StatusReason // (when there is a single name which can be described). + // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // The group attribute of the resource associated with the status StatusReason. + // +optional Group string `json:"group,omitempty" protobuf:"bytes,2,opt,name=group"` // The kind attribute of the resource associated with the status StatusReason. // On some operations may differ from the requested resource Kind. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional Kind string `json:"kind,omitempty" protobuf:"bytes,3,opt,name=kind"` // The Causes array includes more details associated with the StatusReason // failure. Not all StatusReasons may provide detailed causes. + // +optional Causes []StatusCause `json:"causes,omitempty" protobuf:"bytes,4,rep,name=causes"` // If specified, the time in seconds before the operation should be retried. + // +optional RetryAfterSeconds int32 `json:"retryAfterSeconds,omitempty" protobuf:"varint,5,opt,name=retryAfterSeconds"` } @@ -257,9 +272,11 @@ const ( type StatusCause struct { // A machine-readable description of the cause of the error. If this value is // empty there is no information available. + // +optional Type CauseType `json:"reason,omitempty" protobuf:"bytes,1,opt,name=reason,casttype=CauseType"` // A human-readable description of the cause of the error. This field may be // presented as-is to a reader. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` // The field of the resource that has caused this error, as named by its JSON // serialization. May include dot and postfix notation for nested attributes. @@ -270,6 +287,7 @@ type StatusCause struct { // Examples: // "name" - the field "name" on the current resource // "items[0].name" - the field "name" on the first array entry in "items" + // +optional Field string `json:"field,omitempty" protobuf:"bytes,3,opt,name=field"` } @@ -336,6 +354,7 @@ type APIGroup struct { Versions []GroupVersionForDiscovery `json:"versions" protobuf:"bytes,2,rep,name=versions"` // preferredVersion is the version preferred by the API server, which // probably is the storage version. + // +optional PreferredVersion GroupVersionForDiscovery `json:"preferredVersion,omitempty" protobuf:"bytes,3,opt,name=preferredVersion"` // a map of client CIDR to server address that is serving this group. // This is to help clients reach servers in the most network-efficient way possible. @@ -429,8 +448,10 @@ type LabelSelector struct { // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels // map is equivalent to an element of matchExpressions, whose key field is "key", the // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` } @@ -446,6 +467,7 @@ type LabelSelectorRequirement struct { // the values array must be non-empty. If the operator is Exists or DoesNotExist, // the values array must be empty. This array is replaced during a strategic // merge patch. + // +optional Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` } diff --git a/pkg/api/v1/conversion.go b/pkg/api/v1/conversion.go index a05bf07c..dba084a0 100644 --- a/pkg/api/v1/conversion.go +++ b/pkg/api/v1/conversion.go @@ -269,12 +269,6 @@ func addConversionFuncs(scheme *runtime.Scheme) error { } func Convert_v1_ReplicationController_to_extensions_ReplicaSet(in *ReplicationController, out *extensions.ReplicaSet, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*ReplicationController))(in) - } - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -288,9 +282,6 @@ func Convert_v1_ReplicationController_to_extensions_ReplicaSet(in *ReplicationCo } func Convert_v1_ReplicationControllerSpec_to_extensions_ReplicaSetSpec(in *ReplicationControllerSpec, out *extensions.ReplicaSetSpec, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*ReplicationControllerSpec))(in) - } out.Replicas = *in.Replicas if in.Selector != nil { api.Convert_map_to_unversioned_LabelSelector(&in.Selector, out.Selector, s) @@ -304,9 +295,6 @@ func Convert_v1_ReplicationControllerSpec_to_extensions_ReplicaSetSpec(in *Repli } func Convert_v1_ReplicationControllerStatus_to_extensions_ReplicaSetStatus(in *ReplicationControllerStatus, out *extensions.ReplicaSetStatus, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*ReplicationControllerStatus))(in) - } out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas @@ -316,12 +304,6 @@ func Convert_v1_ReplicationControllerStatus_to_extensions_ReplicaSetStatus(in *R } func Convert_extensions_ReplicaSet_to_v1_ReplicationController(in *extensions.ReplicaSet, out *ReplicationController, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*extensions.ReplicaSet))(in) - } - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -342,9 +324,6 @@ func Convert_extensions_ReplicaSet_to_v1_ReplicationController(in *extensions.Re } func Convert_extensions_ReplicaSetSpec_to_v1_ReplicationControllerSpec(in *extensions.ReplicaSetSpec, out *ReplicationControllerSpec, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*extensions.ReplicaSetSpec))(in) - } out.Replicas = new(int32) *out.Replicas = in.Replicas out.MinReadySeconds = in.MinReadySeconds @@ -360,9 +339,6 @@ func Convert_extensions_ReplicaSetSpec_to_v1_ReplicationControllerSpec(in *exten } func Convert_extensions_ReplicaSetStatus_to_v1_ReplicationControllerStatus(in *extensions.ReplicaSetStatus, out *ReplicationControllerStatus, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*extensions.ReplicaSetStatus))(in) - } out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas @@ -387,7 +363,9 @@ func Convert_api_ReplicationControllerSpec_To_v1_ReplicationControllerSpec(in *a } func Convert_v1_ReplicationControllerSpec_To_api_ReplicationControllerSpec(in *ReplicationControllerSpec, out *api.ReplicationControllerSpec, s conversion.Scope) error { - out.Replicas = *in.Replicas + if in.Replicas != nil { + out.Replicas = *in.Replicas + } out.MinReadySeconds = in.MinReadySeconds out.Selector = in.Selector if in.Template != nil { @@ -644,6 +622,11 @@ func Convert_v1_Pod_To_api_Pod(in *Pod, out *api.Pod, s conversion.Scope) error // 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 there is a beta annotation, copy to alpha key. // See commit log for PR #31026 for why we do this. @@ -751,19 +734,20 @@ func Convert_v1_PodSecurityContext_To_api_PodSecurityContext(in *PodSecurityCont return nil } +// +k8s:conversion-fn=copy-only func Convert_v1_ResourceList_To_api_ResourceList(in *ResourceList, out *api.ResourceList, s conversion.Scope) error { if *in == nil { return nil } - if *out == nil { *out = make(api.ResourceList, len(*in)) } for key, val := range *in { + // Moved to defaults // TODO(#18538): We round up resource values to milli scale to maintain API compatibility. // In the future, we should instead reject values that need rounding. - const milliScale = -3 - val.RoundUp(milliScale) + // const milliScale = -3 + // val.RoundUp(milliScale) (*out)[api.ResourceName(key)] = val } diff --git a/pkg/api/v1/defaults.go b/pkg/api/v1/defaults.go index 75700775..92ddd384 100644 --- a/pkg/api/v1/defaults.go +++ b/pkg/api/v1/defaults.go @@ -24,6 +24,7 @@ import ( ) func addDefaultingFuncs(scheme *runtime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( SetDefaults_PodExecOptions, SetDefaults_PodAttachOptions, @@ -51,9 +52,21 @@ func addDefaultingFuncs(scheme *runtime.Scheme) error { SetDefaults_LimitRangeItem, SetDefaults_ConfigMap, SetDefaults_RBDVolumeSource, + SetDefaults_ResourceList, ) } +func SetDefaults_ResourceList(obj *ResourceList) { + for key, val := range *obj { + // TODO(#18538): We round up resource values to milli scale to maintain API compatibility. + // In the future, we should instead reject values that need rounding. + const milliScale = -3 + val.RoundUp(milliScale) + + (*obj)[ResourceName(key)] = val + } +} + func SetDefaults_PodExecOptions(obj *PodExecOptions) { obj.Stdout = true obj.Stderr = true diff --git a/pkg/api/v1/doc.go b/pkg/api/v1/doc.go index 16aa549c..7c4d4932 100644 --- a/pkg/api/v1/doc.go +++ b/pkg/api/v1/doc.go @@ -17,6 +17,7 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/api // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta // Package v1 is the v1 version of the API. package v1 diff --git a/pkg/api/v1/generated.pb.go b/pkg/api/v1/generated.pb.go index 39aab94c..ff16ae9f 100644 --- a/pkg/api/v1/generated.pb.go +++ b/pkg/api/v1/generated.pb.go @@ -6574,25 +6574,17 @@ func (m *ReplicationControllerCondition) MarshalTo(data []byte) (int, error) { i += copy(data[i:], m.Status) data[i] = 0x1a i++ - i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n135, err := m.LastProbeTime.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) + n135, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } i += n135 data[i] = 0x22 i++ - i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n136, err := m.LastTransitionTime.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n136 - data[i] = 0x2a - i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) i += copy(data[i:], m.Reason) - data[i] = 0x32 + data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Message))) i += copy(data[i:], m.Message) @@ -6617,11 +6609,11 @@ func (m *ReplicationControllerList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n137, err := m.ListMeta.MarshalTo(data[i:]) + n136, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n137 + i += n136 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -6678,11 +6670,11 @@ func (m *ReplicationControllerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n138, err := m.Template.MarshalTo(data[i:]) + n137, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n138 + i += n137 } data[i] = 0x20 i++ @@ -6761,11 +6753,11 @@ func (m *ResourceFieldSelector) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Divisor.Size())) - n139, err := m.Divisor.MarshalTo(data[i:]) + n138, err := m.Divisor.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n139 + i += n138 return i, nil } @@ -6787,27 +6779,27 @@ func (m *ResourceQuota) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n140, err := m.ObjectMeta.MarshalTo(data[i:]) + n139, err := m.ObjectMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n139 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n140, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } i += n140 - data[i] = 0x12 + data[i] = 0x1a i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n141, err := m.Spec.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n141, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } i += n141 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n142, err := m.Status.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n142 return i, nil } @@ -6829,11 +6821,11 @@ func (m *ResourceQuotaList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n143, err := m.ListMeta.MarshalTo(data[i:]) + n142, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n143 + i += n142 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -6879,11 +6871,11 @@ func (m *ResourceQuotaSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n144, err := (&v).MarshalTo(data[i:]) + n143, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n144 + i += n143 } } if len(m.Scopes) > 0 { @@ -6934,11 +6926,11 @@ func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n145, err := (&v).MarshalTo(data[i:]) + n144, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n145 + i += n144 } } if len(m.Used) > 0 { @@ -6956,11 +6948,11 @@ func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n146, err := (&v).MarshalTo(data[i:]) + n145, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n146 + i += n145 } } return i, nil @@ -6996,11 +6988,11 @@ func (m *ResourceRequirements) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n147, err := (&v).MarshalTo(data[i:]) + n146, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n147 + i += n146 } } if len(m.Requests) > 0 { @@ -7018,11 +7010,11 @@ func (m *ResourceRequirements) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n148, err := (&v).MarshalTo(data[i:]) + n147, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n148 + i += n147 } } return i, nil @@ -7080,11 +7072,11 @@ func (m *Secret) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n149, err := m.ObjectMeta.MarshalTo(data[i:]) + n148, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n149 + i += n148 if len(m.Data) > 0 { for k := range m.Data { data[i] = 0x12 @@ -7144,11 +7136,11 @@ func (m *SecretKeySelector) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size())) - n150, err := m.LocalObjectReference.MarshalTo(data[i:]) + n149, err := m.LocalObjectReference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n150 + i += n149 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Key))) @@ -7174,11 +7166,11 @@ func (m *SecretList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n151, err := m.ListMeta.MarshalTo(data[i:]) + n150, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n151 + i += n150 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7252,11 +7244,11 @@ func (m *SecurityContext) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Capabilities.Size())) - n152, err := m.Capabilities.MarshalTo(data[i:]) + n151, err := m.Capabilities.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n152 + i += n151 } if m.Privileged != nil { data[i] = 0x10 @@ -7272,11 +7264,11 @@ func (m *SecurityContext) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n153, err := m.SELinuxOptions.MarshalTo(data[i:]) + n152, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n153 + i += n152 } if m.RunAsUser != nil { data[i] = 0x20 @@ -7324,11 +7316,11 @@ func (m *SerializedReference) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Reference.Size())) - n154, err := m.Reference.MarshalTo(data[i:]) + n153, err := m.Reference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n154 + i += n153 return i, nil } @@ -7350,27 +7342,27 @@ func (m *Service) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n155, err := m.ObjectMeta.MarshalTo(data[i:]) + n154, err := m.ObjectMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n154 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n155, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } i += n155 - data[i] = 0x12 + data[i] = 0x1a i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n156, err := m.Spec.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n156, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } i += n156 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n157, err := m.Status.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n157 return i, nil } @@ -7392,11 +7384,11 @@ func (m *ServiceAccount) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n158, err := m.ObjectMeta.MarshalTo(data[i:]) + n157, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n158 + i += n157 if len(m.Secrets) > 0 { for _, msg := range m.Secrets { data[i] = 0x12 @@ -7442,11 +7434,11 @@ func (m *ServiceAccountList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n159, err := m.ListMeta.MarshalTo(data[i:]) + n158, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n159 + i += n158 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7480,11 +7472,11 @@ func (m *ServiceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n160, err := m.ListMeta.MarshalTo(data[i:]) + n159, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n160 + i += n159 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7529,11 +7521,11 @@ func (m *ServicePort) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.TargetPort.Size())) - n161, err := m.TargetPort.MarshalTo(data[i:]) + n160, err := m.TargetPort.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n161 + i += n160 data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.NodePort)) @@ -7692,11 +7684,11 @@ func (m *ServiceStatus) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size())) - n162, err := m.LoadBalancer.MarshalTo(data[i:]) + n161, err := m.LoadBalancer.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n162 + i += n161 return i, nil } @@ -7718,11 +7710,11 @@ func (m *TCPSocketAction) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Port.Size())) - n163, err := m.Port.MarshalTo(data[i:]) + n162, err := m.Port.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n163 + i += n162 return i, nil } @@ -7812,11 +7804,11 @@ func (m *Volume) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.VolumeSource.Size())) - n164, err := m.VolumeSource.MarshalTo(data[i:]) + n163, err := m.VolumeSource.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n164 + i += n163 return i, nil } @@ -7877,151 +7869,151 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size())) - n165, err := m.HostPath.MarshalTo(data[i:]) + n164, err := m.HostPath.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n165 + i += n164 } if m.EmptyDir != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.EmptyDir.Size())) - n166, err := m.EmptyDir.MarshalTo(data[i:]) + n165, err := m.EmptyDir.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n166 + i += n165 } if m.GCEPersistentDisk != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size())) - n167, err := m.GCEPersistentDisk.MarshalTo(data[i:]) + n166, err := m.GCEPersistentDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n167 + i += n166 } if m.AWSElasticBlockStore != nil { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size())) - n168, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) + n167, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n168 + i += n167 } if m.GitRepo != nil { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.GitRepo.Size())) - n169, err := m.GitRepo.MarshalTo(data[i:]) + n168, err := m.GitRepo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n169 + i += n168 } if m.Secret != nil { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.Secret.Size())) - n170, err := m.Secret.MarshalTo(data[i:]) + n169, err := m.Secret.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n170 + i += n169 } if m.NFS != nil { data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.NFS.Size())) - n171, err := m.NFS.MarshalTo(data[i:]) + n170, err := m.NFS.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n171 + i += n170 } if m.ISCSI != nil { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size())) - n172, err := m.ISCSI.MarshalTo(data[i:]) + n171, err := m.ISCSI.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n172 + i += n171 } if m.Glusterfs != nil { data[i] = 0x4a i++ i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size())) - n173, err := m.Glusterfs.MarshalTo(data[i:]) + n172, err := m.Glusterfs.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n173 + i += n172 } if m.PersistentVolumeClaim != nil { data[i] = 0x52 i++ i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeClaim.Size())) - n174, err := m.PersistentVolumeClaim.MarshalTo(data[i:]) + n173, err := m.PersistentVolumeClaim.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n174 + i += n173 } if m.RBD != nil { data[i] = 0x5a i++ i = encodeVarintGenerated(data, i, uint64(m.RBD.Size())) - n175, err := m.RBD.MarshalTo(data[i:]) + n174, err := m.RBD.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n175 + i += n174 } if m.FlexVolume != nil { data[i] = 0x62 i++ i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size())) - n176, err := m.FlexVolume.MarshalTo(data[i:]) + n175, err := m.FlexVolume.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n176 + i += n175 } if m.Cinder != nil { data[i] = 0x6a i++ i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size())) - n177, err := m.Cinder.MarshalTo(data[i:]) + n176, err := m.Cinder.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n177 + i += n176 } if m.CephFS != nil { data[i] = 0x72 i++ i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size())) - n178, err := m.CephFS.MarshalTo(data[i:]) + n177, err := m.CephFS.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n178 + i += n177 } if m.Flocker != nil { data[i] = 0x7a i++ i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size())) - n179, err := m.Flocker.MarshalTo(data[i:]) + n178, err := m.Flocker.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n179 + i += n178 } if m.DownwardAPI != nil { data[i] = 0x82 @@ -8029,11 +8021,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.DownwardAPI.Size())) - n180, err := m.DownwardAPI.MarshalTo(data[i:]) + n179, err := m.DownwardAPI.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n180 + i += n179 } if m.FC != nil { data[i] = 0x8a @@ -8041,11 +8033,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.FC.Size())) - n181, err := m.FC.MarshalTo(data[i:]) + n180, err := m.FC.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n181 + i += n180 } if m.AzureFile != nil { data[i] = 0x92 @@ -8053,11 +8045,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size())) - n182, err := m.AzureFile.MarshalTo(data[i:]) + n181, err := m.AzureFile.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n182 + i += n181 } if m.ConfigMap != nil { data[i] = 0x9a @@ -8065,11 +8057,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.ConfigMap.Size())) - n183, err := m.ConfigMap.MarshalTo(data[i:]) + n182, err := m.ConfigMap.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n183 + i += n182 } if m.VsphereVolume != nil { data[i] = 0xa2 @@ -8077,11 +8069,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size())) - n184, err := m.VsphereVolume.MarshalTo(data[i:]) + n183, err := m.VsphereVolume.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n184 + i += n183 } if m.Quobyte != nil { data[i] = 0xaa @@ -8089,11 +8081,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size())) - n185, err := m.Quobyte.MarshalTo(data[i:]) + n184, err := m.Quobyte.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n185 + i += n184 } if m.AzureDisk != nil { data[i] = 0xb2 @@ -8101,11 +8093,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size())) - n186, err := m.AzureDisk.MarshalTo(data[i:]) + n185, err := m.AzureDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n186 + i += n185 } return i, nil } @@ -8157,11 +8149,11 @@ func (m *WeightedPodAffinityTerm) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.PodAffinityTerm.Size())) - n187, err := m.PodAffinityTerm.MarshalTo(data[i:]) + n186, err := m.PodAffinityTerm.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n187 + i += n186 return i, nil } @@ -10240,8 +10232,6 @@ func (m *ReplicationControllerCondition) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = len(m.Status) n += 1 + l + sovGenerated(uint64(l)) - l = m.LastProbeTime.Size() - n += 1 + l + sovGenerated(uint64(l)) l = m.LastTransitionTime.Size() n += 1 + l + sovGenerated(uint64(l)) l = len(m.Reason) @@ -12536,7 +12526,6 @@ func (this *ReplicationControllerCondition) String() string { s := strings.Join([]string{`&ReplicationControllerCondition{`, `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_api_unversioned.Time", 1), `&`, ``, 1) + `,`, `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, @@ -32997,36 +32986,6 @@ func (m *ReplicationControllerCondition) Unmarshal(data []byte) error { m.Status = ConditionStatus(data[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", 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.LastProbeTime.Unmarshal(data[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) } @@ -33056,7 +33015,7 @@ func (m *ReplicationControllerCondition) Unmarshal(data []byte) error { return err } iNdEx = postIndex - case 5: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) } @@ -33085,7 +33044,7 @@ func (m *ReplicationControllerCondition) Unmarshal(data []byte) error { } m.Reason = string(data[iNdEx:postIndex]) iNdEx = postIndex - case 6: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } @@ -38931,623 +38890,628 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 9873 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x8c, 0x24, 0xc7, - 0x75, 0x98, 0x66, 0x66, 0xbf, 0xa6, 0xf6, 0xf3, 0xfa, 0x8e, 0xc7, 0xe5, 0x4a, 0xfc, 0x6a, 0x91, - 0x14, 0x79, 0xe4, 0xed, 0xf1, 0x8e, 0xa4, 0x49, 0x4a, 0x8a, 0xc4, 0xfd, 0xbc, 0x5b, 0xdf, 0xee, - 0xdd, 0xf0, 0xcd, 0xde, 0x9d, 0x64, 0x31, 0x32, 0x7b, 0x67, 0x7a, 0x77, 0x5b, 0x37, 0x3b, 0x3d, - 0xec, 0xee, 0xd9, 0xbb, 0xa5, 0x62, 0xc0, 0x71, 0x1c, 0x07, 0x81, 0x0d, 0x47, 0x46, 0x62, 0x24, - 0x40, 0x12, 0xc4, 0x09, 0x90, 0x20, 0x89, 0x11, 0xc7, 0x72, 0x14, 0x5b, 0x4a, 0x0c, 0x23, 0x40, - 0x1c, 0x41, 0xf9, 0x70, 0x20, 0x03, 0x41, 0xec, 0xd8, 0x80, 0x62, 0xd9, 0x08, 0xf2, 0x23, 0x7f, - 0x02, 0x24, 0x7f, 0x72, 0x30, 0x92, 0xd4, 0xab, 0xef, 0xea, 0xe9, 0xd9, 0xee, 0x59, 0xde, 0xac, - 0xcf, 0x86, 0x7f, 0x2c, 0xb0, 0xf3, 0xde, 0xab, 0x57, 0x1f, 0x5d, 0xf5, 0xea, 0xbd, 0x57, 0xaf, - 0x5e, 0x91, 0x57, 0xee, 0xbe, 0x15, 0x2f, 0x06, 0xe1, 0xa5, 0xbb, 0xdd, 0x1d, 0x3f, 0x6a, 0xfb, - 0x89, 0x1f, 0x5f, 0xea, 0xdc, 0xdd, 0xbb, 0xe4, 0x75, 0x82, 0x4b, 0x87, 0x97, 0x2f, 0xed, 0xf9, - 0x6d, 0x3f, 0xf2, 0x12, 0xbf, 0xb9, 0xd8, 0x89, 0xc2, 0x24, 0x74, 0x3e, 0xc1, 0xa9, 0x17, 0x35, - 0xf5, 0x22, 0xa5, 0x5e, 0xa4, 0xd4, 0x8b, 0x87, 0x97, 0x17, 0x2e, 0xee, 0x05, 0xc9, 0x7e, 0x77, - 0x67, 0xb1, 0x11, 0x1e, 0x5c, 0xda, 0x0b, 0xf7, 0xc2, 0x4b, 0xac, 0xd0, 0x4e, 0x77, 0x97, 0xfd, - 0x62, 0x3f, 0xd8, 0x7f, 0x9c, 0xd9, 0xc2, 0x95, 0xfe, 0x55, 0x47, 0x7e, 0x1c, 0x76, 0xa3, 0x86, - 0x9f, 0x6e, 0xc0, 0xc2, 0x1b, 0xfd, 0xcb, 0x74, 0xdb, 0x87, 0x7e, 0x14, 0x07, 0x61, 0xdb, 0x6f, - 0xf6, 0x14, 0xbb, 0x98, 0x5d, 0x2c, 0xea, 0xb6, 0x93, 0xe0, 0xa0, 0xb7, 0x96, 0xcb, 0xd9, 0xe4, - 0xdd, 0x24, 0x68, 0x5d, 0x0a, 0xda, 0x49, 0x9c, 0x44, 0xe9, 0x22, 0xee, 0x6f, 0x95, 0xc8, 0x33, - 0x4b, 0x77, 0xea, 0x6b, 0x2d, 0x2f, 0x4e, 0x82, 0xc6, 0x72, 0x2b, 0x6c, 0xdc, 0xad, 0x27, 0x61, - 0xe4, 0xdf, 0x0e, 0x5b, 0xdd, 0x03, 0xbf, 0xce, 0x7a, 0xe3, 0xbc, 0x42, 0x26, 0x0e, 0xd9, 0xef, - 0x8d, 0xd5, 0xf9, 0xd2, 0x33, 0xa5, 0x17, 0xab, 0xcb, 0x73, 0xdf, 0xf9, 0xde, 0xd3, 0x1f, 0xfb, - 0xfd, 0xef, 0x3d, 0x3d, 0x71, 0x5b, 0xc0, 0x41, 0x51, 0x38, 0x2f, 0x90, 0xb1, 0xdd, 0x78, 0xfb, - 0xa8, 0xe3, 0xcf, 0x97, 0x19, 0xed, 0x8c, 0xa0, 0x1d, 0x5b, 0xaf, 0x23, 0x14, 0x04, 0xd6, 0xb9, - 0x44, 0xaa, 0x1d, 0x2f, 0x4a, 0x82, 0x84, 0xf6, 0x7d, 0xbe, 0x42, 0x49, 0x47, 0x97, 0xcf, 0x08, - 0xd2, 0x6a, 0x4d, 0x22, 0x40, 0xd3, 0x60, 0x33, 0x22, 0xdf, 0x6b, 0xde, 0x6c, 0xb7, 0x8e, 0xe6, - 0x47, 0x28, 0xfd, 0x84, 0x6e, 0x06, 0x08, 0x38, 0x28, 0x0a, 0xf7, 0x9b, 0x65, 0x32, 0xb1, 0xb4, - 0xbb, 0x1b, 0xb4, 0x83, 0xe4, 0xc8, 0x79, 0x9f, 0x4c, 0xb5, 0xc3, 0xa6, 0x2f, 0x7f, 0xb3, 0x5e, - 0x4c, 0x5e, 0xb9, 0xb0, 0x78, 0xdc, 0xbc, 0x58, 0xbc, 0x61, 0x94, 0x58, 0x9e, 0xa3, 0xd5, 0x4c, - 0x99, 0x10, 0xb0, 0x38, 0x3a, 0xef, 0x91, 0xc9, 0x4e, 0xd8, 0x54, 0x15, 0x94, 0x59, 0x05, 0x2f, - 0x1d, 0x5f, 0x41, 0x4d, 0x17, 0x58, 0x9e, 0xa5, 0xfc, 0x27, 0x0d, 0x00, 0x98, 0xec, 0x9c, 0x16, - 0x99, 0xc5, 0x9f, 0xf4, 0xb3, 0xab, 0x1a, 0x2a, 0xac, 0x86, 0x8b, 0xf9, 0x35, 0x18, 0x85, 0x96, - 0xcf, 0xd2, 0x5a, 0x66, 0x53, 0x40, 0x48, 0xb3, 0x76, 0x3f, 0x24, 0x33, 0x4b, 0x49, 0xe2, 0x35, - 0xf6, 0xfd, 0x26, 0xff, 0xbe, 0xce, 0xeb, 0x64, 0xa4, 0xed, 0x1d, 0xf8, 0xe2, 0xeb, 0x3f, 0x23, - 0x86, 0x7d, 0xe4, 0x06, 0x85, 0x3d, 0xf8, 0xde, 0xd3, 0x73, 0xb7, 0xda, 0xc1, 0x07, 0x5d, 0x31, - 0x67, 0x10, 0x06, 0x8c, 0xda, 0xb9, 0x42, 0x48, 0xd3, 0x3f, 0x0c, 0x1a, 0x7e, 0xcd, 0x4b, 0xf6, - 0xc5, 0x6c, 0x70, 0x44, 0x59, 0xb2, 0xaa, 0x30, 0x60, 0x50, 0xb9, 0x3f, 0x56, 0x22, 0xd5, 0xa5, - 0xc3, 0x30, 0x68, 0xd2, 0x56, 0xc6, 0x4e, 0x97, 0xf6, 0x3b, 0xf2, 0x77, 0xfd, 0x48, 0x81, 0x68, - 0x13, 0x2a, 0xb4, 0xdf, 0x57, 0x72, 0xfa, 0x6d, 0x17, 0x5a, 0x6b, 0x27, 0xd1, 0xd1, 0xf2, 0xe3, - 0xa2, 0xea, 0xd9, 0x14, 0x16, 0xd2, 0x75, 0xb8, 0x3f, 0x53, 0x26, 0x8f, 0x2d, 0x7d, 0xd8, 0x8d, - 0xfc, 0xd5, 0x20, 0xbe, 0x9b, 0x5e, 0x0a, 0x4d, 0x0a, 0xbb, 0xa1, 0x07, 0x43, 0xcd, 0xc1, 0x55, - 0x01, 0x07, 0x45, 0xe1, 0x5c, 0x24, 0xe3, 0xf8, 0xff, 0x2d, 0xd8, 0x10, 0xbd, 0x3f, 0x2b, 0x88, - 0x27, 0x57, 0xbd, 0xc4, 0x5b, 0xe5, 0x28, 0x90, 0x34, 0xce, 0x16, 0x99, 0x6c, 0xd0, 0x51, 0x0f, - 0xda, 0x7b, 0x5b, 0x74, 0x6a, 0xb1, 0x2f, 0x5c, 0x5d, 0x7e, 0x19, 0xc9, 0x57, 0x34, 0x98, 0x8e, - 0xf7, 0x3c, 0x6f, 0x9b, 0x60, 0x61, 0xe0, 0xc0, 0x2c, 0xef, 0xb8, 0x6a, 0x21, 0x8e, 0x30, 0x4e, - 0x24, 0x63, 0x11, 0xbe, 0x68, 0xac, 0xa9, 0x51, 0xb6, 0xa6, 0xa6, 0xfa, 0xac, 0xa7, 0x7f, 0x5c, - 0x12, 0x63, 0xb2, 0x1e, 0xb4, 0x6c, 0xf1, 0x40, 0x3f, 0x73, 0xec, 0x37, 0x22, 0x3f, 0x31, 0x46, - 0x45, 0x7d, 0xe6, 0xba, 0xc2, 0x80, 0x41, 0x85, 0x8b, 0x3f, 0xde, 0xf7, 0x22, 0x36, 0x5b, 0xc4, - 0xd8, 0xa8, 0xc5, 0x5f, 0x97, 0x08, 0xd0, 0x34, 0xd6, 0xe2, 0xaf, 0xe4, 0x2e, 0xfe, 0x7f, 0x51, - 0x22, 0xe3, 0xcb, 0x41, 0xbb, 0x49, 0x87, 0xc2, 0xf9, 0x02, 0x99, 0x38, 0xf0, 0x13, 0xaf, 0x49, - 0x87, 0x4b, 0xac, 0xfb, 0x17, 0x8f, 0x9f, 0x3c, 0x37, 0x77, 0xbe, 0xe2, 0x37, 0x92, 0x2d, 0x5a, - 0x46, 0x77, 0x43, 0xc3, 0x40, 0x71, 0x73, 0x6e, 0x91, 0xb1, 0xc4, 0x8b, 0xf6, 0xfc, 0x44, 0x2c, - 0xf7, 0x8b, 0x45, 0xf8, 0x02, 0x4e, 0x35, 0xbf, 0xdd, 0xf0, 0xb5, 0x60, 0xdc, 0x66, 0x4c, 0x40, - 0x30, 0x73, 0x1b, 0x64, 0x6a, 0xc5, 0xeb, 0x78, 0x3b, 0x41, 0x8b, 0xca, 0x3d, 0x3f, 0x76, 0x3e, - 0x45, 0x2a, 0x5e, 0xb3, 0xc9, 0x26, 0x7e, 0x75, 0xf9, 0x31, 0x5a, 0xa0, 0xb2, 0xd4, 0x6c, 0xd2, - 0x69, 0x40, 0x14, 0xd5, 0x11, 0x20, 0x85, 0x73, 0x81, 0x8c, 0x34, 0xa3, 0xb0, 0x43, 0x5b, 0x83, - 0x94, 0xe7, 0x71, 0x85, 0xae, 0xd2, 0xdf, 0x29, 0x52, 0x46, 0xe3, 0xfe, 0x9b, 0x32, 0x71, 0x56, - 0xfc, 0xce, 0xfe, 0x7a, 0xdd, 0xfa, 0x96, 0x74, 0x3e, 0x1c, 0x84, 0x54, 0x08, 0x84, 0x51, 0x2c, - 0x2a, 0x64, 0xf3, 0x61, 0x4b, 0xc0, 0x40, 0x61, 0x9d, 0x67, 0xc8, 0x48, 0x47, 0x2f, 0xeb, 0x29, - 0x29, 0x12, 0xd8, 0x82, 0x66, 0x18, 0xa4, 0xe8, 0xc6, 0x7e, 0x24, 0xe6, 0xb1, 0xa2, 0xb8, 0x45, - 0x61, 0xc0, 0x30, 0x7a, 0xe6, 0xe0, 0x9c, 0x12, 0xb3, 0x34, 0x35, 0x73, 0x10, 0x03, 0x06, 0x95, - 0xf3, 0xc3, 0x74, 0xe6, 0xb0, 0x5f, 0x74, 0x20, 0xd9, 0x94, 0xcd, 0x15, 0x06, 0x9b, 0x61, 0xc3, - 0x6b, 0xa5, 0x07, 0x7f, 0x9a, 0xcd, 0x34, 0xc9, 0x08, 0x34, 0x4f, 0x6b, 0xa6, 0x8d, 0xe5, 0xce, - 0xb4, 0xbf, 0x51, 0xa2, 0xe3, 0x48, 0x67, 0x9a, 0x1f, 0x9d, 0xc2, 0x96, 0x39, 0xd8, 0x22, 0xf8, - 0x5d, 0x6c, 0x5a, 0x78, 0xd0, 0xa1, 0xaa, 0x45, 0x3b, 0x59, 0x09, 0xe9, 0x6a, 0x60, 0xdb, 0xe8, - 0xa7, 0xc9, 0x48, 0x82, 0x55, 0xf1, 0x66, 0xbd, 0x20, 0x3f, 0x0b, 0x56, 0x40, 0x67, 0xca, 0xf9, - 0xde, 0x12, 0xac, 0x09, 0xac, 0x8c, 0xf3, 0x36, 0x19, 0x8b, 0x13, 0x2f, 0xe9, 0xc6, 0xa2, 0xa1, - 0xcf, 0xca, 0x86, 0xd6, 0x19, 0x94, 0x96, 0x9f, 0x55, 0xc5, 0x38, 0x08, 0x44, 0x01, 0xe7, 0x25, - 0x32, 0x7e, 0xe0, 0xc7, 0xb1, 0xb7, 0x27, 0x05, 0xdb, 0xac, 0x28, 0x3b, 0xbe, 0xc5, 0xc1, 0x20, - 0xf1, 0xce, 0x27, 0xc9, 0xa8, 0x1f, 0x45, 0x61, 0x24, 0x66, 0xc4, 0xb4, 0x20, 0x1c, 0x5d, 0x43, - 0x20, 0x70, 0x9c, 0xfb, 0x9b, 0x25, 0x32, 0xab, 0xda, 0xca, 0xeb, 0x1a, 0xe2, 0x52, 0x6f, 0x12, - 0xd2, 0x90, 0x1d, 0x8b, 0xd9, 0x02, 0x9b, 0xbc, 0xf2, 0xea, 0xf1, 0xbc, 0x7b, 0x07, 0x52, 0xd7, - 0xa1, 0x40, 0x31, 0x18, 0x7c, 0xdd, 0xef, 0x94, 0xc8, 0xd9, 0x54, 0x9f, 0x36, 0x83, 0x38, 0x71, - 0xfe, 0x6c, 0x4f, 0xbf, 0x2e, 0x1d, 0x53, 0xb7, 0xa1, 0x51, 0x2e, 0x62, 0x71, 0xd6, 0x3d, 0x35, - 0x51, 0x24, 0xc4, 0xe8, 0x1c, 0x90, 0xd1, 0x20, 0xf1, 0x0f, 0x64, 0xbf, 0x2e, 0x16, 0xec, 0x17, - 0x6f, 0xa0, 0xfe, 0x3c, 0x1b, 0xc8, 0x03, 0x38, 0x2b, 0xf7, 0x7f, 0xd1, 0x7d, 0x9c, 0xf6, 0x72, - 0x37, 0xd8, 0xdb, 0xf2, 0x3a, 0x43, 0xfc, 0x30, 0x75, 0x2a, 0xf3, 0x90, 0x2b, 0x6f, 0xfa, 0xe5, - 0xbc, 0xa6, 0x8b, 0x06, 0x2d, 0xe2, 0xe6, 0xc9, 0xb5, 0x02, 0x25, 0x97, 0x10, 0x04, 0x8c, 0xd9, - 0xc2, 0x9b, 0xa4, 0xaa, 0x08, 0x9c, 0x39, 0x52, 0xb9, 0xeb, 0x73, 0x95, 0xb1, 0x0a, 0xf8, 0xaf, - 0x73, 0x8e, 0x8c, 0x1e, 0x7a, 0xad, 0xae, 0x58, 0xad, 0xc0, 0x7f, 0x7c, 0xba, 0xfc, 0x56, 0xc9, - 0xfd, 0xd5, 0x12, 0x39, 0xa7, 0x2a, 0xb9, 0xee, 0x1f, 0xd5, 0xfd, 0x16, 0x6d, 0x72, 0x18, 0x39, - 0x3f, 0x4e, 0x11, 0xad, 0x0c, 0x39, 0x24, 0x46, 0xe3, 0x24, 0x12, 0xec, 0x13, 0xa2, 0xe1, 0xe7, - 0xb2, 0xb0, 0x90, 0x59, 0x9b, 0xf3, 0x24, 0xef, 0x0b, 0x5f, 0xbc, 0x93, 0x82, 0x41, 0x85, 0x36, - 0x94, 0x75, 0x0c, 0x9b, 0x3f, 0xad, 0x9a, 0x7f, 0x1a, 0x33, 0x6f, 0xd3, 0x9e, 0x79, 0x9f, 0x2a, - 0xf8, 0xf9, 0xfa, 0xcc, 0xb9, 0xbf, 0x43, 0xd5, 0x36, 0x45, 0x63, 0x89, 0xe3, 0x47, 0x64, 0xf8, - 0x07, 0xeb, 0x2e, 0xfd, 0x2c, 0xdb, 0x21, 0xee, 0xa7, 0xd9, 0xdd, 0x75, 0x2e, 0x93, 0xc9, 0xa6, - 0xbf, 0xeb, 0x75, 0x5b, 0x89, 0x52, 0x17, 0x47, 0xb9, 0x1d, 0xb1, 0xaa, 0xc1, 0x60, 0xd2, 0xb8, - 0xbf, 0x51, 0x65, 0xab, 0x32, 0xf1, 0x02, 0x6a, 0x06, 0xe2, 0x06, 0x6d, 0x68, 0xf5, 0x53, 0xa6, - 0x56, 0x2f, 0x34, 0x78, 0x2a, 0x89, 0x83, 0x03, 0x14, 0xd9, 0x65, 0x5b, 0x12, 0x6f, 0x20, 0x10, - 0x38, 0xce, 0x79, 0x9e, 0x8c, 0x53, 0xd3, 0xf9, 0xc0, 0x6b, 0x37, 0x69, 0x1b, 0x50, 0x65, 0x98, - 0x44, 0xa9, 0xbe, 0xc2, 0x41, 0x20, 0x71, 0xce, 0x27, 0xc8, 0x08, 0xd5, 0x6f, 0x62, 0x2a, 0xd4, - 0x91, 0x66, 0x02, 0x6b, 0x5a, 0xa2, 0xbf, 0x81, 0x41, 0x51, 0x15, 0xb8, 0x17, 0x46, 0x77, 0xa9, - 0xc2, 0xb6, 0x1a, 0x44, 0x6c, 0x5f, 0x37, 0x54, 0x81, 0x3b, 0x0a, 0x03, 0x06, 0x95, 0x53, 0x23, - 0xa3, 0x9d, 0x30, 0x4a, 0x62, 0xba, 0x4d, 0xe3, 0x70, 0xbe, 0x9c, 0x3b, 0x7b, 0x78, 0xbf, 0x6b, - 0xb4, 0x8c, 0xee, 0x0a, 0xfe, 0xa2, 0x43, 0xca, 0x18, 0x39, 0x2b, 0xa4, 0xe2, 0xb7, 0x0f, 0xe7, - 0xc7, 0x19, 0xbf, 0xe7, 0x8e, 0xe7, 0xb7, 0xd6, 0x3e, 0xbc, 0xed, 0x45, 0x7a, 0x15, 0xd1, 0xdf, - 0x80, 0xa5, 0x9d, 0x06, 0xa9, 0x4a, 0x47, 0x40, 0x3c, 0x3f, 0x51, 0x64, 0x82, 0x81, 0x20, 0x07, - 0xff, 0x83, 0x6e, 0x10, 0xf9, 0x07, 0x54, 0xb8, 0xc6, 0x5a, 0x1f, 0x96, 0xd8, 0x18, 0x34, 0x5f, - 0x5a, 0xc9, 0x14, 0x57, 0x1f, 0xb6, 0xc2, 0x2e, 0xa5, 0x9e, 0xaf, 0xb2, 0x26, 0xe7, 0x18, 0x9c, - 0xb7, 0x75, 0x89, 0xe5, 0x73, 0x82, 0xfd, 0x94, 0x01, 0x8c, 0xc1, 0x62, 0x4a, 0x8d, 0xda, 0xe9, - 0x56, 0x70, 0xe8, 0xb7, 0xe9, 0xbe, 0x5c, 0x8b, 0xc2, 0x1d, 0x7f, 0x9e, 0xb0, 0xde, 0x7c, 0x32, - 0xcf, 0xf8, 0xa2, 0xa4, 0xcb, 0x67, 0x28, 0xef, 0xe9, 0x4d, 0xb3, 0x34, 0xd8, 0xcc, 0xa8, 0x26, - 0x37, 0x83, 0xba, 0x4a, 0xa0, 0xd9, 0x4f, 0x16, 0x67, 0xef, 0x50, 0xf6, 0x33, 0x60, 0x15, 0x87, - 0x14, 0x3b, 0x67, 0x9b, 0x54, 0x5b, 0xc1, 0xae, 0xdf, 0x38, 0x6a, 0x50, 0xed, 0x72, 0x8a, 0xf1, - 0xce, 0x59, 0x72, 0x9b, 0x92, 0x9c, 0xeb, 0x87, 0xea, 0x27, 0x68, 0x46, 0xce, 0x6d, 0x72, 0x3e, - 0xf1, 0xa3, 0x83, 0xa0, 0xed, 0xe1, 0xa6, 0x2d, 0x94, 0x17, 0x66, 0xe1, 0x4e, 0xb3, 0x59, 0xfb, - 0x94, 0x18, 0xd8, 0xf3, 0xdb, 0x99, 0x54, 0xd0, 0xa7, 0xb4, 0x73, 0x93, 0xcc, 0xb2, 0xf5, 0x54, - 0xeb, 0xb6, 0x5a, 0xb5, 0xb0, 0x15, 0x34, 0x8e, 0xe6, 0x67, 0x18, 0xc3, 0xe7, 0xa5, 0xdd, 0xba, - 0x61, 0xa3, 0x51, 0xaf, 0xd7, 0xbf, 0x20, 0x5d, 0x1a, 0x9d, 0x06, 0x54, 0xab, 0xed, 0x46, 0x54, - 0xe9, 0xc7, 0xb9, 0xef, 0xdf, 0x4f, 0xe6, 0x67, 0x8b, 0xd8, 0x29, 0x75, 0xbb, 0x10, 0x77, 0x1a, - 0xa4, 0x80, 0x90, 0x66, 0x8d, 0xa2, 0x22, 0x4e, 0xe8, 0xe8, 0xcf, 0xcf, 0x31, 0xc5, 0x54, 0xad, - 0xaf, 0x3a, 0x02, 0x81, 0xe3, 0x98, 0xd9, 0x87, 0xff, 0xdc, 0x44, 0xd9, 0x7b, 0x86, 0x11, 0x6a, - 0xb3, 0x4f, 0x22, 0x40, 0xd3, 0xe0, 0x86, 0x95, 0x24, 0x47, 0xf3, 0x0e, 0x23, 0x55, 0x4b, 0x6d, - 0x7b, 0xfb, 0x8b, 0x80, 0x70, 0x77, 0x87, 0xcc, 0xa8, 0x65, 0xcd, 0x46, 0xc7, 0x79, 0x9a, 0x8c, - 0xa2, 0xe4, 0x92, 0xd6, 0x4b, 0x15, 0x9b, 0x80, 0x02, 0x8d, 0x2e, 0x71, 0x06, 0x67, 0x4d, 0x08, - 0x3e, 0xf4, 0x97, 0x8f, 0x68, 0xaf, 0x99, 0x58, 0xab, 0x18, 0x4d, 0x90, 0x08, 0xd0, 0x34, 0xee, - 0xff, 0xe5, 0x9b, 0xa2, 0x96, 0x1d, 0x05, 0xe4, 0x26, 0x55, 0xd4, 0xf7, 0xc3, 0x38, 0x41, 0x6a, - 0x56, 0xc7, 0xa8, 0xde, 0x05, 0xaf, 0x09, 0x38, 0x28, 0x0a, 0xe7, 0x33, 0x64, 0xba, 0x61, 0x56, - 0x20, 0x44, 0xf9, 0x63, 0xa2, 0x88, 0x5d, 0x3b, 0xd8, 0xb4, 0xce, 0x5b, 0x64, 0x82, 0xb9, 0xf2, - 0x1a, 0x61, 0x4b, 0xe8, 0xcb, 0x72, 0x67, 0x9a, 0xa8, 0x09, 0xf8, 0x03, 0xe3, 0x7f, 0x50, 0xd4, - 0x68, 0x75, 0x60, 0x13, 0x36, 0x6a, 0x42, 0xdc, 0x2a, 0xab, 0xe3, 0x1a, 0x83, 0x82, 0xc0, 0xba, - 0xbf, 0x58, 0x36, 0x46, 0x19, 0x95, 0x3e, 0xdf, 0xf9, 0x21, 0x32, 0x7e, 0xcf, 0xa3, 0x4a, 0x6b, - 0x7b, 0x4f, 0xec, 0xa0, 0xaf, 0x15, 0x94, 0xbd, 0xac, 0xf8, 0x1d, 0x5e, 0x94, 0xef, 0x13, 0xe2, - 0x07, 0x48, 0x86, 0xc8, 0x3b, 0xea, 0xb6, 0xdb, 0xc8, 0xbb, 0x3c, 0x38, 0x6f, 0xe0, 0x45, 0x39, - 0x6f, 0xf1, 0x03, 0x24, 0x43, 0x67, 0x97, 0x10, 0xb9, 0xfa, 0xfc, 0xa6, 0x70, 0xa1, 0xfd, 0xc0, - 0x20, 0xec, 0xb7, 0x55, 0xe9, 0xe5, 0x19, 0xdc, 0x99, 0xf4, 0x6f, 0x30, 0x38, 0xbb, 0x5d, 0xa6, - 0x88, 0xf4, 0x36, 0x8b, 0x4a, 0x54, 0x3a, 0xb9, 0xbd, 0x88, 0xd2, 0x2c, 0x25, 0x62, 0xe8, 0x5e, - 0x2e, 0xa8, 0x50, 0x6d, 0x07, 0x07, 0xbe, 0xb9, 0x5a, 0x04, 0x17, 0xd0, 0x0c, 0xdd, 0x6f, 0x55, - 0xc8, 0x7c, 0xbf, 0xf6, 0xe2, 0x9c, 0xf4, 0xef, 0x07, 0xd4, 0x1a, 0x69, 0xf2, 0x99, 0x6b, 0xcc, - 0xc9, 0x35, 0x01, 0x07, 0x45, 0x81, 0x93, 0x23, 0x0e, 0xf6, 0xda, 0x5e, 0x4b, 0xcc, 0x5f, 0x35, - 0x39, 0xea, 0x0c, 0x0a, 0x02, 0x8b, 0x74, 0x54, 0xea, 0xc6, 0xc2, 0x85, 0x6b, 0x4c, 0x22, 0x60, - 0x50, 0x10, 0x58, 0xd3, 0xfc, 0x1b, 0xc9, 0x31, 0xff, 0xac, 0x31, 0x1a, 0x7d, 0xc8, 0x63, 0x44, - 0x77, 0x1d, 0x82, 0x6e, 0xce, 0x78, 0x9f, 0xb1, 0x1f, 0x1b, 0x9c, 0xbd, 0xd2, 0x4a, 0xd6, 0x15, - 0x1b, 0x30, 0x58, 0x3a, 0x6f, 0x90, 0x49, 0xb5, 0x42, 0xa9, 0xf5, 0x3f, 0x6e, 0x3b, 0xfe, 0xb4, - 0xb8, 0x5a, 0x05, 0x93, 0xce, 0xfd, 0x4a, 0x7a, 0xca, 0x88, 0x85, 0x61, 0x8c, 0x70, 0xa9, 0xe8, - 0x08, 0x97, 0x8f, 0x1f, 0x61, 0xf7, 0x3f, 0x57, 0xd0, 0x76, 0x36, 0x2a, 0xeb, 0xc6, 0x05, 0x84, - 0xda, 0xbb, 0x28, 0xe1, 0x69, 0xc3, 0xc4, 0xb2, 0x7c, 0x65, 0x90, 0x75, 0x63, 0xee, 0x07, 0xb8, - 0x1c, 0x38, 0x27, 0x67, 0x9f, 0xee, 0xd0, 0x5e, 0xcc, 0x2c, 0x49, 0x5f, 0x2c, 0xc7, 0xc1, 0xd8, - 0x6a, 0x2d, 0x9c, 0xb2, 0x31, 0x36, 0x5c, 0x5e, 0x8b, 0x66, 0x8e, 0xdb, 0x13, 0x6a, 0x07, 0xf2, - 0xe4, 0x40, 0x35, 0x07, 0x55, 0x88, 0x23, 0xe0, 0x38, 0x2a, 0x4b, 0xa7, 0xa8, 0x86, 0x85, 0x53, - 0x65, 0x05, 0x15, 0x20, 0x36, 0xf9, 0x46, 0xb5, 0xa6, 0x04, 0x06, 0x0e, 0x2c, 0x4a, 0xad, 0x28, - 0x8f, 0x1d, 0xa3, 0x28, 0xd3, 0x2f, 0xc4, 0xfe, 0x51, 0xb3, 0x42, 0x7d, 0xa1, 0x0d, 0x0e, 0x06, - 0x89, 0x4f, 0x4f, 0xa2, 0x89, 0x82, 0x93, 0xe8, 0x02, 0x99, 0x59, 0xf5, 0xfc, 0x83, 0xb0, 0xbd, - 0xd6, 0x6e, 0x76, 0xc2, 0x80, 0x36, 0x6c, 0x9e, 0x8c, 0xb0, 0x2d, 0x85, 0xaf, 0xf8, 0x11, 0xe4, - 0x00, 0x23, 0xa8, 0xec, 0xba, 0xff, 0x8f, 0xee, 0x6b, 0xab, 0xd4, 0x3e, 0x4d, 0xfc, 0x9b, 0x1d, - 0xe6, 0x7e, 0x70, 0xd6, 0x89, 0xb3, 0x17, 0x79, 0x0d, 0xbf, 0xe6, 0x47, 0x41, 0xd8, 0xa4, 0x3b, - 0x7e, 0xd8, 0x66, 0x0e, 0x77, 0xdc, 0x23, 0xd1, 0x9b, 0xe8, 0x5c, 0xed, 0xc1, 0x42, 0x46, 0x09, - 0xa7, 0x49, 0xa6, 0x3b, 0x91, 0x6f, 0xf9, 0x4b, 0x4a, 0xf9, 0xfa, 0x79, 0xcd, 0x2c, 0xc2, 0xd5, - 0x47, 0x0b, 0x04, 0x36, 0x53, 0xe7, 0x1d, 0x32, 0x17, 0x46, 0x9d, 0x7d, 0xaf, 0xbd, 0xea, 0x77, - 0xfc, 0x76, 0x13, 0x75, 0x66, 0xe1, 0x14, 0x3b, 0x47, 0xcb, 0xce, 0xdd, 0x4c, 0xe1, 0xa0, 0x87, - 0xda, 0xfd, 0x79, 0x6a, 0x2f, 0xae, 0x86, 0xf7, 0xda, 0xf7, 0xbc, 0xa8, 0xb9, 0x54, 0xdb, 0xe0, - 0x8a, 0x30, 0x73, 0x32, 0x4a, 0xe7, 0x66, 0xa9, 0xaf, 0x73, 0xf3, 0x4b, 0x64, 0x62, 0x37, 0xf0, - 0x5b, 0x4d, 0xf4, 0x42, 0xf2, 0xee, 0x5d, 0x2e, 0xe2, 0xd1, 0x58, 0xc7, 0x32, 0xd2, 0x2b, 0xc0, - 0x7d, 0xab, 0xeb, 0x82, 0x0d, 0x28, 0x86, 0x4e, 0x97, 0xcc, 0x49, 0x4d, 0x5f, 0x62, 0xc5, 0xea, - 0x78, 0xad, 0x98, 0x21, 0x61, 0x57, 0xc3, 0xc6, 0x03, 0x52, 0x0c, 0xa1, 0xa7, 0x0a, 0xb4, 0xd0, - 0x0e, 0x70, 0x77, 0x18, 0x61, 0x73, 0x85, 0x59, 0x68, 0xcc, 0x84, 0x64, 0x50, 0xf7, 0x1f, 0x94, - 0xc8, 0xe3, 0x3d, 0xa3, 0x25, 0xec, 0xeb, 0x2f, 0x48, 0xc3, 0x96, 0x9f, 0xce, 0xe4, 0xb4, 0x32, - 0x73, 0xcc, 0x8b, 0x19, 0xb9, 0xe5, 0x02, 0x46, 0xee, 0x4d, 0x72, 0x6e, 0xed, 0xa0, 0x93, 0x1c, - 0x51, 0x13, 0xd1, 0x6a, 0xe4, 0x9b, 0x64, 0xec, 0xc0, 0x6f, 0x06, 0xdd, 0x03, 0xf1, 0x59, 0x9f, - 0x96, 0x82, 0x74, 0x8b, 0x41, 0xa9, 0x96, 0x34, 0x8d, 0x67, 0x9f, 0x74, 0x01, 0x72, 0x00, 0x08, - 0x72, 0xf7, 0xfb, 0x25, 0x32, 0x2b, 0x17, 0xd4, 0x52, 0xb3, 0x49, 0xc7, 0x2d, 0x76, 0x16, 0x48, - 0x39, 0xe8, 0x08, 0x46, 0x44, 0x30, 0x2a, 0x53, 0xa5, 0x89, 0x42, 0xa9, 0x06, 0x53, 0xe5, 0xae, - 0x7c, 0x3d, 0x39, 0x06, 0x3c, 0x1a, 0x60, 0xd6, 0xc7, 0xb6, 0xe4, 0x01, 0x9a, 0x9d, 0xd4, 0x2c, - 0x99, 0xa8, 0xae, 0xd8, 0x8e, 0xe5, 0x6b, 0x02, 0x0e, 0x8a, 0x02, 0xdd, 0xf9, 0x78, 0x4a, 0xc9, - 0x4e, 0x59, 0xf8, 0xb6, 0xcb, 0xa6, 0xdc, 0x0d, 0x01, 0x03, 0x85, 0x75, 0x7f, 0xaa, 0x44, 0xa6, - 0x64, 0x1f, 0x0b, 0x2a, 0xb9, 0xb8, 0x48, 0xb4, 0x82, 0xab, 0x17, 0x09, 0x2a, 0xa9, 0x0c, 0x63, - 0xe9, 0xa6, 0x95, 0x41, 0x74, 0x53, 0xf7, 0x5b, 0x54, 0xe7, 0x94, 0xcd, 0xa9, 0x77, 0x77, 0x62, - 0x3f, 0x71, 0xbe, 0x4c, 0xaa, 0x1e, 0x1f, 0x7c, 0x5f, 0xce, 0xb3, 0x8b, 0x79, 0x16, 0xba, 0xf5, - 0xcd, 0xb4, 0x62, 0xb0, 0x24, 0xf9, 0x80, 0x66, 0xe9, 0x1c, 0x92, 0x33, 0xed, 0x30, 0x61, 0xfb, - 0x81, 0xc2, 0x17, 0xf3, 0x88, 0xa6, 0xeb, 0x79, 0x42, 0xd4, 0x73, 0xe6, 0x46, 0x9a, 0x1f, 0xf4, - 0x56, 0x41, 0xed, 0x3e, 0xe1, 0xc5, 0xa8, 0xb0, 0xba, 0x2e, 0x14, 0xab, 0xab, 0xbf, 0x13, 0xc3, - 0xfd, 0xb5, 0x12, 0xa9, 0x4a, 0xb2, 0x61, 0xfa, 0xc4, 0xef, 0x90, 0xf1, 0x98, 0x7d, 0x1a, 0x39, - 0x4c, 0xaf, 0x14, 0x6b, 0x3a, 0xff, 0x9e, 0x7a, 0xf3, 0xe3, 0xbf, 0x63, 0x90, 0xdc, 0x98, 0x1b, - 0x52, 0x75, 0xe0, 0xd1, 0x73, 0x43, 0xaa, 0xa6, 0xf5, 0x71, 0x43, 0xfe, 0xc3, 0x12, 0x19, 0xe3, - 0xce, 0xa1, 0x62, 0x1e, 0x36, 0xc3, 0x97, 0xac, 0x39, 0xde, 0x46, 0xa0, 0x70, 0x2d, 0xd3, 0x91, - 0xae, 0xb2, 0x7f, 0xd6, 0xa3, 0xf0, 0x40, 0x6c, 0x04, 0x17, 0x8a, 0x38, 0xa7, 0xb8, 0xe0, 0xe3, - 0xd2, 0xe4, 0xb6, 0x64, 0x00, 0x9a, 0x97, 0xfb, 0xab, 0x15, 0x5c, 0xf5, 0x9a, 0xd4, 0xda, 0xd6, - 0x4a, 0xa7, 0xb1, 0xad, 0x95, 0x87, 0xbf, 0xad, 0x7d, 0x40, 0x66, 0x1b, 0x86, 0x4f, 0x5e, 0x6f, - 0xa6, 0x57, 0x0a, 0xba, 0x9b, 0x0d, 0x47, 0x3e, 0x77, 0x86, 0xac, 0xd8, 0xec, 0x20, 0xcd, 0xdf, - 0xf1, 0xc9, 0x14, 0x3f, 0x50, 0x14, 0xf5, 0x8d, 0xe4, 0xce, 0x59, 0xee, 0x77, 0xe1, 0x25, 0x54, - 0x65, 0x2c, 0xe8, 0xa4, 0x6e, 0x30, 0x02, 0x8b, 0xad, 0xfb, 0xd7, 0x46, 0xc9, 0xe8, 0xda, 0x21, - 0xd5, 0x65, 0x86, 0xb8, 0xca, 0x0f, 0xc8, 0x4c, 0xd0, 0x3e, 0x0c, 0x5b, 0x87, 0x7e, 0x93, 0xe3, - 0x4f, 0xb6, 0xa3, 0x9d, 0x17, 0x95, 0xcc, 0x6c, 0x58, 0xcc, 0x20, 0xc5, 0x7c, 0x18, 0xf6, 0xe4, - 0xbb, 0xd4, 0x94, 0x65, 0x33, 0x42, 0x18, 0x93, 0x39, 0x4e, 0x52, 0x36, 0xa0, 0x62, 0xe5, 0x68, - 0xab, 0x97, 0xfb, 0x67, 0x05, 0x23, 0xe7, 0x2e, 0x99, 0xd9, 0x0d, 0x22, 0x6a, 0x71, 0x50, 0x83, - 0x90, 0x5a, 0x01, 0x07, 0x9d, 0x93, 0x18, 0x92, 0x6a, 0x48, 0xd6, 0x2d, 0x56, 0x90, 0x62, 0x4d, - 0x8d, 0xa4, 0x69, 0xb4, 0x63, 0x74, 0x5d, 0xe3, 0x83, 0xd7, 0xa5, 0x7c, 0x49, 0x9b, 0x26, 0x27, - 0xb0, 0x19, 0xa3, 0x30, 0x6a, 0x30, 0xc3, 0x67, 0x82, 0x6d, 0xe9, 0x4a, 0x18, 0x71, 0x8b, 0x87, - 0xe3, 0x50, 0xa6, 0xb1, 0xf3, 0xe3, 0xaa, 0x2d, 0xd3, 0xf4, 0x29, 0xb1, 0xfb, 0x0d, 0xdc, 0x80, - 0x70, 0x14, 0x4f, 0x43, 0x76, 0x5f, 0xb3, 0x65, 0xf7, 0x27, 0x0b, 0x7c, 0xdc, 0x3e, 0x72, 0xfb, - 0x7d, 0x32, 0x69, 0x7c, 0x7b, 0x74, 0x14, 0x36, 0xe4, 0x51, 0xa7, 0x10, 0xe0, 0x4a, 0x81, 0x50, - 0x67, 0xa0, 0xa0, 0x69, 0x70, 0x60, 0x50, 0xf1, 0x4a, 0x47, 0x44, 0xa0, 0x5a, 0x06, 0x0c, 0xe3, - 0xbe, 0x46, 0xc8, 0xda, 0x7d, 0xbf, 0xb1, 0xd4, 0x60, 0x07, 0xf1, 0xc6, 0xb9, 0x49, 0xa9, 0xff, - 0xb9, 0x89, 0xfb, 0x1e, 0xdd, 0x0c, 0xef, 0xe3, 0xce, 0x2e, 0xcd, 0x34, 0xba, 0x44, 0x7c, 0x06, - 0x60, 0xad, 0x9a, 0xd0, 0x93, 0x94, 0x93, 0x81, 0xc0, 0xb2, 0x63, 0xf4, 0xfb, 0x9e, 0x58, 0xb0, - 0x86, 0xc9, 0xbb, 0x86, 0x40, 0xe0, 0x38, 0xf7, 0xeb, 0x25, 0x32, 0xb3, 0xbe, 0x62, 0xe9, 0xc9, - 0x8b, 0x84, 0x70, 0x7d, 0xf3, 0xce, 0x9d, 0x1b, 0xd2, 0x8f, 0xca, 0x9d, 0x5d, 0x0a, 0x0a, 0x06, - 0x85, 0xf3, 0x04, 0xa9, 0xb4, 0xba, 0x6d, 0xa1, 0x06, 0x8e, 0xa3, 0x7f, 0x76, 0xb3, 0xdb, 0x06, - 0x84, 0x19, 0x81, 0x0d, 0x95, 0xc2, 0x81, 0x0d, 0xf9, 0xa1, 0x7d, 0x3f, 0x5b, 0x21, 0x73, 0xeb, - 0x2d, 0xff, 0xbe, 0xd5, 0x6a, 0x5a, 0x55, 0x33, 0x0a, 0xe8, 0xe4, 0x49, 0xbb, 0x49, 0x56, 0x19, - 0x14, 0x04, 0xb6, 0x70, 0xac, 0x85, 0x15, 0x67, 0x52, 0x19, 0x72, 0x9c, 0x49, 0x6e, 0x9f, 0x9d, - 0x5d, 0x32, 0x1e, 0xf2, 0xef, 0x4f, 0xa5, 0x18, 0x4e, 0xf4, 0xcf, 0x1c, 0xdf, 0x98, 0xf4, 0xf8, - 0x2c, 0x8a, 0xd9, 0xc3, 0x0f, 0xbd, 0x95, 0xb0, 0x14, 0x50, 0x90, 0xcc, 0x17, 0x3e, 0x4d, 0xa6, - 0x4c, 0xca, 0x81, 0x4e, 0xbf, 0xff, 0x42, 0x89, 0x9c, 0x5d, 0xc7, 0x10, 0xd2, 0x54, 0x30, 0xcc, - 0x1b, 0xd4, 0x86, 0xa3, 0x4b, 0x35, 0xb6, 0x22, 0xc4, 0xac, 0x50, 0x38, 0x81, 0x02, 0x93, 0xce, - 0x28, 0x76, 0xeb, 0xd6, 0xc6, 0x6a, 0x56, 0x04, 0x9d, 0x40, 0x81, 0x49, 0xe7, 0xfe, 0xc7, 0x12, - 0x79, 0xf2, 0xea, 0xca, 0x5a, 0x0d, 0xc5, 0x48, 0x9c, 0xd0, 0x85, 0xd9, 0x13, 0xc4, 0x47, 0xa7, - 0x40, 0xa7, 0x69, 0x34, 0x45, 0x4d, 0x81, 0xda, 0x2a, 0x6b, 0x85, 0xc0, 0x3e, 0x2a, 0x91, 0xac, - 0x54, 0x9f, 0x3c, 0x7b, 0x35, 0xa0, 0x73, 0xa6, 0x13, 0xa6, 0xe3, 0xee, 0x22, 0x0a, 0x8b, 0x31, - 0x1e, 0xeb, 0x28, 0x1d, 0x77, 0x07, 0x0a, 0x03, 0x06, 0x15, 0xaf, 0xf9, 0x30, 0x40, 0x01, 0x2b, - 0x3a, 0x65, 0xd4, 0xcc, 0xe1, 0xa0, 0x28, 0xb0, 0x63, 0xcd, 0x20, 0x62, 0xba, 0xc8, 0x91, 0x58, - 0xc1, 0xaa, 0x63, 0xab, 0x12, 0x01, 0x9a, 0xc6, 0xfd, 0x5b, 0x25, 0xf2, 0xd8, 0xd5, 0x56, 0x97, - 0x0e, 0x7b, 0xb4, 0x1b, 0x5b, 0x8d, 0x7d, 0x8d, 0x54, 0x7d, 0xa9, 0x37, 0x8b, 0xb6, 0xaa, 0x3d, - 0x49, 0x29, 0xd4, 0x3c, 0xe8, 0x4f, 0xd1, 0x15, 0x88, 0x31, 0x1b, 0x2c, 0x22, 0xea, 0x5f, 0x96, - 0xc9, 0xf4, 0xb5, 0xed, 0xed, 0xda, 0x55, 0x3f, 0x11, 0x32, 0x38, 0xdf, 0xd1, 0x53, 0x33, 0xac, - 0xdc, 0xc9, 0x2b, 0x8b, 0x7d, 0x56, 0x1d, 0xc6, 0x58, 0x2f, 0xf2, 0x18, 0xeb, 0xc5, 0x8d, 0x76, - 0x72, 0x33, 0xaa, 0x27, 0x11, 0x1e, 0x43, 0x64, 0x59, 0xc5, 0x72, 0x9f, 0xa8, 0xf4, 0xdb, 0x27, - 0xe8, 0x60, 0x8d, 0xc5, 0x8d, 0x7d, 0x5f, 0x19, 0xed, 0x1f, 0x57, 0x6a, 0x08, 0x83, 0x52, 0x9b, - 0xb9, 0x7a, 0x0b, 0x36, 0xf8, 0x0f, 0x10, 0xa4, 0x54, 0x60, 0x4d, 0xee, 0x27, 0x49, 0xe7, 0x1a, - 0xed, 0x2c, 0x9d, 0xfa, 0x42, 0x4a, 0xe4, 0x68, 0x81, 0x38, 0x18, 0xbc, 0x80, 0x5e, 0x58, 0x1a, - 0x16, 0x83, 0xc9, 0xd1, 0xad, 0x13, 0xa2, 0x71, 0x0f, 0xc9, 0xb4, 0x71, 0xff, 0x7c, 0x99, 0x8c, - 0x5f, 0xa3, 0xdb, 0x5c, 0x8b, 0xb2, 0x5c, 0x27, 0x23, 0x3e, 0xdd, 0x1e, 0x8b, 0x29, 0xb0, 0x7a, - 0x23, 0xe5, 0x9e, 0x2a, 0xfc, 0x0d, 0xac, 0xbc, 0x03, 0x64, 0x1c, 0xdb, 0x7d, 0x55, 0x05, 0x66, - 0xbe, 0x9c, 0x3f, 0x0a, 0x6a, 0x4a, 0xf0, 0x5d, 0x58, 0x80, 0x40, 0x32, 0x62, 0x3e, 0x9d, 0x46, - 0xa7, 0x8e, 0xc2, 0x2d, 0x29, 0x16, 0x7b, 0xbd, 0xbd, 0x52, 0xe3, 0xe4, 0x82, 0x2f, 0xf7, 0xe9, - 0x48, 0x20, 0x68, 0x76, 0xee, 0x5b, 0xe4, 0x1c, 0x3b, 0x15, 0xa4, 0xd3, 0xcd, 0x5a, 0x33, 0xb9, - 0x93, 0xd3, 0xfd, 0xbb, 0x65, 0x72, 0x66, 0xa3, 0xbe, 0x52, 0xb7, 0xbd, 0x71, 0x6f, 0x91, 0x29, - 0xbe, 0x3d, 0xe3, 0xa4, 0xf3, 0x5a, 0xa2, 0xbc, 0x72, 0x63, 0x6f, 0x1b, 0x38, 0xb0, 0x28, 0xf1, - 0xb8, 0x35, 0xf8, 0xa0, 0x9d, 0x8e, 0x0f, 0xda, 0x78, 0xf7, 0x06, 0x20, 0x1c, 0xd1, 0xb8, 0xd3, - 0x73, 0x11, 0xa7, 0xd0, 0x6a, 0xb7, 0xff, 0x1c, 0x35, 0x15, 0xe2, 0x46, 0x1c, 0xd0, 0x05, 0x40, - 0xd7, 0xbf, 0xd7, 0x90, 0xd3, 0x57, 0xeb, 0xfe, 0xd8, 0x54, 0x85, 0x85, 0x14, 0xb5, 0x21, 0x6f, - 0x47, 0x0b, 0x6b, 0x0b, 0xf9, 0x11, 0x9a, 0x5f, 0x21, 0x55, 0x15, 0x49, 0x23, 0x03, 0xa0, 0x4a, - 0xd9, 0x01, 0x50, 0x05, 0x04, 0x8e, 0xf4, 0x91, 0x56, 0x32, 0x7d, 0xa4, 0xff, 0x84, 0x6a, 0xbe, - 0x2a, 0x68, 0x80, 0xce, 0xc3, 0x2a, 0x15, 0xbc, 0x09, 0x3b, 0x86, 0x12, 0x93, 0xfa, 0xf9, 0x9c, - 0x99, 0xc8, 0x57, 0x02, 0x9f, 0x2b, 0x35, 0x59, 0x16, 0x34, 0x1b, 0x67, 0x93, 0x8c, 0x77, 0x22, - 0xbf, 0x9e, 0xb0, 0x30, 0xdf, 0x01, 0x38, 0xb2, 0x59, 0x5d, 0xe3, 0x25, 0x41, 0xb2, 0x70, 0x7f, - 0xb9, 0x44, 0xc8, 0x66, 0x70, 0x40, 0x37, 0x17, 0xaf, 0xbd, 0xe7, 0x0f, 0xd1, 0x8a, 0xbc, 0x41, - 0x46, 0xe2, 0x0e, 0x5d, 0xda, 0x85, 0x8e, 0x8e, 0x74, 0x8b, 0xea, 0xb4, 0x8c, 0xfe, 0x0c, 0xf8, - 0x0b, 0x18, 0x1f, 0xf7, 0x17, 0x08, 0x99, 0xd1, 0x64, 0xa8, 0xc6, 0x3b, 0x17, 0xad, 0xb8, 0xd6, - 0x27, 0x52, 0x71, 0xad, 0x55, 0x46, 0x6d, 0x84, 0xb2, 0x26, 0xa4, 0x72, 0xe0, 0xdd, 0x17, 0x56, - 0xc3, 0x1b, 0x45, 0x1b, 0x84, 0x35, 0x2d, 0x6e, 0x79, 0xf7, 0xb9, 0x1a, 0xf5, 0xb2, 0x9c, 0x40, - 0x14, 0xf2, 0x80, 0x1f, 0x10, 0xb1, 0x15, 0x88, 0x66, 0xca, 0x8f, 0xfd, 0x57, 0xfd, 0x9b, 0x09, - 0x45, 0xac, 0x8e, 0xd5, 0x1a, 0xb4, 0x85, 0xab, 0x6f, 0xc0, 0x5a, 0x83, 0x76, 0xba, 0xd6, 0xa0, - 0x5d, 0xa0, 0xd6, 0xa0, 0x8d, 0xe1, 0x6f, 0xe3, 0xc2, 0x43, 0xce, 0xc2, 0xaf, 0x26, 0xaf, 0xbc, - 0x3d, 0x50, 0xd5, 0xc2, 0xd5, 0xce, 0xab, 0xbf, 0x24, 0x75, 0x47, 0x01, 0xcd, 0x6d, 0x82, 0xac, - 0xda, 0xf9, 0x39, 0x6a, 0x6b, 0x88, 0xff, 0x31, 0xd2, 0x89, 0x1a, 0x9d, 0x62, 0x97, 0x7a, 0xe7, - 0x24, 0xad, 0x11, 0x2c, 0x78, 0xa3, 0x7e, 0x40, 0x8a, 0x18, 0x1b, 0x99, 0xdb, 0xb6, 0x54, 0x7b, - 0x9c, 0x6f, 0x96, 0xc8, 0x39, 0xfa, 0x9d, 0x78, 0x8d, 0x1c, 0x06, 0x78, 0xa0, 0x28, 0x42, 0xcc, - 0xd6, 0x07, 0x9d, 0x27, 0x3d, 0x8c, 0x78, 0x73, 0x3f, 0x2b, 0x8f, 0x2d, 0xb3, 0x48, 0x72, 0x1b, - 0x9d, 0xd9, 0xc2, 0x85, 0x26, 0x99, 0x90, 0x13, 0x33, 0x43, 0x6b, 0x5f, 0x36, 0x37, 0xe3, 0xe3, - 0x57, 0xa0, 0x74, 0xa0, 0x2d, 0xbe, 0xdb, 0xf5, 0xda, 0x09, 0x5e, 0x19, 0xd0, 0x3a, 0x3e, 0xab, - 0x45, 0x4c, 0xc4, 0x21, 0xd6, 0xb2, 0x4f, 0xa6, 0xcc, 0x39, 0x37, 0xc4, 0x9a, 0x42, 0x72, 0x36, - 0x63, 0x3e, 0x0d, 0xb1, 0xc2, 0x2e, 0x79, 0xa2, 0xef, 0xbc, 0x18, 0x5e, 0xb5, 0x78, 0x28, 0x60, - 0x08, 0xcc, 0xd3, 0x70, 0xcc, 0x6c, 0xd9, 0x8e, 0x99, 0x17, 0x8b, 0x2e, 0x9d, 0x3e, 0xde, 0x99, - 0x5d, 0xb3, 0xfd, 0xb8, 0x13, 0x38, 0xdb, 0x64, 0xac, 0x85, 0x10, 0x79, 0x1a, 0xf4, 0xca, 0x20, - 0x8b, 0x53, 0x2b, 0x17, 0x0c, 0x1e, 0x83, 0xe0, 0xe5, 0xfe, 0x4a, 0x89, 0x8c, 0x9c, 0xc6, 0xf0, - 0xd4, 0xec, 0xe1, 0xe9, 0xa7, 0xa2, 0x8a, 0xbb, 0x9e, 0x8b, 0xe0, 0xdd, 0x5b, 0xbb, 0x4f, 0xad, - 0xd9, 0x98, 0xa9, 0x92, 0x99, 0x23, 0xf4, 0xf3, 0x65, 0x32, 0x89, 0x15, 0x49, 0x3f, 0xd1, 0x67, - 0xd0, 0x6f, 0xb8, 0xe3, 0xb7, 0xa4, 0x3b, 0x39, 0x6d, 0x76, 0x6d, 0x9a, 0x48, 0xb0, 0x69, 0xb1, - 0xf0, 0xae, 0xe9, 0x6d, 0x17, 0x2a, 0x91, 0x2a, 0x6c, 0xb9, 0xe2, 0xc1, 0xa6, 0x45, 0xcd, 0xff, - 0x9e, 0x97, 0x34, 0xf6, 0x85, 0x49, 0xa6, 0x9a, 0x7b, 0x07, 0x81, 0xc0, 0x71, 0xce, 0x12, 0x99, - 0x95, 0x33, 0xf6, 0x36, 0x1f, 0x3a, 0xa1, 0x2e, 0xaa, 0x7b, 0x7a, 0x60, 0xa3, 0x21, 0x4d, 0xef, - 0x7c, 0x9a, 0xcc, 0xe0, 0xe0, 0x84, 0xdd, 0x44, 0x06, 0x2b, 0x8c, 0xb2, 0x60, 0x05, 0x16, 0x1c, - 0xba, 0x6d, 0x61, 0x20, 0x45, 0xe9, 0xfe, 0x30, 0x39, 0xbb, 0x19, 0x7a, 0xcd, 0x65, 0xaf, 0xe5, - 0xb5, 0x1b, 0x7e, 0xb4, 0xd1, 0xde, 0xcb, 0x3d, 0xd7, 0x35, 0xcf, 0x5e, 0xcb, 0x79, 0x67, 0xaf, - 0x6e, 0x44, 0x1c, 0xb3, 0x02, 0x11, 0x66, 0xf3, 0x1e, 0x19, 0x0f, 0x78, 0x55, 0x62, 0xd6, 0x5e, - 0xce, 0x73, 0x2a, 0xf5, 0xb4, 0xd1, 0x08, 0x1b, 0xe1, 0x00, 0x90, 0x2c, 0xd1, 0x92, 0xc8, 0xf2, - 0x42, 0xe5, 0x1b, 0x6b, 0xee, 0x5f, 0x2e, 0x91, 0xd9, 0x1b, 0xa9, 0xcb, 0x60, 0x18, 0x03, 0xe6, - 0x47, 0x19, 0x2e, 0xb5, 0x3a, 0x83, 0x82, 0xc0, 0x3e, 0x74, 0x33, 0xfd, 0x27, 0xcb, 0xa4, 0xca, - 0x62, 0x36, 0x3b, 0x5e, 0x63, 0x98, 0x4a, 0xe9, 0x96, 0xa5, 0x94, 0xe6, 0x18, 0x89, 0xaa, 0x41, - 0xfd, 0x74, 0x52, 0xbc, 0x0e, 0x28, 0x2e, 0x47, 0x15, 0xb2, 0x0f, 0x35, 0x43, 0x7e, 0x8f, 0x66, - 0xc6, 0xbe, 0x4b, 0x25, 0x2f, 0x4e, 0xb1, 0xd3, 0x50, 0x45, 0xfb, 0xe8, 0x9d, 0x86, 0xaa, 0xa6, - 0xf5, 0x91, 0x4a, 0x35, 0xa3, 0xf5, 0x4c, 0x6c, 0x7f, 0x9e, 0x05, 0xe0, 0x79, 0xad, 0xe0, 0x43, - 0x5f, 0x5d, 0x32, 0x7c, 0x5a, 0xc4, 0xd3, 0x09, 0xe8, 0x03, 0x26, 0x60, 0xc4, 0x2f, 0x7e, 0x77, - 0x54, 0x17, 0x71, 0xaf, 0xd1, 0x99, 0x6a, 0x8f, 0x9d, 0xf3, 0x06, 0x19, 0xed, 0xec, 0x7b, 0xb1, - 0x9f, 0x8a, 0xec, 0x18, 0xad, 0x21, 0x90, 0x72, 0x9b, 0x51, 0x05, 0x18, 0x04, 0x38, 0xb5, 0xfb, - 0x87, 0x54, 0xd6, 0x63, 0x2c, 0xc4, 0x10, 0xe7, 0xd8, 0x35, 0x6b, 0x8e, 0xbd, 0x90, 0x7f, 0xe3, - 0xbc, 0xef, 0xf4, 0xaa, 0xa5, 0xa6, 0xd7, 0x8b, 0x05, 0x78, 0x1d, 0x3f, 0xb3, 0x0e, 0xc8, 0x24, - 0xbb, 0xd1, 0x2e, 0x42, 0x5a, 0x5e, 0xb3, 0x0c, 0xa8, 0xa7, 0x53, 0x06, 0xd4, 0xac, 0x41, 0x6a, - 0x98, 0x51, 0x2f, 0x91, 0x71, 0x11, 0x42, 0x91, 0x8e, 0x3a, 0x14, 0xb4, 0x20, 0xf1, 0xee, 0x2f, - 0x55, 0x88, 0x75, 0x83, 0xde, 0xf9, 0x76, 0x89, 0x50, 0xa5, 0x85, 0x5d, 0x79, 0x68, 0xae, 0x76, - 0xd1, 0x5f, 0x86, 0x2e, 0xad, 0x66, 0xb7, 0x45, 0xff, 0xdb, 0xd8, 0x6b, 0x87, 0x0a, 0x8c, 0xbe, - 0x9d, 0x2e, 0xf3, 0xae, 0x16, 0xbe, 0xb8, 0xaf, 0xce, 0x50, 0xaf, 0xd0, 0xb6, 0x2c, 0xc2, 0x40, - 0xb5, 0xc0, 0x80, 0xad, 0x72, 0x7e, 0xbb, 0x44, 0x2e, 0xf1, 0x3b, 0xe4, 0xc5, 0x7b, 0x52, 0xc8, - 0xf0, 0xac, 0x49, 0xa6, 0x9a, 0x1d, 0x06, 0x39, 0x2e, 0xbf, 0x29, 0x06, 0xf9, 0x52, 0x6d, 0xb0, - 0x5a, 0x61, 0xd0, 0x66, 0xba, 0xff, 0xba, 0x42, 0xd7, 0x2f, 0x1d, 0x4f, 0x7d, 0x7f, 0xf4, 0x0d, - 0x6b, 0x9a, 0x3c, 0x9b, 0x9a, 0x26, 0x67, 0x2c, 0xe2, 0x87, 0x73, 0x75, 0x34, 0x21, 0x67, 0xf0, - 0x9c, 0xf2, 0x9a, 0xef, 0x45, 0xc9, 0x8e, 0xef, 0xb1, 0x03, 0x4b, 0xb1, 0x08, 0x06, 0x3a, 0x04, - 0x55, 0x71, 0x39, 0x9b, 0x69, 0x6e, 0xd0, 0x5b, 0x81, 0x73, 0x8f, 0x38, 0xec, 0x74, 0x34, 0xf2, - 0xa8, 0xd2, 0xc5, 0x3a, 0x13, 0x08, 0x87, 0xec, 0x80, 0xd5, 0x2e, 0x88, 0x6a, 0x9d, 0xcd, 0x1e, - 0x76, 0x90, 0x51, 0x85, 0x71, 0x04, 0x3e, 0x5a, 0xf4, 0x08, 0x7c, 0x2c, 0x27, 0xe0, 0xf7, 0x27, - 0x4a, 0xe4, 0x2c, 0x7e, 0x18, 0x3b, 0x38, 0x34, 0x76, 0x42, 0x32, 0x8b, 0x3d, 0x68, 0xf9, 0x89, - 0x84, 0x89, 0x15, 0x96, 0xa3, 0x4b, 0xdb, 0x7c, 0xb4, 0xc6, 0x76, 0xdd, 0x66, 0x06, 0x69, 0xee, - 0xee, 0x2f, 0x95, 0x08, 0x8b, 0x3e, 0x3b, 0x8d, 0x7d, 0xec, 0xaa, 0xbd, 0x8f, 0xb9, 0xf9, 0x42, - 0xa3, 0xcf, 0x16, 0xf6, 0x3a, 0x99, 0x43, 0x6c, 0x2d, 0x0a, 0xef, 0x1f, 0x49, 0xe5, 0x3a, 0xdf, - 0x37, 0xfb, 0x97, 0x4a, 0x5c, 0xdc, 0x29, 0xad, 0xf8, 0x1e, 0x06, 0x98, 0xe9, 0xdf, 0xb8, 0x90, - 0xa5, 0x12, 0xb8, 0x58, 0x5c, 0xa0, 0xb1, 0xf5, 0x6f, 0x44, 0x98, 0xa5, 0x18, 0x42, 0x6f, 0x1d, - 0xee, 0xdf, 0x2b, 0x91, 0xc7, 0x4d, 0x42, 0xe3, 0x9a, 0x59, 0x9e, 0x43, 0x74, 0x95, 0x4c, 0x84, - 0x1d, 0xcc, 0x18, 0xa3, 0x2c, 0x80, 0x17, 0xe5, 0x88, 0xdf, 0x14, 0x70, 0xba, 0x72, 0xcf, 0x99, - 0xdc, 0x25, 0x1c, 0x54, 0x49, 0xcc, 0x44, 0xc1, 0x2c, 0xd1, 0x58, 0x5c, 0x10, 0x64, 0x99, 0x28, - 0xd8, 0x31, 0x00, 0x5d, 0xe4, 0x1c, 0xe3, 0xfe, 0x95, 0x12, 0x1f, 0x65, 0xb3, 0xe9, 0xce, 0x57, - 0xc9, 0xdc, 0x01, 0x1a, 0x0b, 0x6b, 0xf7, 0x3b, 0xb8, 0x85, 0xb0, 0xe3, 0xcf, 0x52, 0x11, 0xc1, - 0xd9, 0xa7, 0xbb, 0xcb, 0xf3, 0xa2, 0xf5, 0x73, 0x5b, 0x29, 0xb6, 0xd0, 0x53, 0x91, 0xfb, 0x3b, - 0x62, 0xae, 0x32, 0xad, 0x85, 0x2e, 0xb6, 0x4e, 0xd8, 0x5c, 0xd9, 0x58, 0x05, 0x31, 0x56, 0x6a, - 0xb1, 0xd5, 0x38, 0x18, 0x24, 0x1e, 0xcf, 0xe5, 0x7c, 0x6a, 0xaa, 0x45, 0x54, 0x61, 0x51, 0xc7, - 0x96, 0x4a, 0x49, 0x58, 0x53, 0x18, 0x30, 0xa8, 0xb0, 0x4c, 0x27, 0x0a, 0x0f, 0x83, 0x26, 0x0b, - 0xf7, 0xae, 0xd8, 0x65, 0x6a, 0x0a, 0x03, 0x06, 0x15, 0x9a, 0x68, 0xdd, 0x76, 0xcc, 0x05, 0xb8, - 0xb7, 0x23, 0x12, 0x28, 0x4c, 0x68, 0x13, 0xed, 0x96, 0x89, 0x04, 0x9b, 0xd6, 0xfd, 0xcd, 0x2a, - 0x21, 0x5a, 0x45, 0x40, 0x0f, 0xe1, 0x44, 0xc3, 0xa3, 0x0a, 0x12, 0xcf, 0x8e, 0x53, 0xc9, 0xbf, - 0x17, 0xa3, 0x0b, 0x2f, 0xae, 0x88, 0x82, 0xdc, 0xb7, 0xf5, 0xaa, 0x9c, 0x20, 0x12, 0x9c, 0xeb, - 0xcf, 0x52, 0x35, 0x3b, 0x5f, 0x2b, 0x91, 0x49, 0xaf, 0x85, 0x77, 0x67, 0x13, 0xd6, 0xa3, 0x72, - 0x11, 0x67, 0xa5, 0xd1, 0x92, 0x25, 0x5d, 0x96, 0x37, 0xe6, 0x35, 0x79, 0xaa, 0x65, 0x60, 0x72, - 0xdb, 0x63, 0x36, 0xc1, 0x79, 0x55, 0xaa, 0x96, 0xfc, 0xa3, 0x2c, 0xa4, 0x55, 0xcb, 0x2a, 0x13, - 0x0d, 0x86, 0x56, 0x89, 0x37, 0x4c, 0x8c, 0xd8, 0xf7, 0x91, 0x22, 0x77, 0x53, 0xad, 0x4d, 0x33, - 0x2f, 0x4d, 0x00, 0x9e, 0x45, 0xe9, 0x48, 0xd8, 0xd1, 0x22, 0x17, 0x3f, 0x0d, 0xdd, 0x2d, 0x27, - 0x0a, 0x36, 0x21, 0xb3, 0x4d, 0x7b, 0x93, 0x10, 0xa1, 0x4d, 0x97, 0xf3, 0x6b, 0x48, 0xed, 0x2e, - 0x7a, 0x5b, 0x48, 0x21, 0x20, 0x5d, 0x05, 0xed, 0x11, 0x8b, 0x44, 0xde, 0x68, 0xef, 0x86, 0x22, - 0xba, 0xe9, 0x95, 0x02, 0xdf, 0xfc, 0x28, 0xa6, 0xe2, 0x19, 0xcb, 0xe8, 0x6d, 0xe0, 0x86, 0xe0, - 0x02, 0x8a, 0x1f, 0xba, 0x89, 0xd8, 0xad, 0x0a, 0xbc, 0x8b, 0x5b, 0x19, 0xe0, 0x82, 0x09, 0xbb, - 0x93, 0xa1, 0x37, 0x5f, 0xf6, 0x93, 0x8a, 0x2b, 0xce, 0x8b, 0xea, 0xf5, 0xe2, 0xaa, 0x6c, 0xbc, - 0xd1, 0xbe, 0x15, 0xfb, 0xec, 0xfe, 0x6d, 0x75, 0xf9, 0x39, 0x7d, 0xa1, 0x96, 0xc3, 0x33, 0xb3, - 0x23, 0x59, 0x25, 0x71, 0x0f, 0x16, 0xbf, 0x65, 0xd2, 0xa5, 0x79, 0x52, 0xa4, 0xa1, 0x76, 0x8a, - 0x26, 0x3d, 0xd8, 0xb7, 0x6d, 0x66, 0x90, 0xe6, 0xbe, 0x10, 0x90, 0x69, 0x6b, 0xc5, 0x0e, 0xd1, - 0xd9, 0xd9, 0x22, 0x73, 0xe9, 0x25, 0x39, 0x44, 0x1f, 0xe7, 0x1f, 0x8c, 0x90, 0x19, 0x7b, 0x62, - 0x60, 0x04, 0xc3, 0x01, 0x4b, 0x89, 0xa4, 0x13, 0xb1, 0xa8, 0xf9, 0xbf, 0x25, 0x11, 0xa0, 0x69, - 0x58, 0x4a, 0x1a, 0x56, 0xdc, 0x88, 0x39, 0xd1, 0x29, 0x69, 0x14, 0x06, 0x0c, 0x2a, 0x54, 0xd8, - 0x76, 0xc2, 0x30, 0x51, 0x82, 0x5b, 0xcd, 0x99, 0x65, 0x06, 0x05, 0x81, 0x45, 0x81, 0x7d, 0x17, - 0x3b, 0xd4, 0xb2, 0xfd, 0x5d, 0x4a, 0x60, 0x5f, 0x37, 0x91, 0x60, 0xd3, 0xe2, 0x06, 0x14, 0xc6, - 0x6c, 0x12, 0x0a, 0xb5, 0x50, 0xc7, 0xf0, 0xd4, 0xf9, 0x2d, 0x23, 0x89, 0x77, 0xbe, 0x48, 0x1e, - 0x57, 0x97, 0x82, 0x80, 0xfb, 0x0f, 0x65, 0x8d, 0x63, 0x96, 0x6d, 0xf7, 0xf8, 0x4a, 0x36, 0x19, - 0xf4, 0x2b, 0x8f, 0x47, 0xbc, 0x42, 0xa5, 0x93, 0x1c, 0xc7, 0xed, 0x23, 0xde, 0xeb, 0x16, 0x16, - 0x52, 0xd4, 0x54, 0x9f, 0x98, 0x43, 0x08, 0x53, 0xa5, 0x24, 0x07, 0x7e, 0xb9, 0x49, 0xed, 0xcc, - 0xd7, 0x53, 0x78, 0xe8, 0x29, 0x81, 0xae, 0x43, 0xae, 0x5b, 0xa0, 0x05, 0xc3, 0xbe, 0x83, 0x88, - 0x46, 0x54, 0x8b, 0xe0, 0xa6, 0x8d, 0x86, 0x34, 0x3d, 0x9e, 0x91, 0x7b, 0x11, 0xfd, 0xe8, 0x09, - 0x55, 0x11, 0xba, 0x11, 0xbf, 0xd9, 0x6e, 0x9c, 0x91, 0x2f, 0x19, 0x38, 0xb0, 0x28, 0xdd, 0x0f, - 0xc9, 0xd9, 0x8c, 0xa0, 0x67, 0x9c, 0x38, 0x74, 0x82, 0xca, 0x3e, 0xa5, 0xa2, 0x71, 0xf0, 0xa6, - 0x8b, 0xe8, 0x8d, 0x41, 0x85, 0xb3, 0x93, 0x39, 0x4e, 0x8d, 0xfc, 0x68, 0x6a, 0x76, 0xae, 0x4b, - 0x04, 0x68, 0x1a, 0xf7, 0x7f, 0xd0, 0x5d, 0x5b, 0xbb, 0x19, 0x0a, 0xc4, 0x60, 0xd0, 0x6e, 0xca, - 0x94, 0x7f, 0x46, 0xaa, 0x2d, 0xd5, 0xcd, 0xab, 0x06, 0x0e, 0x2c, 0x4a, 0x6c, 0x5b, 0x5b, 0x3a, - 0x4d, 0xd2, 0xb1, 0x3f, 0xca, 0x9b, 0x02, 0x9a, 0x06, 0x7d, 0x7c, 0xb1, 0xdf, 0xda, 0xdd, 0x0c, - 0xda, 0x77, 0xc5, 0xc4, 0x56, 0x52, 0xb9, 0x2e, 0xe0, 0xa0, 0x28, 0x9c, 0x77, 0x48, 0xa5, 0x1b, - 0x34, 0xc5, 0x54, 0x5e, 0x94, 0x7a, 0x27, 0x5d, 0x4d, 0x54, 0x62, 0x3e, 0x9d, 0x9d, 0xc7, 0x10, - 0xcd, 0xc8, 0x78, 0x11, 0x17, 0x1f, 0x16, 0xcd, 0xf2, 0x1f, 0x8f, 0x0d, 0xe8, 0x3f, 0xa6, 0xdf, - 0x4c, 0xf4, 0x59, 0xce, 0xe4, 0x8a, 0xfe, 0x66, 0x57, 0x15, 0x06, 0x0c, 0x2a, 0x34, 0x46, 0x1b, - 0xd4, 0x00, 0x93, 0xd6, 0x1a, 0x8f, 0xc8, 0x9d, 0xf8, 0x08, 0xc6, 0xe8, 0x4a, 0x9a, 0x1b, 0xf4, - 0x56, 0xe0, 0x74, 0xc8, 0x99, 0x26, 0xae, 0x23, 0xab, 0xd6, 0xea, 0x09, 0xe2, 0x80, 0xb1, 0xc6, - 0xd5, 0x34, 0x27, 0xe8, 0x65, 0xee, 0x7c, 0x99, 0x2c, 0x48, 0x60, 0xef, 0xb5, 0x3f, 0xb6, 0x5c, - 0x2a, 0xcb, 0x4f, 0x51, 0x6e, 0x0b, 0xab, 0x7d, 0xa9, 0xe0, 0x18, 0x0e, 0xce, 0x7b, 0x64, 0x8c, - 0x9d, 0x38, 0xc4, 0xf3, 0x93, 0x6c, 0xb7, 0x7b, 0xbd, 0xa8, 0xc3, 0x6d, 0x91, 0x9d, 0x5b, 0x88, - 0x40, 0x46, 0x7d, 0x8a, 0xc3, 0x80, 0x20, 0x78, 0xd2, 0xf1, 0x9a, 0xf4, 0xda, 0xed, 0x30, 0xf1, - 0xb8, 0x12, 0x36, 0x55, 0x44, 0x8f, 0x34, 0xaa, 0x58, 0xd2, 0x65, 0x79, 0x3d, 0x2a, 0x3a, 0xca, - 0xc0, 0x80, 0x59, 0x05, 0x6e, 0xe3, 0xe1, 0x3d, 0x14, 0x98, 0xd2, 0xe9, 0x1e, 0xcf, 0x4f, 0x17, - 0xd9, 0xc6, 0x6f, 0x5a, 0x85, 0x0c, 0x09, 0x66, 0x33, 0x83, 0x34, 0x77, 0x0c, 0xd3, 0x35, 0xfc, - 0xa8, 0x33, 0x3a, 0x4c, 0x57, 0xfb, 0x51, 0x4d, 0xb7, 0x29, 0xbb, 0x52, 0xca, 0x43, 0xf3, 0x98, - 0x24, 0x98, 0x4d, 0x5d, 0x29, 0xd5, 0x28, 0x30, 0xe9, 0x16, 0xde, 0x26, 0x93, 0xc6, 0x80, 0x0f, - 0x12, 0x0f, 0xba, 0xf0, 0x39, 0xba, 0xfb, 0xa7, 0x06, 0x72, 0xa0, 0x78, 0xd2, 0xff, 0x59, 0x26, - 0xb3, 0x19, 0x27, 0x19, 0x77, 0x03, 0x16, 0x31, 0x6d, 0x89, 0xbc, 0xeb, 0x14, 0x06, 0x0c, 0x63, - 0x0b, 0xae, 0x72, 0x01, 0xc1, 0x25, 0xa5, 0x68, 0xa5, 0xaf, 0x14, 0x15, 0xc2, 0x6a, 0xe4, 0xe4, - 0xc2, 0xca, 0xde, 0x1d, 0x46, 0x0b, 0xed, 0x0e, 0x0f, 0x41, 0xc0, 0x59, 0x1b, 0xcc, 0x78, 0x81, - 0x0d, 0xe6, 0x41, 0x89, 0xcc, 0xd8, 0x33, 0xaf, 0xc0, 0x88, 0x3f, 0xaa, 0x03, 0xb8, 0xc8, 0x0c, - 0xb1, 0x24, 0x0a, 0x5b, 0x2d, 0x3f, 0x12, 0x91, 0x62, 0x33, 0xc2, 0xae, 0x12, 0x50, 0x30, 0x28, - 0xdc, 0x9f, 0x2b, 0x93, 0x39, 0x1d, 0x36, 0x2c, 0x52, 0x9f, 0x0e, 0xef, 0x68, 0x60, 0xdb, 0x3a, - 0x1a, 0xc8, 0xcb, 0x68, 0x9a, 0x6a, 0x57, 0xdf, 0x63, 0x82, 0xf7, 0x52, 0xc7, 0x04, 0xaf, 0x0f, - 0xc8, 0xf7, 0xf8, 0x23, 0x83, 0x7f, 0x5a, 0x26, 0x8f, 0xa5, 0x8b, 0xac, 0xb4, 0xbc, 0xe0, 0x60, - 0x88, 0xe3, 0xf4, 0x45, 0x6b, 0x9c, 0xde, 0x1c, 0xac, 0x3f, 0xac, 0x71, 0x7d, 0x07, 0xcb, 0x4b, - 0x0d, 0xd6, 0xdb, 0x27, 0x61, 0x7e, 0xfc, 0x88, 0xfd, 0xa7, 0x12, 0x79, 0x22, 0xb3, 0xdc, 0x69, - 0xb8, 0x40, 0xbf, 0x60, 0xbb, 0x40, 0x5f, 0x3b, 0x41, 0xf7, 0xfa, 0xf8, 0x44, 0xff, 0x5b, 0xb9, - 0x4f, 0xb7, 0x98, 0xb7, 0xec, 0x26, 0xdd, 0x7e, 0x1b, 0x74, 0x93, 0x8a, 0x31, 0x36, 0x52, 0x1e, - 0xf2, 0x5d, 0x64, 0xfb, 0xa7, 0x06, 0xd3, 0xb5, 0xbf, 0x90, 0x66, 0xa1, 0xd1, 0x60, 0x72, 0xb0, - 0x73, 0x6a, 0x95, 0x87, 0x94, 0x53, 0x8b, 0xca, 0x98, 0x43, 0x65, 0xa5, 0xa7, 0x9d, 0x70, 0x86, - 0xfd, 0x6e, 0x50, 0x51, 0x35, 0x09, 0x75, 0x5a, 0x1e, 0x22, 0x31, 0x92, 0xbb, 0xe0, 0xac, 0x0f, - 0x68, 0xc6, 0x5b, 0xf0, 0x3b, 0x93, 0xca, 0x63, 0xa9, 0x78, 0xba, 0xdf, 0xa8, 0x90, 0x8f, 0x1f, - 0x33, 0xed, 0xe8, 0x26, 0x61, 0x9d, 0x7c, 0xbe, 0x9c, 0x76, 0x4f, 0x2d, 0x64, 0x16, 0xb6, 0xfc, - 0x55, 0xa9, 0x8f, 0x55, 0xfe, 0xc8, 0x1f, 0xeb, 0x67, 0x4d, 0x67, 0x22, 0x0f, 0x75, 0xbc, 0x7a, - 0xe2, 0x85, 0xf5, 0xf0, 0xbc, 0x8b, 0xa7, 0xe8, 0xf8, 0xc0, 0x34, 0xd6, 0xcf, 0x66, 0x76, 0xca, - 0x0a, 0xb0, 0xc0, 0x2b, 0x66, 0x08, 0x34, 0xee, 0xa2, 0xe8, 0x2b, 0x66, 0x12, 0x01, 0x9a, 0xc6, - 0x8a, 0xa3, 0x28, 0xe7, 0xc6, 0x51, 0xfc, 0xbb, 0x12, 0x39, 0x97, 0x6e, 0xc4, 0x69, 0x48, 0x9d, - 0xba, 0x2d, 0x75, 0x16, 0x07, 0xfb, 0xf6, 0x7d, 0x04, 0xce, 0xcf, 0x4c, 0x91, 0xf3, 0x3d, 0x9b, - 0x15, 0x1f, 0xc6, 0x1f, 0x2d, 0x91, 0x33, 0x7b, 0xcc, 0xbe, 0x30, 0x6e, 0xfc, 0x88, 0x8e, 0xe5, - 0x5c, 0x93, 0x3a, 0xf6, 0xa2, 0x10, 0xb7, 0x96, 0x7a, 0x48, 0xa0, 0xb7, 0x32, 0xe7, 0xa7, 0xe8, - 0x50, 0x7b, 0xf7, 0xe2, 0x9e, 0x3c, 0xfa, 0x62, 0x1e, 0x7d, 0x2e, 0xc7, 0x95, 0x97, 0x93, 0x81, - 0x7f, 0x79, 0x1e, 0x63, 0x45, 0xb3, 0xa8, 0x20, 0xb3, 0x56, 0xaa, 0x04, 0xf0, 0xec, 0x62, 0xa8, - 0xf6, 0x15, 0xba, 0xbb, 0x96, 0x75, 0xff, 0x80, 0xcb, 0x24, 0x89, 0x01, 0xc5, 0xd1, 0x79, 0x9f, - 0x54, 0xf7, 0xe4, 0x25, 0x1f, 0x21, 0xf4, 0x72, 0x76, 0x96, 0xcc, 0x3b, 0x41, 0x3c, 0xca, 0x5d, - 0xa1, 0x40, 0x33, 0x75, 0xae, 0x91, 0x4a, 0x7b, 0x37, 0x16, 0xf7, 0x75, 0xf3, 0xe2, 0x68, 0xec, - 0xa8, 0x25, 0x7e, 0x03, 0x91, 0x02, 0x01, 0x59, 0x20, 0xa7, 0x68, 0xa7, 0x29, 0x7c, 0xd8, 0x39, - 0x9c, 0x60, 0x79, 0xb5, 0x97, 0x13, 0x05, 0x02, 0xb2, 0x60, 0x01, 0x7b, 0x78, 0x5f, 0x41, 0x38, - 0xa8, 0x73, 0x2e, 0x73, 0xf7, 0xdc, 0xca, 0xe0, 0xa9, 0xe8, 0x18, 0x18, 0x38, 0x23, 0xf4, 0x4c, - 0x37, 0x58, 0xea, 0x68, 0xe1, 0x3f, 0xc8, 0x4b, 0x28, 0xdc, 0x93, 0x66, 0x9a, 0x1f, 0xa4, 0x71, - 0x38, 0x08, 0x5e, 0x8c, 0xab, 0xdf, 0xd9, 0xdf, 0x8d, 0x85, 0x7f, 0x20, 0x8f, 0x6b, 0x4f, 0x12, - 0x70, 0xc1, 0x95, 0xc1, 0x41, 0xf0, 0x72, 0x56, 0x49, 0x79, 0xb7, 0x21, 0xf2, 0x3f, 0xe6, 0x58, - 0xb4, 0xf6, 0x75, 0xd2, 0xe5, 0x31, 0x8c, 0xa0, 0x5b, 0x5f, 0x01, 0x5a, 0x9e, 0xea, 0x23, 0xe3, - 0xbb, 0xfc, 0x82, 0xa0, 0xc8, 0xf5, 0x78, 0x39, 0xef, 0x16, 0x63, 0xcf, 0x6d, 0x42, 0x7e, 0x93, - 0x41, 0x20, 0x40, 0xb2, 0xa3, 0xfb, 0x30, 0xd9, 0x55, 0x57, 0x1e, 0x45, 0xb2, 0xc7, 0xc5, 0xc1, - 0xae, 0x48, 0x0a, 0xeb, 0x59, 0x41, 0xc1, 0xe0, 0x88, 0x73, 0xde, 0x93, 0xd9, 0xef, 0x59, 0xa2, - 0xc7, 0xdc, 0x39, 0x9f, 0x99, 0x2c, 0x9f, 0xcf, 0x79, 0x85, 0x02, 0xcd, 0xd4, 0xe9, 0x92, 0xe9, - 0xc3, 0xb8, 0xb3, 0xef, 0xcb, 0xa5, 0xcf, 0xb2, 0x3f, 0x4e, 0x5e, 0xf9, 0x6c, 0x4e, 0x4a, 0x4f, - 0x51, 0x24, 0x88, 0x92, 0xae, 0xd7, 0xea, 0x91, 0x60, 0x2c, 0x8d, 0xd2, 0x6d, 0x93, 0x2d, 0xd8, - 0xb5, 0xe0, 0x27, 0xf9, 0xa0, 0x1b, 0xee, 0x1c, 0x25, 0xbe, 0xc8, 0x0e, 0x99, 0xf3, 0x49, 0xde, - 0xe5, 0xc4, 0xbd, 0x9f, 0x44, 0x20, 0x40, 0xb2, 0x53, 0x43, 0xc6, 0xa4, 0xf1, 0x5c, 0xe1, 0x21, - 0xeb, 0xe9, 0x83, 0x1e, 0x32, 0x26, 0x7d, 0x35, 0x53, 0xf7, 0x77, 0x46, 0x7b, 0x37, 0x38, 0xa6, - 0x7f, 0xfe, 0x74, 0xef, 0x71, 0xe6, 0x3b, 0x83, 0xdb, 0x57, 0x0f, 0xf1, 0x60, 0x93, 0xee, 0x0f, - 0xe7, 0x3b, 0x99, 0xbb, 0x97, 0xd8, 0x21, 0x06, 0x35, 0xd3, 0xf8, 0xd0, 0xa8, 0x5c, 0xa3, 0xd9, - 0x78, 0xe8, 0x53, 0x67, 0x5a, 0xe5, 0xab, 0x7c, 0x64, 0x95, 0xef, 0x0e, 0x1d, 0x6f, 0xd4, 0x52, - 0x74, 0xb2, 0x8b, 0x01, 0xf3, 0x43, 0xb0, 0xbd, 0x66, 0x45, 0xb0, 0x00, 0xc5, 0x0c, 0x07, 0xee, - 0xc9, 0x74, 0x27, 0xc0, 0x67, 0x68, 0x91, 0x24, 0x95, 0xfb, 0x02, 0xd6, 0xc5, 0x48, 0x3c, 0x59, - 0x3b, 0x8e, 0xf8, 0x41, 0x1e, 0x01, 0x1c, 0x5f, 0xd9, 0x69, 0xaa, 0x90, 0xff, 0xa8, 0x94, 0xa1, - 0xf0, 0x70, 0xa5, 0xff, 0xb3, 0xb6, 0xd2, 0xff, 0x42, 0x5a, 0xe9, 0xef, 0x31, 0xd1, 0x2d, 0x7d, - 0xbf, 0x78, 0xa2, 0xc0, 0xa2, 0xd9, 0x38, 0xdc, 0xff, 0x53, 0x22, 0x95, 0x5a, 0xd8, 0x1c, 0xa2, - 0x13, 0xe0, 0xaa, 0xe5, 0x04, 0x78, 0x3e, 0xf7, 0xd9, 0x9b, 0xbe, 0x26, 0xff, 0xcd, 0x94, 0xc9, - 0xff, 0xa9, 0x7c, 0x56, 0xc7, 0x1b, 0xf8, 0xdf, 0xac, 0x10, 0xf3, 0xe1, 0x1e, 0xe7, 0x37, 0x4e, - 0x12, 0xd5, 0x58, 0x29, 0xf6, 0x96, 0x8f, 0xa8, 0x83, 0xc5, 0x00, 0xc9, 0x2b, 0x4f, 0x7f, 0x6c, - 0x83, 0x1b, 0xef, 0xf8, 0xc1, 0xde, 0x7e, 0xe2, 0x37, 0xd3, 0x1d, 0x3b, 0xbd, 0xe0, 0xc6, 0xff, - 0x5e, 0x22, 0xb3, 0xa9, 0xda, 0x9d, 0x83, 0xac, 0x5b, 0x13, 0x27, 0xb5, 0xea, 0xcf, 0xe4, 0xde, - 0xb3, 0x58, 0x24, 0x44, 0x79, 0xa2, 0xa5, 0xed, 0xcd, 0xf4, 0x10, 0xe5, 0xaa, 0x8e, 0xc1, 0xa0, - 0x40, 0x2f, 0x7e, 0x12, 0x76, 0xc2, 0x56, 0xb8, 0x77, 0x74, 0xdd, 0x97, 0x97, 0xf2, 0x95, 0x17, - 0x7f, 0x5b, 0xa3, 0xc0, 0xa4, 0xc3, 0x44, 0x4f, 0xe9, 0x77, 0x9f, 0xfe, 0x74, 0xa2, 0xfe, 0xf1, - 0x99, 0xa8, 0xbf, 0x55, 0x22, 0x73, 0x58, 0x3b, 0x0b, 0xe1, 0x90, 0x21, 0x88, 0x2a, 0xe3, 0x76, - 0xe9, 0x98, 0x8c, 0xdb, 0x78, 0x87, 0x23, 0x69, 0x86, 0x5d, 0x99, 0x05, 0xc6, 0x90, 0x62, 0x08, - 0x05, 0x81, 0x15, 0x74, 0xb4, 0x4d, 0xe2, 0x7e, 0x86, 0x49, 0x47, 0xa1, 0x20, 0xb0, 0x32, 0x21, - 0xf7, 0x48, 0x76, 0x42, 0x6e, 0x9e, 0x34, 0x47, 0x84, 0x0e, 0x88, 0x9d, 0xd9, 0x48, 0x9a, 0x23, - 0x63, 0x0a, 0x34, 0x8d, 0xfb, 0xcf, 0x2b, 0x64, 0x0a, 0x23, 0xe8, 0x54, 0x78, 0xf1, 0xeb, 0x56, - 0x78, 0xf1, 0x33, 0xa9, 0xf0, 0xe2, 0x39, 0x93, 0xf6, 0xe1, 0x44, 0x17, 0x8b, 0xf4, 0x4a, 0x2c, - 0x65, 0xfc, 0x49, 0x23, 0x8b, 0xad, 0xf4, 0x4a, 0x8a, 0x13, 0xd8, 0x8c, 0xff, 0x44, 0x45, 0x14, - 0xff, 0x61, 0x89, 0xcc, 0xd0, 0x6f, 0x81, 0x53, 0xf4, 0x4f, 0xd2, 0x7c, 0x34, 0x93, 0x32, 0x8d, - 0x1d, 0x93, 0x94, 0xe9, 0x17, 0x4b, 0x04, 0x03, 0x3f, 0x4f, 0xc3, 0x9b, 0xb6, 0x6e, 0x7b, 0xd3, - 0x9e, 0xcd, 0x15, 0xbe, 0x7d, 0x1c, 0x68, 0xbf, 0x52, 0x21, 0xd3, 0xd8, 0xe4, 0x70, 0x4f, 0x7e, - 0x30, 0x6b, 0x70, 0x4a, 0x05, 0x06, 0x07, 0x13, 0x34, 0x84, 0xad, 0x56, 0x78, 0x2f, 0xfd, 0xf1, - 0xd6, 0x19, 0x14, 0x04, 0x16, 0xdd, 0x94, 0x1d, 0x4c, 0x22, 0x13, 0x76, 0xe3, 0xf4, 0x75, 0xaf, - 0x9a, 0x80, 0x83, 0xa2, 0xa0, 0x2b, 0x7e, 0x2a, 0x0e, 0xa8, 0x0d, 0x20, 0x63, 0x0b, 0x46, 0x58, - 0x6c, 0x01, 0xcf, 0x7d, 0x67, 0xc0, 0xc1, 0xa2, 0xa2, 0xaa, 0x66, 0x95, 0xfd, 0x66, 0x6b, 0xe8, - 0x04, 0x59, 0xc2, 0x79, 0x62, 0x26, 0xc9, 0x01, 0x34, 0x33, 0x3c, 0x06, 0x48, 0x64, 0x18, 0x44, - 0x2c, 0x8e, 0x0d, 0x95, 0x72, 0xaa, 0x02, 0x24, 0x30, 0x07, 0x96, 0xfa, 0xdf, 0x79, 0x19, 0x53, - 0xbe, 0x06, 0xad, 0x4d, 0x7c, 0x7d, 0x42, 0x04, 0x92, 0x88, 0x1c, 0xae, 0x02, 0x08, 0x1a, 0x8f, - 0x7b, 0x3e, 0xbb, 0x6c, 0xca, 0xdf, 0x20, 0x98, 0x60, 0xd4, 0x6c, 0xcf, 0xdf, 0x54, 0x50, 0x30, - 0x28, 0xdc, 0xd7, 0xd8, 0xde, 0x3d, 0x60, 0xf8, 0xf9, 0x77, 0xcb, 0xc4, 0xa9, 0xb1, 0x70, 0x0b, - 0xeb, 0x99, 0x86, 0x7d, 0x32, 0x13, 0x53, 0x63, 0xb5, 0xdd, 0xbd, 0x2f, 0x58, 0x15, 0x0b, 0xf8, - 0xaf, 0xaf, 0x99, 0x65, 0xf8, 0x05, 0x4b, 0x1b, 0x06, 0x29, 0xbe, 0x38, 0x24, 0x51, 0xb7, 0xbd, - 0x14, 0xe3, 0x7b, 0x6f, 0xe2, 0xa1, 0x05, 0x36, 0x24, 0x20, 0x81, 0xa0, 0xf1, 0x38, 0x07, 0xd8, - 0x8f, 0x1b, 0x54, 0x1a, 0x85, 0x61, 0x22, 0x67, 0x0d, 0xcb, 0xba, 0x6d, 0xc0, 0xc1, 0xa2, 0xc2, - 0x84, 0xd5, 0x71, 0xb7, 0xd3, 0x69, 0xb1, 0xd3, 0x1d, 0xaf, 0x75, 0x35, 0x0a, 0xbb, 0x1d, 0x1e, - 0x71, 0x2b, 0x12, 0x56, 0xd7, 0x7b, 0xb0, 0x90, 0x51, 0x02, 0x17, 0xfd, 0x6e, 0xcc, 0xfe, 0x17, - 0x17, 0x48, 0xb9, 0x8f, 0xa9, 0xce, 0x40, 0x20, 0x71, 0x6e, 0x97, 0x6d, 0x55, 0x2c, 0x01, 0x3e, - 0x46, 0x82, 0x39, 0x3e, 0x99, 0xee, 0xb0, 0xed, 0x48, 0x1e, 0x31, 0x17, 0x1a, 0xca, 0x54, 0xc0, - 0x07, 0x4f, 0x74, 0x6d, 0xb2, 0x01, 0x9b, 0xab, 0xfb, 0x1f, 0x08, 0x93, 0x35, 0xe2, 0x60, 0x6d, - 0x5c, 0x84, 0x73, 0x0a, 0x5d, 0xec, 0xb9, 0x22, 0x2f, 0xbe, 0x68, 0x39, 0x2e, 0x82, 0x43, 0x41, - 0x72, 0x71, 0xbe, 0xc4, 0xcf, 0xc8, 0xd9, 0xfa, 0x2e, 0xfe, 0x0c, 0x13, 0xa7, 0xb7, 0x02, 0x95, - 0x05, 0x0b, 0x30, 0xd8, 0x39, 0x9b, 0x64, 0x5a, 0x64, 0x49, 0x17, 0xb6, 0x7a, 0xc5, 0xb2, 0x57, - 0xa7, 0xc1, 0x44, 0x3e, 0x48, 0x03, 0xc0, 0x2e, 0xec, 0xec, 0x91, 0x27, 0x8d, 0xa7, 0x53, 0x32, - 0x82, 0x92, 0xb8, 0xe0, 0x78, 0x16, 0xbd, 0x00, 0xdb, 0xc7, 0x11, 0xc2, 0xf1, 0x7c, 0xe8, 0x20, - 0x3f, 0xe6, 0x35, 0x92, 0xe0, 0xd0, 0x5f, 0xf5, 0xbd, 0x26, 0xd5, 0xca, 0x7c, 0xfb, 0x76, 0xf1, - 0x13, 0xb4, 0x82, 0xc7, 0x96, 0xb2, 0x08, 0x20, 0xbb, 0x1c, 0xb5, 0xd7, 0xab, 0xcd, 0x76, 0x2c, - 0xc6, 0x60, 0xcc, 0x7a, 0x25, 0xa6, 0xba, 0x7a, 0xa3, 0xae, 0xfa, 0xaf, 0x7f, 0x80, 0x2e, 0xe0, - 0x7c, 0xc0, 0x1f, 0xaf, 0x55, 0x06, 0x09, 0x7f, 0x9d, 0xe8, 0xcd, 0x42, 0x26, 0xb0, 0x75, 0x11, - 0x82, 0xbb, 0xb1, 0x54, 0xf0, 0x9f, 0x75, 0x47, 0xc2, 0xaa, 0xc2, 0xf9, 0x41, 0xba, 0xb0, 0xfc, - 0x08, 0x1f, 0x65, 0x5d, 0x6a, 0xb0, 0xac, 0x8f, 0xec, 0x84, 0x6a, 0xc2, 0x8a, 0x80, 0x77, 0xea, - 0x3d, 0x14, 0x90, 0x51, 0xca, 0xb9, 0x86, 0x12, 0xc7, 0x84, 0x8a, 0x58, 0x4d, 0xa9, 0xda, 0xcd, - 0xaf, 0xfa, 0x98, 0xd8, 0x1d, 0xdf, 0xa8, 0xb0, 0x39, 0x42, 0xaa, 0x1c, 0x6e, 0x2b, 0x2a, 0x9b, - 0x35, 0xb1, 0x23, 0x0c, 0x7b, 0x33, 0x5a, 0xa3, 0xa5, 0x84, 0x27, 0x16, 0x37, 0xfc, 0x04, 0x9f, - 0x8c, 0x62, 0xfe, 0xe6, 0x09, 0x23, 0xcb, 0x95, 0x46, 0x81, 0x49, 0x87, 0x3a, 0x10, 0x3b, 0xe8, - 0xd8, 0x58, 0x65, 0x5e, 0xe4, 0x09, 0xbd, 0x76, 0xae, 0x71, 0x30, 0x48, 0xbc, 0x24, 0xdd, 0xa8, - 0xad, 0x30, 0x8f, 0x70, 0x8a, 0x94, 0x82, 0x41, 0xe2, 0x31, 0x3a, 0x2c, 0xfd, 0x16, 0xcf, 0x4c, - 0x11, 0xef, 0x7c, 0xaf, 0x04, 0x2f, 0xf8, 0x1c, 0xcf, 0x7d, 0x32, 0xa7, 0xde, 0x03, 0xe2, 0xe9, - 0x07, 0xe3, 0xf9, 0xd9, 0x22, 0x4f, 0xe7, 0x66, 0x66, 0x31, 0x54, 0xc1, 0xb9, 0x1b, 0x29, 0x9e, - 0xd0, 0x53, 0x8b, 0x75, 0x4b, 0x7e, 0x2e, 0x37, 0x43, 0x39, 0x3e, 0xc7, 0xd3, 0xdd, 0x69, 0x86, - 0x07, 0x54, 0x64, 0xb0, 0x17, 0x81, 0xcc, 0x87, 0x60, 0x25, 0x02, 0x34, 0xcd, 0xc2, 0xe7, 0xc9, - 0x99, 0x9e, 0x39, 0x3d, 0x50, 0x54, 0xd9, 0x4f, 0x8f, 0x90, 0xaa, 0xf2, 0xea, 0xd0, 0xfa, 0x2d, - 0x57, 0xda, 0x13, 0x69, 0x57, 0xda, 0x04, 0xee, 0xbc, 0xa6, 0xf7, 0xec, 0xcb, 0x19, 0x2f, 0x41, - 0x5e, 0xc8, 0xfd, 0x88, 0xc5, 0x2f, 0x77, 0x0c, 0xf0, 0x4e, 0xa6, 0x56, 0xeb, 0x47, 0x8e, 0x55, - 0xeb, 0x0b, 0x3e, 0xf4, 0x83, 0x0a, 0x3c, 0xdd, 0x79, 0x28, 0x59, 0xea, 0x11, 0x8b, 0x1a, 0x02, - 0x81, 0xe3, 0x98, 0xde, 0x85, 0x42, 0x99, 0xe9, 0x5d, 0xe3, 0x27, 0xd5, 0xbb, 0x24, 0x07, 0xd0, - 0xcc, 0x30, 0x01, 0x7b, 0xc3, 0x7e, 0x94, 0x44, 0xdd, 0xd9, 0xb8, 0x38, 0xc0, 0xa3, 0x20, 0x5d, - 0x23, 0x01, 0xfb, 0x4a, 0x9a, 0x1f, 0xf4, 0x56, 0x81, 0x17, 0xec, 0x67, 0xd5, 0x84, 0xa0, 0x3b, - 0x10, 0xa6, 0x2a, 0x1a, 0x9e, 0x23, 0xf3, 0xa6, 0x65, 0xa9, 0x3e, 0x04, 0xff, 0xe3, 0xaf, 0x97, - 0x98, 0xff, 0x71, 0xdb, 0x3f, 0xe8, 0xb4, 0xf0, 0xa5, 0x93, 0xe1, 0x35, 0xfd, 0x4b, 0x64, 0x22, - 0x11, 0xb5, 0x14, 0x4b, 0x02, 0x6d, 0x34, 0x8b, 0xf9, 0x63, 0x95, 0x20, 0x90, 0x50, 0x50, 0x0c, - 0xdd, 0x7f, 0xc5, 0xbf, 0x82, 0xc4, 0x9c, 0x86, 0x65, 0x75, 0xc3, 0xb6, 0xac, 0x5e, 0x2a, 0xdc, - 0x99, 0x3e, 0x16, 0xd6, 0x37, 0xec, 0x2e, 0x30, 0x85, 0xed, 0xd1, 0xf7, 0x88, 0xbb, 0x5b, 0xc4, - 0x7e, 0x68, 0x85, 0xaa, 0x2b, 0x2c, 0x5a, 0x93, 0x4b, 0xc4, 0x0b, 0x03, 0x46, 0x6a, 0xba, 0xbf, - 0x5c, 0x26, 0xe7, 0xb2, 0xde, 0x5f, 0x77, 0x9a, 0x64, 0xaa, 0x63, 0xa8, 0xcf, 0xc5, 0xee, 0xf2, - 0x9b, 0x0a, 0xb7, 0x56, 0x5d, 0x4c, 0x28, 0x58, 0x5c, 0x31, 0xf5, 0x3a, 0xbe, 0x26, 0xaf, 0xdc, - 0x2b, 0xe5, 0xc1, 0x45, 0x94, 0xaa, 0x66, 0xcd, 0x60, 0x04, 0x16, 0xdb, 0x21, 0xe4, 0x29, 0x77, - 0xff, 0x7e, 0x89, 0x3c, 0xde, 0xe7, 0xc2, 0x3f, 0x56, 0x77, 0x8f, 0x79, 0x21, 0xc5, 0x43, 0x3e, - 0xaa, 0x3a, 0xee, 0x9b, 0x04, 0x81, 0x75, 0x76, 0xf0, 0x1e, 0xa9, 0x7a, 0xdd, 0xb4, 0x5c, 0xe4, - 0x18, 0xbc, 0xe7, 0x72, 0xb1, 0x71, 0xef, 0x54, 0xbd, 0x67, 0x6a, 0x70, 0x75, 0xbf, 0x5e, 0x21, - 0xa3, 0xfc, 0x81, 0xc5, 0x1a, 0x55, 0x80, 0x78, 0x7e, 0xc1, 0xc1, 0xd2, 0x1b, 0x6a, 0x3d, 0x89, - 0x03, 0x40, 0xb2, 0x71, 0xb6, 0xc8, 0x59, 0xf4, 0xaf, 0x06, 0x5e, 0x6b, 0xd5, 0x6f, 0x79, 0x47, - 0x52, 0xf1, 0xe6, 0xb9, 0xa5, 0x65, 0x1a, 0xd4, 0xb3, 0x1b, 0xbd, 0x24, 0x90, 0x55, 0x0e, 0xaf, - 0x2b, 0xa5, 0x12, 0x04, 0xf1, 0xbc, 0x8d, 0xea, 0xba, 0xd2, 0xf1, 0x49, 0x82, 0xf0, 0xc6, 0x56, - 0xa7, 0xc7, 0xc4, 0x30, 0x5e, 0xe6, 0xb3, 0xcd, 0x0a, 0x9b, 0x16, 0xef, 0x3a, 0xc5, 0x5d, 0x76, - 0x46, 0xba, 0xbd, 0x4f, 0x2d, 0x99, 0xfd, 0xb0, 0xd5, 0x14, 0x2f, 0x4a, 0x29, 0x75, 0xaa, 0x9e, - 0xc2, 0x43, 0x4f, 0x09, 0xe4, 0xb2, 0xeb, 0x05, 0x2d, 0x3a, 0xb5, 0x35, 0x97, 0x31, 0x9b, 0xcb, - 0x7a, 0x0a, 0x0f, 0x3d, 0x25, 0xdc, 0xdf, 0x2b, 0x91, 0xb3, 0x19, 0x27, 0xf7, 0x3c, 0xa0, 0x6c, - 0x8f, 0x8a, 0x46, 0x95, 0x41, 0xd8, 0x08, 0x28, 0xe3, 0x70, 0x50, 0x14, 0x38, 0x0b, 0xb9, 0xdd, - 0x98, 0x4e, 0x88, 0x2c, 0x8e, 0x4a, 0x05, 0x76, 0xb0, 0x74, 0x3f, 0xea, 0x9d, 0xf8, 0x91, 0xbe, - 0xef, 0xc4, 0x53, 0xc5, 0x64, 0x4f, 0x59, 0xe7, 0x86, 0x62, 0xc2, 0xed, 0x73, 0x8e, 0xc3, 0xac, - 0xe0, 0xb3, 0xa9, 0x08, 0x1e, 0x6c, 0x48, 0xea, 0x39, 0x7b, 0xe6, 0x52, 0xc0, 0xd8, 0x96, 0x8c, - 0x27, 0xed, 0x5f, 0xb0, 0x5f, 0xbb, 0xd5, 0x6d, 0x5e, 0x5e, 0xb5, 0xde, 0xf1, 0x2a, 0x9a, 0xd5, - 0xfc, 0x93, 0x98, 0x3a, 0x58, 0x3d, 0xcb, 0xa8, 0x26, 0x3d, 0x65, 0x57, 0xa3, 0x60, 0x60, 0x48, - 0xe7, 0x79, 0xd1, 0xfb, 0x94, 0x73, 0x12, 0xbc, 0x66, 0x18, 0x1b, 0x43, 0x40, 0xe5, 0x08, 0x55, - 0x6b, 0xf1, 0x54, 0x20, 0xed, 0x9a, 0xbd, 0xce, 0xc1, 0x20, 0xf1, 0x76, 0xe6, 0xf2, 0xf1, 0x21, - 0x67, 0x2e, 0x9f, 0xc8, 0x8d, 0x42, 0xfc, 0x05, 0xba, 0x2b, 0xb2, 0xb4, 0x6b, 0xe2, 0x26, 0x28, - 0x3a, 0xf9, 0x87, 0xb7, 0x2b, 0xe2, 0x3b, 0x6f, 0x58, 0x59, 0x3a, 0xe9, 0x30, 0x6b, 0x01, 0x70, - 0x1c, 0x26, 0x71, 0x65, 0x55, 0xe3, 0xe7, 0x9b, 0xe2, 0x49, 0x5c, 0xf5, 0xeb, 0xdf, 0x2c, 0xc6, - 0x1d, 0xfc, 0x0e, 0xb5, 0xbd, 0x59, 0x63, 0xb5, 0x27, 0xe6, 0x51, 0x89, 0x71, 0xcf, 0x6c, 0xdc, - 0xc3, 0x8a, 0x71, 0xcf, 0x66, 0x7e, 0xbc, 0x0a, 0xfa, 0x5f, 0x2a, 0xe4, 0xa9, 0xcc, 0x72, 0xfa, - 0x58, 0x67, 0xdd, 0x3a, 0xd6, 0xb9, 0x92, 0x3a, 0xd6, 0x71, 0x8f, 0x2f, 0xfd, 0xa7, 0x07, 0x3d, - 0x7f, 0x74, 0x07, 0x3d, 0x78, 0x7f, 0x21, 0xf3, 0xeb, 0x3c, 0x7a, 0xf7, 0x17, 0x32, 0x9b, 0xd9, - 0x47, 0x57, 0xff, 0xab, 0x95, 0x3e, 0xdd, 0x62, 0x5a, 0xfb, 0x8b, 0x28, 0xe1, 0x18, 0x32, 0x16, - 0x0a, 0xd7, 0x14, 0x97, 0x6e, 0x1c, 0x06, 0x0a, 0xeb, 0xc4, 0x46, 0xfc, 0x3f, 0x6f, 0xe4, 0xda, - 0x09, 0x17, 0xef, 0xa2, 0xed, 0xa6, 0x33, 0x2f, 0xcf, 0xa6, 0x2e, 0x05, 0x60, 0xb4, 0x95, 0x32, - 0xc4, 0x2a, 0x27, 0x31, 0xc4, 0xa6, 0xb2, 0x8d, 0x30, 0xbc, 0x72, 0x76, 0x10, 0xb4, 0xd9, 0x03, - 0x65, 0xb6, 0xc6, 0xa3, 0xae, 0x9c, 0x6d, 0xd9, 0x68, 0x48, 0xd3, 0x2f, 0x50, 0x95, 0xe9, 0xe4, - 0xbe, 0x99, 0xef, 0x57, 0xc8, 0xc7, 0x8f, 0x11, 0x40, 0x7c, 0xe7, 0xb1, 0xbe, 0x8b, 0xb1, 0xf3, - 0xf4, 0x7c, 0x9b, 0x1a, 0x39, 0xb7, 0xdb, 0x6d, 0xb5, 0x8e, 0x58, 0x00, 0x86, 0xdf, 0x94, 0x14, - 0x42, 0x9b, 0x54, 0x4f, 0x87, 0xae, 0x67, 0xd0, 0x40, 0x66, 0x49, 0xf4, 0x8b, 0x86, 0x3b, 0x2c, - 0xeb, 0x61, 0x53, 0x5f, 0x0f, 0x66, 0x9f, 0xa0, 0xa2, 0xd7, 0xea, 0xcd, 0x1e, 0x0a, 0xc8, 0x28, - 0x85, 0xba, 0x25, 0x7b, 0x75, 0x54, 0x35, 0x2b, 0xa5, 0x5b, 0x82, 0x89, 0x04, 0x9b, 0x96, 0x1a, - 0x7f, 0x67, 0xbc, 0x43, 0xaa, 0xe4, 0xb1, 0xd4, 0x2e, 0x92, 0x01, 0x57, 0x2e, 0x95, 0xf3, 0x63, - 0x29, 0x4d, 0x00, 0xbd, 0x65, 0x9c, 0x8e, 0xe5, 0xce, 0xe2, 0x59, 0x8e, 0x3f, 0x7b, 0x82, 0x19, - 0x5c, 0xd8, 0xc1, 0xe5, 0xfe, 0x6e, 0x09, 0xb7, 0xd7, 0x8c, 0x07, 0xbd, 0xac, 0x77, 0xb0, 0x8d, - 0x2b, 0x11, 0xbd, 0xef, 0x60, 0x33, 0x4f, 0xaf, 0x4d, 0xcb, 0xa7, 0x46, 0xac, 0x43, 0x2a, 0x2d, - 0x4d, 0x56, 0x5c, 0x05, 0x52, 0x14, 0xf8, 0x76, 0x5d, 0x33, 0x38, 0x0c, 0xe2, 0x30, 0x2a, 0xf0, - 0xec, 0x6c, 0x4f, 0x98, 0x9e, 0x16, 0x97, 0xab, 0x9c, 0x09, 0x48, 0x6e, 0xee, 0x5f, 0x2f, 0x93, - 0x69, 0x59, 0x1f, 0x55, 0xb8, 0x99, 0x0c, 0x1b, 0x96, 0xd2, 0xf0, 0xae, 0xa5, 0x34, 0x5c, 0x2a, - 0x76, 0x1f, 0x8a, 0x35, 0xaa, 0xaf, 0xb2, 0xf0, 0xc5, 0x94, 0xb2, 0x70, 0x79, 0x10, 0xa6, 0xb9, - 0x7e, 0xaa, 0x33, 0x16, 0xfd, 0x23, 0x94, 0x65, 0x37, 0xab, 0x3b, 0x7d, 0x36, 0x8e, 0xaf, 0x97, - 0x53, 0xdd, 0x60, 0x1b, 0xc6, 0x57, 0xc9, 0xc8, 0xbe, 0x17, 0x35, 0xc5, 0xa1, 0xdc, 0xdb, 0x03, - 0x7e, 0x0a, 0x6a, 0x18, 0x47, 0x4d, 0x2e, 0xf6, 0x5f, 0x51, 0xcf, 0x81, 0x50, 0x50, 0x6e, 0x80, - 0x31, 0xab, 0xd4, 0x79, 0x0b, 0x9f, 0x0b, 0x09, 0x3b, 0x2a, 0x7e, 0xec, 0x19, 0xfe, 0x54, 0x08, - 0x42, 0x28, 0x07, 0xc7, 0xae, 0x0e, 0xc1, 0x20, 0xe8, 0x17, 0x7c, 0x52, 0x55, 0x55, 0x0f, 0x31, - 0x94, 0x95, 0x8a, 0xf5, 0xb3, 0x19, 0x53, 0xc5, 0xf9, 0x11, 0x6b, 0xd4, 0x3e, 0x33, 0xf0, 0x5c, - 0xfb, 0x88, 0xe3, 0xf6, 0x23, 0xcc, 0xf4, 0x6a, 0x8a, 0xb9, 0x71, 0x82, 0xea, 0xa9, 0x7d, 0x96, - 0xae, 0x1e, 0x41, 0xf9, 0xd5, 0x63, 0xb5, 0xa7, 0x34, 0xf8, 0x58, 0x8d, 0x6a, 0xe7, 0x10, 0xbf, - 0xf1, 0x8f, 0x8f, 0x90, 0x73, 0x59, 0x77, 0x2e, 0x9d, 0x9f, 0x28, 0xa5, 0xf2, 0x74, 0x7f, 0x6e, - 0xf0, 0x8b, 0x9b, 0x3c, 0x79, 0xb7, 0xc8, 0xc5, 0xb0, 0x68, 0x67, 0xee, 0xce, 0x1d, 0x6d, 0x51, - 0x3b, 0xbb, 0x14, 0x10, 0xf1, 0x94, 0xeb, 0x52, 0x1e, 0xbc, 0x73, 0x82, 0xa6, 0x88, 0xac, 0xed, - 0x71, 0xea, 0x52, 0x80, 0x04, 0xe7, 0x5f, 0x0a, 0x90, 0x6d, 0x58, 0xd8, 0xc3, 0x7c, 0xdd, 0xaa, - 0x5f, 0x43, 0x9c, 0x02, 0x01, 0xee, 0x49, 0x46, 0xab, 0x87, 0x38, 0x0d, 0xfe, 0x66, 0x89, 0xa4, - 0x02, 0x43, 0x94, 0x7f, 0xa7, 0xd4, 0xd7, 0xbf, 0x43, 0x29, 0xa8, 0x16, 0xe1, 0xa7, 0x13, 0x48, - 0x03, 0x85, 0x01, 0xc3, 0xa8, 0x47, 0x07, 0x2b, 0xfd, 0x1e, 0x1d, 0x44, 0xc3, 0xbf, 0xe5, 0x1f, - 0xfa, 0xd2, 0xdb, 0xa2, 0x84, 0xf7, 0x26, 0x02, 0x81, 0xe3, 0xdc, 0x6f, 0x57, 0xc8, 0x18, 0x77, - 0x69, 0x0c, 0x71, 0x5b, 0xae, 0x09, 0xef, 0x42, 0xa1, 0xdb, 0x8f, 0xbc, 0x35, 0x8b, 0xe8, 0x7e, - 0xe0, 0x13, 0x4a, 0xf5, 0x4d, 0x7b, 0x24, 0x9c, 0x45, 0xab, 0xf7, 0x0b, 0x29, 0xe3, 0x99, 0x70, - 0x1e, 0xc6, 0x58, 0xec, 0x13, 0x12, 0xb3, 0xf7, 0xa7, 0x90, 0x87, 0xc8, 0x40, 0xf7, 0x7a, 0xa1, - 0x76, 0xd4, 0x55, 0x31, 0xde, 0x1a, 0x9d, 0xfa, 0x4a, 0x21, 0xc0, 0xe0, 0xbd, 0xf0, 0x26, 0xa9, - 0x2a, 0xe2, 0x3c, 0x4d, 0x7f, 0xca, 0x9c, 0x92, 0x7f, 0x86, 0xcc, 0xa6, 0xea, 0x1a, 0xc8, 0x50, - 0xf8, 0x16, 0x55, 0x26, 0x7a, 0xde, 0x4b, 0xc5, 0x2c, 0x86, 0xe7, 0x5a, 0x19, 0xbe, 0x2c, 0xf1, - 0x81, 0x4f, 0xe2, 0x05, 0x53, 0x56, 0x42, 0x16, 0x16, 0x32, 0x6b, 0x93, 0x39, 0x35, 0xcb, 0xd9, - 0x39, 0x35, 0xd9, 0xa3, 0x3b, 0xbc, 0xed, 0xa7, 0xa1, 0x01, 0x6d, 0xd8, 0x1a, 0xd0, 0x73, 0x45, - 0xa6, 0x41, 0x1f, 0xd5, 0xe7, 0xdf, 0x96, 0x88, 0xc3, 0x09, 0xd2, 0xef, 0xd0, 0x71, 0xdf, 0xa0, - 0xa1, 0xb3, 0xeb, 0x79, 0xa3, 0x30, 0x60, 0x50, 0x0d, 0x98, 0x63, 0x5c, 0xbd, 0xdf, 0x54, 0xec, - 0x91, 0xf8, 0x4a, 0x81, 0x47, 0xe2, 0x7f, 0xbd, 0x42, 0xd2, 0x41, 0x14, 0xce, 0xfb, 0x64, 0x0a, - 0x2f, 0x6c, 0xed, 0x04, 0x2d, 0x6a, 0xaa, 0xf8, 0x71, 0xb1, 0x03, 0xaa, 0x15, 0xa3, 0x84, 0xf0, - 0x2e, 0x1b, 0x10, 0xb0, 0x38, 0x62, 0xe4, 0x5f, 0x27, 0xa2, 0x96, 0x42, 0xcb, 0xdf, 0x63, 0x7a, - 0x87, 0xca, 0x48, 0x52, 0x53, 0x50, 0x30, 0x28, 0x32, 0xa2, 0xf5, 0x2a, 0xa7, 0x11, 0xad, 0x37, - 0x32, 0x60, 0xb4, 0xde, 0x68, 0xa1, 0x68, 0x3d, 0x20, 0xe7, 0xa5, 0x53, 0x18, 0x7f, 0xe3, 0xa5, - 0x47, 0x9e, 0x44, 0x4f, 0xc4, 0x58, 0x2e, 0xe0, 0x45, 0x36, 0xc8, 0xa4, 0x80, 0x3e, 0x25, 0xdd, - 0x2e, 0x39, 0x5b, 0xf7, 0xa3, 0x80, 0xe5, 0x38, 0x6a, 0xea, 0x15, 0xf8, 0x65, 0x4c, 0x17, 0x61, - 0x2f, 0xfe, 0x01, 0xef, 0xa3, 0x19, 0x99, 0x22, 0xe4, 0x62, 0xd7, 0x2c, 0xdd, 0xbf, 0x58, 0x26, - 0xe3, 0x22, 0x58, 0x69, 0x88, 0x1b, 0xc9, 0x75, 0xcb, 0xbe, 0x7b, 0x29, 0x6f, 0xe5, 0xb2, 0xe6, - 0xf4, 0xb5, 0xec, 0xea, 0x29, 0xcb, 0xee, 0xe5, 0x62, 0xec, 0x8e, 0xb7, 0xe9, 0x7e, 0xad, 0x4c, - 0x77, 0x7b, 0x3b, 0x48, 0x6b, 0x78, 0xc3, 0xf1, 0x05, 0x32, 0x1e, 0x8b, 0x48, 0xa6, 0x42, 0xcf, - 0xf2, 0xa7, 0x3f, 0xa9, 0x7e, 0x70, 0x5e, 0xc4, 0x2e, 0x49, 0x76, 0x99, 0xc1, 0x52, 0x95, 0xd3, - 0x08, 0x96, 0x72, 0xbf, 0xcd, 0x44, 0xaa, 0x39, 0x80, 0xa7, 0xb1, 0x27, 0xbc, 0x6b, 0x4b, 0xdf, - 0x57, 0x0a, 0x4d, 0x05, 0xd1, 0xbe, 0x3e, 0x7b, 0xc3, 0x37, 0x4b, 0x64, 0x52, 0x10, 0x9e, 0x46, - 0x0f, 0x7e, 0xd0, 0xee, 0xc1, 0xf3, 0x85, 0x7a, 0xd0, 0xa7, 0xe9, 0x7f, 0xbb, 0xac, 0x9a, 0x5e, - 0x13, 0xef, 0x73, 0xe6, 0x66, 0x55, 0x9c, 0xe8, 0x44, 0x61, 0x12, 0x36, 0xc2, 0x96, 0xd8, 0xe5, - 0x3f, 0xa1, 0xe3, 0xdb, 0x39, 0xfc, 0x81, 0xf1, 0x3f, 0x28, 0x6a, 0x16, 0xb7, 0x8d, 0xaf, 0x89, - 0xf2, 0x2d, 0x2a, 0xeb, 0x75, 0xd0, 0x1d, 0xf9, 0xfa, 0x32, 0xc2, 0xc4, 0x99, 0xc1, 0xa0, 0xaf, - 0x8e, 0xea, 0x68, 0x75, 0xc5, 0x09, 0x0c, 0xae, 0x32, 0x90, 0x92, 0xd5, 0x30, 0x6a, 0xbb, 0x51, - 0x6f, 0x08, 0x38, 0x28, 0x0a, 0xf7, 0x4d, 0x26, 0x63, 0xd9, 0xf0, 0x0c, 0x16, 0x82, 0xfe, 0x93, - 0x63, 0x6a, 0x60, 0x99, 0x93, 0xe4, 0x06, 0xc6, 0x97, 0x45, 0xca, 0x0e, 0x2c, 0x26, 0xd0, 0xb0, - 0x09, 0x66, 0x28, 0x1a, 0x2d, 0x0f, 0x9c, 0x8d, 0xe3, 0xf7, 0xf8, 0xde, 0xdf, 0x2c, 0x2c, 0x23, - 0x07, 0xf0, 0xb6, 0xb3, 0x2c, 0x2d, 0x2c, 0x33, 0xc5, 0x46, 0x2d, 0x9d, 0x09, 0x73, 0x45, 0x22, - 0x40, 0xd3, 0xd0, 0x02, 0x5c, 0x5d, 0xb7, 0x1f, 0x6f, 0x95, 0xea, 0xba, 0x1c, 0x12, 0x43, 0x5f, - 0xa7, 0xfa, 0x8b, 0xca, 0x05, 0x5e, 0xe3, 0x29, 0x9d, 0xab, 0x5c, 0x7f, 0x59, 0xd3, 0x60, 0x30, - 0x69, 0xa8, 0x5a, 0x77, 0xb6, 0xa9, 0xe2, 0x66, 0x6b, 0xdd, 0x9d, 0x56, 0xd0, 0xc0, 0xa2, 0xfc, - 0xce, 0xca, 0xe3, 0x18, 0x24, 0xb1, 0xda, 0x8b, 0x86, 0xac, 0x32, 0xce, 0x36, 0xc6, 0xa6, 0xb2, - 0x9c, 0xe7, 0xf2, 0x76, 0x9b, 0x48, 0x15, 0x77, 0x41, 0x3a, 0xfd, 0xeb, 0x36, 0xfa, 0x01, 0x03, - 0x71, 0xa1, 0x20, 0x40, 0x90, 0x66, 0x81, 0xa1, 0x17, 0x2d, 0xf3, 0xed, 0xa2, 0x9a, 0x08, 0x1f, - 0x56, 0xa1, 0x17, 0xd6, 0xcb, 0x46, 0x35, 0x48, 0x51, 0x53, 0x69, 0x3f, 0x6f, 0x42, 0xc4, 0x85, - 0x76, 0x3c, 0xbe, 0x8d, 0x45, 0xb2, 0xe5, 0x4f, 0x60, 0xf0, 0xf0, 0x66, 0x1f, 0x1a, 0xe8, 0x5b, - 0x1a, 0x73, 0xa2, 0xca, 0x91, 0x34, 0x42, 0x89, 0x75, 0xd0, 0x8f, 0x81, 0x03, 0x8b, 0xf2, 0xa3, - 0x9d, 0x6d, 0x7c, 0x15, 0x0b, 0x1b, 0x9b, 0xaa, 0xf3, 0x15, 0x32, 0x65, 0xb6, 0x51, 0x88, 0xc9, - 0x57, 0x8b, 0xbf, 0x07, 0x25, 0x36, 0x67, 0xd5, 0x72, 0x13, 0x07, 0x16, 0x6f, 0xb7, 0x41, 0x66, - 0x53, 0xef, 0xd1, 0xaa, 0x87, 0x8d, 0x4b, 0x0f, 0xeb, 0x61, 0x63, 0x4c, 0x7a, 0x34, 0xba, 0xed, - 0x05, 0xf9, 0xaf, 0x0a, 0x14, 0x79, 0x19, 0xd8, 0x79, 0x83, 0x8c, 0xf9, 0xbb, 0xbb, 0x74, 0xb0, - 0xc5, 0x9a, 0x7b, 0x52, 0x3d, 0x73, 0xcf, 0xa0, 0xb8, 0x92, 0x58, 0x65, 0xfc, 0x27, 0x08, 0x62, - 0xf7, 0xdf, 0x53, 0xeb, 0x6a, 0x3b, 0x6c, 0xc9, 0x53, 0x96, 0x9c, 0x96, 0x2c, 0xf7, 0xbc, 0x6f, - 0xf0, 0x42, 0xc6, 0xfb, 0x06, 0x8e, 0x66, 0x98, 0xf1, 0xba, 0x81, 0xea, 0x4d, 0xa5, 0x50, 0x6f, - 0x46, 0x06, 0xe9, 0xcd, 0xd7, 0x4a, 0x44, 0x04, 0xd7, 0x14, 0xd8, 0x96, 0x9a, 0x32, 0x27, 0xb9, - 0x95, 0x59, 0xe2, 0x42, 0x91, 0x1b, 0x22, 0x22, 0x9f, 0x84, 0x9a, 0x4a, 0x56, 0x16, 0x09, 0x8b, - 0x2b, 0x9a, 0xde, 0x93, 0x1c, 0xbd, 0xc5, 0x14, 0xbe, 0xfc, 0x76, 0x0d, 0x94, 0xb5, 0x8a, 0xa5, - 0xec, 0x46, 0xc6, 0x2a, 0x79, 0x91, 0x99, 0xb2, 0x5b, 0x22, 0x40, 0xd3, 0xe0, 0x61, 0x76, 0xdc, - 0xdd, 0x61, 0xe4, 0xa9, 0x48, 0x9b, 0x3a, 0x07, 0x83, 0xc4, 0xbb, 0xff, 0x7b, 0x8e, 0x58, 0x5d, - 0xb3, 0x12, 0x25, 0x95, 0x1e, 0x7a, 0xa2, 0x24, 0xca, 0xdd, 0x3f, 0xe8, 0x24, 0x47, 0xab, 0x41, - 0x54, 0x2c, 0x69, 0xdd, 0x9a, 0xa0, 0xee, 0xe5, 0x2e, 0x31, 0xa0, 0x38, 0xf6, 0x49, 0x7b, 0x55, - 0x79, 0x24, 0xd2, 0x5e, 0x8d, 0xfc, 0x91, 0xa4, 0xbd, 0xa2, 0x16, 0xc2, 0x1e, 0x7f, 0x28, 0x5f, - 0xdc, 0x08, 0xcc, 0x39, 0xbe, 0xca, 0x78, 0x55, 0x9f, 0x5f, 0xfd, 0x12, 0x08, 0x90, 0xec, 0x30, - 0xa9, 0x12, 0x37, 0x16, 0x44, 0x26, 0xa9, 0x57, 0x8b, 0xb8, 0x51, 0x7a, 0x93, 0x2a, 0x89, 0x70, - 0x2a, 0xc1, 0x4b, 0xa6, 0xb9, 0x1a, 0xff, 0xe8, 0x69, 0xae, 0x54, 0x72, 0xaa, 0x89, 0x87, 0x95, - 0x9c, 0xca, 0x4a, 0xf2, 0x55, 0x1d, 0x46, 0x92, 0x2f, 0x2a, 0xdb, 0x1e, 0xeb, 0x64, 0xe5, 0xc8, - 0x13, 0x69, 0xa6, 0x3e, 0x7f, 0x82, 0x9c, 0x81, 0x56, 0xd5, 0xec, 0xa2, 0x56, 0x26, 0x19, 0x64, - 0x57, 0x2c, 0xb3, 0x85, 0x4d, 0x7e, 0xf4, 0x6c, 0x61, 0xc3, 0xce, 0x47, 0xa5, 0x73, 0x87, 0x4d, - 0x0f, 0x25, 0x77, 0xd8, 0xcc, 0x43, 0xcc, 0x1d, 0x66, 0x64, 0xfd, 0x9a, 0x7d, 0xb8, 0x59, 0xbf, - 0xf6, 0xc9, 0x64, 0x33, 0xbc, 0xd7, 0xbe, 0xe7, 0x45, 0xcd, 0xa5, 0xda, 0x86, 0x48, 0x32, 0x95, - 0x93, 0xcd, 0x61, 0x55, 0x17, 0xb0, 0x6a, 0xe0, 0xfe, 0x42, 0x8d, 0x04, 0x93, 0xb5, 0xc8, 0x7f, - 0x76, 0xe6, 0x23, 0xe6, 0x3f, 0xb3, 0xb2, 0x88, 0x39, 0xc3, 0xc8, 0x22, 0xf6, 0x3e, 0xbb, 0xd3, - 0xbd, 0x1b, 0xec, 0x6d, 0x79, 0x9d, 0xf9, 0xb3, 0x45, 0x6a, 0x58, 0x91, 0xe4, 0xbd, 0x35, 0x28, - 0x14, 0x68, 0xa6, 0xbd, 0x79, 0xca, 0xce, 0x9d, 0x76, 0x9e, 0xb2, 0xc7, 0x86, 0x98, 0xa7, 0xec, - 0xfc, 0x30, 0xf2, 0x94, 0xfd, 0x39, 0xf2, 0xd4, 0xf1, 0xfd, 0xd7, 0xa9, 0x67, 0x6b, 0xda, 0xa4, - 0x4e, 0xa5, 0x9e, 0x65, 0xba, 0x85, 0x41, 0x65, 0x84, 0x21, 0x97, 0x8f, 0x0b, 0x43, 0x76, 0xff, - 0x59, 0x89, 0x3c, 0xde, 0x27, 0x85, 0x49, 0xe1, 0x7b, 0x05, 0x1d, 0x32, 0xdb, 0xb1, 0x8b, 0x16, - 0xbe, 0x01, 0x64, 0xa5, 0x4c, 0x51, 0x71, 0x64, 0x29, 0x04, 0xa4, 0xd9, 0x2f, 0x3f, 0xf7, 0x9d, - 0xef, 0x3f, 0xf5, 0xb1, 0xef, 0xd2, 0xbf, 0xdf, 0xa6, 0x7f, 0x3f, 0xfa, 0xfb, 0x4f, 0x95, 0xbe, - 0x43, 0xff, 0xbe, 0x4b, 0xff, 0x7e, 0x8f, 0xfe, 0x7d, 0xed, 0x0f, 0x9e, 0xfa, 0xd8, 0x0f, 0x95, - 0x0f, 0x2f, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x01, 0x0d, 0x02, 0x08, 0xb4, 0x00, - 0x00, + // 9967 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x6c, 0x24, 0xc9, + 0x75, 0x98, 0x7a, 0x86, 0x5f, 0xf3, 0xf8, 0xb9, 0xb5, 0x1f, 0xc7, 0xa3, 0xee, 0x96, 0xab, 0x3e, + 0xdd, 0x6a, 0xef, 0x6e, 0x97, 0xd4, 0xee, 0xdd, 0xf9, 0x56, 0xba, 0xcb, 0x49, 0x24, 0x87, 0xdc, + 0xa5, 0x96, 0xdc, 0x9d, 0xab, 0xe1, 0xee, 0x9e, 0xa4, 0xcb, 0x9d, 0x9a, 0xd3, 0x45, 0xb2, 0xb5, + 0xc3, 0xee, 0xb9, 0xee, 0x1e, 0xee, 0x52, 0x8a, 0x01, 0x47, 0xb9, 0x38, 0x08, 0x2c, 0x38, 0x32, + 0x12, 0x21, 0x01, 0x92, 0x20, 0x4e, 0x80, 0x04, 0x4e, 0x8c, 0x38, 0x96, 0xa3, 0xd8, 0x52, 0x22, + 0x08, 0x01, 0xe2, 0x08, 0xca, 0x87, 0x03, 0x19, 0x30, 0x62, 0xc3, 0x06, 0x18, 0x1f, 0x8d, 0x20, + 0x3f, 0xf2, 0x23, 0x01, 0x92, 0x3f, 0x21, 0x8c, 0x24, 0xa8, 0xcf, 0xae, 0xea, 0xe9, 0x61, 0xf7, + 0xf0, 0x96, 0xcc, 0xda, 0xc8, 0xbf, 0x99, 0xf7, 0x5e, 0xbd, 0xfa, 0xe8, 0x57, 0x55, 0xef, 0xbd, + 0x7a, 0xf5, 0x0a, 0x2e, 0x3f, 0xb8, 0x1e, 0xcd, 0x78, 0xc1, 0xec, 0x83, 0xf6, 0x3a, 0x09, 0x7d, + 0x12, 0x93, 0x68, 0xb6, 0xf5, 0x60, 0x73, 0xd6, 0x69, 0x79, 0xb3, 0x3b, 0x57, 0x67, 0x37, 0x89, + 0x4f, 0x42, 0x27, 0x26, 0xee, 0x4c, 0x2b, 0x0c, 0xe2, 0x00, 0x3d, 0xc3, 0xa9, 0x67, 0x12, 0xea, + 0x99, 0xd6, 0x83, 0xcd, 0x19, 0xa7, 0xe5, 0xcd, 0xec, 0x5c, 0x9d, 0xba, 0xb2, 0xe9, 0xc5, 0x5b, + 0xed, 0xf5, 0x99, 0x46, 0xb0, 0x3d, 0xbb, 0x19, 0x6c, 0x06, 0xb3, 0xac, 0xd0, 0x7a, 0x7b, 0x83, + 0xfd, 0x63, 0x7f, 0xd8, 0x2f, 0xce, 0x6c, 0xea, 0x5a, 0xf7, 0xaa, 0x43, 0x12, 0x05, 0xed, 0xb0, + 0x41, 0xd2, 0x0d, 0x98, 0x7a, 0xb5, 0x7b, 0x99, 0xb6, 0xbf, 0x43, 0xc2, 0xc8, 0x0b, 0x7c, 0xe2, + 0x76, 0x14, 0xbb, 0x92, 0x5d, 0x2c, 0x6c, 0xfb, 0xb1, 0xb7, 0xdd, 0x59, 0xcb, 0xd5, 0x6c, 0xf2, + 0x76, 0xec, 0x35, 0x67, 0x3d, 0x3f, 0x8e, 0xe2, 0x30, 0x5d, 0xc4, 0xfe, 0x5d, 0x0b, 0x2e, 0xcc, + 0xdd, 0xaf, 0x2f, 0x36, 0x9d, 0x28, 0xf6, 0x1a, 0xf3, 0xcd, 0xa0, 0xf1, 0xa0, 0x1e, 0x07, 0x21, + 0xb9, 0x17, 0x34, 0xdb, 0xdb, 0xa4, 0xce, 0x7a, 0x83, 0x2e, 0xc3, 0xd0, 0x0e, 0xfb, 0xbf, 0x5c, + 0x9d, 0xb4, 0x2e, 0x58, 0x97, 0x2a, 0xf3, 0x13, 0x3f, 0xde, 0x9b, 0xfe, 0xd8, 0xfe, 0xde, 0xf4, + 0xd0, 0x3d, 0x01, 0xc7, 0x8a, 0x02, 0x5d, 0x84, 0x81, 0x8d, 0x68, 0x6d, 0xb7, 0x45, 0x26, 0x4b, + 0x8c, 0x76, 0x4c, 0xd0, 0x0e, 0x2c, 0xd5, 0x29, 0x14, 0x0b, 0x2c, 0x9a, 0x85, 0x4a, 0xcb, 0x09, + 0x63, 0x2f, 0xf6, 0x02, 0x7f, 0xb2, 0x7c, 0xc1, 0xba, 0xd4, 0x3f, 0x7f, 0x4a, 0x90, 0x56, 0x6a, + 0x12, 0x81, 0x13, 0x1a, 0xda, 0x8c, 0x90, 0x38, 0xee, 0x1d, 0xbf, 0xb9, 0x3b, 0xd9, 0x77, 0xc1, + 0xba, 0x34, 0x94, 0x34, 0x03, 0x0b, 0x38, 0x56, 0x14, 0xf6, 0xf7, 0x4a, 0x30, 0x34, 0xb7, 0xb1, + 0xe1, 0xf9, 0x5e, 0xbc, 0x8b, 0xbe, 0x02, 0x23, 0x7e, 0xe0, 0x12, 0xf9, 0x9f, 0xf5, 0x62, 0xf8, + 0xda, 0x8b, 0x33, 0x87, 0xc9, 0xc5, 0xcc, 0x6d, 0xad, 0xc4, 0xfc, 0xc4, 0xfe, 0xde, 0xf4, 0x88, + 0x0e, 0xc1, 0x06, 0x47, 0xf4, 0x0e, 0x0c, 0xb7, 0x02, 0x57, 0x55, 0x50, 0x62, 0x15, 0xbc, 0x70, + 0x78, 0x05, 0xb5, 0xa4, 0xc0, 0xfc, 0xf8, 0xfe, 0xde, 0xf4, 0xb0, 0x06, 0xc0, 0x3a, 0x3b, 0xd4, + 0x84, 0x71, 0xfa, 0xd7, 0x8f, 0x3d, 0x55, 0x43, 0x99, 0xd5, 0x70, 0x25, 0xbf, 0x06, 0xad, 0xd0, + 0xfc, 0xe9, 0xfd, 0xbd, 0xe9, 0xf1, 0x14, 0x10, 0xa7, 0x59, 0xdb, 0x5f, 0x83, 0xb1, 0xb9, 0x38, + 0x76, 0x1a, 0x5b, 0xc4, 0xe5, 0xdf, 0x17, 0xbd, 0x02, 0x7d, 0xbe, 0xb3, 0x4d, 0xc4, 0xd7, 0xbf, + 0x20, 0x86, 0xbd, 0xef, 0xb6, 0xb3, 0x4d, 0x0e, 0xf6, 0xa6, 0x27, 0xee, 0xfa, 0xde, 0xfb, 0x6d, + 0x21, 0x33, 0x14, 0x86, 0x19, 0x35, 0xba, 0x06, 0xe0, 0x92, 0x1d, 0xaf, 0x41, 0x6a, 0x4e, 0xbc, + 0x25, 0xa4, 0x01, 0x89, 0xb2, 0x50, 0x55, 0x18, 0xac, 0x51, 0xd9, 0xdf, 0xb0, 0xa0, 0x32, 0xb7, + 0x13, 0x78, 0x6e, 0x2d, 0x70, 0x23, 0xd4, 0x86, 0xf1, 0x56, 0x48, 0x36, 0x48, 0xa8, 0x40, 0x93, + 0xd6, 0x85, 0xf2, 0xa5, 0xe1, 0x6b, 0xd7, 0x72, 0xfa, 0x6d, 0x16, 0x5a, 0xf4, 0xe3, 0x70, 0x77, + 0xfe, 0x29, 0x51, 0xf5, 0x78, 0x0a, 0x8b, 0xd3, 0x75, 0xd8, 0xbf, 0x50, 0x82, 0xb3, 0x73, 0x5f, + 0x6b, 0x87, 0xa4, 0xea, 0x45, 0x0f, 0xd2, 0x53, 0xc1, 0xf5, 0xa2, 0x07, 0xb7, 0x93, 0xc1, 0x50, + 0x32, 0x58, 0x15, 0x70, 0xac, 0x28, 0xd0, 0x15, 0x18, 0xa4, 0xbf, 0xef, 0xe2, 0x65, 0xd1, 0xfb, + 0xd3, 0x82, 0x78, 0xb8, 0xea, 0xc4, 0x4e, 0x95, 0xa3, 0xb0, 0xa4, 0x41, 0xab, 0x30, 0xdc, 0x70, + 0x1a, 0x5b, 0x9e, 0xbf, 0xb9, 0x1a, 0xb8, 0x84, 0x7d, 0xe1, 0xca, 0xfc, 0x4b, 0x94, 0x7c, 0x21, + 0x01, 0x1f, 0xec, 0x4d, 0x4f, 0xf2, 0xb6, 0x09, 0x16, 0x1a, 0x0e, 0xeb, 0xe5, 0x91, 0xad, 0x26, + 0x62, 0x1f, 0xe3, 0x04, 0x19, 0x93, 0xf0, 0x92, 0x36, 0xa7, 0xfa, 0xd9, 0x9c, 0x1a, 0xe9, 0x32, + 0x9f, 0xfe, 0x91, 0x25, 0xc6, 0x64, 0xc9, 0x6b, 0x9a, 0xcb, 0xc3, 0x35, 0x80, 0x88, 0x34, 0x42, + 0x12, 0x6b, 0xa3, 0xa2, 0x3e, 0x73, 0x5d, 0x61, 0xb0, 0x46, 0x45, 0x27, 0x7f, 0xb4, 0xe5, 0x84, + 0x4c, 0x5a, 0xc4, 0xd8, 0xa8, 0xc9, 0x5f, 0x97, 0x08, 0x9c, 0xd0, 0x18, 0x93, 0xbf, 0x9c, 0x3b, + 0xf9, 0xff, 0xb9, 0x05, 0x83, 0xf3, 0x9e, 0xef, 0x7a, 0xfe, 0x26, 0x7a, 0x1b, 0x86, 0xb6, 0x49, + 0xec, 0xb8, 0x4e, 0xec, 0x88, 0x79, 0x7f, 0xe9, 0x70, 0xe1, 0xb9, 0xb3, 0xfe, 0x55, 0xd2, 0x88, + 0x57, 0x49, 0xec, 0x24, 0xdd, 0x48, 0x60, 0x58, 0x71, 0x43, 0x77, 0x61, 0x20, 0x76, 0xc2, 0x4d, + 0x12, 0x8b, 0xe9, 0x7e, 0xa5, 0x08, 0x5f, 0x4c, 0x45, 0x8d, 0xf8, 0x0d, 0x92, 0x2c, 0x8c, 0x6b, + 0x8c, 0x09, 0x16, 0xcc, 0xec, 0x06, 0x8c, 0x2c, 0x38, 0x2d, 0x67, 0xdd, 0x6b, 0x7a, 0xb1, 0x47, + 0x22, 0xf4, 0x29, 0x28, 0x3b, 0xae, 0xcb, 0x04, 0xbf, 0x32, 0x7f, 0x76, 0x7f, 0x6f, 0xba, 0x3c, + 0xe7, 0xba, 0x07, 0x7b, 0xd3, 0xa0, 0xa8, 0x76, 0x31, 0xa5, 0x40, 0x2f, 0x42, 0x9f, 0x1b, 0x06, + 0xad, 0xc9, 0x12, 0xa3, 0x3c, 0x47, 0x67, 0x68, 0x35, 0x0c, 0x5a, 0x29, 0x52, 0x46, 0x63, 0xff, + 0xeb, 0x12, 0xa0, 0x05, 0xd2, 0xda, 0x5a, 0xaa, 0x1b, 0xdf, 0xf2, 0x12, 0x0c, 0x6d, 0x07, 0xbe, + 0x17, 0x07, 0x61, 0x24, 0x2a, 0x64, 0xf2, 0xb0, 0x2a, 0x60, 0x58, 0x61, 0xd1, 0x05, 0xe8, 0x6b, + 0x25, 0xd3, 0x7a, 0x44, 0x2e, 0x09, 0x6c, 0x42, 0x33, 0x0c, 0xa5, 0x68, 0x47, 0x24, 0x14, 0x72, + 0xac, 0x28, 0xee, 0x46, 0x24, 0xc4, 0x0c, 0x93, 0x48, 0x0e, 0x95, 0x29, 0x21, 0xa5, 0x29, 0xc9, + 0xa1, 0x18, 0xac, 0x51, 0xa1, 0xf7, 0xa0, 0xc2, 0xff, 0x61, 0xb2, 0xc1, 0x44, 0x36, 0x77, 0x31, + 0x58, 0x09, 0x1a, 0x4e, 0x33, 0x3d, 0xf8, 0xa3, 0x4c, 0xd2, 0x24, 0x23, 0x9c, 0xf0, 0x34, 0x24, + 0x6d, 0x20, 0x57, 0xd2, 0xfe, 0x86, 0x05, 0x68, 0xc1, 0xf3, 0x5d, 0x12, 0x9e, 0xc0, 0x96, 0xd9, + 0xdb, 0x24, 0xf8, 0x03, 0xda, 0xb4, 0x60, 0xbb, 0x15, 0xf8, 0xc4, 0x8f, 0x17, 0x02, 0xdf, 0xe5, + 0xdb, 0xe8, 0x67, 0xa1, 0x2f, 0xa6, 0x55, 0xf1, 0x66, 0x5d, 0x94, 0x9f, 0x85, 0x56, 0x70, 0xb0, + 0x37, 0x7d, 0xae, 0xb3, 0x04, 0x6b, 0x02, 0x2b, 0x83, 0x3e, 0x03, 0x03, 0x51, 0xec, 0xc4, 0xed, + 0x48, 0x34, 0xf4, 0x13, 0xb2, 0xa1, 0x75, 0x06, 0x3d, 0xd8, 0x9b, 0x1e, 0x57, 0xc5, 0x38, 0x08, + 0x8b, 0x02, 0xe8, 0x05, 0x18, 0xdc, 0x26, 0x51, 0xe4, 0x6c, 0xca, 0x85, 0x6d, 0x5c, 0x94, 0x1d, + 0x5c, 0xe5, 0x60, 0x2c, 0xf1, 0xe8, 0x39, 0xe8, 0x27, 0x61, 0x18, 0x84, 0x42, 0x22, 0x46, 0x05, + 0x61, 0xff, 0x22, 0x05, 0x62, 0x8e, 0xb3, 0x7f, 0xdb, 0x82, 0x71, 0xd5, 0x56, 0x5e, 0xd7, 0x31, + 0x4e, 0x75, 0x17, 0xa0, 0x21, 0x3b, 0x16, 0xb1, 0x09, 0x36, 0x7c, 0xed, 0xd3, 0x87, 0xf3, 0xee, + 0x1c, 0xc8, 0xa4, 0x0e, 0x05, 0x8a, 0xb0, 0xc6, 0xd7, 0xfe, 0xb1, 0x05, 0xa7, 0x53, 0x7d, 0x5a, + 0xf1, 0xa2, 0x18, 0xfd, 0xd9, 0x8e, 0x7e, 0xcd, 0x1e, 0x52, 0xb7, 0xa6, 0x51, 0xce, 0xd0, 0xe2, + 0xac, 0x7b, 0x4a, 0x50, 0x24, 0x44, 0xeb, 0x1c, 0x86, 0x7e, 0x2f, 0x26, 0xdb, 0xb2, 0x5f, 0x57, + 0x0a, 0xf6, 0x8b, 0x37, 0x30, 0xf9, 0x3c, 0xcb, 0x94, 0x07, 0xe6, 0xac, 0xec, 0xff, 0x61, 0x41, + 0x65, 0x21, 0xf0, 0x37, 0xbc, 0xcd, 0x55, 0xa7, 0x75, 0x8c, 0x1f, 0xa6, 0x0e, 0x7d, 0x8c, 0x2b, + 0x6f, 0xfa, 0xd5, 0xbc, 0xa6, 0x8b, 0x06, 0xcd, 0xd0, 0xcd, 0x93, 0x6b, 0x05, 0x6a, 0x5d, 0xa2, + 0x20, 0xcc, 0x98, 0x4d, 0xbd, 0x06, 0x15, 0x45, 0x80, 0x26, 0xa0, 0xfc, 0x80, 0x70, 0x95, 0xb1, + 0x82, 0xe9, 0x4f, 0x74, 0x06, 0xfa, 0x77, 0x9c, 0x66, 0x5b, 0xcc, 0x56, 0xcc, 0xff, 0x7c, 0xb6, + 0x74, 0xdd, 0xb2, 0x7f, 0x60, 0xc1, 0x19, 0x55, 0xc9, 0x2d, 0xb2, 0x5b, 0x27, 0x4d, 0xd2, 0x88, + 0x83, 0x10, 0x7d, 0x60, 0xc1, 0x99, 0x66, 0xc6, 0x3a, 0x24, 0x46, 0xe3, 0x28, 0x2b, 0xd8, 0x33, + 0xa2, 0xe1, 0x67, 0xb2, 0xb0, 0x38, 0xb3, 0x36, 0xf4, 0x2c, 0xef, 0x0b, 0x9f, 0xbc, 0xc3, 0x82, + 0x41, 0xf9, 0x16, 0xd9, 0x65, 0x1d, 0xa3, 0xcd, 0x1f, 0x55, 0xcd, 0x3f, 0x09, 0xc9, 0x5b, 0x31, + 0x25, 0xef, 0x53, 0x05, 0x3f, 0x5f, 0x17, 0x99, 0xfb, 0x3b, 0x25, 0x38, 0xab, 0x68, 0x8c, 0xe5, + 0xf8, 0x09, 0x19, 0xfe, 0xde, 0xba, 0x7b, 0x8b, 0xec, 0xae, 0x05, 0x74, 0x3f, 0xcd, 0xee, 0x2e, + 0xba, 0x0a, 0xc3, 0x2e, 0xd9, 0x70, 0xda, 0xcd, 0x58, 0xa9, 0x8b, 0xfd, 0xdc, 0x8e, 0xa8, 0x26, + 0x60, 0xac, 0xd3, 0xd8, 0xbf, 0x55, 0x61, 0xb3, 0x32, 0x76, 0x3c, 0x9f, 0x84, 0x74, 0x83, 0xd6, + 0xb4, 0xfa, 0x11, 0x5d, 0xab, 0x17, 0x1a, 0xfc, 0x73, 0xd0, 0xef, 0x6d, 0xd3, 0x25, 0xbb, 0x64, + 0xae, 0xc4, 0xcb, 0x14, 0x88, 0x39, 0x0e, 0x3d, 0x0f, 0x83, 0x8d, 0x60, 0x7b, 0xdb, 0xf1, 0xdd, + 0xc9, 0x32, 0x53, 0x19, 0x86, 0xe9, 0xaa, 0xbe, 0xc0, 0x41, 0x58, 0xe2, 0xd0, 0x33, 0xd0, 0xe7, + 0x84, 0x9b, 0xd1, 0x64, 0x1f, 0xa3, 0x19, 0xa2, 0x35, 0xcd, 0x85, 0x9b, 0x11, 0x66, 0x50, 0xaa, + 0x0a, 0x3c, 0x0c, 0xc2, 0x07, 0x9e, 0xbf, 0x59, 0xf5, 0x42, 0xb6, 0xaf, 0x6b, 0xaa, 0xc0, 0x7d, + 0x85, 0xc1, 0x1a, 0x15, 0xaa, 0x41, 0x7f, 0x2b, 0x08, 0xe3, 0x68, 0x72, 0x80, 0x0d, 0xe7, 0x4b, + 0xb9, 0xd2, 0xc3, 0xfb, 0x5d, 0x0b, 0xc2, 0x38, 0xe9, 0x0a, 0xfd, 0x17, 0x61, 0xce, 0x08, 0x2d, + 0x40, 0x99, 0xf8, 0x3b, 0x93, 0x83, 0x8c, 0xdf, 0x27, 0x0f, 0xe7, 0xb7, 0xe8, 0xef, 0xdc, 0x73, + 0xc2, 0x64, 0x16, 0x2d, 0xfa, 0x3b, 0x98, 0x96, 0x46, 0x0d, 0xa8, 0x48, 0x47, 0x40, 0x34, 0x39, + 0x54, 0x44, 0xc0, 0xb0, 0x20, 0xc7, 0xe4, 0xfd, 0xb6, 0x17, 0x92, 0x6d, 0xe2, 0xc7, 0x51, 0xa2, + 0x0f, 0x4b, 0x6c, 0x84, 0x13, 0xbe, 0xa8, 0x01, 0x23, 0x5c, 0x7d, 0x58, 0x0d, 0xda, 0x7e, 0x1c, + 0x4d, 0x56, 0x58, 0x93, 0x73, 0x0c, 0xce, 0x7b, 0x49, 0x89, 0xf9, 0x33, 0x82, 0xfd, 0x88, 0x06, + 0x8c, 0xb0, 0xc1, 0x14, 0xbd, 0x03, 0xa3, 0x4d, 0x6f, 0x87, 0xf8, 0x24, 0x8a, 0x6a, 0x61, 0xb0, + 0x4e, 0x26, 0x81, 0xf5, 0xe6, 0xb9, 0x3c, 0xe3, 0x2b, 0x58, 0x27, 0xf3, 0xa7, 0xf6, 0xf7, 0xa6, + 0x47, 0x57, 0xf4, 0xd2, 0xd8, 0x64, 0x86, 0xde, 0x83, 0x31, 0xaa, 0xab, 0x78, 0x09, 0xfb, 0xe1, + 0xe2, 0xec, 0xd1, 0xfe, 0xde, 0xf4, 0x18, 0x36, 0x8a, 0xe3, 0x14, 0x3b, 0xb4, 0x06, 0x95, 0xa6, + 0xb7, 0x41, 0x1a, 0xbb, 0x8d, 0x26, 0x99, 0x1c, 0x61, 0xbc, 0x73, 0xa6, 0xdc, 0x8a, 0x24, 0xe7, + 0xfa, 0xa1, 0xfa, 0x8b, 0x13, 0x46, 0xe8, 0x1e, 0x9c, 0x8b, 0x49, 0xb8, 0xed, 0xf9, 0x0e, 0xdd, + 0xb4, 0x85, 0xf2, 0xc2, 0x2c, 0xdc, 0x51, 0x26, 0xb5, 0xe7, 0xc5, 0xc0, 0x9e, 0x5b, 0xcb, 0xa4, + 0xc2, 0x5d, 0x4a, 0xa3, 0x3b, 0x30, 0xce, 0xe6, 0x53, 0xad, 0xdd, 0x6c, 0xd6, 0x82, 0xa6, 0xd7, + 0xd8, 0x9d, 0x1c, 0x63, 0x0c, 0x9f, 0x97, 0x76, 0xeb, 0xb2, 0x89, 0xa6, 0x7a, 0x7d, 0xf2, 0x0f, + 0xa7, 0x4b, 0xa3, 0x26, 0x8c, 0x47, 0xa4, 0xd1, 0x0e, 0xbd, 0x78, 0x97, 0xca, 0x3e, 0x79, 0x14, + 0x4f, 0x8e, 0x17, 0xb1, 0x53, 0xea, 0x66, 0x21, 0xee, 0x34, 0x48, 0x01, 0x71, 0x9a, 0x35, 0x5d, + 0x2a, 0xa2, 0xd8, 0xf5, 0xfc, 0xc9, 0x09, 0xa6, 0x98, 0xaa, 0xf9, 0x55, 0xa7, 0x40, 0xcc, 0x71, + 0xcc, 0xec, 0xa3, 0x3f, 0xee, 0xd0, 0xb5, 0xf7, 0x14, 0x23, 0x4c, 0xcc, 0x3e, 0x89, 0xc0, 0x09, + 0x0d, 0xdd, 0xb0, 0xe2, 0x78, 0x77, 0x12, 0x31, 0x52, 0x35, 0xd5, 0xd6, 0xd6, 0xbe, 0x88, 0x29, + 0xdc, 0x5e, 0x87, 0x31, 0x35, 0xad, 0xd9, 0xe8, 0xa0, 0x69, 0xe8, 0xa7, 0x2b, 0x97, 0xb4, 0x5e, + 0x2a, 0xb4, 0x09, 0x74, 0x41, 0x8b, 0x30, 0x87, 0xb3, 0x26, 0x78, 0x5f, 0x23, 0xf3, 0xbb, 0x31, + 0xe1, 0x5a, 0x6c, 0x59, 0x6b, 0x82, 0x44, 0xe0, 0x84, 0xc6, 0xfe, 0xdf, 0x7c, 0x53, 0x4c, 0xd6, + 0x8e, 0x02, 0xeb, 0xe6, 0x65, 0x18, 0xda, 0x0a, 0xa2, 0x98, 0x52, 0xb3, 0x3a, 0xfa, 0x93, 0x5d, + 0xf0, 0xa6, 0x80, 0x63, 0x45, 0x81, 0x5e, 0x87, 0xd1, 0x86, 0x5e, 0x81, 0x58, 0xca, 0xcf, 0x8a, + 0x22, 0x66, 0xed, 0xd8, 0xa4, 0x45, 0xd7, 0x61, 0x88, 0xb9, 0xf2, 0x1a, 0x41, 0x53, 0xe8, 0xcb, + 0x72, 0x67, 0x1a, 0xaa, 0x09, 0xf8, 0x81, 0xf6, 0x1b, 0x2b, 0x6a, 0x6a, 0x75, 0xd0, 0x26, 0x2c, + 0xd7, 0xc4, 0x72, 0xab, 0xac, 0x8e, 0x9b, 0x0c, 0x8a, 0x05, 0xd6, 0xfe, 0xd5, 0x92, 0x36, 0xca, + 0x54, 0xe9, 0x23, 0xe8, 0x4b, 0x30, 0xf8, 0xd0, 0xf1, 0x62, 0xcf, 0xdf, 0x14, 0x3b, 0xe8, 0xcb, + 0x05, 0xd7, 0x5e, 0x56, 0xfc, 0x3e, 0x2f, 0xca, 0xf7, 0x09, 0xf1, 0x07, 0x4b, 0x86, 0x94, 0x77, + 0xd8, 0xf6, 0x7d, 0xca, 0xbb, 0xd4, 0x3b, 0x6f, 0xcc, 0x8b, 0x72, 0xde, 0xe2, 0x0f, 0x96, 0x0c, + 0xd1, 0x06, 0x80, 0x9c, 0x7d, 0xc4, 0x15, 0x2e, 0xb4, 0x9f, 0xea, 0x85, 0xfd, 0x9a, 0x2a, 0x3d, + 0x3f, 0x46, 0x77, 0xa6, 0xe4, 0x3f, 0xd6, 0x38, 0xdb, 0x6d, 0xa6, 0x88, 0x74, 0x36, 0x0b, 0xbd, + 0x43, 0x27, 0x80, 0x13, 0xc6, 0xc4, 0x9d, 0x8b, 0xc5, 0xd0, 0xbd, 0x54, 0x50, 0xa1, 0x5a, 0xf3, + 0xb6, 0x89, 0x3e, 0x5b, 0x04, 0x17, 0x9c, 0x30, 0xb4, 0xbf, 0x5f, 0x86, 0xc9, 0x6e, 0xed, 0xa5, + 0x32, 0x49, 0x1e, 0x79, 0xf1, 0x02, 0xd5, 0x15, 0x2c, 0x53, 0x26, 0x17, 0x05, 0x1c, 0x2b, 0x0a, + 0x2a, 0x1c, 0x91, 0xb7, 0xe9, 0x3b, 0x4d, 0x21, 0xbf, 0x4a, 0x38, 0xea, 0x0c, 0x8a, 0x05, 0x96, + 0xd2, 0x85, 0xc4, 0x89, 0x84, 0x0b, 0x57, 0x13, 0x22, 0xcc, 0xa0, 0x58, 0x60, 0x75, 0xf3, 0xaf, + 0x2f, 0xc7, 0xfc, 0x33, 0xc6, 0xa8, 0xff, 0x31, 0x8f, 0x11, 0x7a, 0x0f, 0x60, 0xc3, 0xf3, 0xbd, + 0x68, 0x8b, 0xb1, 0x1f, 0xe8, 0x9d, 0xbd, 0xd2, 0x4a, 0x96, 0x14, 0x1b, 0xac, 0xb1, 0x44, 0xaf, + 0xc2, 0xb0, 0x9a, 0xa1, 0xcb, 0xd5, 0xc9, 0x41, 0xd3, 0xf1, 0x97, 0x2c, 0x57, 0x55, 0xac, 0xd3, + 0xd9, 0x5f, 0x4d, 0x8b, 0x8c, 0x98, 0x18, 0xda, 0x08, 0x5b, 0x45, 0x47, 0xb8, 0x74, 0xf8, 0x08, + 0xdb, 0xff, 0xb1, 0x4c, 0x6d, 0x67, 0xad, 0xb2, 0x76, 0x54, 0x60, 0x51, 0x7b, 0x8b, 0xae, 0xf0, + 0x4e, 0x4c, 0xc4, 0xb4, 0xbc, 0xdc, 0xcb, 0xbc, 0xd1, 0xf7, 0x03, 0x3a, 0x1d, 0x38, 0x27, 0xb4, + 0x05, 0x95, 0xa6, 0x13, 0x31, 0x4b, 0x92, 0x88, 0xe9, 0xd8, 0x1b, 0xdb, 0x44, 0x0b, 0x77, 0xa2, + 0x58, 0xdb, 0x70, 0x79, 0x2d, 0x09, 0x73, 0xba, 0x3d, 0x51, 0xed, 0x40, 0x9e, 0x1c, 0xa8, 0xe6, + 0x50, 0x15, 0x62, 0x17, 0x73, 0x1c, 0xba, 0x0e, 0x23, 0x21, 0x61, 0xa2, 0xb2, 0x40, 0x15, 0x20, + 0x26, 0x7c, 0xfd, 0x89, 0xa6, 0x84, 0x35, 0x1c, 0x36, 0x28, 0x13, 0x45, 0x79, 0xe0, 0x10, 0x45, + 0xf9, 0x05, 0x18, 0x64, 0x3f, 0x94, 0x54, 0xa8, 0x2f, 0xb4, 0xcc, 0xc1, 0x58, 0xe2, 0xd3, 0x42, + 0x34, 0x54, 0x50, 0x88, 0x5e, 0x84, 0xb1, 0xaa, 0x43, 0xb6, 0x03, 0x7f, 0xd1, 0x77, 0x5b, 0x81, + 0xe7, 0xc7, 0x68, 0x12, 0xfa, 0xd8, 0x96, 0xc2, 0x67, 0x7c, 0x1f, 0xe5, 0x80, 0xfb, 0xa8, 0xb2, + 0x6b, 0xff, 0x1f, 0x0b, 0x46, 0xab, 0xa4, 0x49, 0x62, 0x72, 0xa7, 0xc5, 0xdc, 0x0f, 0x68, 0x09, + 0xd0, 0x66, 0xe8, 0x34, 0x48, 0x8d, 0x84, 0x5e, 0xe0, 0xd6, 0x49, 0x23, 0xf0, 0x99, 0xc3, 0x9d, + 0xee, 0x91, 0xe7, 0xf6, 0xf7, 0xa6, 0xd1, 0x8d, 0x0e, 0x2c, 0xce, 0x28, 0x81, 0x5c, 0x18, 0x6d, + 0x85, 0xc4, 0xf0, 0x97, 0x58, 0xf9, 0xfa, 0x79, 0x4d, 0x2f, 0xc2, 0xd5, 0x47, 0x03, 0x84, 0x4d, + 0xa6, 0xe8, 0xf3, 0x30, 0x11, 0x84, 0xad, 0x2d, 0xc7, 0xaf, 0x92, 0x16, 0xf1, 0x5d, 0xaa, 0x33, + 0x0b, 0xa7, 0xd8, 0x99, 0xfd, 0xbd, 0xe9, 0x89, 0x3b, 0x29, 0x1c, 0xee, 0xa0, 0xb6, 0x7f, 0xb9, + 0x04, 0x67, 0xab, 0xc1, 0x43, 0xff, 0xa1, 0x13, 0xba, 0x73, 0xb5, 0x65, 0xae, 0x08, 0x33, 0x27, + 0xa3, 0x74, 0x6e, 0x5a, 0x5d, 0x9d, 0x9b, 0x5f, 0x86, 0xa1, 0x0d, 0x8f, 0x34, 0x5d, 0x4c, 0x36, + 0x44, 0xf7, 0xae, 0x16, 0xf1, 0x68, 0x2c, 0xd1, 0x32, 0xd2, 0x2b, 0xc0, 0x7d, 0xab, 0x4b, 0x82, + 0x0d, 0x56, 0x0c, 0x51, 0x1b, 0x26, 0xa4, 0xa6, 0x2f, 0xb1, 0x62, 0x76, 0xbc, 0x5c, 0xcc, 0x90, + 0x30, 0xab, 0x61, 0xe3, 0x81, 0x53, 0x0c, 0x71, 0x47, 0x15, 0xd4, 0x42, 0xdb, 0xa6, 0xbb, 0x43, + 0x1f, 0x93, 0x15, 0x66, 0xa1, 0x31, 0x13, 0x92, 0x41, 0xed, 0x7f, 0x60, 0xc1, 0x53, 0x1d, 0xa3, + 0x25, 0xec, 0xeb, 0xb7, 0xa5, 0x61, 0xcb, 0x4f, 0x67, 0x72, 0x5a, 0x99, 0x39, 0xe6, 0xc5, 0x8c, + 0xdc, 0x52, 0x01, 0x23, 0xf7, 0x0e, 0x9c, 0x59, 0xdc, 0x6e, 0xc5, 0xbb, 0x55, 0xcf, 0xf4, 0xc9, + 0xbe, 0x06, 0x03, 0xdb, 0xc4, 0xf5, 0xda, 0xdb, 0xe2, 0xb3, 0x4e, 0xcb, 0x85, 0x74, 0x95, 0x41, + 0x0f, 0xf6, 0xa6, 0x47, 0xeb, 0x71, 0x10, 0x3a, 0x9b, 0x84, 0x03, 0xb0, 0x20, 0xb7, 0x3f, 0xb4, + 0x60, 0x5c, 0x4e, 0xa8, 0x39, 0xd7, 0x0d, 0x49, 0x14, 0xa1, 0x29, 0x28, 0x79, 0x2d, 0xc1, 0x08, + 0x04, 0xa3, 0xd2, 0x72, 0x0d, 0x97, 0xbc, 0x16, 0xfa, 0x12, 0x54, 0xb8, 0x2b, 0x3f, 0x11, 0x8e, + 0x1e, 0x8f, 0x06, 0x98, 0xf5, 0xb1, 0x26, 0x79, 0xe0, 0x84, 0x9d, 0xd4, 0x2c, 0xd9, 0x52, 0x5d, + 0x36, 0x1d, 0xcb, 0x37, 0x05, 0x1c, 0x2b, 0x0a, 0x74, 0x09, 0x86, 0xfc, 0xc0, 0xe5, 0xa7, 0x2c, + 0x7c, 0xdb, 0x65, 0x22, 0x77, 0x5b, 0xc0, 0xb0, 0xc2, 0xda, 0xdf, 0xb4, 0x60, 0x44, 0xf6, 0xb1, + 0xa0, 0x92, 0x4b, 0x27, 0x49, 0xa2, 0xe0, 0x26, 0x93, 0x84, 0x2a, 0xa9, 0x0c, 0x63, 0xe8, 0xa6, + 0xe5, 0x5e, 0x74, 0x53, 0xfb, 0xfb, 0x25, 0x18, 0x93, 0xcd, 0xa9, 0xb7, 0xd7, 0x23, 0x12, 0xa3, + 0x77, 0xa1, 0xe2, 0xf0, 0xc1, 0x27, 0x52, 0xce, 0xae, 0xe4, 0x59, 0xe8, 0xc6, 0x37, 0x4b, 0x14, + 0x83, 0x39, 0xc9, 0x07, 0x27, 0x2c, 0xd1, 0x0e, 0x9c, 0xf2, 0x83, 0x98, 0xed, 0x07, 0x0a, 0x5f, + 0xcc, 0x23, 0x9a, 0xae, 0xe7, 0x69, 0x51, 0xcf, 0xa9, 0xdb, 0x69, 0x7e, 0xb8, 0xb3, 0x0a, 0x74, + 0x47, 0x7a, 0x31, 0xca, 0xac, 0xae, 0x17, 0x8b, 0xd5, 0xd5, 0xdd, 0x89, 0x61, 0xff, 0xd0, 0x82, + 0x8a, 0x24, 0x3b, 0x4e, 0x9f, 0xf8, 0x7d, 0x18, 0x8c, 0xd8, 0xa7, 0x91, 0xc3, 0x74, 0xb9, 0x58, + 0xd3, 0xf9, 0xf7, 0x4c, 0x36, 0x3f, 0xfe, 0x3f, 0xc2, 0x92, 0x1b, 0x73, 0x43, 0xaa, 0x0e, 0x3c, + 0x79, 0x6e, 0x48, 0xd5, 0xb4, 0x2e, 0x6e, 0xc8, 0x5f, 0xb2, 0x60, 0x80, 0x3b, 0x87, 0x8a, 0x79, + 0xd8, 0x34, 0x5f, 0x72, 0xc2, 0xf1, 0x1e, 0x05, 0x0a, 0xd7, 0x32, 0xba, 0x0f, 0x15, 0xf6, 0x63, + 0x29, 0x0c, 0xb6, 0xc5, 0x46, 0xf0, 0x62, 0x11, 0xe7, 0x14, 0x5f, 0xf8, 0xf8, 0x6a, 0x72, 0x4f, + 0x32, 0xc0, 0x09, 0x2f, 0xfb, 0x07, 0x65, 0x3a, 0xeb, 0x13, 0x52, 0x63, 0x5b, 0xb3, 0x4e, 0x62, + 0x5b, 0x2b, 0x1d, 0xff, 0xb6, 0xf6, 0x3e, 0x8c, 0x37, 0x34, 0x9f, 0x7c, 0xb2, 0x99, 0x5e, 0x2b, + 0xe8, 0x6e, 0xd6, 0x1c, 0xf9, 0xdc, 0x19, 0xb2, 0x60, 0xb2, 0xc3, 0x69, 0xfe, 0x88, 0xc0, 0x08, + 0x3f, 0x50, 0x14, 0xf5, 0xf5, 0xe5, 0xca, 0x2c, 0xf7, 0xbb, 0xf0, 0x12, 0xaa, 0x32, 0x16, 0x74, + 0x52, 0xd7, 0x18, 0x61, 0x83, 0xad, 0xfd, 0xd7, 0xfa, 0xa1, 0x7f, 0x71, 0x87, 0xf8, 0xf1, 0x31, + 0xce, 0xf2, 0x6d, 0x18, 0xf3, 0xfc, 0x9d, 0xa0, 0xb9, 0x43, 0x5c, 0x8e, 0x3f, 0xda, 0x8e, 0x76, + 0x4e, 0x54, 0x32, 0xb6, 0x6c, 0x30, 0xc3, 0x29, 0xe6, 0xc7, 0x61, 0x4f, 0xbe, 0x05, 0x03, 0x5c, + 0x22, 0x84, 0x31, 0x99, 0xe3, 0x24, 0x65, 0x03, 0x2a, 0x66, 0x4e, 0x62, 0xf5, 0x72, 0xff, 0xac, + 0x60, 0x84, 0x1e, 0xc0, 0xd8, 0x86, 0x17, 0x46, 0x31, 0x35, 0x08, 0xa3, 0xd8, 0xd9, 0x6e, 0x1d, + 0xc5, 0x90, 0x54, 0x43, 0xb2, 0x64, 0xb0, 0xc2, 0x29, 0xd6, 0x68, 0x0b, 0x46, 0xa9, 0x1d, 0x93, + 0xd4, 0x35, 0xd8, 0x7b, 0x5d, 0xca, 0x97, 0xb4, 0xa2, 0x73, 0xc2, 0x26, 0x63, 0xba, 0x18, 0x35, + 0x98, 0xe1, 0x33, 0xc4, 0xb6, 0x74, 0xb5, 0x18, 0x71, 0x8b, 0x87, 0xe3, 0xe8, 0x9a, 0xc6, 0xce, + 0x8f, 0x2b, 0xe6, 0x9a, 0x96, 0x9c, 0x12, 0xdb, 0xdf, 0xa5, 0x1b, 0x10, 0x1d, 0xc5, 0x93, 0x58, + 0xbb, 0x6f, 0x9a, 0x6b, 0xf7, 0x73, 0x05, 0x3e, 0x6e, 0x97, 0x75, 0xfb, 0x2b, 0x30, 0xac, 0x7d, + 0x7b, 0x34, 0x0b, 0x95, 0x86, 0x3c, 0xea, 0x14, 0x0b, 0xb8, 0x52, 0x20, 0xd4, 0x19, 0x28, 0x4e, + 0x68, 0xe8, 0xc0, 0x50, 0xc5, 0x2b, 0x1d, 0x11, 0x41, 0xd5, 0x32, 0xcc, 0x30, 0xf6, 0xcb, 0x00, + 0x8b, 0x8f, 0x48, 0x63, 0xae, 0xc1, 0x0e, 0xe2, 0xb5, 0x73, 0x13, 0xab, 0xfb, 0xb9, 0x89, 0xfd, + 0x0e, 0x8c, 0x2e, 0x3e, 0xa2, 0x3b, 0xbb, 0x34, 0xd3, 0x2e, 0xc2, 0x00, 0x61, 0x00, 0xd6, 0xaa, + 0xa1, 0x44, 0x48, 0x39, 0x19, 0x16, 0x58, 0x76, 0x8c, 0xfe, 0xc8, 0x11, 0x13, 0x56, 0x33, 0x79, + 0x17, 0x29, 0x10, 0x73, 0x9c, 0xfd, 0x1d, 0x0b, 0xc6, 0x96, 0x16, 0x0c, 0x3d, 0x79, 0x06, 0x80, + 0xeb, 0x9b, 0xf7, 0xef, 0xdf, 0x96, 0x7e, 0x54, 0xee, 0xec, 0x52, 0x50, 0xac, 0x51, 0xa0, 0xa7, + 0xa1, 0xdc, 0x6c, 0xfb, 0x42, 0x0d, 0x1c, 0xdc, 0xdf, 0x9b, 0x2e, 0xaf, 0xb4, 0x7d, 0x4c, 0x61, + 0x5a, 0x60, 0x43, 0xb9, 0x70, 0x60, 0x43, 0x7e, 0x68, 0xdf, 0xb7, 0xcb, 0x30, 0xb1, 0xd4, 0x24, + 0x8f, 0x8c, 0x56, 0x5f, 0x84, 0x01, 0x37, 0xf4, 0x76, 0x48, 0x98, 0x76, 0x93, 0x54, 0x19, 0x14, + 0x0b, 0x6c, 0xe1, 0x58, 0x0b, 0x23, 0xce, 0xa4, 0x7c, 0xcc, 0x71, 0x26, 0xb9, 0x7d, 0x46, 0x1b, + 0x30, 0x18, 0xf0, 0xef, 0x3f, 0xd9, 0xcf, 0x04, 0xfd, 0xf5, 0xc3, 0x1b, 0x93, 0x1e, 0x9f, 0x19, + 0x21, 0x3d, 0xfc, 0xd0, 0x5b, 0x2d, 0x96, 0x02, 0x8a, 0x25, 0xf3, 0xa9, 0xcf, 0xc2, 0x88, 0x4e, + 0xd9, 0xd3, 0xe9, 0xf7, 0x5f, 0xb0, 0xe0, 0xf4, 0x52, 0x33, 0x68, 0x3c, 0x48, 0x05, 0xc3, 0xbc, + 0x0a, 0xc3, 0x74, 0xaa, 0x46, 0x46, 0x84, 0x98, 0x11, 0x0a, 0x27, 0x50, 0x58, 0xa7, 0xd3, 0x8a, + 0xdd, 0xbd, 0xbb, 0x5c, 0xcd, 0x8a, 0xa0, 0x13, 0x28, 0xac, 0xd3, 0xd9, 0xff, 0xc1, 0x82, 0x67, + 0x6f, 0x2c, 0x2c, 0xd6, 0xe8, 0x32, 0x12, 0xc5, 0xc4, 0x8f, 0x3b, 0x82, 0xf8, 0x2e, 0xc2, 0x40, + 0xcb, 0xd5, 0x9a, 0xa2, 0x44, 0xa0, 0x56, 0x65, 0xad, 0x10, 0xd8, 0x27, 0x25, 0x92, 0xf5, 0x97, + 0x2c, 0x38, 0x7d, 0xc3, 0x8b, 0x31, 0x69, 0x05, 0xe9, 0xb8, 0xbb, 0x90, 0xb4, 0x82, 0xc8, 0x8b, + 0x83, 0x70, 0x37, 0x1d, 0x77, 0x87, 0x15, 0x06, 0x6b, 0x54, 0xbc, 0xe6, 0x1d, 0x8f, 0x2e, 0xb0, + 0xa2, 0x53, 0x5a, 0xcd, 0x1c, 0x8e, 0x15, 0x05, 0xed, 0x98, 0xeb, 0x85, 0x4c, 0x17, 0xd9, 0x15, + 0x33, 0x58, 0x75, 0xac, 0x2a, 0x11, 0x38, 0xa1, 0xb1, 0xff, 0x96, 0x05, 0x67, 0x6f, 0x34, 0xdb, + 0x51, 0x4c, 0xc2, 0x8d, 0xc8, 0x68, 0xec, 0xcb, 0x50, 0x21, 0x52, 0x6f, 0x16, 0x6d, 0x55, 0x7b, + 0x92, 0x52, 0xa8, 0x79, 0xd0, 0x9f, 0xa2, 0x2b, 0x10, 0x63, 0xd6, 0x5b, 0x44, 0xd4, 0xbf, 0x28, + 0xc1, 0xe8, 0xcd, 0xb5, 0xb5, 0xda, 0x0d, 0x12, 0x8b, 0x35, 0x38, 0xdf, 0xd1, 0x53, 0xd3, 0xac, + 0xdc, 0xe1, 0x6b, 0x33, 0x5d, 0x66, 0x5d, 0x3b, 0xf6, 0x9a, 0x33, 0x3c, 0xc6, 0x7a, 0x66, 0xd9, + 0x8f, 0xef, 0x84, 0xf5, 0x38, 0xf4, 0xfc, 0xcd, 0x4c, 0xab, 0x58, 0xee, 0x13, 0xe5, 0x6e, 0xfb, + 0x04, 0x7a, 0x19, 0x06, 0xa2, 0xc6, 0x16, 0x51, 0x46, 0xfb, 0xc7, 0x95, 0x1a, 0xc2, 0xa0, 0x07, + 0x7b, 0xd3, 0x95, 0xbb, 0x78, 0x99, 0xff, 0xc1, 0x82, 0x14, 0xbd, 0x07, 0xc3, 0x5b, 0x71, 0xdc, + 0xba, 0x49, 0x1c, 0x97, 0x84, 0x72, 0x95, 0xc8, 0xd1, 0x02, 0xe9, 0x60, 0xf0, 0x02, 0xc9, 0xc4, + 0x4a, 0x60, 0x11, 0xd6, 0x39, 0xda, 0x75, 0x80, 0x04, 0xf7, 0x98, 0x4c, 0x1b, 0xfb, 0xcf, 0x97, + 0x60, 0xf0, 0xa6, 0xe3, 0xbb, 0x4d, 0x12, 0xa2, 0x25, 0xe8, 0x23, 0x8f, 0x48, 0xa3, 0x98, 0x02, + 0x9b, 0x6c, 0xa4, 0xdc, 0x53, 0x45, 0xff, 0x63, 0x56, 0x1e, 0x61, 0x18, 0xa4, 0xed, 0xbe, 0xa1, + 0x02, 0x33, 0x5f, 0xca, 0x1f, 0x05, 0x25, 0x12, 0x7c, 0x17, 0x16, 0x20, 0x2c, 0x19, 0x31, 0x9f, + 0x4e, 0xa3, 0x55, 0xa7, 0x8b, 0x5b, 0x5c, 0x2c, 0xf6, 0x7a, 0x6d, 0xa1, 0xc6, 0xc9, 0x05, 0x5f, + 0xee, 0xd3, 0x91, 0x40, 0x9c, 0xb0, 0xb3, 0xaf, 0xc3, 0x19, 0x76, 0x2a, 0xe8, 0xc4, 0x5b, 0xc6, + 0x9c, 0xc9, 0x15, 0x4e, 0xfb, 0xef, 0x96, 0xe0, 0xd4, 0x72, 0x7d, 0xa1, 0x6e, 0x7a, 0xe3, 0xae, + 0xc3, 0x08, 0xdf, 0x9e, 0xa9, 0xd0, 0x39, 0x4d, 0x51, 0x5e, 0xb9, 0xb1, 0xd7, 0x34, 0x1c, 0x36, + 0x28, 0xd1, 0xb3, 0x50, 0xf6, 0xde, 0xf7, 0xd3, 0xf1, 0x41, 0xcb, 0x6f, 0xdd, 0xc6, 0x14, 0x4e, + 0xd1, 0x74, 0xa7, 0xe7, 0x4b, 0x9c, 0x42, 0xab, 0xdd, 0xfe, 0x4d, 0x18, 0xf3, 0xa2, 0x46, 0xe4, + 0x2d, 0xfb, 0x74, 0xfe, 0x3b, 0x0d, 0x29, 0xbe, 0x89, 0xee, 0x4f, 0x9b, 0xaa, 0xb0, 0x38, 0x45, + 0xad, 0xad, 0xb7, 0xfd, 0x85, 0xb5, 0x85, 0xfc, 0x08, 0xcd, 0xaf, 0x42, 0x45, 0x45, 0xd2, 0xc8, + 0x00, 0x28, 0x2b, 0x3b, 0x00, 0xaa, 0xc0, 0x82, 0x23, 0x7d, 0xa4, 0xe5, 0x4c, 0x1f, 0xe9, 0x3f, + 0xb6, 0x20, 0x09, 0x1a, 0x40, 0x18, 0x2a, 0xad, 0x80, 0x1d, 0x40, 0x84, 0xf2, 0xb0, 0xef, 0xf9, + 0x1c, 0x49, 0xe4, 0x33, 0x81, 0xcb, 0x4a, 0x4d, 0x96, 0xc5, 0x09, 0x1b, 0xb4, 0x02, 0x83, 0xad, + 0x90, 0xd4, 0x63, 0x16, 0xe6, 0xdb, 0x03, 0x47, 0x26, 0xd5, 0x35, 0x5e, 0x12, 0x4b, 0x16, 0xf6, + 0xaf, 0x5b, 0x00, 0x2b, 0xde, 0xb6, 0x17, 0x63, 0xc7, 0xdf, 0x24, 0xc7, 0x68, 0x45, 0xde, 0x86, + 0xbe, 0xa8, 0x45, 0x1a, 0xc5, 0x8e, 0x8e, 0x92, 0x16, 0xd5, 0x5b, 0xa4, 0x91, 0x7c, 0x06, 0xfa, + 0x0f, 0x33, 0x3e, 0xf6, 0xaf, 0x00, 0x8c, 0x25, 0x64, 0x54, 0x8d, 0x47, 0x57, 0x8c, 0xb8, 0xd6, + 0xa7, 0x53, 0x71, 0xad, 0x15, 0x46, 0xad, 0x85, 0xb2, 0xc6, 0x50, 0xde, 0x76, 0x1e, 0x09, 0xab, + 0xe1, 0xd5, 0xa2, 0x0d, 0xa2, 0x35, 0xcd, 0xac, 0x3a, 0x8f, 0xb8, 0x1a, 0xf5, 0x92, 0x14, 0xa0, + 0x55, 0xe7, 0xd1, 0x01, 0x3f, 0x20, 0x62, 0x33, 0x90, 0x9a, 0x29, 0xdf, 0xf8, 0x4f, 0xc9, 0x7f, + 0xb6, 0x28, 0xd2, 0xea, 0x58, 0xad, 0x9e, 0x2f, 0x5c, 0x7d, 0x3d, 0xd6, 0xea, 0xf9, 0xe9, 0x5a, + 0x3d, 0xbf, 0x40, 0xad, 0x9e, 0x8f, 0x3e, 0xb0, 0x60, 0x50, 0x78, 0xc8, 0x59, 0xf8, 0xd5, 0xf0, + 0xb5, 0xcf, 0xf4, 0x54, 0xb5, 0x70, 0xb5, 0xf3, 0xea, 0x67, 0xa5, 0xee, 0x28, 0xa0, 0xb9, 0x4d, + 0x90, 0x55, 0xa3, 0x5f, 0xb4, 0x60, 0x4c, 0xfc, 0xc6, 0xe4, 0xfd, 0x36, 0x89, 0x62, 0xb1, 0x4b, + 0x7d, 0xfe, 0x28, 0xad, 0x11, 0x2c, 0x78, 0xa3, 0x7e, 0x4a, 0x2e, 0x31, 0x26, 0x32, 0xb7, 0x6d, + 0xa9, 0xf6, 0xa0, 0xef, 0x59, 0x70, 0x66, 0xdb, 0x79, 0xc4, 0x6b, 0xe4, 0x30, 0xec, 0xc4, 0x5e, + 0x20, 0x42, 0xcc, 0x96, 0x7a, 0x95, 0x93, 0x0e, 0x46, 0xbc, 0xb9, 0x6f, 0xc8, 0x63, 0xcb, 0x2c, + 0x92, 0xdc, 0x46, 0x67, 0xb6, 0x70, 0xca, 0x85, 0x21, 0x29, 0x98, 0x19, 0x5a, 0xfb, 0xbc, 0xbe, + 0x19, 0x1f, 0x3e, 0x03, 0xa5, 0x03, 0x6d, 0xe6, 0xad, 0xb6, 0xe3, 0xc7, 0x5e, 0xbc, 0xab, 0xe9, + 0xf8, 0xac, 0x16, 0x21, 0x88, 0xc7, 0x58, 0xcb, 0x16, 0x8c, 0xe8, 0x32, 0x77, 0x8c, 0x35, 0x05, + 0x70, 0x3a, 0x43, 0x9e, 0x8e, 0xb1, 0xc2, 0x36, 0x3c, 0xdd, 0x55, 0x2e, 0x8e, 0xaf, 0x5a, 0xfb, + 0x87, 0x96, 0xbe, 0x60, 0x9e, 0x84, 0x63, 0x66, 0xd5, 0x74, 0xcc, 0x5c, 0x2a, 0x3a, 0x75, 0xba, + 0x78, 0x67, 0x36, 0xf4, 0xf6, 0xd3, 0x9d, 0x00, 0xad, 0xc1, 0x40, 0x93, 0x42, 0xe4, 0x69, 0xd0, + 0xe5, 0x5e, 0x26, 0x67, 0xa2, 0x5c, 0x30, 0x78, 0x84, 0x05, 0x2f, 0xfb, 0x37, 0x2c, 0xe8, 0x3b, + 0x89, 0xe1, 0xa9, 0x99, 0xc3, 0xd3, 0x4d, 0x45, 0x15, 0x77, 0x3d, 0x67, 0xb0, 0xf3, 0x70, 0xf1, + 0x51, 0x4c, 0xfc, 0x88, 0xa9, 0x92, 0x99, 0x23, 0xf4, 0xcb, 0x25, 0x18, 0xa6, 0x15, 0x49, 0x3f, + 0xd1, 0xeb, 0x30, 0xda, 0x74, 0xd6, 0x49, 0x53, 0xba, 0x93, 0xd3, 0x66, 0xd7, 0x8a, 0x8e, 0xc4, + 0x26, 0x2d, 0x2d, 0xbc, 0xa1, 0x7b, 0xdb, 0x85, 0x4a, 0xa4, 0x0a, 0x1b, 0xae, 0x78, 0x6c, 0xd2, + 0x52, 0xcd, 0xff, 0xa1, 0x13, 0x37, 0xb6, 0x84, 0x49, 0xa6, 0x9a, 0x7b, 0x9f, 0x02, 0x31, 0xc7, + 0xa1, 0x39, 0x18, 0x97, 0x12, 0x7b, 0x8f, 0x0f, 0x9d, 0x50, 0x17, 0xd5, 0x3d, 0x3d, 0x6c, 0xa2, + 0x71, 0x9a, 0x1e, 0x7d, 0x16, 0xc6, 0xe8, 0xe0, 0x04, 0xed, 0x58, 0x06, 0x2b, 0xf4, 0xb3, 0x60, + 0x05, 0x16, 0x1c, 0xba, 0x66, 0x60, 0x70, 0x8a, 0xd2, 0x7e, 0x0f, 0x4e, 0xaf, 0x04, 0x8e, 0x3b, + 0xef, 0x34, 0x1d, 0xbf, 0x41, 0xc2, 0x65, 0x7f, 0x33, 0xf7, 0x5c, 0x57, 0x3f, 0x7b, 0x2d, 0xe5, + 0x9d, 0xbd, 0xda, 0x21, 0x20, 0xbd, 0x02, 0x11, 0x66, 0xf3, 0x0e, 0x0c, 0x7a, 0xbc, 0x2a, 0x21, + 0xb5, 0x57, 0xf3, 0x9c, 0x4a, 0x1d, 0x6d, 0xd4, 0xc2, 0x46, 0x38, 0x00, 0x4b, 0x96, 0xd4, 0x92, + 0xc8, 0xf2, 0x42, 0xe5, 0x1b, 0x6b, 0xf6, 0x5f, 0xb6, 0x60, 0xfc, 0x76, 0xea, 0x32, 0xd8, 0x45, + 0x18, 0x88, 0x48, 0x98, 0xe1, 0x52, 0xab, 0x33, 0x28, 0x16, 0xd8, 0xc7, 0x6e, 0xa6, 0xff, 0x5c, + 0x09, 0x2a, 0x2c, 0x66, 0xb3, 0xe5, 0x34, 0x8e, 0x53, 0x29, 0x5d, 0x35, 0x94, 0xd2, 0x1c, 0x23, + 0x51, 0x35, 0xa8, 0x9b, 0x4e, 0x8a, 0xee, 0xaa, 0xcb, 0x51, 0x85, 0xec, 0xc3, 0x84, 0x21, 0xbf, + 0x47, 0x33, 0x66, 0xde, 0xa5, 0x92, 0x17, 0xa7, 0xd8, 0x69, 0xa8, 0xa2, 0x7d, 0xf2, 0x4e, 0x43, + 0x55, 0xd3, 0xba, 0xac, 0x4a, 0x35, 0xad, 0xf5, 0x6c, 0xd9, 0xfe, 0x1c, 0x0b, 0xc0, 0x73, 0x9a, + 0xde, 0xd7, 0x88, 0xba, 0x64, 0x38, 0x2d, 0xe2, 0xe9, 0x04, 0xf4, 0x80, 0x2d, 0x30, 0xe2, 0x1f, + 0xbf, 0x3b, 0x9a, 0x14, 0xb1, 0x6f, 0xc2, 0x78, 0x6a, 0xec, 0xd0, 0xab, 0xd0, 0xdf, 0xda, 0x72, + 0x22, 0x92, 0x8a, 0xec, 0xe8, 0xaf, 0x51, 0xe0, 0xc1, 0xde, 0xf4, 0x98, 0x2a, 0xc0, 0x20, 0x98, + 0x53, 0xdb, 0x7f, 0x6c, 0x41, 0xdf, 0xed, 0xc0, 0x3d, 0x4e, 0x19, 0xbb, 0x69, 0xc8, 0xd8, 0xc5, + 0xfc, 0x1b, 0xe7, 0x5d, 0xc5, 0xab, 0x96, 0x12, 0xaf, 0x4b, 0x05, 0x78, 0x1d, 0x2e, 0x59, 0xdb, + 0x30, 0xcc, 0x6e, 0xb4, 0x8b, 0x90, 0x96, 0x97, 0x0d, 0x03, 0x6a, 0x3a, 0x65, 0x40, 0x8d, 0x6b, + 0xa4, 0x9a, 0x19, 0xf5, 0x02, 0x0c, 0x8a, 0x10, 0x8a, 0x74, 0xd4, 0xa1, 0xa0, 0xc5, 0x12, 0x6f, + 0xff, 0x5a, 0x19, 0x8c, 0x1b, 0xf4, 0xe8, 0x47, 0x16, 0xcc, 0x84, 0xfc, 0xca, 0x83, 0x5b, 0x6d, + 0x87, 0x9e, 0xbf, 0x59, 0x6f, 0x6c, 0x11, 0xb7, 0xdd, 0xf4, 0xfc, 0xcd, 0xe5, 0x4d, 0x3f, 0x50, + 0xe0, 0xc5, 0x47, 0xa4, 0xd1, 0x66, 0xde, 0xd5, 0xc2, 0x17, 0xf7, 0xd5, 0x19, 0xea, 0xb5, 0xfd, + 0xbd, 0xe9, 0x19, 0xdc, 0x53, 0x2d, 0xb8, 0xc7, 0x56, 0xa1, 0xdf, 0xb3, 0x60, 0x96, 0xdf, 0x21, + 0x2f, 0xde, 0x93, 0x42, 0x86, 0x67, 0x4d, 0x32, 0x4d, 0xd8, 0xad, 0x91, 0x70, 0x7b, 0xfe, 0x35, + 0x31, 0xc8, 0xb3, 0xb5, 0xde, 0x6a, 0xc5, 0xbd, 0x36, 0xd3, 0xfe, 0x57, 0x65, 0x18, 0xa5, 0xe3, + 0x99, 0xdc, 0x1f, 0x7d, 0xd5, 0x10, 0x93, 0x4f, 0xa4, 0xc4, 0xe4, 0x94, 0x41, 0xfc, 0x78, 0xae, + 0x8e, 0xc6, 0x70, 0xaa, 0xe9, 0x44, 0xf1, 0x4d, 0xe2, 0x84, 0xf1, 0x3a, 0x71, 0xd8, 0x81, 0xa5, + 0x98, 0x04, 0x3d, 0x1d, 0x82, 0xaa, 0xb8, 0x9c, 0x95, 0x34, 0x37, 0xdc, 0x59, 0x01, 0x7a, 0x08, + 0x88, 0x9d, 0x8e, 0x86, 0x8e, 0x1f, 0xf1, 0xce, 0x78, 0xc2, 0x21, 0xdb, 0x63, 0xb5, 0x53, 0xa2, + 0x5a, 0xb4, 0xd2, 0xc1, 0x0e, 0x67, 0x54, 0xa1, 0x1d, 0x81, 0xf7, 0x17, 0x3d, 0x02, 0x1f, 0xc8, + 0x09, 0xf8, 0xfd, 0x59, 0x0b, 0x4e, 0xd3, 0x0f, 0x63, 0x06, 0x87, 0x46, 0x28, 0x80, 0x71, 0xda, + 0x83, 0x26, 0x89, 0x25, 0x4c, 0xcc, 0xb0, 0x1c, 0x5d, 0xda, 0xe4, 0x93, 0x68, 0x6c, 0xb7, 0x4c, + 0x66, 0x38, 0xcd, 0xdd, 0xfe, 0x35, 0x0b, 0x58, 0xf4, 0xd9, 0x49, 0xec, 0x63, 0x37, 0xcc, 0x7d, + 0xcc, 0xce, 0x5f, 0x34, 0xba, 0x6c, 0x61, 0xaf, 0xc0, 0x04, 0xc5, 0xd6, 0xc2, 0xe0, 0xd1, 0xae, + 0x54, 0xae, 0xf3, 0x7d, 0xb3, 0x7f, 0xc9, 0xe2, 0xcb, 0x9d, 0xd2, 0x8a, 0x1f, 0xc2, 0x29, 0x5f, + 0xfb, 0x4f, 0x27, 0xb2, 0x54, 0x02, 0x67, 0x8a, 0x2f, 0x68, 0x6c, 0xfe, 0x6b, 0x11, 0x66, 0x29, + 0x86, 0xb8, 0xb3, 0x0e, 0xfb, 0xef, 0x59, 0xf0, 0x94, 0x4e, 0xa8, 0x5d, 0x33, 0xcb, 0x73, 0x88, + 0x56, 0x61, 0x28, 0x68, 0x91, 0xd0, 0x49, 0x2c, 0x80, 0x4b, 0x72, 0xc4, 0xef, 0x08, 0xf8, 0xc1, + 0xde, 0xf4, 0x19, 0x9d, 0xbb, 0x84, 0x63, 0x55, 0x12, 0xd9, 0x30, 0xc0, 0x2c, 0xd1, 0x48, 0x5c, + 0x10, 0x64, 0x99, 0x28, 0xd8, 0x31, 0x40, 0x84, 0x05, 0xc6, 0xfe, 0x2b, 0x16, 0x1f, 0x65, 0xbd, + 0xe9, 0xe8, 0xeb, 0x30, 0xb1, 0x4d, 0x8d, 0x85, 0xc5, 0x47, 0x2d, 0xba, 0x85, 0xb0, 0xe3, 0x4f, + 0xab, 0xc8, 0xc2, 0xd9, 0xa5, 0xbb, 0xf3, 0x93, 0xa2, 0xf5, 0x13, 0xab, 0x29, 0xb6, 0xb8, 0xa3, + 0x22, 0xfb, 0xf7, 0x85, 0xac, 0x32, 0xad, 0xe5, 0x05, 0x18, 0x6c, 0x05, 0xee, 0xc2, 0x72, 0x15, + 0x8b, 0xb1, 0x52, 0x93, 0xad, 0xc6, 0xc1, 0x58, 0xe2, 0xd1, 0x35, 0x00, 0xf2, 0x28, 0x26, 0xa1, + 0xef, 0x34, 0xd5, 0xb1, 0xa5, 0x52, 0x12, 0x16, 0x15, 0x06, 0x6b, 0x54, 0xb4, 0x4c, 0x2b, 0x0c, + 0x76, 0x3c, 0x97, 0x85, 0x7b, 0x97, 0xcd, 0x32, 0x35, 0x85, 0xc1, 0x1a, 0x15, 0x35, 0xd1, 0xda, + 0x7e, 0xc4, 0x17, 0x70, 0x67, 0x5d, 0x24, 0x50, 0x18, 0x4a, 0x4c, 0xb4, 0xbb, 0x3a, 0x12, 0x9b, + 0xb4, 0xf6, 0x6f, 0x57, 0x00, 0x12, 0x15, 0x01, 0x7d, 0x60, 0xc1, 0x50, 0xc3, 0x69, 0x39, 0x0d, + 0x9e, 0x1d, 0xa7, 0x9c, 0x7f, 0x2f, 0x26, 0x29, 0x3c, 0xb3, 0x20, 0x0a, 0x72, 0xdf, 0xd6, 0xa7, + 0xa5, 0x80, 0x48, 0x70, 0xae, 0x3f, 0x4b, 0xd5, 0x8c, 0xbe, 0x65, 0xc1, 0xb0, 0xd3, 0x6c, 0x06, + 0x0d, 0x27, 0x66, 0x3d, 0x2a, 0x15, 0x71, 0x56, 0x6a, 0x2d, 0x99, 0x4b, 0xca, 0xf2, 0xc6, 0xbc, + 0x2c, 0x4f, 0xb5, 0x34, 0x4c, 0x6e, 0x7b, 0xf4, 0x26, 0xa0, 0x4f, 0x4b, 0xd5, 0x92, 0x7f, 0x94, + 0xa9, 0xb4, 0x6a, 0x59, 0x61, 0x4b, 0x83, 0xa6, 0x55, 0xa2, 0xf7, 0x8c, 0x5c, 0x01, 0x7d, 0x45, + 0xee, 0xa6, 0x1a, 0x9b, 0x66, 0x5e, 0x9a, 0x00, 0xf4, 0x25, 0x3d, 0x12, 0xb6, 0xbf, 0xc8, 0xc5, + 0x4f, 0x4d, 0x77, 0xcb, 0x89, 0x82, 0x8d, 0x61, 0xdc, 0x35, 0x37, 0x09, 0x11, 0xda, 0x74, 0x35, + 0xbf, 0x86, 0xd4, 0xee, 0x92, 0x6c, 0x0b, 0x29, 0x04, 0x4e, 0x57, 0x81, 0xbe, 0xc4, 0xe3, 0x94, + 0x97, 0xfd, 0x8d, 0x40, 0x44, 0x37, 0x5d, 0x2e, 0xf0, 0xcd, 0x77, 0xa3, 0x98, 0x6c, 0xd3, 0x32, + 0xc9, 0x36, 0x70, 0x5b, 0x70, 0xc1, 0x8a, 0x1f, 0x5a, 0x83, 0x01, 0x76, 0xab, 0x22, 0x9a, 0x1c, + 0x2a, 0xe2, 0x26, 0x32, 0xef, 0x13, 0x26, 0x9b, 0x2f, 0xfb, 0x1b, 0x61, 0xc1, 0x0b, 0xdd, 0x94, + 0xf7, 0x6f, 0xa3, 0x65, 0xff, 0x6e, 0x44, 0xd8, 0xfd, 0xdb, 0xca, 0xfc, 0x27, 0x93, 0x0b, 0xb5, + 0x1c, 0x9e, 0x99, 0x1d, 0xc9, 0x28, 0x49, 0xf7, 0x60, 0xf1, 0x5f, 0x26, 0x5d, 0x9a, 0x84, 0x22, + 0x0d, 0x35, 0x53, 0x34, 0x25, 0x83, 0x7d, 0xcf, 0x64, 0x86, 0xd3, 0xdc, 0xa7, 0x3c, 0x18, 0x35, + 0x66, 0xec, 0x31, 0x3a, 0x3b, 0x9b, 0x30, 0x91, 0x9e, 0x92, 0xc7, 0xe8, 0xe3, 0xfc, 0xa3, 0x3e, + 0x18, 0x33, 0x05, 0x03, 0xcd, 0x42, 0x65, 0x9b, 0xa5, 0x44, 0x4a, 0x12, 0xb1, 0x28, 0xf9, 0x5f, + 0x95, 0x08, 0x9c, 0xd0, 0xb0, 0x94, 0x34, 0xac, 0xb8, 0x16, 0x73, 0x92, 0xa4, 0xa4, 0x51, 0x18, + 0xac, 0x51, 0x51, 0x85, 0x6d, 0x3d, 0x08, 0x62, 0xb5, 0x70, 0x2b, 0x99, 0x99, 0x67, 0x50, 0x2c, + 0xb0, 0x74, 0xc1, 0x7e, 0x40, 0x3b, 0xd4, 0x34, 0xfd, 0x5d, 0x6a, 0xc1, 0xbe, 0xa5, 0x23, 0xb1, + 0x49, 0x4b, 0x37, 0xa0, 0x20, 0x62, 0x42, 0x28, 0xd4, 0xc2, 0x24, 0x86, 0xa7, 0xce, 0x6f, 0x19, + 0x49, 0x3c, 0xfa, 0x22, 0x3c, 0xa5, 0x2e, 0x05, 0x61, 0xee, 0x3f, 0x94, 0x35, 0x0e, 0x18, 0xb6, + 0xdd, 0x53, 0x0b, 0xd9, 0x64, 0xb8, 0x5b, 0x79, 0xf4, 0x26, 0x8c, 0x09, 0x95, 0x4e, 0x72, 0x1c, + 0x34, 0x8f, 0x78, 0x6f, 0x19, 0x58, 0x9c, 0xa2, 0x46, 0x55, 0x98, 0xa0, 0x10, 0xa6, 0x4a, 0x49, + 0x0e, 0xfc, 0x72, 0x93, 0xda, 0x99, 0x6f, 0xa5, 0xf0, 0xb8, 0xa3, 0x04, 0x9a, 0x83, 0x71, 0xae, + 0x5b, 0x50, 0x0b, 0x86, 0x7d, 0x07, 0x11, 0x8d, 0xa8, 0x26, 0xc1, 0x1d, 0x13, 0x8d, 0xd3, 0xf4, + 0xe8, 0x3a, 0x8c, 0x38, 0x61, 0x63, 0xcb, 0x8b, 0x49, 0x23, 0x6e, 0x87, 0xfc, 0x66, 0xbb, 0x76, + 0x46, 0x3e, 0xa7, 0xe1, 0xb0, 0x41, 0x69, 0x7f, 0x0d, 0x4e, 0x67, 0x04, 0x3d, 0x53, 0xc1, 0x71, + 0x5a, 0x9e, 0xec, 0x53, 0x2a, 0x1a, 0x67, 0xae, 0xb6, 0x2c, 0x7b, 0xa3, 0x51, 0x51, 0xe9, 0x64, + 0x8e, 0x53, 0x2d, 0x3f, 0x9a, 0x92, 0xce, 0x25, 0x89, 0xc0, 0x09, 0x8d, 0xfd, 0x5f, 0x2b, 0xa0, + 0xb9, 0x19, 0x0a, 0xc4, 0x60, 0x5c, 0x87, 0x11, 0x99, 0xf2, 0x4f, 0x4b, 0xb5, 0xa5, 0xba, 0x79, + 0x43, 0xc3, 0x61, 0x83, 0x92, 0xb6, 0xcd, 0x97, 0x4e, 0x93, 0x74, 0xec, 0x8f, 0xf2, 0xa6, 0xe0, + 0x84, 0x06, 0x5d, 0x86, 0xa1, 0x88, 0x34, 0x37, 0x56, 0x3c, 0xff, 0x81, 0x10, 0x6c, 0xb5, 0x2a, + 0xd7, 0x05, 0x1c, 0x2b, 0x0a, 0xf4, 0x79, 0x28, 0xb7, 0x3d, 0x57, 0x88, 0xf2, 0x8c, 0xd4, 0x3b, + 0xef, 0x2e, 0x57, 0x0f, 0xf6, 0xa6, 0xa7, 0xb3, 0xf3, 0x18, 0x52, 0x33, 0x32, 0x9a, 0xa1, 0x93, + 0x8f, 0x16, 0xcd, 0xf2, 0x1f, 0x0f, 0xf4, 0xe8, 0x3f, 0xbe, 0x06, 0x20, 0xfa, 0x2c, 0x25, 0xb9, + 0x9c, 0x7c, 0xb3, 0x1b, 0x0a, 0x83, 0x35, 0x2a, 0x6a, 0x8c, 0x36, 0x42, 0xe2, 0x48, 0x6b, 0x8d, + 0x47, 0xe4, 0x0e, 0x7d, 0x04, 0x63, 0x74, 0x21, 0xcd, 0x0d, 0x77, 0x56, 0x80, 0x5a, 0x70, 0xca, + 0xa5, 0xf3, 0xc8, 0xa8, 0xb5, 0x72, 0x84, 0x38, 0x60, 0x5a, 0x63, 0x35, 0xcd, 0x09, 0x77, 0x32, + 0x47, 0xef, 0xc2, 0x94, 0x04, 0x76, 0x5e, 0xfb, 0x63, 0xd3, 0xa5, 0x3c, 0x7f, 0x7e, 0x7f, 0x6f, + 0x7a, 0xaa, 0xda, 0x95, 0x0a, 0x1f, 0xc2, 0x01, 0xbd, 0x03, 0x03, 0xec, 0xc4, 0x21, 0x9a, 0x1c, + 0x66, 0xbb, 0xdd, 0x2b, 0x45, 0x1d, 0x6e, 0x33, 0xec, 0xdc, 0x42, 0x04, 0x32, 0x26, 0xa7, 0x38, + 0x0c, 0x88, 0x05, 0x4f, 0xd4, 0x82, 0x61, 0xc7, 0xf7, 0x83, 0xd8, 0xe1, 0x4a, 0xd8, 0x48, 0x11, + 0x3d, 0x52, 0xab, 0x62, 0x2e, 0x29, 0xcb, 0xeb, 0x51, 0xd1, 0x51, 0x1a, 0x06, 0xeb, 0x55, 0xd0, + 0x6d, 0x3c, 0x78, 0x48, 0x17, 0x4c, 0xe9, 0x74, 0x8f, 0x26, 0x47, 0x8b, 0x6c, 0xe3, 0x77, 0x8c, + 0x42, 0xda, 0x0a, 0x66, 0x32, 0xc3, 0x69, 0xee, 0x68, 0xc6, 0xf0, 0xa3, 0x8e, 0x25, 0x61, 0xba, + 0x89, 0x1f, 0x55, 0x77, 0x9b, 0xb2, 0x2b, 0xa5, 0x3c, 0x34, 0x8f, 0xad, 0x04, 0xe3, 0xa9, 0x2b, + 0xa5, 0x09, 0x0a, 0xeb, 0x74, 0x53, 0x9f, 0x81, 0x61, 0x6d, 0xc0, 0x7b, 0x89, 0x07, 0x9d, 0x7a, + 0x13, 0x26, 0xd2, 0x03, 0xd9, 0x53, 0x3c, 0xe9, 0x7f, 0x2f, 0xc1, 0x78, 0xc6, 0x49, 0xc6, 0x03, + 0x8f, 0x45, 0x4c, 0x1b, 0x4b, 0xde, 0x2d, 0xcf, 0x77, 0x31, 0xc3, 0x98, 0x0b, 0x57, 0xa9, 0xc0, + 0xc2, 0x25, 0x57, 0xd1, 0x72, 0xd7, 0x55, 0x54, 0x2c, 0x56, 0x7d, 0x47, 0x5f, 0xac, 0xcc, 0xdd, + 0xa1, 0xbf, 0xd0, 0xee, 0xf0, 0x18, 0x16, 0x38, 0x63, 0x83, 0x19, 0x2c, 0xb0, 0xc1, 0x1c, 0x58, + 0x30, 0x66, 0x4a, 0x5e, 0x81, 0x11, 0x7f, 0x52, 0x07, 0x70, 0x86, 0x19, 0x62, 0x71, 0x18, 0x34, + 0x9b, 0x24, 0x14, 0x91, 0x62, 0x63, 0xc2, 0xae, 0x12, 0x50, 0xac, 0x51, 0xd8, 0xbf, 0x58, 0x82, + 0x89, 0x24, 0x6c, 0x58, 0xa4, 0x3e, 0x3d, 0xbe, 0xa3, 0x81, 0x35, 0xe3, 0x68, 0x20, 0x2f, 0xa3, + 0x69, 0xaa, 0x5d, 0x5d, 0x8f, 0x09, 0xde, 0x49, 0x1d, 0x13, 0xbc, 0xd2, 0x23, 0xdf, 0xc3, 0x8f, + 0x0c, 0xfe, 0x49, 0x09, 0xce, 0xa6, 0x8b, 0x2c, 0x34, 0x1d, 0x6f, 0xfb, 0x18, 0xc7, 0xe9, 0x8b, + 0xc6, 0x38, 0xbd, 0xd6, 0x5b, 0x7f, 0x58, 0xe3, 0xba, 0x0e, 0x96, 0x93, 0x1a, 0xac, 0xcf, 0x1c, + 0x85, 0xf9, 0xe1, 0x23, 0xf6, 0x3b, 0x16, 0x3c, 0x9d, 0x59, 0xee, 0x24, 0x5c, 0xa0, 0x6f, 0x9b, + 0x2e, 0xd0, 0x97, 0x8f, 0xd0, 0xbd, 0x2e, 0x3e, 0xd1, 0xff, 0x5c, 0xea, 0xd2, 0x2d, 0xe6, 0x2d, + 0xbb, 0x03, 0xc3, 0x4e, 0xa3, 0x41, 0xa2, 0x68, 0x35, 0x70, 0x55, 0x2e, 0x9e, 0x2b, 0x6c, 0xff, + 0x4c, 0xc0, 0x07, 0x7b, 0xd3, 0x53, 0x69, 0x16, 0x09, 0x1a, 0xeb, 0x1c, 0xcc, 0x9c, 0x5a, 0xa5, + 0x63, 0xca, 0xa9, 0x75, 0x0d, 0x60, 0x47, 0x59, 0xe9, 0x69, 0x27, 0x9c, 0x66, 0xbf, 0x6b, 0x54, + 0xe8, 0x5d, 0xa6, 0xf5, 0xf2, 0x10, 0x89, 0xbe, 0xdc, 0x09, 0x67, 0x7c, 0x40, 0x3d, 0xde, 0x82, + 0xdf, 0x99, 0x54, 0x1e, 0x4b, 0xc5, 0xd3, 0xfe, 0x6e, 0x19, 0x3e, 0x7e, 0x88, 0xd8, 0xa1, 0x39, + 0xf3, 0xe4, 0xf3, 0xa5, 0xb4, 0x7b, 0x6a, 0x2a, 0xb3, 0xb0, 0xe1, 0xaf, 0x4a, 0x7d, 0xac, 0xd2, + 0x47, 0xfe, 0x58, 0xdf, 0xd6, 0x9d, 0x89, 0x3c, 0xd4, 0xf1, 0xc6, 0x91, 0x27, 0xd6, 0xe3, 0xf3, + 0x2e, 0x9e, 0xa0, 0xe3, 0xc3, 0xfe, 0x86, 0x05, 0x9f, 0xc8, 0xec, 0x94, 0x11, 0x60, 0x31, 0x0b, + 0x95, 0x06, 0x05, 0x6a, 0x77, 0x51, 0x92, 0x2b, 0x66, 0x12, 0x81, 0x13, 0x1a, 0x23, 0x8e, 0xa2, + 0x94, 0x1b, 0x47, 0xf1, 0x6f, 0x2d, 0x38, 0x93, 0x6e, 0xc4, 0x49, 0xac, 0x3a, 0x75, 0x73, 0xd5, + 0x99, 0xe9, 0xed, 0xdb, 0x77, 0x59, 0x70, 0x7e, 0x61, 0x04, 0xce, 0x75, 0x6c, 0x56, 0x7c, 0x18, + 0x7f, 0xc6, 0x82, 0x53, 0x9b, 0xcc, 0xbe, 0xd0, 0x6e, 0xfc, 0x88, 0x8e, 0xe5, 0x5c, 0x93, 0x3a, + 0xf4, 0xa2, 0x10, 0xb7, 0x96, 0x3a, 0x48, 0x70, 0x67, 0x65, 0xe8, 0x9b, 0x16, 0x9c, 0x71, 0x1e, + 0x46, 0x1d, 0x79, 0xf4, 0x85, 0x1c, 0xbd, 0x99, 0xe3, 0xca, 0xcb, 0xc9, 0xc0, 0x3f, 0x3f, 0xb9, + 0xbf, 0x37, 0x7d, 0x26, 0x8b, 0x0a, 0x67, 0xd6, 0x8a, 0xde, 0x11, 0xf9, 0xc7, 0xa8, 0xda, 0x57, + 0xe8, 0xee, 0x5a, 0xd6, 0xfd, 0x03, 0xbe, 0x26, 0x49, 0x0c, 0x56, 0x1c, 0xd1, 0x57, 0xa0, 0xb2, + 0x29, 0x2f, 0xf9, 0x88, 0x45, 0x2f, 0x67, 0x67, 0xc9, 0xbc, 0x13, 0xc4, 0xa3, 0xdc, 0x15, 0x0a, + 0x27, 0x4c, 0xd1, 0x4d, 0x28, 0xfb, 0x1b, 0x91, 0xb8, 0xaf, 0x9b, 0x17, 0x47, 0x63, 0x46, 0x2d, + 0xf1, 0x1b, 0x88, 0xb7, 0x97, 0xea, 0x98, 0xb2, 0xa0, 0x9c, 0xc2, 0x75, 0x57, 0xf8, 0xb0, 0x73, + 0x38, 0xe1, 0xf9, 0x6a, 0x27, 0x27, 0x3c, 0x5f, 0xc5, 0x94, 0x05, 0x0b, 0xd8, 0x8b, 0x1a, 0x91, + 0x27, 0x1c, 0xd4, 0x39, 0x97, 0xb9, 0x3b, 0x6e, 0x65, 0xf0, 0x54, 0x74, 0x0c, 0x8c, 0x39, 0x23, + 0xb4, 0x06, 0x03, 0x0d, 0x96, 0x3a, 0x5a, 0xf8, 0x0f, 0xf2, 0x12, 0x0a, 0x77, 0xa4, 0x99, 0xe6, + 0x07, 0x69, 0x1c, 0x8e, 0x05, 0x2f, 0xc6, 0x95, 0xb4, 0xb6, 0x36, 0x22, 0xe1, 0x1f, 0xc8, 0xe3, + 0xda, 0x91, 0x04, 0x5c, 0x70, 0x65, 0x70, 0x2c, 0x78, 0xa1, 0x2a, 0x94, 0x36, 0x1a, 0x22, 0xff, + 0x63, 0x8e, 0x45, 0x6b, 0x5e, 0x27, 0x9d, 0x1f, 0xd8, 0xdf, 0x9b, 0x2e, 0x2d, 0x2d, 0xe0, 0xd2, + 0x46, 0x03, 0xbd, 0x0d, 0x83, 0x1b, 0xfc, 0x82, 0xa0, 0xc8, 0xf5, 0x78, 0x35, 0xef, 0x16, 0x63, + 0xc7, 0x6d, 0x42, 0x7e, 0x93, 0x41, 0x20, 0xb0, 0x64, 0x87, 0xde, 0x05, 0xd8, 0x50, 0x57, 0x1e, + 0x45, 0xb2, 0xc7, 0x99, 0xde, 0xae, 0x48, 0x0a, 0xeb, 0x59, 0x41, 0xb1, 0xc6, 0x91, 0xca, 0xbc, + 0x23, 0xb3, 0xdf, 0xb3, 0x44, 0x8f, 0xb9, 0x32, 0x9f, 0x99, 0x2c, 0x9f, 0xcb, 0xbc, 0x42, 0xe1, + 0x84, 0x29, 0x6a, 0xc3, 0xe8, 0x4e, 0xd4, 0xda, 0x22, 0x72, 0xea, 0xb3, 0xec, 0x8f, 0xc3, 0xd7, + 0xde, 0xc8, 0x49, 0xe9, 0x29, 0x8a, 0x78, 0x61, 0xdc, 0x76, 0x9a, 0x1d, 0x2b, 0x18, 0x4b, 0xa3, + 0x74, 0x4f, 0x67, 0x8b, 0xcd, 0x5a, 0xe8, 0x27, 0x79, 0xbf, 0x1d, 0xac, 0xef, 0xc6, 0x44, 0x64, + 0x87, 0xcc, 0xf9, 0x24, 0x6f, 0x71, 0xe2, 0xce, 0x4f, 0x22, 0x10, 0x58, 0xb2, 0x53, 0x43, 0xc6, + 0x56, 0xe3, 0x89, 0xc2, 0x43, 0xd6, 0xd1, 0x87, 0x64, 0xc8, 0xd8, 0xea, 0x9b, 0x30, 0xb5, 0x7f, + 0xbf, 0xbf, 0x73, 0x83, 0x63, 0xfa, 0xe7, 0xcf, 0x77, 0x1e, 0x67, 0x7e, 0xbe, 0x77, 0xfb, 0xea, + 0x31, 0x1e, 0x6c, 0x7e, 0xd3, 0x82, 0x73, 0xad, 0xcc, 0xdd, 0x4b, 0xec, 0x10, 0xbd, 0x9a, 0x69, + 0x7c, 0x68, 0x54, 0xae, 0xd1, 0x6c, 0x3c, 0xee, 0x52, 0x67, 0x5a, 0xe5, 0x2b, 0x7f, 0x64, 0x95, + 0xef, 0x3e, 0x0c, 0x31, 0x2d, 0x25, 0x49, 0x76, 0xd1, 0x63, 0x7e, 0x08, 0xb6, 0xd7, 0x2c, 0x08, + 0x16, 0x58, 0x31, 0xa3, 0x03, 0xf7, 0x6c, 0xba, 0x13, 0x98, 0x30, 0xb4, 0x48, 0x92, 0xca, 0x7d, + 0x01, 0x4b, 0x62, 0x24, 0x9e, 0xad, 0x1d, 0x46, 0x7c, 0x90, 0x47, 0x80, 0x0f, 0xaf, 0xec, 0x24, + 0x55, 0xc8, 0x7f, 0x68, 0x65, 0x28, 0x3c, 0x5c, 0xe9, 0x7f, 0xc3, 0x54, 0xfa, 0x2f, 0xa6, 0x95, + 0xfe, 0x0e, 0x13, 0xdd, 0xd0, 0xf7, 0x8b, 0x27, 0x0a, 0x2c, 0x9a, 0x8d, 0xc3, 0xfe, 0x5f, 0x16, + 0x94, 0x6b, 0x81, 0x7b, 0x8c, 0x4e, 0x80, 0x1b, 0x86, 0x13, 0xe0, 0xf9, 0xdc, 0x67, 0x6f, 0xba, + 0x9a, 0xfc, 0x77, 0x52, 0x26, 0xff, 0xa7, 0xf2, 0x59, 0x1d, 0x6e, 0xe0, 0x7f, 0xaf, 0x0c, 0xfa, + 0xc3, 0x3d, 0xe8, 0xb7, 0x8e, 0x12, 0xd5, 0x58, 0x2e, 0xf6, 0x96, 0x8f, 0xa8, 0x83, 0xc5, 0x00, + 0xc9, 0x2b, 0x4f, 0x7f, 0x62, 0x83, 0x1b, 0xef, 0x13, 0x6f, 0x73, 0x2b, 0x26, 0x6e, 0xba, 0x63, + 0x27, 0x17, 0xdc, 0xf8, 0x5f, 0x2c, 0x18, 0x4f, 0xd5, 0x8e, 0xb6, 0xb3, 0x6e, 0x4d, 0x1c, 0xd5, + 0xaa, 0x3f, 0x95, 0x7b, 0xcf, 0x62, 0x06, 0x40, 0x79, 0xa2, 0xa5, 0xed, 0xcd, 0xf4, 0x10, 0xe5, + 0xaa, 0x8e, 0xb0, 0x46, 0x81, 0x5e, 0x85, 0xe1, 0x38, 0x68, 0x05, 0xcd, 0x60, 0x73, 0xf7, 0x16, + 0x91, 0x97, 0xf2, 0x95, 0x17, 0x7f, 0x2d, 0x41, 0x61, 0x9d, 0xce, 0xfe, 0x41, 0x19, 0xd2, 0xef, + 0x3e, 0xfd, 0x7f, 0x41, 0xfd, 0x93, 0x23, 0xa8, 0xbf, 0x6b, 0xc1, 0x04, 0xad, 0x9d, 0x85, 0x70, + 0xc8, 0x10, 0x44, 0x95, 0x71, 0xdb, 0x3a, 0x24, 0xe3, 0xf6, 0x45, 0xba, 0xdc, 0xb9, 0x41, 0x5b, + 0x66, 0x81, 0xd1, 0x56, 0x31, 0x0a, 0xc5, 0x02, 0x2b, 0xe8, 0x48, 0x18, 0x8a, 0xfb, 0x19, 0x3a, + 0x1d, 0x09, 0x43, 0x2c, 0xb0, 0x32, 0x21, 0x77, 0x5f, 0x76, 0x42, 0x6e, 0x9e, 0x34, 0x47, 0x84, + 0x0e, 0x88, 0x9d, 0x59, 0x4b, 0x9a, 0x23, 0x63, 0x0a, 0x12, 0x1a, 0xfb, 0x9f, 0x95, 0x61, 0xa4, + 0x16, 0xb8, 0x49, 0x78, 0xf1, 0x2b, 0x46, 0x78, 0xf1, 0x85, 0x54, 0x78, 0xf1, 0x84, 0x4e, 0xfb, + 0x78, 0xa2, 0x8b, 0x45, 0x7a, 0x25, 0x96, 0x32, 0xfe, 0xa8, 0x91, 0xc5, 0x46, 0x7a, 0x25, 0xc5, + 0x09, 0x9b, 0x8c, 0xff, 0x54, 0x45, 0x14, 0xff, 0xb1, 0x05, 0x63, 0xb5, 0xc0, 0xa5, 0x22, 0xfa, + 0xa7, 0x49, 0x1e, 0xf5, 0xa4, 0x4c, 0x03, 0x87, 0x24, 0x65, 0xfa, 0x55, 0x0b, 0x06, 0x6b, 0x81, + 0x7b, 0x12, 0xde, 0xb4, 0x25, 0xd3, 0x9b, 0xf6, 0x89, 0xdc, 0xc5, 0xb7, 0x8b, 0x03, 0xed, 0x37, + 0xca, 0x30, 0x4a, 0x9b, 0x1c, 0x6c, 0xca, 0x0f, 0x66, 0x0c, 0x8e, 0x55, 0x60, 0x70, 0x2e, 0xc2, + 0xc0, 0x46, 0xd0, 0x6c, 0x06, 0x0f, 0xd3, 0x1f, 0x6f, 0x89, 0x41, 0xb1, 0xc0, 0xa2, 0xcb, 0x30, + 0xd4, 0x0a, 0xc9, 0x8e, 0x17, 0xb4, 0xa3, 0xf4, 0x75, 0xaf, 0x9a, 0x80, 0x63, 0x45, 0x81, 0x5e, + 0x81, 0x91, 0xc8, 0xf3, 0x1b, 0x44, 0xc6, 0x16, 0xf4, 0xb1, 0xd8, 0x02, 0x9e, 0xfb, 0x4e, 0x83, + 0x63, 0x83, 0x0a, 0xbd, 0x0d, 0x15, 0xf6, 0x9f, 0xcd, 0xa1, 0x23, 0x64, 0x09, 0xe7, 0x89, 0x99, + 0x24, 0x07, 0x9c, 0x30, 0x43, 0xd7, 0x00, 0x62, 0x19, 0x06, 0x11, 0x89, 0x63, 0x43, 0xa5, 0x9c, + 0xaa, 0x00, 0x89, 0x08, 0x6b, 0x54, 0xe8, 0x25, 0xa8, 0xc4, 0x8e, 0xd7, 0x5c, 0xf1, 0x7c, 0x12, + 0x89, 0x40, 0x12, 0x91, 0xc3, 0x55, 0x00, 0x71, 0x82, 0xa7, 0x7b, 0x3e, 0xbb, 0x6c, 0xca, 0xdf, + 0x20, 0x18, 0x62, 0xd4, 0x6c, 0xcf, 0x5f, 0x51, 0x50, 0xac, 0x51, 0xd8, 0x2f, 0xb3, 0xbd, 0xbb, + 0xc7, 0xf0, 0xf3, 0x9f, 0x94, 0x00, 0xd5, 0x58, 0xb8, 0x85, 0xf1, 0x4c, 0xc3, 0x16, 0x8c, 0x45, + 0x64, 0xc5, 0xf3, 0xdb, 0x8f, 0x04, 0xab, 0x62, 0x01, 0xff, 0xf5, 0x45, 0xbd, 0x0c, 0xbf, 0x60, + 0x69, 0xc2, 0x70, 0x8a, 0x2f, 0x1d, 0x92, 0xb0, 0xed, 0xcf, 0x45, 0x77, 0x23, 0x12, 0x8a, 0x87, + 0x16, 0xd8, 0x90, 0x60, 0x09, 0xc4, 0x09, 0x9e, 0xca, 0x00, 0xfb, 0x73, 0x3b, 0xf0, 0x71, 0x10, + 0xc4, 0x52, 0x6a, 0x58, 0xd6, 0x6d, 0x0d, 0x8e, 0x0d, 0x2a, 0xb4, 0x04, 0x28, 0x6a, 0xb7, 0x5a, + 0x4d, 0x76, 0xba, 0xe3, 0x34, 0x6f, 0x84, 0x41, 0xbb, 0xc5, 0x23, 0x6e, 0x45, 0xc2, 0xea, 0x7a, + 0x07, 0x16, 0x67, 0x94, 0xa0, 0x93, 0x7e, 0x23, 0x62, 0xbf, 0xc5, 0x05, 0x52, 0xee, 0x63, 0xaa, + 0x33, 0x10, 0x96, 0x38, 0xbb, 0xcd, 0xb6, 0x2a, 0x96, 0x00, 0x3f, 0x6e, 0x87, 0x04, 0x11, 0x18, + 0x6d, 0xb1, 0xed, 0x48, 0x1e, 0x31, 0x17, 0x1a, 0xca, 0x54, 0xc0, 0x07, 0x4f, 0x74, 0xad, 0xb3, + 0xc1, 0x26, 0x57, 0xfb, 0xdf, 0x03, 0x5b, 0x6b, 0xc4, 0xc1, 0xda, 0xa0, 0x08, 0xe7, 0x14, 0xba, + 0xd8, 0x27, 0x8b, 0xbc, 0xf8, 0x92, 0xac, 0xe3, 0x22, 0x38, 0x14, 0x4b, 0x2e, 0xe8, 0xcb, 0xfc, + 0x8c, 0x9c, 0xcd, 0xef, 0xe2, 0xcf, 0x30, 0x71, 0x7a, 0x23, 0x50, 0x59, 0xb0, 0xc0, 0x1a, 0x3b, + 0xb4, 0x02, 0xa3, 0x22, 0x4b, 0xba, 0xb0, 0xd5, 0xcb, 0x86, 0xbd, 0x3a, 0x8a, 0x75, 0xe4, 0x41, + 0x1a, 0x80, 0xcd, 0xc2, 0x68, 0x13, 0x9e, 0xd5, 0x9e, 0x4e, 0xc9, 0x08, 0x4a, 0xe2, 0x0b, 0xc7, + 0x27, 0xf6, 0xf7, 0xa6, 0x9f, 0x5d, 0x3b, 0x8c, 0x10, 0x1f, 0xce, 0x07, 0xdd, 0x81, 0xb3, 0x4e, + 0x23, 0xf6, 0x76, 0x48, 0x95, 0x38, 0x6e, 0xd3, 0xf3, 0x89, 0x79, 0xbb, 0xf8, 0xe9, 0xfd, 0xbd, + 0xe9, 0xb3, 0x73, 0x59, 0x04, 0x38, 0xbb, 0x1c, 0x7a, 0x03, 0x2a, 0xae, 0x1f, 0x89, 0x31, 0x18, + 0x30, 0x5e, 0x89, 0xa9, 0x54, 0x6f, 0xd7, 0x55, 0xff, 0x93, 0x3f, 0x38, 0x29, 0x80, 0xde, 0xe7, + 0x8f, 0xd7, 0x2a, 0x83, 0x84, 0xbf, 0x4e, 0xf4, 0x5a, 0x21, 0x13, 0xd8, 0xb8, 0x08, 0xc1, 0xdd, + 0x58, 0x2a, 0xf8, 0xcf, 0xb8, 0x23, 0x61, 0x54, 0x81, 0xbe, 0x00, 0x28, 0x22, 0xe1, 0x8e, 0xd7, + 0x20, 0x73, 0x0d, 0x96, 0xf5, 0x91, 0x9d, 0x50, 0x0d, 0x19, 0x11, 0xf0, 0xa8, 0xde, 0x41, 0x81, + 0x33, 0x4a, 0xa1, 0x9b, 0x74, 0xc5, 0xd1, 0xa1, 0x22, 0x56, 0x53, 0xaa, 0x76, 0x93, 0x55, 0xd2, + 0x0a, 0x49, 0xc3, 0x89, 0x89, 0x6b, 0x72, 0xc4, 0xa9, 0x72, 0x74, 0x5b, 0x51, 0xd9, 0xac, 0xc1, + 0x8c, 0x30, 0xec, 0xcc, 0x68, 0x4d, 0x2d, 0xa5, 0xad, 0x20, 0x8a, 0x6f, 0x93, 0xf8, 0x61, 0x10, + 0x3e, 0x60, 0xfe, 0xe6, 0x21, 0x2d, 0xcb, 0x55, 0x82, 0xc2, 0x3a, 0x1d, 0xd5, 0x81, 0xd8, 0x41, + 0xc7, 0x72, 0x95, 0x79, 0x91, 0x87, 0x92, 0xb9, 0x73, 0x93, 0x83, 0xb1, 0xc4, 0x4b, 0xd2, 0xe5, + 0xda, 0x02, 0xf3, 0x08, 0xa7, 0x48, 0x97, 0x6b, 0x0b, 0x58, 0xe2, 0x51, 0xd0, 0xf9, 0x16, 0xcf, + 0x58, 0x11, 0xef, 0x7c, 0xe7, 0x0a, 0x5e, 0xf0, 0x39, 0x9e, 0x47, 0x30, 0xa1, 0xde, 0x03, 0xe2, + 0xe9, 0x07, 0xa3, 0xc9, 0xf1, 0x22, 0x4f, 0xe7, 0x66, 0x66, 0x31, 0x54, 0xc1, 0xb9, 0xcb, 0x29, + 0x9e, 0xb8, 0xa3, 0x16, 0xe3, 0x96, 0xfc, 0x44, 0x6e, 0x86, 0xf2, 0x59, 0xa8, 0x44, 0xed, 0x75, + 0x37, 0xd8, 0x76, 0x3c, 0x9f, 0xbd, 0x08, 0xa4, 0x3f, 0x04, 0x2b, 0x11, 0x38, 0xa1, 0x99, 0xfa, + 0x1c, 0x9c, 0xea, 0x90, 0xe9, 0x9e, 0xa2, 0xca, 0x7e, 0xbe, 0x0f, 0x2a, 0xca, 0xab, 0x83, 0x66, + 0x4d, 0x57, 0xda, 0xd3, 0x69, 0x57, 0xda, 0x10, 0xdd, 0x79, 0x75, 0xef, 0xd9, 0xbb, 0x19, 0x2f, + 0x41, 0xbe, 0x98, 0xfb, 0x11, 0x8b, 0x5f, 0xee, 0xe8, 0xe1, 0x9d, 0xcc, 0x44, 0xad, 0xef, 0x3b, + 0x54, 0xad, 0x2f, 0xf8, 0xd0, 0x0f, 0x55, 0xe0, 0x5b, 0x81, 0xbb, 0x5c, 0x4b, 0x3f, 0x62, 0x51, + 0xa3, 0x40, 0xcc, 0x71, 0x4c, 0xef, 0xa2, 0x8b, 0x32, 0xd3, 0xbb, 0x06, 0x8f, 0xaa, 0x77, 0x49, + 0x0e, 0x38, 0x61, 0x86, 0x76, 0xe0, 0x54, 0xc3, 0x7c, 0x94, 0x44, 0xdd, 0xd9, 0xb8, 0xd2, 0xc3, + 0xa3, 0x20, 0x6d, 0x2d, 0x01, 0xfb, 0x42, 0x9a, 0x1f, 0xee, 0xac, 0xc2, 0xfe, 0x01, 0xf7, 0x02, + 0x09, 0xb3, 0x90, 0x44, 0xed, 0xe6, 0x71, 0xe6, 0x53, 0xbe, 0x63, 0x58, 0xaa, 0x8f, 0xc1, 0xff, + 0xf8, 0x9b, 0x16, 0xf3, 0x3f, 0xae, 0x91, 0xed, 0x56, 0xd3, 0x89, 0x8f, 0x33, 0x60, 0xed, 0xcb, + 0x30, 0x14, 0x8b, 0x5a, 0x8a, 0x25, 0x81, 0xd6, 0x9a, 0xc5, 0xfc, 0xb1, 0x6a, 0x21, 0x90, 0x50, + 0xac, 0x18, 0xda, 0xff, 0x92, 0x7f, 0x05, 0x89, 0x39, 0x09, 0xcb, 0xea, 0xb6, 0x69, 0x59, 0xbd, + 0x50, 0xb8, 0x33, 0x5d, 0x2c, 0xac, 0xef, 0x9a, 0x5d, 0x60, 0x0a, 0xdb, 0x93, 0xef, 0x11, 0xb7, + 0x57, 0xc1, 0x7c, 0x68, 0x05, 0xbd, 0xc1, 0xa3, 0x35, 0xf9, 0x8a, 0xf8, 0x62, 0x8f, 0x91, 0x9a, + 0xf6, 0xaf, 0x97, 0xe0, 0x4c, 0xd6, 0xfb, 0xeb, 0xc8, 0x85, 0x91, 0x96, 0xa6, 0x3e, 0x17, 0xbb, + 0xcb, 0xaf, 0x2b, 0xdc, 0x89, 0xea, 0xa2, 0x43, 0xb1, 0xc1, 0x15, 0x11, 0x18, 0x21, 0x3b, 0x5e, + 0x43, 0xb9, 0x57, 0x4a, 0xbd, 0x2f, 0x51, 0xaa, 0x9a, 0x45, 0x8d, 0x11, 0x36, 0xd8, 0x1e, 0x43, + 0x9e, 0x72, 0xfb, 0xef, 0x5b, 0xf0, 0x54, 0x97, 0x0b, 0xff, 0xb4, 0xba, 0x87, 0xcc, 0x0b, 0x29, + 0x1e, 0xf2, 0x51, 0xd5, 0x71, 0xdf, 0x24, 0x16, 0x58, 0xb4, 0x0e, 0xc0, 0x7d, 0x8b, 0xec, 0x75, + 0xd3, 0x52, 0x91, 0x63, 0xf0, 0x8e, 0xcb, 0xc5, 0xda, 0xbd, 0x53, 0xf5, 0x9e, 0xa9, 0xc6, 0xd5, + 0xfe, 0x4e, 0x19, 0xfa, 0xf9, 0x03, 0x8b, 0x35, 0x18, 0xdc, 0xe2, 0xf9, 0x05, 0x7b, 0x4b, 0x6f, + 0x98, 0xe8, 0x49, 0x1c, 0x80, 0x25, 0x1b, 0xb4, 0x0a, 0xa7, 0x3d, 0xdf, 0x8b, 0x3d, 0xa7, 0x59, + 0x25, 0x4d, 0x67, 0x57, 0x2a, 0xde, 0x3c, 0xb7, 0xb4, 0x4c, 0x83, 0x7a, 0x7a, 0xb9, 0x93, 0x04, + 0x67, 0x95, 0x43, 0x6f, 0x76, 0x24, 0x08, 0xe2, 0x79, 0x1b, 0xd5, 0x75, 0xa5, 0xc3, 0x93, 0x04, + 0xa1, 0xd7, 0x61, 0xb4, 0xd5, 0x61, 0x62, 0x68, 0x2f, 0xf3, 0x99, 0x66, 0x85, 0x49, 0x8b, 0xaa, + 0x30, 0x11, 0xb5, 0xd9, 0x19, 0xe9, 0xda, 0x56, 0x48, 0xa2, 0xad, 0xa0, 0xe9, 0x8a, 0x17, 0xa5, + 0x94, 0x3a, 0x55, 0x4f, 0xe1, 0x71, 0x47, 0x09, 0xca, 0x65, 0xc3, 0xf1, 0x9a, 0xed, 0x90, 0x24, + 0x5c, 0x06, 0x4c, 0x2e, 0x4b, 0x29, 0x3c, 0xee, 0x28, 0x61, 0xff, 0xa1, 0x05, 0xa7, 0x33, 0x4e, + 0xee, 0x79, 0x40, 0xd9, 0xa6, 0x17, 0xc5, 0x2a, 0x83, 0xb0, 0x16, 0x50, 0xc6, 0xe1, 0x58, 0x51, + 0x50, 0x29, 0xe4, 0x76, 0x63, 0x3a, 0x21, 0xb2, 0x38, 0x2a, 0x15, 0xd8, 0xde, 0xd2, 0xfd, 0xa8, + 0x77, 0xe2, 0xfb, 0xba, 0xbe, 0x13, 0xff, 0x1c, 0xf4, 0x6f, 0x2a, 0xeb, 0x5c, 0x53, 0x4c, 0xb8, + 0x7d, 0xce, 0x71, 0xf6, 0xb7, 0xcb, 0x30, 0x9e, 0x8a, 0xe0, 0xa1, 0x0d, 0x49, 0x3d, 0x67, 0xcf, + 0x5c, 0x0a, 0x0b, 0xa4, 0xb5, 0x95, 0xf1, 0xa4, 0xfd, 0x45, 0xf3, 0xb5, 0xdb, 0xa4, 0xcd, 0xf3, + 0x55, 0xe3, 0x1d, 0xaf, 0xa2, 0x59, 0xcd, 0x9f, 0x83, 0xbe, 0x56, 0xa0, 0x9e, 0x65, 0x54, 0x42, + 0x8f, 0xe7, 0xab, 0xb5, 0x20, 0x68, 0x62, 0x86, 0x44, 0xcf, 0x8b, 0xde, 0xa7, 0x9c, 0x93, 0xd8, + 0x71, 0x83, 0x48, 0x1b, 0x82, 0x17, 0x60, 0xf0, 0x01, 0xd9, 0x0d, 0x3d, 0x7f, 0x33, 0xed, 0x9a, + 0xbd, 0xc5, 0xc1, 0x58, 0xe2, 0xcd, 0xcc, 0xe5, 0x83, 0xc7, 0x9c, 0xb9, 0x7c, 0x28, 0x37, 0x0a, + 0xf1, 0x57, 0x2c, 0x18, 0x67, 0x69, 0xd7, 0xc4, 0x4d, 0x50, 0x2f, 0xf0, 0x8f, 0x71, 0x57, 0x7c, + 0x0e, 0xfa, 0x43, 0x5a, 0x59, 0x3a, 0xe9, 0x30, 0x6b, 0x01, 0xe6, 0x38, 0xf4, 0x8c, 0x78, 0x34, + 0x9c, 0x7e, 0xbe, 0x11, 0x9e, 0xc4, 0x35, 0x79, 0xfd, 0x9b, 0xc5, 0xb8, 0x63, 0xd2, 0x6a, 0x7a, + 0xbc, 0xb1, 0x89, 0x27, 0xe6, 0x49, 0x89, 0x71, 0xcf, 0x6c, 0xdc, 0xe3, 0x8a, 0x71, 0xcf, 0x66, + 0x7e, 0xb8, 0x0a, 0xfa, 0xdf, 0x4a, 0x70, 0x3e, 0xb3, 0x5c, 0x72, 0xac, 0xb3, 0x64, 0x1c, 0xeb, + 0x5c, 0x4b, 0x1d, 0xeb, 0xd8, 0x87, 0x97, 0x7e, 0x3c, 0x07, 0x3d, 0xd9, 0xc7, 0x2f, 0xe5, 0x93, + 0x3c, 0x7e, 0xe9, 0x2b, 0xaa, 0x2b, 0xf4, 0xe7, 0xe8, 0x0a, 0xbf, 0x63, 0xc1, 0xd3, 0x99, 0x63, + 0xf6, 0xe4, 0xdd, 0x2a, 0xc8, 0x6c, 0x66, 0x17, 0x0d, 0xfa, 0xaf, 0x96, 0xbb, 0x74, 0x8b, 0xe9, + 0xd2, 0x97, 0xe8, 0xba, 0xc3, 0x90, 0x91, 0x50, 0x83, 0x46, 0xf8, 0x9a, 0xc3, 0x61, 0x58, 0x61, + 0x51, 0xa4, 0x45, 0xe5, 0xf3, 0x46, 0x2e, 0x1e, 0x71, 0x4a, 0xcd, 0x98, 0xce, 0x33, 0xfd, 0x4a, + 0x6b, 0x2a, 0x54, 0x1f, 0xdd, 0xd7, 0xcc, 0xa3, 0xf2, 0x51, 0xcc, 0xa3, 0x91, 0x6c, 0xd3, 0x08, + 0xcd, 0xc1, 0xf8, 0xb6, 0xe7, 0xb3, 0x67, 0xc3, 0x4c, 0x3d, 0x44, 0x5d, 0x04, 0x5b, 0x35, 0xd1, + 0x38, 0x4d, 0x3f, 0xf5, 0x3a, 0x8c, 0x1e, 0xdd, 0x63, 0xf2, 0x61, 0x19, 0x3e, 0x7e, 0xc8, 0xb2, + 0xc0, 0xf7, 0x03, 0xe3, 0xbb, 0x68, 0xfb, 0x41, 0xc7, 0xb7, 0xa9, 0xc1, 0x99, 0x8d, 0x76, 0xb3, + 0xb9, 0xcb, 0xc2, 0x22, 0x88, 0x2b, 0x29, 0x84, 0x8e, 0xa7, 0x1e, 0xf4, 0x5c, 0xca, 0xa0, 0xc1, + 0x99, 0x25, 0xd1, 0x17, 0x00, 0x05, 0xeb, 0x2c, 0x17, 0xa1, 0x9b, 0x5c, 0xda, 0x65, 0x9f, 0xa0, + 0x9c, 0xcc, 0xd5, 0x3b, 0x1d, 0x14, 0x38, 0xa3, 0x14, 0xd5, 0xf8, 0xd8, 0x5b, 0xa0, 0xaa, 0x59, + 0x29, 0x8d, 0x0f, 0xeb, 0x48, 0x6c, 0xd2, 0xa2, 0x1b, 0x70, 0xca, 0xd9, 0x71, 0x3c, 0x9e, 0x70, + 0x45, 0x32, 0xe0, 0x2a, 0x9f, 0x72, 0x49, 0xcc, 0xa5, 0x09, 0x70, 0x67, 0x19, 0xd4, 0x32, 0x9c, + 0x4c, 0x3c, 0xf7, 0xf0, 0x1b, 0x47, 0x90, 0xe0, 0xc2, 0x6e, 0x27, 0xfb, 0x0f, 0x2c, 0xba, 0xe9, + 0x65, 0x3c, 0xb3, 0x65, 0xbc, 0x4e, 0xad, 0x5d, 0x54, 0xe8, 0x7c, 0x9d, 0x9a, 0xf9, 0x5f, 0x4d, + 0x5a, 0x2e, 0x1a, 0x51, 0x12, 0xe8, 0x68, 0xe8, 0x97, 0xe2, 0x82, 0x8e, 0xa2, 0x40, 0xf7, 0x61, + 0xd0, 0xf5, 0x76, 0xbc, 0x28, 0x08, 0x0b, 0x3c, 0x06, 0xdb, 0x11, 0x3c, 0x97, 0x2c, 0x97, 0x55, + 0xce, 0x04, 0x4b, 0x6e, 0xf6, 0x5f, 0x2f, 0xc1, 0xa8, 0xac, 0xef, 0xad, 0x76, 0xc0, 0xd6, 0xb0, + 0xe3, 0xda, 0xca, 0xdf, 0x32, 0xb6, 0xf2, 0xd9, 0x62, 0xb7, 0x94, 0x58, 0xa3, 0xba, 0x6e, 0xe1, + 0x5f, 0x4c, 0x6d, 0xe1, 0x57, 0x7b, 0x61, 0x9a, 0xeb, 0x3d, 0x3a, 0x65, 0xd0, 0x3f, 0x41, 0xb9, + 0x6f, 0xb3, 0xba, 0xd3, 0x65, 0xe3, 0xf8, 0x4e, 0x29, 0xd5, 0x0d, 0xb6, 0x61, 0x7c, 0x1d, 0xfa, + 0xb6, 0x9c, 0xd0, 0x15, 0x47, 0x65, 0x9f, 0xe9, 0xf1, 0x53, 0xcc, 0xdc, 0x74, 0x42, 0x97, 0x2f, + 0xfb, 0x97, 0xd5, 0x23, 0x1d, 0x4e, 0xe8, 0xe6, 0x86, 0xfd, 0xb2, 0x4a, 0xd1, 0x75, 0x18, 0x88, + 0x1a, 0x41, 0x4b, 0x45, 0x75, 0x5d, 0xe0, 0x0f, 0x78, 0x50, 0xc8, 0xc1, 0xde, 0x34, 0x32, 0xab, + 0xa3, 0x60, 0x2c, 0xe8, 0xa7, 0x08, 0x54, 0x54, 0xd5, 0xc7, 0x18, 0x60, 0xfa, 0x61, 0x19, 0x4e, + 0x67, 0x88, 0x0a, 0xfa, 0x69, 0x63, 0xd4, 0x5e, 0xef, 0x59, 0xd6, 0x3e, 0xe2, 0xb8, 0xfd, 0x34, + 0x33, 0x88, 0x5c, 0x21, 0x1b, 0x47, 0xa8, 0xfe, 0x6e, 0x44, 0xd2, 0xd5, 0x53, 0x50, 0x7e, 0xf5, + 0xb4, 0xda, 0x13, 0x1a, 0x7c, 0x5a, 0x8d, 0x6a, 0xe7, 0x31, 0x7e, 0xe3, 0x0f, 0xfa, 0xe0, 0x4c, + 0xd6, 0x4d, 0x48, 0xf4, 0xb3, 0x56, 0x2a, 0x7b, 0xf6, 0x9b, 0xbd, 0x5f, 0xa7, 0xe4, 0x29, 0xb5, + 0x45, 0x86, 0x84, 0x19, 0x33, 0x9f, 0x76, 0xee, 0x68, 0x8b, 0xda, 0x59, 0xa8, 0x7e, 0xc8, 0x13, + 0xa1, 0xcb, 0xf5, 0xe0, 0xf3, 0x47, 0x68, 0x8a, 0xc8, 0xa5, 0x1e, 0xa5, 0x42, 0xf5, 0x25, 0x38, + 0x3f, 0x54, 0x5f, 0xb6, 0x61, 0x6a, 0x13, 0x86, 0xb5, 0x7e, 0x1d, 0xa3, 0x08, 0x78, 0x74, 0x4f, + 0xd2, 0x5a, 0x7d, 0x8c, 0x62, 0xf0, 0x37, 0x2d, 0x48, 0x85, 0x6b, 0x28, 0xaf, 0x8b, 0xd5, 0xd5, + 0xeb, 0x72, 0x01, 0xfa, 0xc2, 0xa0, 0x49, 0xd2, 0x69, 0x9d, 0x71, 0xd0, 0x24, 0x98, 0x61, 0xd4, + 0x53, 0x80, 0xe5, 0x6e, 0x4f, 0x01, 0x52, 0x73, 0xbc, 0x49, 0x76, 0x88, 0xf4, 0x81, 0xa8, 0xc5, + 0x7b, 0x85, 0x02, 0x31, 0xc7, 0xd9, 0x3f, 0x2a, 0xc3, 0x00, 0x77, 0x34, 0x1c, 0xe3, 0xb6, 0x5c, + 0x13, 0x36, 0x7f, 0xa1, 0x3b, 0x89, 0xbc, 0x35, 0x33, 0x55, 0x27, 0x76, 0xb8, 0x40, 0xa9, 0xbe, + 0x25, 0x7e, 0x02, 0x34, 0x63, 0xf4, 0x7e, 0x2a, 0x65, 0xd2, 0x02, 0xe7, 0xa1, 0x8d, 0xc5, 0x16, + 0x40, 0xc4, 0x5e, 0x85, 0xa2, 0x3c, 0x44, 0x5e, 0xb8, 0x57, 0x0a, 0xb5, 0xa3, 0xae, 0x8a, 0xf1, + 0xd6, 0x24, 0x09, 0xa9, 0x14, 0x02, 0x6b, 0xbc, 0xa7, 0x5e, 0x83, 0x8a, 0x22, 0xce, 0xd3, 0xf4, + 0x47, 0x74, 0x91, 0xfc, 0x33, 0x30, 0x9e, 0xaa, 0xab, 0x27, 0x43, 0xe1, 0xfb, 0x16, 0x9c, 0xea, + 0x78, 0xc5, 0x14, 0x7d, 0x60, 0xc1, 0x99, 0x66, 0x86, 0x87, 0x49, 0x7c, 0xe0, 0xa3, 0xf8, 0xa6, + 0x92, 0x67, 0xff, 0x33, 0xb0, 0x38, 0xb3, 0x36, 0x99, 0xe9, 0xb2, 0x94, 0x9d, 0xe9, 0x92, 0x3d, + 0x85, 0xc3, 0xdb, 0x7e, 0x12, 0x1a, 0xd0, 0xb2, 0xa9, 0x01, 0x7d, 0xb2, 0x88, 0x18, 0x74, 0x51, + 0x7d, 0xfe, 0x8d, 0x05, 0x88, 0x13, 0xa4, 0x5f, 0x87, 0xe3, 0x1e, 0x3b, 0x4d, 0x67, 0x4f, 0xe4, + 0x46, 0x61, 0xb0, 0x46, 0xd5, 0x63, 0xe6, 0x6f, 0xf5, 0xaa, 0x52, 0xb1, 0xa7, 0xdb, 0xcb, 0x05, + 0x9e, 0x6e, 0xff, 0xcd, 0x32, 0xa4, 0x43, 0x1b, 0xd0, 0x57, 0x60, 0xa4, 0xe1, 0xb4, 0x9c, 0x75, + 0xaf, 0xe9, 0xc5, 0x1e, 0x89, 0x8a, 0x1d, 0x1b, 0x2d, 0x68, 0x25, 0x84, 0xcf, 0x57, 0x83, 0x60, + 0x83, 0x23, 0x9a, 0x01, 0x68, 0x85, 0xde, 0x8e, 0xd7, 0x24, 0x9b, 0x4c, 0xef, 0x50, 0x79, 0x42, + 0x6a, 0x0a, 0x8a, 0x35, 0x8a, 0x8c, 0x18, 0xba, 0xf2, 0x49, 0xc4, 0xd0, 0xf5, 0xf5, 0x18, 0x43, + 0xd7, 0x5f, 0x28, 0x86, 0x0e, 0xc3, 0x39, 0xe9, 0xaa, 0xa5, 0xff, 0x97, 0xbc, 0x26, 0xe1, 0xa9, + 0xed, 0x44, 0xe4, 0xe3, 0xd4, 0xfe, 0xde, 0xf4, 0x39, 0x9c, 0x49, 0x81, 0xbb, 0x94, 0xb4, 0xdb, + 0x70, 0xba, 0x4e, 0x42, 0x8f, 0x65, 0x1e, 0x72, 0x93, 0x19, 0xf8, 0x2e, 0x54, 0xc2, 0xd4, 0xe4, + 0xef, 0xf1, 0x96, 0x98, 0x96, 0xbf, 0x41, 0x4e, 0xf6, 0x84, 0xa5, 0xfd, 0x17, 0x4b, 0x30, 0x28, + 0x42, 0x88, 0x8e, 0x71, 0x23, 0xb9, 0x65, 0xd8, 0x77, 0x2f, 0xe4, 0xcd, 0x5c, 0xd6, 0x9c, 0xae, + 0x96, 0x5d, 0x3d, 0x65, 0xd9, 0xbd, 0x54, 0x8c, 0xdd, 0xe1, 0x36, 0xdd, 0x0f, 0x4b, 0x30, 0x66, + 0x86, 0x52, 0x1d, 0xe3, 0x70, 0xbc, 0x0d, 0x83, 0x91, 0x88, 0x2f, 0x2a, 0xf4, 0x58, 0x7e, 0xfa, + 0x93, 0x26, 0xcf, 0xc0, 0x8b, 0x88, 0x22, 0xc9, 0x2e, 0x33, 0x84, 0xa9, 0x7c, 0x12, 0x21, 0x4c, + 0xf6, 0x8f, 0xd8, 0x92, 0xaa, 0x0f, 0xe0, 0x49, 0xec, 0x09, 0x6f, 0x99, 0xab, 0xef, 0xe5, 0x42, + 0xa2, 0x20, 0xda, 0xd7, 0x65, 0x6f, 0xf8, 0x9e, 0x05, 0xc3, 0x82, 0xf0, 0x24, 0x7a, 0xf0, 0x05, + 0xb3, 0x07, 0xcf, 0x17, 0xea, 0x41, 0x97, 0xa6, 0xff, 0xed, 0x92, 0x6a, 0x7a, 0x4d, 0xbc, 0x9a, + 0x99, 0x9b, 0xeb, 0x70, 0xa8, 0x15, 0x06, 0x71, 0xd0, 0x08, 0x9a, 0x62, 0x97, 0x7f, 0x26, 0x89, + 0x3a, 0xe7, 0xf0, 0x03, 0xed, 0x37, 0x56, 0xd4, 0x2c, 0x9a, 0x3a, 0x08, 0x63, 0xb1, 0x45, 0x65, + 0xbd, 0xd9, 0xb9, 0x2e, 0xdf, 0x44, 0xa6, 0x30, 0x71, 0x65, 0xa3, 0xd7, 0xb7, 0x40, 0x93, 0x18, + 0x72, 0xc5, 0x09, 0x6b, 0x5c, 0x65, 0x78, 0x23, 0xab, 0xa1, 0xdf, 0x74, 0xa3, 0xde, 0x16, 0x70, + 0xac, 0x28, 0xec, 0xd7, 0xd8, 0x1a, 0xcb, 0x86, 0xa7, 0xb7, 0xc0, 0xf0, 0x9f, 0x1b, 0x50, 0x03, + 0xcb, 0x9c, 0x24, 0xb7, 0xa1, 0x9f, 0x76, 0x51, 0xda, 0x81, 0xc5, 0x16, 0x34, 0xda, 0x04, 0x3d, + 0x40, 0x2c, 0x8c, 0x23, 0xcc, 0xd9, 0x20, 0xd2, 0xe1, 0x7b, 0x7f, 0xad, 0xf0, 0x1a, 0xd9, 0x83, + 0xb7, 0x9d, 0xe5, 0x4e, 0x61, 0xf9, 0x22, 0x96, 0x6b, 0xe9, 0xfc, 0x94, 0x0b, 0x12, 0x81, 0x13, + 0x1a, 0x34, 0x2b, 0xd4, 0x75, 0xf3, 0x49, 0x55, 0xa9, 0xae, 0xcb, 0x21, 0xd1, 0xf4, 0xf5, 0xab, + 0x30, 0xac, 0x32, 0x74, 0xd7, 0x78, 0xa2, 0xe5, 0x0a, 0xd7, 0x5f, 0x16, 0x13, 0x30, 0xd6, 0x69, + 0xd0, 0x32, 0x9c, 0x76, 0x55, 0x34, 0x6b, 0xad, 0xbd, 0xde, 0xf4, 0x1a, 0xb4, 0x28, 0xbf, 0x49, + 0xf2, 0xd4, 0xfe, 0xde, 0xf4, 0xe9, 0x6a, 0x27, 0x1a, 0x67, 0x95, 0x41, 0x6b, 0x30, 0x1e, 0xf1, + 0x4c, 0xe4, 0xf2, 0xce, 0x99, 0x48, 0xe0, 0xf6, 0xa2, 0x74, 0xfa, 0xd7, 0x4d, 0xf4, 0x01, 0x03, + 0xf1, 0x45, 0x41, 0x80, 0x70, 0x9a, 0x05, 0x7a, 0x13, 0xc6, 0x9a, 0xfa, 0x8b, 0x42, 0x35, 0x11, + 0xd4, 0xab, 0x02, 0x22, 0x8c, 0xf7, 0x86, 0x6a, 0x38, 0x45, 0x8d, 0xde, 0x86, 0x49, 0x1d, 0x22, + 0xae, 0x99, 0x3b, 0xfe, 0x26, 0x89, 0x44, 0x0a, 0xe4, 0x67, 0xf6, 0xf7, 0xa6, 0x27, 0x57, 0xba, + 0xd0, 0xe0, 0xae, 0xa5, 0xd1, 0x75, 0x18, 0x91, 0x23, 0xa9, 0x05, 0xf8, 0x26, 0xa1, 0x38, 0x1a, + 0x0e, 0x1b, 0x94, 0x1f, 0xed, 0x6c, 0xe3, 0xeb, 0xb4, 0xb0, 0xb6, 0xa9, 0xa2, 0xaf, 0xc2, 0x88, + 0xde, 0x46, 0xb1, 0x4c, 0x7e, 0xba, 0xf8, 0x2b, 0x4d, 0x62, 0x73, 0x56, 0x2d, 0xd7, 0x71, 0xd8, + 0xe0, 0x6d, 0x37, 0x60, 0x3c, 0xf5, 0x4a, 0xac, 0x7a, 0x6e, 0xd8, 0x7a, 0x5c, 0xcf, 0x0d, 0xdb, + 0xdf, 0xb0, 0xa0, 0x7f, 0xcd, 0xf1, 0xf2, 0x73, 0xfd, 0x17, 0x79, 0xaf, 0x17, 0xbd, 0x0a, 0x03, + 0x64, 0x63, 0x83, 0x34, 0xe4, 0xf3, 0xc5, 0xcf, 0xaa, 0xc7, 0xe7, 0x19, 0x94, 0xce, 0x24, 0x56, + 0x19, 0xff, 0x8b, 0x05, 0xb1, 0xfd, 0xef, 0x2c, 0x80, 0xb5, 0xa0, 0x29, 0x4f, 0x59, 0x72, 0x5a, + 0x32, 0xdf, 0xf1, 0xea, 0xc0, 0xc5, 0x8c, 0x57, 0x07, 0x50, 0xc2, 0x30, 0xe3, 0xcd, 0x01, 0xd5, + 0x9b, 0x72, 0xa1, 0xde, 0xf4, 0xf5, 0xd2, 0x9b, 0x6f, 0x59, 0x20, 0x42, 0x5e, 0x0a, 0x6c, 0x4b, + 0xae, 0xcc, 0x14, 0x6e, 0xe4, 0x7b, 0x78, 0xb1, 0xc8, 0xbd, 0x0d, 0x91, 0xe5, 0x41, 0x89, 0x92, + 0x91, 0xdb, 0xc1, 0xe0, 0x4a, 0x4d, 0xef, 0x61, 0x8e, 0x5e, 0x65, 0x0a, 0x5f, 0x7e, 0xbb, 0x7a, + 0xca, 0x25, 0xc5, 0x12, 0x69, 0x53, 0xc6, 0x2a, 0xa5, 0x90, 0x9e, 0x48, 0x5b, 0x22, 0x70, 0x42, + 0x83, 0x5e, 0x80, 0xc1, 0xa8, 0xbd, 0xce, 0xc8, 0x53, 0xf1, 0x2f, 0x75, 0x0e, 0xc6, 0x12, 0x6f, + 0xff, 0xcf, 0x09, 0x30, 0xba, 0x66, 0xa4, 0x2f, 0xb2, 0x1e, 0x7b, 0xfa, 0xa2, 0x77, 0x60, 0x88, + 0x6c, 0xb7, 0xe2, 0xdd, 0xaa, 0x17, 0x16, 0x4b, 0x25, 0xb7, 0x28, 0xa8, 0x3b, 0xb9, 0x4b, 0x0c, + 0x56, 0x1c, 0xbb, 0x24, 0xa3, 0x2a, 0x3f, 0x11, 0xc9, 0xa8, 0xfa, 0xfe, 0x9f, 0x24, 0xa3, 0x7a, + 0x1b, 0x06, 0x37, 0xf9, 0xf3, 0xf5, 0xe2, 0x9e, 0x5e, 0xce, 0xf1, 0x55, 0xc6, 0x5b, 0xf7, 0xfc, + 0x42, 0x96, 0x40, 0x60, 0xc9, 0x0e, 0xad, 0xc1, 0x00, 0x37, 0x16, 0x44, 0x7e, 0xa7, 0x4f, 0x17, + 0x71, 0xa3, 0x74, 0xa6, 0x3a, 0x12, 0x41, 0x4e, 0x82, 0x97, 0x4c, 0x3e, 0x35, 0xf8, 0xd1, 0x93, + 0x4f, 0xa9, 0x94, 0x51, 0x43, 0x8f, 0x2b, 0x65, 0x94, 0x91, 0x7a, 0xab, 0x72, 0x1c, 0xa9, 0xb7, + 0xbe, 0x65, 0xc1, 0xd9, 0x56, 0x56, 0xe6, 0x3a, 0x91, 0xfc, 0xe9, 0x73, 0x47, 0xc8, 0xe4, 0x67, + 0x54, 0xcd, 0xae, 0x4f, 0x65, 0x92, 0xe1, 0xec, 0x8a, 0x65, 0x0e, 0xaf, 0xe1, 0x8f, 0x9e, 0xc3, + 0xeb, 0xb8, 0xb3, 0x44, 0x25, 0x19, 0xbd, 0x46, 0x8f, 0x25, 0xa3, 0xd7, 0xd8, 0x63, 0xcc, 0xe8, + 0xa5, 0xe5, 0xe2, 0x1a, 0x7f, 0xbc, 0xb9, 0xb8, 0xb6, 0x60, 0xd8, 0x0d, 0x1e, 0xfa, 0x0f, 0x9d, + 0xd0, 0x9d, 0xab, 0x2d, 0x8b, 0xd4, 0x4f, 0x39, 0x39, 0x16, 0xaa, 0x49, 0x01, 0xa3, 0x06, 0xee, + 0x2f, 0x4c, 0x90, 0x58, 0x67, 0x2d, 0xb2, 0x92, 0x9d, 0xfa, 0x88, 0x59, 0xc9, 0x8c, 0xdc, 0x5e, + 0xe8, 0x38, 0x72, 0x7b, 0x7d, 0x85, 0xdd, 0xb4, 0xde, 0xf0, 0x36, 0x57, 0x9d, 0xd6, 0xe4, 0xe9, + 0x22, 0x35, 0x2c, 0x48, 0xf2, 0xce, 0x1a, 0x14, 0x0a, 0x27, 0x4c, 0x3b, 0xb3, 0x87, 0x9d, 0x39, + 0xe9, 0xec, 0x61, 0x67, 0x8f, 0x31, 0x7b, 0xd8, 0xb9, 0xe3, 0xc8, 0x1e, 0xf6, 0xe7, 0xe0, 0xfc, + 0xe1, 0xfd, 0x4f, 0x12, 0xc2, 0xd6, 0x12, 0x93, 0x3a, 0x95, 0x10, 0x96, 0xe9, 0x16, 0x1a, 0x95, + 0x16, 0x1c, 0x5c, 0x3a, 0x2c, 0x38, 0xd8, 0xfe, 0xa7, 0x16, 0x3c, 0xd5, 0x25, 0xb1, 0x48, 0xe1, + 0x68, 0xff, 0x16, 0x8c, 0xb7, 0xcc, 0xa2, 0x85, 0xef, 0xe5, 0x18, 0x89, 0x4c, 0x54, 0x1c, 0x59, + 0x0a, 0x81, 0xd3, 0xec, 0xe7, 0x3f, 0xf9, 0xe3, 0x0f, 0xcf, 0x7f, 0xec, 0x27, 0x1f, 0x9e, 0xff, + 0xd8, 0xef, 0x7d, 0x78, 0xfe, 0x63, 0x3f, 0xb3, 0x7f, 0xde, 0xfa, 0xf1, 0xfe, 0x79, 0xeb, 0x27, + 0xfb, 0xe7, 0xad, 0x3f, 0xdc, 0x3f, 0x6f, 0x7d, 0xeb, 0x8f, 0xce, 0x7f, 0xec, 0x4b, 0xa5, 0x9d, + 0xab, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x45, 0xe3, 0x62, 0xad, 0x9e, 0xb3, 0x00, 0x00, } diff --git a/pkg/api/v1/generated.proto b/pkg/api/v1/generated.proto index ab33dd00..03499c97 100644 --- a/pkg/api/v1/generated.proto +++ b/pkg/api/v1/generated.proto @@ -21,10 +21,10 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.api.v1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +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 = "v1"; @@ -45,29 +45,35 @@ message AWSElasticBlockStoreVolumeSource { // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional optional string fsType = 2; // The partition in the volume that you want to mount. // If omitted, the default is to mount by volume name. // Examples: For volume /dev/sda1, you specify the partition as "1". // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + // +optional optional int32 partition = 3; // Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". // If omitted, the default is "false". // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + // +optional optional bool readOnly = 4; } // Affinity is a group of affinity scheduling rules. message Affinity { // Describes node affinity scheduling rules for the pod. + // +optional optional NodeAffinity nodeAffinity = 1; // Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). + // +optional optional PodAffinity podAffinity = 2; // Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). + // +optional optional PodAntiAffinity podAntiAffinity = 3; } @@ -86,6 +92,7 @@ message AttachedVolume { message AvoidPods { // Bounded-sized list of signatures of pods that should avoid this node, sorted // in timestamp order from oldest to newest. Size of the slice is unspecified. + // +optional repeated PreferAvoidPodsEntry preferAvoidPods = 1; } @@ -98,15 +105,18 @@ message AzureDiskVolumeSource { optional string diskURI = 2; // Host Caching mode: None, Read Only, Read Write. + // +optional optional string cachingMode = 3; // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional optional string fsType = 4; // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional optional bool readOnly = 5; } @@ -120,6 +130,7 @@ message AzureFileVolumeSource { // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional optional bool readOnly = 3; } @@ -128,6 +139,7 @@ message AzureFileVolumeSource { message Binding { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // The target object that you want to bind to the standard object. @@ -137,9 +149,11 @@ message Binding { // Adds and removes POSIX capabilities from running containers. message Capabilities { // Added capabilities + // +optional repeated string add = 1; // Removed capabilities + // +optional repeated string drop = 2; } @@ -151,23 +165,28 @@ message CephFSVolumeSource { repeated string monitors = 1; // Optional: Used as the mounted root, rather than the full Ceph tree, default is / + // +optional optional string path = 2; // Optional: User is the rados user name, default is admin // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional optional string user = 3; // Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional optional string secretFile = 4; // Optional: SecretRef is reference to the authentication secret for User, default is empty. // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional optional LocalObjectReference secretRef = 5; // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional optional bool readOnly = 6; } @@ -184,11 +203,13 @@ message CinderVolumeSource { // Must be a filesystem type supported by the host operating system. // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional optional string fsType = 2; // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional optional bool readOnly = 3; } @@ -204,10 +225,12 @@ message ComponentCondition { // Message about the condition for a component. // For example, information about a health check. + // +optional optional string message = 3; // Condition error code for a component. // For example, a health check error code. + // +optional optional string error = 4; } @@ -215,9 +238,11 @@ message ComponentCondition { message ComponentStatus { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // List of component conditions observed + // +optional repeated ComponentCondition conditions = 2; } @@ -225,6 +250,7 @@ message ComponentStatus { message ComponentStatusList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of ComponentStatus objects. @@ -235,10 +261,12 @@ message ComponentStatusList { message ConfigMap { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Data contains the configuration data. // Each key must be a valid DNS_SUBDOMAIN with an optional leading dot. + // +optional map data = 2; } @@ -254,6 +282,7 @@ message ConfigMapKeySelector { // ConfigMapList is a resource containing a list of ConfigMap objects. message ConfigMapList { // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of ConfigMaps. @@ -276,6 +305,7 @@ message ConfigMapVolumeSource { // present. If a key is specified which is not present in the ConfigMap, // the volume setup will error. Paths must be relative and may not contain // the '..' path or start with '..'. + // +optional repeated KeyToPath items = 2; // Optional: mode bits to use on created files by default. Must be a @@ -283,6 +313,7 @@ message ConfigMapVolumeSource { // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional optional int32 defaultMode = 3; } @@ -295,6 +326,7 @@ message Container { // Docker image name. // More info: http://kubernetes.io/docs/user-guide/images + // +optional optional string image = 2; // Entrypoint array. Not executed within a shell. @@ -305,6 +337,7 @@ message Container { // regardless of whether the variable exists or not. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands + // +optional repeated string command = 3; // Arguments to the entrypoint. @@ -315,12 +348,14 @@ message Container { // regardless of whether the variable exists or not. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands + // +optional repeated string args = 4; // 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. + // +optional optional string workingDir = 5; // List of ports to expose from the container. Exposing a port here gives @@ -330,35 +365,42 @@ message Container { // listening on the default "0.0.0.0" address inside a container will be // accessible from the network. // Cannot be updated. + // +optional repeated ContainerPort ports = 6; // List of environment variables to set in the container. // Cannot be updated. + // +optional repeated EnvVar env = 7; // Compute Resources required by this container. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources + // +optional optional ResourceRequirements resources = 8; // Pod volumes to mount into the container's filesystem. // Cannot be updated. + // +optional repeated VolumeMount volumeMounts = 9; // Periodic probe of container liveness. // Container will be restarted if the probe fails. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional optional Probe livenessProbe = 10; // Periodic probe of container service readiness. // Container will be removed from service endpoints if the probe fails. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional optional Probe readinessProbe = 11; // Actions that the management system should take in response to container lifecycle events. // Cannot be updated. + // +optional optional Lifecycle lifecycle = 12; // Optional: Path at which the file to which the container's termination message @@ -366,6 +408,7 @@ message Container { // Message written is intended to be brief final status, such as an assertion failure message. // Defaults to /dev/termination-log. // Cannot be updated. + // +optional optional string terminationMessagePath = 13; // Image pull policy. @@ -373,15 +416,18 @@ message Container { // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/images#updating-images + // +optional optional string imagePullPolicy = 14; // Security options the pod should run with. // More info: http://releases.k8s.io/HEAD/docs/design/security_context.md + // +optional optional SecurityContext securityContext = 15; // Whether this container should allocate a buffer for stdin in the container runtime. If this // is not set, reads from stdin in the container will always result in EOF. // Default is false. + // +optional optional bool stdin = 16; // Whether the container runtime should close the stdin channel after it has been opened by @@ -391,10 +437,12 @@ message Container { // at which time stdin is closed and remains closed until the container is restarted. If this // flag is false, a container processes that reads from stdin will never receive an EOF. // Default is false + // +optional optional bool stdinOnce = 17; // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. // Default is false. + // +optional optional bool tty = 18; } @@ -405,6 +453,7 @@ message ContainerImage { repeated string names = 1; // The size of the image in bytes. + // +optional optional int64 sizeBytes = 2; } @@ -413,12 +462,14 @@ message ContainerPort { // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each // named port in a pod must have a unique name. Name for the port that can be // referred to by services. + // +optional optional string name = 1; // Number of port to expose on the host. // If specified, this must be a valid port number, 0 < x < 65536. // If HostNetwork is specified, this must match ContainerPort. // Most containers do not need this. + // +optional optional int32 hostPort = 2; // Number of port to expose on the pod's IP address. @@ -427,9 +478,11 @@ message ContainerPort { // Protocol for port. Must be UDP or TCP. // Defaults to "TCP". + // +optional optional string protocol = 4; // What host IP to bind the external port to. + // +optional optional string hostIP = 5; } @@ -438,18 +491,22 @@ message ContainerPort { // If none of them is specified, the default one is ContainerStateWaiting. message ContainerState { // Details about a waiting container + // +optional optional ContainerStateWaiting waiting = 1; // Details about a running container + // +optional optional ContainerStateRunning running = 2; // Details about a terminated container + // +optional optional ContainerStateTerminated terminated = 3; } // ContainerStateRunning is a running state of a container. message ContainerStateRunning { // Time at which the container was last (re-)started + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time startedAt = 1; } @@ -459,30 +516,38 @@ message ContainerStateTerminated { optional int32 exitCode = 1; // Signal from the last termination of the container + // +optional optional int32 signal = 2; // (brief) reason from the last termination of the container + // +optional optional string reason = 3; // Message regarding the last termination of the container + // +optional optional string message = 4; // Time at which previous execution of the container started + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time startedAt = 5; // Time at which the container last terminated + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time finishedAt = 6; // Container's ID in the format 'docker://' + // +optional optional string containerID = 7; } // ContainerStateWaiting is a waiting state of a container. message ContainerStateWaiting { // (brief) reason the container is not yet running. + // +optional optional string reason = 1; // Message regarding why the container is not yet running. + // +optional optional string message = 2; } @@ -493,9 +558,11 @@ message ContainerStatus { optional string name = 1; // Details about the container's current condition. + // +optional optional ContainerState state = 2; // Details about the container's last termination condition. + // +optional optional ContainerState lastState = 3; // Specifies whether the container has passed its readiness probe. @@ -517,6 +584,7 @@ message ContainerStatus { // Container's ID in the format 'docker://'. // More info: http://kubernetes.io/docs/user-guide/container-environment#container-information + // +optional optional string containerID = 8; } @@ -532,14 +600,17 @@ message DeleteOptions { // The value zero indicates delete immediately. If this value is nil, the default grace period for the // specified type will be used. // Defaults to a per object value if not specified. zero means delete immediately. + // +optional optional int64 gracePeriodSeconds = 1; // Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be // returned. + // +optional optional Preconditions preconditions = 2; // Should the dependent objects be orphaned. If true/false, the "orphan" // finalizer will be added to/removed from the object's finalizers list. + // +optional optional bool orphanDependents = 3; } @@ -549,16 +620,19 @@ message DownwardAPIVolumeFile { optional string path = 1; // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + // +optional optional ObjectFieldSelector fieldRef = 2; // Selects a resource of the container: only resources limits and requests // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional optional ResourceFieldSelector resourceFieldRef = 3; // Optional: mode bits to use on this file, must be a value between 0 // and 0777. If not specified, the volume defaultMode will be used. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional optional int32 mode = 4; } @@ -566,6 +640,7 @@ message DownwardAPIVolumeFile { // Downward API volumes support ownership management and SELinux relabeling. message DownwardAPIVolumeSource { // Items is a list of downward API volume file + // +optional repeated DownwardAPIVolumeFile items = 1; // Optional: mode bits to use on created files by default. Must be a @@ -573,6 +648,7 @@ message DownwardAPIVolumeSource { // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional optional int32 defaultMode = 2; } @@ -583,6 +659,7 @@ message EmptyDirVolumeSource { // The default is "" which means to use the node's default medium. // Must be an empty string (default) or Memory. // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + // +optional optional string medium = 1; } @@ -597,12 +674,15 @@ message EndpointAddress { optional string ip = 1; // The Hostname of this endpoint + // +optional optional string hostname = 3; // Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. + // +optional optional string nodeName = 4; // Reference to object providing the endpoint. + // +optional optional ObjectReference targetRef = 2; } @@ -611,6 +691,7 @@ message EndpointPort { // The name of this port (corresponds to ServicePort.Name). // Must be a DNS_LABEL. // Optional only if one port is defined. + // +optional optional string name = 1; // The port number of the endpoint. @@ -619,6 +700,7 @@ message EndpointPort { // The IP protocol for this port. // Must be UDP or TCP. // Default is TCP. + // +optional optional string protocol = 3; } @@ -635,14 +717,17 @@ message EndpointPort { message EndpointSubset { // IP addresses which offer the related ports that are marked as ready. These endpoints // should be considered safe for load balancers and clients to utilize. + // +optional repeated EndpointAddress addresses = 1; // IP addresses which offer the related ports but are not currently marked as ready // because they have not yet finished starting, have recently failed a readiness check, // or have recently failed a liveness check. + // +optional repeated EndpointAddress notReadyAddresses = 2; // Port numbers available on the related IP addresses. + // +optional repeated EndpointPort ports = 3; } @@ -661,6 +746,7 @@ message EndpointSubset { message Endpoints { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // The set of all endpoints is the union of all subsets. Addresses are placed into @@ -677,6 +763,7 @@ message Endpoints { message EndpointsList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of endpoints. @@ -696,9 +783,11 @@ message EnvVar { // references will never be expanded, regardless of whether the variable // exists or not. // Defaults to "". + // +optional optional string value = 2; // Source for the environment variable's value. Cannot be used if value is not empty. + // +optional optional EnvVarSource valueFrom = 3; } @@ -706,16 +795,20 @@ message EnvVar { message EnvVarSource { // Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, // spec.nodeName, spec.serviceAccountName, status.podIP. + // +optional optional ObjectFieldSelector fieldRef = 1; // Selects a resource of the container: only resources limits and requests // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional optional ResourceFieldSelector resourceFieldRef = 2; // Selects a key of a ConfigMap. + // +optional optional ConfigMapKeySelector configMapKeyRef = 3; // Selects a key of a secret in the pod's namespace + // +optional optional SecretKeySelector secretKeyRef = 4; } @@ -732,25 +825,32 @@ message Event { // This should be a short, machine understandable string that gives the reason // for the transition into the object's current status. // TODO: provide exact specification for format. + // +optional optional string reason = 3; // A human-readable description of the status of this operation. // TODO: decide on maximum length. + // +optional optional string message = 4; // The component reporting this event. Should be a short machine understandable string. + // +optional optional EventSource source = 5; // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time firstTimestamp = 6; // The time at which the most recent occurrence of this event was recorded. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTimestamp = 7; // The number of times this event has occurred. + // +optional optional int32 count = 8; // Type of this event (Normal, Warning), new types could be added in the future + // +optional optional string type = 9; } @@ -758,6 +858,7 @@ message Event { message EventList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of events @@ -767,9 +868,11 @@ message EventList { // EventSource contains information for an event. message EventSource { // Component from which the event is generated. + // +optional optional string component = 1; // Node name on which the event is generated. + // +optional optional string host = 2; } @@ -780,6 +883,7 @@ message ExecAction { // not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use // a shell, you need to explicitly call out to that shell. // Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + // +optional repeated string command = 1; } @@ -806,10 +910,12 @@ message FCVolumeSource { // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional optional string fsType = 3; // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional optional bool readOnly = 4; } @@ -822,6 +928,7 @@ message FlexVolumeSource { // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + // +optional optional string fsType = 2; // Optional: SecretRef is reference to the secret object containing @@ -829,13 +936,16 @@ message FlexVolumeSource { // empty if no secret object is specified. If the secret object // contains more than one secret, all secrets are passed to the plugin // scripts. + // +optional optional LocalObjectReference secretRef = 3; // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional optional bool readOnly = 4; // Optional: Extra command options if any. + // +optional map options = 5; } @@ -845,9 +955,11 @@ message FlexVolumeSource { message FlockerVolumeSource { // Name of the dataset stored as metadata -> name on the dataset for Flocker // should be considered as deprecated + // +optional optional string datasetName = 1; // UUID of the dataset. This is unique identifier of a Flocker dataset + // +optional optional string datasetUUID = 2; } @@ -867,6 +979,7 @@ message GCEPersistentDiskVolumeSource { // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional optional string fsType = 2; // The partition in the volume that you want to mount. @@ -874,11 +987,13 @@ message GCEPersistentDiskVolumeSource { // Examples: For volume /dev/sda1, you specify the partition as "1". // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional optional int32 partition = 3; // ReadOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional optional bool readOnly = 4; } @@ -890,12 +1005,14 @@ message GitRepoVolumeSource { optional string repository = 1; // Commit hash for the specified revision. + // +optional optional string revision = 2; // Target directory name. // Must not contain or start with '..'. If '.' is supplied, the volume directory will be the // git repository. Otherwise, if specified, the volume will contain the git repository in // the subdirectory with the given name. + // +optional optional string directory = 3; } @@ -913,12 +1030,14 @@ message GlusterfsVolumeSource { // ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. // Defaults to false. // More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + // +optional optional bool readOnly = 3; } // HTTPGetAction describes an action based on HTTP Get requests. message HTTPGetAction { // Path to access on the HTTP server. + // +optional optional string path = 1; // Name or number of the port to access on the container. @@ -928,13 +1047,16 @@ message HTTPGetAction { // Host name to connect to, defaults to the pod IP. You probably want to set // "Host" in httpHeaders instead. + // +optional optional string host = 3; // Scheme to use for connecting to the host. // Defaults to HTTP. + // +optional optional string scheme = 4; // Custom headers to set in the request. HTTP allows repeated headers. + // +optional repeated HTTPHeader httpHeaders = 5; } @@ -952,14 +1074,17 @@ message HTTPHeader { message Handler { // One and only one of the following should be specified. // Exec specifies the action to take. + // +optional optional ExecAction exec = 1; // HTTPGet specifies the http request to perform. + // +optional optional HTTPGetAction httpGet = 2; // TCPSocket specifies an action involving a TCP port. // TCP hooks not yet supported // TODO: implement a realistic TCP lifecycle hook + // +optional optional TCPSocketAction tcpSocket = 3; } @@ -986,6 +1111,7 @@ message ISCSIVolumeSource { optional int32 lun = 3; // Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. + // +optional optional string iscsiInterface = 4; // Filesystem type of the volume that you want to mount. @@ -993,10 +1119,12 @@ message ISCSIVolumeSource { // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#iscsi // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional optional string fsType = 5; // ReadOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. + // +optional optional bool readOnly = 6; } @@ -1015,6 +1143,7 @@ message KeyToPath { // and 0777. If not specified, the volume defaultMode will be used. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional optional int32 mode = 3; } @@ -1026,6 +1155,7 @@ message Lifecycle { // the container is terminated and restarted according to its restart policy. // Other management of the container blocks until the hook completes. // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details + // +optional optional Handler postStart = 1; // PreStop is called immediately before a container is terminated. @@ -1034,6 +1164,7 @@ message Lifecycle { // Regardless of the outcome of the handler, the container is eventually terminated. // Other management of the container blocks until the hook completes. // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details + // +optional optional Handler preStop = 2; } @@ -1041,31 +1172,39 @@ message Lifecycle { message LimitRange { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Spec defines the limits enforced. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional LimitRangeSpec spec = 2; } // LimitRangeItem defines a min/max usage limit for any resource that matches on kind. message LimitRangeItem { // Type of resource that this limit applies to. + // +optional optional string type = 1; // Max usage constraints on this kind by resource name. + // +optional map max = 2; // Min usage constraints on this kind by resource name. + // +optional map min = 3; // Default resource requirement limit value by resource name if resource limit is omitted. + // +optional map default = 4; // DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. + // +optional map defaultRequest = 5; // MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. + // +optional map maxLimitRequestRatio = 6; } @@ -1073,6 +1212,7 @@ message LimitRangeItem { message LimitRangeList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of LimitRange objects. @@ -1090,6 +1230,7 @@ message LimitRangeSpec { message List { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of objects @@ -1100,21 +1241,26 @@ message List { message ListOptions { // A selector to restrict the list of returned objects by their labels. // Defaults to everything. + // +optional optional string labelSelector = 1; // A selector to restrict the list of returned objects by their fields. // Defaults to everything. + // +optional optional string fieldSelector = 2; // Watch for changes to the described resources and return them as a stream of // add, update, and remove notifications. Specify resourceVersion. + // +optional optional bool watch = 3; // When specified with a watch call, shows changes that occur after that particular version of a resource. // Defaults to changes from the beginning of history. + // +optional optional string resourceVersion = 4; // Timeout for the list/watch call. + // +optional optional int64 timeoutSeconds = 5; } @@ -1123,10 +1269,12 @@ message ListOptions { message LoadBalancerIngress { // IP is set for load-balancer ingress points that are IP based // (typically GCE or OpenStack load-balancers) + // +optional optional string ip = 1; // Hostname is set for load-balancer ingress points that are DNS based // (typically AWS load-balancers) + // +optional optional string hostname = 2; } @@ -1134,6 +1282,7 @@ message LoadBalancerIngress { message LoadBalancerStatus { // Ingress is a list containing ingress points for the load-balancer. // Traffic intended for the service should be sent to these ingress points. + // +optional repeated LoadBalancerIngress ingress = 1; } @@ -1143,6 +1292,7 @@ message LocalObjectReference { // Name of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#names // TODO: Add other useful fields. apiVersion, kind, uid? + // +optional optional string name = 1; } @@ -1161,6 +1311,7 @@ message NFSVolumeSource { // the NFS export to be mounted with read-only permissions. // Defaults to false. // More info: http://kubernetes.io/docs/user-guide/volumes#nfs + // +optional optional bool readOnly = 3; } @@ -1169,14 +1320,17 @@ message NFSVolumeSource { message Namespace { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Spec defines the behavior of the Namespace. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional NamespaceSpec spec = 2; // Status describes the current status of a Namespace. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional NamespaceStatus status = 3; } @@ -1184,6 +1338,7 @@ message Namespace { message NamespaceList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of Namespace objects in the list. @@ -1195,6 +1350,7 @@ message NamespaceList { message NamespaceSpec { // Finalizers is an opaque list of values that must be empty to permanently remove object from storage. // More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers + // +optional repeated string finalizers = 1; } @@ -1202,6 +1358,7 @@ message NamespaceSpec { message NamespaceStatus { // Phase is the current lifecycle phase of the namespace. // More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases + // +optional optional string phase = 1; } @@ -1210,16 +1367,19 @@ message NamespaceStatus { message Node { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Spec defines the behavior of a node. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional NodeSpec spec = 2; // Most recently observed status of the node. // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional NodeStatus status = 3; } @@ -1239,6 +1399,7 @@ message NodeAffinity { // If the affinity requirements specified by this field cease to be met // at some point during pod execution (e.g. due to an update), the system // may or may not try to eventually evict the pod from its node. + // +optional optional NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1; // The scheduler will prefer to schedule pods to nodes that satisfy @@ -1250,6 +1411,7 @@ message NodeAffinity { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node matches the corresponding matchExpressions; the // node(s) with the highest sum are the most preferred. + // +optional repeated PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2; } @@ -1262,21 +1424,26 @@ message NodeCondition { optional string status = 2; // Last time we got an update on a given condition. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastHeartbeatTime = 3; // Last time the condition transit from one status to another. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. + // +optional optional string reason = 5; // Human readable message indicating details about last transition. + // +optional optional string message = 6; } // NodeDaemonEndpoints lists ports opened by daemons running on the Node. message NodeDaemonEndpoints { // Endpoint on which Kubelet is listening. + // +optional optional DaemonEndpoint kubeletEndpoint = 1; } @@ -1284,6 +1451,7 @@ message NodeDaemonEndpoints { message NodeList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of nodes @@ -1293,6 +1461,7 @@ message NodeList { // NodeProxyOptions is the query options to a Node's proxy call. message NodeProxyOptions { // Path is the URL path to use for the current proxy request to node. + // +optional optional string path = 1; } @@ -1319,6 +1488,7 @@ message NodeSelectorRequirement { // the values array must be empty. If the operator is Gt or Lt, the values // array must have a single element, which will be interpreted as an integer. // This array is replaced during a strategic merge patch. + // +optional repeated string values = 3; } @@ -1331,17 +1501,21 @@ message NodeSelectorTerm { // NodeSpec describes the attributes that a node is created with. message NodeSpec { // PodCIDR represents the pod IP range assigned to the node. + // +optional optional string podCIDR = 1; // External ID of the node assigned by some machine database (e.g. a cloud provider). // Deprecated. + // +optional optional string externalID = 2; // ID of the node assigned by the cloud provider in the format: :// + // +optional optional string providerID = 3; // Unschedulable controls node schedulability of new pods. By default, node is schedulable. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration"` + // +optional optional bool unschedulable = 4; } @@ -1349,40 +1523,50 @@ message NodeSpec { message NodeStatus { // Capacity represents the total resources of a node. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. + // +optional map capacity = 1; // Allocatable represents the resources of a node that are available for scheduling. // Defaults to Capacity. + // +optional map allocatable = 2; // NodePhase is the recently observed lifecycle phase of the node. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase // The field is never populated, and now is deprecated. + // +optional optional string phase = 3; // Conditions is an array of current observed node conditions. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition + // +optional repeated NodeCondition conditions = 4; // List of addresses reachable to the node. // Queried from cloud provider, if available. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses + // +optional repeated NodeAddress addresses = 5; // Endpoints of daemons running on the Node. + // +optional optional NodeDaemonEndpoints daemonEndpoints = 6; // Set of ids/uuids to uniquely identify the node. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info + // +optional optional NodeSystemInfo nodeInfo = 7; // List of container images on this node + // +optional repeated ContainerImage images = 8; // List of attachable volumes in use (mounted) by the node. + // +optional repeated string volumesInUse = 9; // List of volumes that are attached to the node. + // +optional repeated AttachedVolume volumesAttached = 10; } @@ -1426,6 +1610,7 @@ message NodeSystemInfo { // ObjectFieldSelector selects an APIVersioned field of an object. message ObjectFieldSelector { // Version of the schema the FieldPath is written in terms of, defaults to "v1". + // +optional optional string apiVersion = 1; // Path of the field to select in the specified API version. @@ -1441,6 +1626,7 @@ message ObjectMeta { // definition. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/identifiers#names + // +optional optional string name = 1; // GenerateName is an optional prefix, used by the server, to generate a unique @@ -1458,6 +1644,7 @@ message ObjectMeta { // // Applied only if Name is not specified. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency + // +optional optional string generateName = 2; // Namespace defines the space within each name must be unique. An empty namespace is @@ -1468,11 +1655,13 @@ message ObjectMeta { // Must be a DNS_LABEL. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/namespaces + // +optional optional string namespace = 3; // SelfLink is a URL representing this object. // Populated by the system. // Read-only. + // +optional optional string selfLink = 4; // UID is the unique in time and space value for this object. It is typically generated by @@ -1482,6 +1671,7 @@ message ObjectMeta { // Populated by the system. // Read-only. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids + // +optional optional string uid = 5; // An opaque value that represents the internal version of this object that can @@ -1494,10 +1684,12 @@ message ObjectMeta { // Read-only. // Value must be treated as opaque by clients and . // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + // +optional optional string resourceVersion = 6; // A sequence number representing a specific generation of the desired state. // Populated by the system. Read-only. + // +optional optional int64 generation = 7; // CreationTimestamp is a timestamp representing the server time when this object was @@ -1508,6 +1700,7 @@ message ObjectMeta { // Read-only. // Null for lists. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time creationTimestamp = 8; // DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This @@ -1524,41 +1717,48 @@ message ObjectMeta { // Populated by the system when a graceful deletion is requested. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.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. // May only be shortened. // Read-only. + // +optional optional int64 deletionGracePeriodSeconds = 10; // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication controllers // and services. // More info: http://kubernetes.io/docs/user-guide/labels + // +optional map labels = 11; // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // More info: http://kubernetes.io/docs/user-guide/annotations + // +optional map annotations = 12; // List of objects depended by this object. If ALL objects in the list have // been deleted, this object will be garbage collected. If this object is managed by a controller, // 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 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 // from the list. If the deletionTimestamp of the object is non-nil, entries // in this list can only be removed. + // +optional repeated string finalizers = 14; // The name of the cluster which the object belongs to. // This is used to distinguish resources with same name and namespace in different clusters. // This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. + // +optional optional string clusterName = 15; } @@ -1566,25 +1766,31 @@ message ObjectMeta { message ObjectReference { // Kind of the referent. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional string kind = 1; // Namespace of the referent. // More info: http://kubernetes.io/docs/user-guide/namespaces + // +optional optional string namespace = 2; // Name of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#names + // +optional optional string name = 3; // UID of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids + // +optional optional string uid = 4; // API version of the referent. + // +optional optional string apiVersion = 5; // Specific resourceVersion to which this reference is made, if any. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + // +optional optional string resourceVersion = 6; // If referring to a piece of an object instead of an entire object, this string @@ -1595,6 +1801,7 @@ message ObjectReference { // index 2 in this pod). This syntax is chosen only to have some well-defined way of // referencing a part of an object. // TODO: this design is not final and this field is subject to change in the future. + // +optional optional string fieldPath = 7; } @@ -1618,6 +1825,7 @@ message OwnerReference { optional string uid = 4; // If true, this reference points to the managing controller. + // +optional optional bool controller = 6; } @@ -1627,17 +1835,20 @@ message OwnerReference { message PersistentVolume { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Spec defines a specification of a persistent volume owned by the cluster. // Provisioned by an administrator. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes + // +optional optional PersistentVolumeSpec spec = 2; // Status represents the current information/status for the persistent volume. // Populated by the system. // Read-only. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes + // +optional optional PersistentVolumeStatus status = 3; } @@ -1645,15 +1856,18 @@ message PersistentVolume { message PersistentVolumeClaim { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Spec defines the desired characteristics of a volume requested by a pod author. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + // +optional optional PersistentVolumeClaimSpec spec = 2; // Status represents the current information/status of a persistent volume claim. // Read-only. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + // +optional optional PersistentVolumeClaimStatus status = 3; } @@ -1661,6 +1875,7 @@ message PersistentVolumeClaim { message PersistentVolumeClaimList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // A list of persistent volume claims. @@ -1673,29 +1888,36 @@ message PersistentVolumeClaimList { message PersistentVolumeClaimSpec { // AccessModes contains the desired access modes the volume should have. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 + // +optional repeated string accessModes = 1; // A label query over volumes to consider for binding. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; // Resources represents the minimum resources the volume should have. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources + // +optional optional ResourceRequirements resources = 2; // VolumeName is the binding reference to the PersistentVolume backing this claim. + // +optional optional string volumeName = 3; } // PersistentVolumeClaimStatus is the current status of a persistent volume claim. message PersistentVolumeClaimStatus { // Phase represents the current phase of PersistentVolumeClaim. + // +optional optional string phase = 1; // AccessModes contains the actual access modes the volume backing the PVC has. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 + // +optional repeated string accessModes = 2; // Represents the actual resources of the underlying volume. + // +optional map capacity = 3; } @@ -1710,6 +1932,7 @@ message PersistentVolumeClaimVolumeSource { // Will force the ReadOnly setting in VolumeMounts. // Default false. + // +optional optional bool readOnly = 2; } @@ -1717,6 +1940,7 @@ message PersistentVolumeClaimVolumeSource { message PersistentVolumeList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of persistent volumes. @@ -1730,11 +1954,13 @@ message PersistentVolumeSource { // GCEPersistentDisk represents a GCE Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. Provisioned by an admin. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional optional GCEPersistentDiskVolumeSource gcePersistentDisk = 1; // AWSElasticBlockStore represents an AWS Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + // +optional optional AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2; // HostPath represents a directory on the host. @@ -1742,53 +1968,67 @@ message PersistentVolumeSource { // This is useful for single-node development and testing only! // On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + // +optional optional HostPathVolumeSource hostPath = 3; // Glusterfs represents a Glusterfs volume that is attached to a host and // exposed to the pod. Provisioned by an admin. // More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + // +optional optional GlusterfsVolumeSource glusterfs = 4; // NFS represents an NFS mount on the host. Provisioned by an admin. // More info: http://kubernetes.io/docs/user-guide/volumes#nfs + // +optional optional NFSVolumeSource nfs = 5; // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + // +optional optional RBDVolumeSource rbd = 6; // ISCSI represents an ISCSI Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. Provisioned by an admin. + // +optional optional ISCSIVolumeSource iscsi = 7; // Cinder represents a cinder volume attached and mounted on kubelets host machine // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional optional CinderVolumeSource cinder = 8; // CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional optional CephFSVolumeSource cephfs = 9; // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional optional FCVolumeSource fc = 10; // Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running + // +optional optional FlockerVolumeSource flocker = 11; // FlexVolume represents a generic volume resource that is // provisioned/attached using an exec based plugin. This is an // alpha feature and may change in future. + // +optional optional FlexVolumeSource flexVolume = 12; // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional optional AzureFileVolumeSource azureFile = 13; // VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional optional VsphereVirtualDiskVolumeSource vsphereVolume = 14; // Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional optional QuobyteVolumeSource quobyte = 15; // AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional optional AzureDiskVolumeSource azureDisk = 16; } @@ -1796,6 +2036,7 @@ message PersistentVolumeSource { message PersistentVolumeSpec { // A description of the persistent volume's resources and capacity. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity + // +optional map capacity = 1; // The actual volume backing the persistent volume. @@ -1803,18 +2044,21 @@ message PersistentVolumeSpec { // AccessModes contains all ways the volume can be mounted. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes + // +optional repeated string accessModes = 3; // ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. // Expected to be non-nil when bound. // claim.VolumeName is the authoritative bind between PV and PVC. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding + // +optional optional ObjectReference claimRef = 4; // What happens to a persistent volume when released from its claim. // Valid options are Retain (default) and Recycle. // Recycling must be supported by the volume plugin underlying this persistent volume. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy + // +optional optional string persistentVolumeReclaimPolicy = 5; } @@ -1822,13 +2066,16 @@ message PersistentVolumeSpec { message PersistentVolumeStatus { // Phase indicates if a volume is available, bound to a claim, or released by a claim. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase + // +optional optional string phase = 1; // A human-readable message indicating details about why the volume is in this state. + // +optional optional string message = 2; // Reason is a brief CamelCase string that describes any failure and is meant // for machine parsing and tidy display in the CLI. + // +optional optional string reason = 3; } @@ -1837,10 +2084,12 @@ message PersistentVolumeStatus { message Pod { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Specification of the desired behavior of the pod. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional PodSpec spec = 2; // Most recently observed status of the pod. @@ -1848,6 +2097,7 @@ message Pod { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional PodStatus status = 3; } @@ -1861,6 +2111,7 @@ message PodAffinity { // system will try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional // RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at // scheduling time, the pod will not be scheduled onto the node. @@ -1869,6 +2120,7 @@ message PodAffinity { // system may or may not try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional repeated PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1; // The scheduler will prefer to schedule pods to nodes that satisfy @@ -1880,6 +2132,7 @@ message PodAffinity { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the // node(s) with the highest sum are the most preferred. + // +optional repeated WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2; } @@ -1891,6 +2144,7 @@ message PodAffinity { // a pod of the set of pods is running message PodAffinityTerm { // A label query over a set of resources, in this case pods. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector labelSelector = 1; // namespaces specifies which namespaces the labelSelector applies to (matches against); @@ -1906,6 +2160,7 @@ message PodAffinityTerm { // For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as "all topologies" // ("all topologies" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); // for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed. + // +optional optional string topologyKey = 3; } @@ -1919,6 +2174,7 @@ message PodAntiAffinity { // system will try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional // RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the anti-affinity requirements specified by this field are not met at // scheduling time, the pod will not be scheduled onto the node. @@ -1927,6 +2183,7 @@ message PodAntiAffinity { // system may or may not try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional repeated PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1; // The scheduler will prefer to schedule pods to nodes that satisfy @@ -1938,6 +2195,7 @@ message PodAntiAffinity { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the // node(s) with the highest sum are the most preferred. + // +optional repeated WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2; } @@ -1948,24 +2206,29 @@ message PodAntiAffinity { message PodAttachOptions { // Stdin if true, redirects the standard input stream of the pod for this call. // Defaults to false. + // +optional optional bool stdin = 1; // Stdout if true indicates that stdout is to be redirected for the attach call. // Defaults to true. + // +optional optional bool stdout = 2; // Stderr if true indicates that stderr is to be redirected for the attach call. // Defaults to true. + // +optional optional bool stderr = 3; // TTY if true indicates that a tty will be allocated for the attach call. // This is passed through the container runtime so the tty // is allocated on the worker node by the container runtime. // Defaults to false. + // +optional optional bool tty = 4; // The container in which to execute the command. // Defaults to only container if there is only one container in the pod. + // +optional optional string container = 5; } @@ -1982,15 +2245,19 @@ message PodCondition { optional string status = 2; // Last time we probed the condition. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastProbeTime = 3; // Last time the condition transitioned from one status to another. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; // Unique, one-word, CamelCase reason for the condition's last transition. + // +optional optional string reason = 5; // Human-readable message indicating details about last transition. + // +optional optional string message = 6; } @@ -2001,22 +2268,27 @@ message PodCondition { message PodExecOptions { // Redirect the standard input stream of the pod for this call. // Defaults to false. + // +optional optional bool stdin = 1; // Redirect the standard output stream of the pod for this call. // Defaults to true. + // +optional optional bool stdout = 2; // Redirect the standard error stream of the pod for this call. // Defaults to true. + // +optional optional bool stderr = 3; // TTY if true indicates that a tty will be allocated for the exec call. // Defaults to false. + // +optional optional bool tty = 4; // Container in which to execute the command. // Defaults to only container if there is only one container in the pod. + // +optional optional string container = 5; // Command is the remote command to execute. argv array. Not executed within a shell. @@ -2027,6 +2299,7 @@ message PodExecOptions { message PodList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of pods. @@ -2037,43 +2310,52 @@ message PodList { // PodLogOptions is the query options for a Pod's logs REST call. message PodLogOptions { // The container for which to stream logs. Defaults to only container if there is one container in the pod. + // +optional optional string container = 1; // Follow the log stream of the pod. Defaults to false. + // +optional optional bool follow = 2; // Return previous terminated container logs. Defaults to false. + // +optional optional bool previous = 3; // A relative time in seconds before the current time from which to show logs. If this value // precedes the time a pod was started, only logs since the pod start will be returned. // If this value is in the future, no logs will be returned. // Only one of sinceSeconds or sinceTime may be specified. + // +optional optional int64 sinceSeconds = 4; // An RFC3339 timestamp from which to show logs. If this value // precedes the time a pod was started, only logs since the pod start will be returned. // 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.api.unversioned.Time sinceTime = 5; // If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line // of log output. Defaults to false. + // +optional optional bool timestamps = 6; // If set, the number of lines from the end of the logs to show. If not specified, // logs are shown from the creation of the container or sinceSeconds or sinceTime + // +optional optional int64 tailLines = 7; // If set, the number of bytes to read from the server before terminating the // log output. This may not display a complete final line of logging, and may return // slightly more or slightly less than the specified limit. + // +optional optional int64 limitBytes = 8; } // PodProxyOptions is the query options to a Pod's proxy call. message PodProxyOptions { // Path is the URL path to use for the current proxy request to pod. + // +optional optional string path = 1; } @@ -2086,6 +2368,7 @@ message PodSecurityContext { // container. May also be set in SecurityContext. If set in // both SecurityContext and PodSecurityContext, the value specified in SecurityContext // takes precedence for that container. + // +optional optional SELinuxOptions seLinuxOptions = 1; // The UID to run the entrypoint of the container process. @@ -2093,6 +2376,7 @@ message PodSecurityContext { // May also be set in SecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence // for that container. + // +optional optional int64 runAsUser = 2; // Indicates that the container must run as a non-root user. @@ -2101,11 +2385,13 @@ message PodSecurityContext { // If unset or false, no such validation will be performed. // May also be set in SecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional optional bool runAsNonRoot = 3; // A list of groups applied to the first process run in each container, in addition // to the container's primary GID. If unspecified, no groups will be added to // any container. + // +optional repeated int64 supplementalGroups = 4; // A special supplemental group that applies to all containers in a pod. @@ -2117,6 +2403,7 @@ message PodSecurityContext { // 3. The permission bits are OR'd with rw-rw---- // // If unset, the Kubelet will not modify the ownership and permissions of any volume. + // +optional optional int64 fsGroup = 5; } @@ -2124,6 +2411,7 @@ message PodSecurityContext { // Exactly one field should be set. message PodSignature { // Reference to controller whose pods should avoid this node. + // +optional optional OwnerReference podController = 1; } @@ -2131,6 +2419,7 @@ message PodSignature { message PodSpec { // List of volumes that can be mounted by containers belonging to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes + // +optional repeated Volume volumes = 1; // List of containers belonging to the pod. @@ -2144,6 +2433,7 @@ message PodSpec { // One of Always, OnFailure, Never. // Default to Always. // More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy + // +optional optional string restartPolicy = 3; // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. @@ -2153,69 +2443,83 @@ message PodSpec { // a termination signal and the time when the processes are forcibly halted with a kill signal. // Set this value longer than the expected cleanup time for your process. // Defaults to 30 seconds. + // +optional optional int64 terminationGracePeriodSeconds = 4; // Optional duration in seconds the pod may be active on the node relative to // StartTime before the system will actively try to mark it failed and kill associated containers. // Value must be a positive integer. + // +optional optional int64 activeDeadlineSeconds = 5; // Set DNS policy for containers within the pod. // One of 'ClusterFirst' or 'Default'. // Defaults to "ClusterFirst". + // +optional optional string dnsPolicy = 6; // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: http://kubernetes.io/docs/user-guide/node-selection/README + // +optional map nodeSelector = 7; // ServiceAccountName is the name of the ServiceAccount to use to run this pod. // More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md + // +optional optional string serviceAccountName = 8; // DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. // Deprecated: Use serviceAccountName instead. // +k8s:conversion-gen=false + // +optional optional string serviceAccount = 9; // NodeName is a request to schedule this pod onto a specific node. If it is non-empty, // the scheduler simply schedules this pod onto that node, assuming that it fits resource // requirements. + // +optional optional string nodeName = 10; // Host networking requested for this pod. Use the host's network namespace. // If this option is set, the ports that will be used must be specified. // Default to false. // +k8s:conversion-gen=false + // +optional optional bool hostNetwork = 11; // Use the host's pid namespace. // Optional: Default to false. // +k8s:conversion-gen=false + // +optional optional bool hostPID = 12; // Use the host's ipc namespace. // Optional: Default to false. // +k8s:conversion-gen=false + // +optional optional bool hostIPC = 13; // SecurityContext holds pod-level security attributes and common container settings. // Optional: Defaults to empty. See type description for default values of each field. + // +optional optional PodSecurityContext securityContext = 14; // ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. // If specified, these secrets will be passed to individual puller implementations for them to use. For example, // in the case of docker, only DockerConfig type secrets are honored. // More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + // +optional repeated LocalObjectReference imagePullSecrets = 15; // Specifies the hostname of the Pod // If not specified, the pod's hostname will be set to a system-defined value. + // +optional optional string hostname = 16; // If specified, the fully qualified Pod hostname will be "...svc.". // If not specified, the pod will not have a domainname at all. + // +optional optional string subdomain = 17; } @@ -2224,33 +2528,41 @@ message PodSpec { message PodStatus { // Current condition of the pod. // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase + // +optional optional string phase = 1; // Current service state of pod. // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions + // +optional repeated PodCondition conditions = 2; // A human readable message indicating details about why the pod is in this condition. + // +optional optional string message = 3; // A brief CamelCase message indicating details about why the pod is in this state. // e.g. 'OutOfDisk' + // +optional optional string reason = 4; // IP address of the host to which the pod is assigned. Empty if not yet scheduled. + // +optional optional string hostIP = 5; // IP address allocated to the pod. Routable at least within the cluster. // Empty if not yet allocated. + // +optional optional string podIP = 6; // 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.api.unversioned.Time startTime = 7; // The list has one entry per container in the manifest. Each entry is currently the output // of `docker inspect`. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses + // +optional repeated ContainerStatus containerStatuses = 8; } @@ -2258,6 +2570,7 @@ message PodStatus { message PodStatusResult { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Most recently observed status of the pod. @@ -2265,6 +2578,7 @@ message PodStatusResult { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional PodStatus status = 2; } @@ -2272,10 +2586,12 @@ message PodStatusResult { message PodTemplate { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Template defines the pods that will be created from this pod template. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional PodTemplateSpec template = 2; } @@ -2283,6 +2599,7 @@ message PodTemplate { message PodTemplateList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of pod templates @@ -2293,16 +2610,19 @@ message PodTemplateList { message PodTemplateSpec { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Specification of the desired behavior of the pod. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional PodSpec spec = 2; } // Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. message Preconditions { // Specifies the target UID. + // +optional optional string uid = 1; } @@ -2312,12 +2632,15 @@ message PreferAvoidPodsEntry { optional PodSignature podSignature = 1; // Time at which this entry was added to the list. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time evictionTime = 2; // (brief) reason why this entry was added to the list. + // +optional optional string reason = 3; // Human readable message indicating why this entry was added to the list. + // +optional optional string message = 4; } @@ -2339,23 +2662,28 @@ message Probe { // Number of seconds after the container has started before liveness probes are initiated. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional optional int32 initialDelaySeconds = 2; // Number of seconds after which the probe times out. // Defaults to 1 second. Minimum value is 1. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional optional int32 timeoutSeconds = 3; // How often (in seconds) to perform the probe. // Default to 10 seconds. Minimum value is 1. + // +optional optional int32 periodSeconds = 4; // Minimum consecutive successes for the probe to be considered successful after having failed. // Defaults to 1. Must be 1 for liveness. Minimum value is 1. + // +optional optional int32 successThreshold = 5; // Minimum consecutive failures for the probe to be considered failed after having succeeded. // Defaults to 3. Minimum value is 1. + // +optional optional int32 failureThreshold = 6; } @@ -2372,14 +2700,17 @@ message QuobyteVolumeSource { // ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. // Defaults to false. + // +optional optional bool readOnly = 3; // User to map volume access to // Defaults to serivceaccount user + // +optional optional string user = 4; // Group to map volume access to // Default is no group + // +optional optional string group = 5; } @@ -2399,32 +2730,38 @@ message RBDVolumeSource { // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#rbd // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional optional string fsType = 3; // The rados pool name. // Default is rbd. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. + // +optional optional string pool = 4; // The rados user name. // Default is admin. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional optional string user = 5; // Keyring is the path to key ring for RBDUser. // Default is /etc/ceph/keyring. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional optional string keyring = 6; // SecretRef is name of the authentication secret for RBDUser. If provided // overrides keyring. // Default is nil. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional optional LocalObjectReference secretRef = 7; // ReadOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional optional bool readOnly = 8; } @@ -2432,6 +2769,7 @@ message RBDVolumeSource { message RangeAllocation { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Range is string that identifies the range represented by 'data'. @@ -2446,10 +2784,12 @@ message ReplicationController { // 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 + // +optional optional ObjectMeta metadata = 1; // Spec defines the specification of the desired behavior of the replication controller. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ReplicationControllerSpec spec = 2; // Status is the most recently observed status of the replication controller. @@ -2457,6 +2797,7 @@ message ReplicationController { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ReplicationControllerStatus status = 3; } @@ -2468,23 +2809,24 @@ message ReplicationControllerCondition { // Status of the condition, one of True, False, Unknown. optional string status = 2; - // Last time we probed the condition. - optional k8s.io.kubernetes.pkg.api.unversioned.Time lastProbeTime = 3; - // The last time the condition transitioned from one status to another. - optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 3; // The reason for the condition's last transition. - optional string reason = 5; + // +optional + optional string reason = 4; // A human readable message indicating details about the transition. - optional string message = 6; + // +optional + optional string message = 5; } // ReplicationControllerList is a collection of replication controllers. message ReplicationControllerList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of replication controllers. @@ -2498,11 +2840,13 @@ message ReplicationControllerSpec { // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + // +optional optional int32 replicas = 1; // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional optional int32 minReadySeconds = 4; // Selector is a label query over pods that should match the Replicas count. @@ -2510,11 +2854,13 @@ message ReplicationControllerSpec { // Label keys and values that must match in order to be controlled by this replication // controller, if empty defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional map selector = 2; // Template is the object that describes the pod that will be created if // insufficient replicas are detected. This takes precedence over a TemplateRef. // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template + // +optional optional PodTemplateSpec template = 3; } @@ -2526,30 +2872,37 @@ message ReplicationControllerStatus { optional int32 replicas = 1; // The number of pods that have labels matching the labels of the pod template of the replication controller. + // +optional optional int32 fullyLabeledReplicas = 2; // The number of ready replicas for this replication controller. + // +optional optional int32 readyReplicas = 4; // The number of available replicas (ready for at least minReadySeconds) for this replication controller. + // +optional optional int32 availableReplicas = 5; // ObservedGeneration reflects the generation of the most recently observed replication controller. + // +optional optional int64 observedGeneration = 3; // Represents the latest available observations of a replication controller's current state. + // +optional repeated ReplicationControllerCondition conditions = 6; } // ResourceFieldSelector represents container resources (cpu, memory) and their output format message ResourceFieldSelector { // Container name: required for volumes, optional for env vars + // +optional optional string containerName = 1; // Required: resource to select optional string resource = 2; // Specifies the output format of the exposed resources, defaults to "1" + // +optional optional k8s.io.kubernetes.pkg.api.resource.Quantity divisor = 3; } @@ -2557,14 +2910,17 @@ message ResourceFieldSelector { message ResourceQuota { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Spec defines the desired quota. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ResourceQuotaSpec spec = 2; // Status defines the actual enforced quota and its current usage. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ResourceQuotaStatus status = 3; } @@ -2572,6 +2928,7 @@ message ResourceQuota { message ResourceQuotaList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of ResourceQuota objects. @@ -2583,10 +2940,12 @@ message ResourceQuotaList { message ResourceQuotaSpec { // Hard is the set of desired hard limits for each named resource. // More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota + // +optional map hard = 1; // A collection of filters that must match each object tracked by a quota. // If not specified, the quota matches all objects. + // +optional repeated string scopes = 2; } @@ -2594,9 +2953,11 @@ message ResourceQuotaSpec { message ResourceQuotaStatus { // Hard is the set of enforced hard limits for each named resource. // More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota + // +optional map hard = 1; // Used is the current observed total usage of the resource in the namespace. + // +optional map used = 2; } @@ -2604,27 +2965,33 @@ message ResourceQuotaStatus { message ResourceRequirements { // Limits describes the maximum amount of compute resources allowed. // More info: http://kubernetes.io/docs/user-guide/compute-resources/ + // +optional map limits = 1; // Requests describes the minimum amount of compute resources required. // If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, // otherwise to an implementation-defined value. // More info: http://kubernetes.io/docs/user-guide/compute-resources/ + // +optional map requests = 2; } // SELinuxOptions are the labels to be applied to the container message SELinuxOptions { // User is a SELinux user label that applies to the container. + // +optional optional string user = 1; // Role is a SELinux role label that applies to the container. + // +optional optional string role = 2; // Type is a SELinux type label that applies to the container. + // +optional optional string type = 3; // Level is SELinux level label that applies to the container. + // +optional optional string level = 4; } @@ -2633,6 +3000,7 @@ message SELinuxOptions { message Secret { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN @@ -2640,6 +3008,7 @@ message Secret { // The serialized form of the secret data is a base64 encoded string, // representing the arbitrary (possibly non-string) data value here. // Described in https://tools.ietf.org/html/rfc4648#section-4 + // +optional map data = 2; // stringData allows specifying non-binary secret data in string form. @@ -2647,9 +3016,11 @@ message Secret { // All keys and values are merged into the data field on write, overwriting any existing values. // It is never output when reading from the API. // +k8s:conversion-gen=false + // +optional map stringData = 4; // Used to facilitate programmatic handling of secret data. + // +optional optional string type = 3; } @@ -2666,6 +3037,7 @@ message SecretKeySelector { message SecretList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of secret objects. @@ -2681,6 +3053,7 @@ message SecretList { message SecretVolumeSource { // Name of the secret in the pod's namespace to use. // More info: http://kubernetes.io/docs/user-guide/volumes#secrets + // +optional optional string secretName = 1; // If unspecified, each key-value pair in the Data field of the referenced @@ -2690,6 +3063,7 @@ message SecretVolumeSource { // present. If a key is specified which is not present in the Secret, // the volume setup will error. Paths must be relative and may not contain // the '..' path or start with '..'. + // +optional repeated KeyToPath items = 2; // Optional: mode bits to use on created files by default. Must be a @@ -2697,6 +3071,7 @@ message SecretVolumeSource { // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional optional int32 defaultMode = 3; } @@ -2706,23 +3081,27 @@ message SecretVolumeSource { message SecurityContext { // The capabilities to add/drop when running containers. // Defaults to the default set of capabilities granted by the container runtime. + // +optional optional Capabilities capabilities = 1; // Run container in privileged mode. // Processes in privileged containers are essentially equivalent to root on the host. // Defaults to false. + // +optional optional bool privileged = 2; // The SELinux context to be applied to the container. // If unspecified, the container runtime will allocate a random SELinux context for each // container. May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional optional SELinuxOptions seLinuxOptions = 3; // The UID to run the entrypoint of the container process. // Defaults to user specified in image metadata if unspecified. // May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional optional int64 runAsUser = 4; // Indicates that the container must run as a non-root user. @@ -2731,16 +3110,19 @@ message SecurityContext { // If unset or false, no such validation will be performed. // May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional optional bool runAsNonRoot = 5; // Whether this container has a read-only root filesystem. // Default is false. + // +optional optional bool readOnlyRootFilesystem = 6; } // SerializedReference is a reference to serialized object. message SerializedReference { // The reference to an object in the system. + // +optional optional ObjectReference reference = 1; } @@ -2750,16 +3132,19 @@ message SerializedReference { message Service { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Spec defines the behavior of a service. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ServiceSpec spec = 2; // Most recently observed status of the service. // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ServiceStatus status = 3; } @@ -2770,16 +3155,19 @@ message Service { message ServiceAccount { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional ObjectMeta metadata = 1; // Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. // More info: http://kubernetes.io/docs/user-guide/secrets + // +optional repeated ObjectReference secrets = 2; // ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images // in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets // can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. // More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret + // +optional repeated LocalObjectReference imagePullSecrets = 3; } @@ -2787,6 +3175,7 @@ message ServiceAccount { message ServiceAccountList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of ServiceAccounts. @@ -2798,6 +3187,7 @@ message ServiceAccountList { message ServiceList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of services @@ -2810,10 +3200,12 @@ message ServicePort { // All ports within a ServiceSpec must have unique names. This maps to // the 'Name' field in EndpointPort objects. // Optional if only one ServicePort is defined on this service. + // +optional optional string name = 1; // The IP protocol for this port. Supports "TCP" and "UDP". // Default is TCP. + // +optional optional string protocol = 2; // The port that will be exposed by this service. @@ -2827,6 +3219,7 @@ message ServicePort { // This field is ignored for services with clusterIP=None, and should be // omitted or set equal to the 'port' field. // More info: http://kubernetes.io/docs/user-guide/services#defining-a-service + // +optional optional k8s.io.kubernetes.pkg.util.intstr.IntOrString targetPort = 4; // The port on each node on which this service is exposed when type=NodePort or LoadBalancer. @@ -2834,6 +3227,7 @@ message ServicePort { // if unused or else creation of the service will fail. // Default is to auto-allocate a port if the ServiceType of this Service requires one. // More info: http://kubernetes.io/docs/user-guide/services#type--nodeport + // +optional optional int32 nodePort = 5; } @@ -2844,6 +3238,7 @@ message ServiceProxyOptions { // For example, the whole request URL is // http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. // Path is _search?q=user:kimchy. + // +optional optional string path = 1; } @@ -2859,6 +3254,7 @@ message ServiceSpec { // modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. // Ignored if type is ExternalName. // More info: http://kubernetes.io/docs/user-guide/services#overview + // +optional map selector = 2; // clusterIP is the IP address of the service and is usually assigned @@ -2870,6 +3266,7 @@ message ServiceSpec { // Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if // type is ExternalName. // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + // +optional optional string clusterIP = 3; // type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -2886,6 +3283,7 @@ message ServiceSpec { // external load-balancer (if supported in the current cloud) which routes // to the clusterIP. // More info: http://kubernetes.io/docs/user-guide/services#overview + // +optional optional string type = 4; // externalIPs is a list of IP addresses for which nodes in the cluster @@ -2895,6 +3293,7 @@ message ServiceSpec { // that are not part of the Kubernetes system. A previous form of this // functionality exists as the deprecatedPublicIPs field. When using this // field, callers should also clear the deprecatedPublicIPs field. + // +optional repeated string externalIPs = 5; // deprecatedPublicIPs is deprecated and replaced by the externalIPs field @@ -2903,6 +3302,7 @@ message ServiceSpec { // any new API revisions. If both deprecatedPublicIPs *and* externalIPs are // set, deprecatedPublicIPs is used. // +k8s:conversion-gen=false + // +optional repeated string deprecatedPublicIPs = 6; // Supports "ClientIP" and "None". Used to maintain session affinity. @@ -2910,6 +3310,7 @@ message ServiceSpec { // Must be ClientIP or None. // Defaults to None. // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + // +optional optional string sessionAffinity = 7; // Only applies to Service Type: LoadBalancer @@ -2917,17 +3318,20 @@ message ServiceSpec { // This feature depends on whether the underlying cloud-provider supports specifying // the loadBalancerIP when a load balancer is created. // This field will be ignored if the cloud-provider does not support the feature. + // +optional optional string loadBalancerIP = 8; // If specified and supported by the platform, this will restrict traffic through the cloud-provider // load-balancer will be restricted to the specified client IPs. This field will be ignored if the // cloud-provider does not support the feature." // More info: http://kubernetes.io/docs/user-guide/services-firewalls + // +optional repeated string loadBalancerSourceRanges = 9; // externalName is the external reference that kubedns or equivalent will // return as a CNAME record for this service. No proxying will be involved. // Must be a valid DNS name and requires Type to be ExternalName. + // +optional optional string externalName = 10; } @@ -2935,6 +3339,7 @@ message ServiceSpec { message ServiceStatus { // LoadBalancer contains the current status of the load-balancer, // if one is present. + // +optional optional LoadBalancerStatus loadBalancer = 1; } @@ -2953,6 +3358,7 @@ message Taint { optional string key = 1; // Required. The taint value corresponding to the taint key. + // +optional optional string value = 2; // Required. The effect of the taint on pods @@ -2965,20 +3371,24 @@ message Taint { // the triple using the matching operator . message Toleration { // Required. Key is the taint key that the toleration applies to. + // +optional optional string key = 1; // operator represents a key's relationship to the value. // Valid operators are Exists and Equal. Defaults to Equal. // Exists is equivalent to wildcard for value, so that a pod can // tolerate all taints of a particular category. + // +optional optional string operator = 2; // Value is the taint value the toleration matches to. // If the operator is Exists, the value should be empty, otherwise just a regular string. + // +optional optional string value = 3; // Effect indicates the taint effect to match. Empty means match all taint effects. // When specified, allowed values are NoSchedule and PreferNoSchedule. + // +optional optional string effect = 4; } @@ -3002,6 +3412,7 @@ message VolumeMount { // Mounted read-only if true, read-write otherwise (false or unspecified). // Defaults to false. + // +optional optional bool readOnly = 2; // Path within the container at which the volume should be mounted. Must @@ -3010,6 +3421,7 @@ message VolumeMount { // Path within the volume from which the container's volume should be mounted. // Defaults to "" (volume's root). + // +optional optional string subPath = 4; } @@ -3024,85 +3436,107 @@ message VolumeSource { // --- // TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not // mount host directories as read/write. + // +optional optional HostPathVolumeSource hostPath = 1; // EmptyDir represents a temporary directory that shares a pod's lifetime. // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + // +optional optional EmptyDirVolumeSource emptyDir = 2; // GCEPersistentDisk represents a GCE Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional optional GCEPersistentDiskVolumeSource gcePersistentDisk = 3; // AWSElasticBlockStore represents an AWS Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + // +optional optional AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4; // GitRepo represents a git repository at a particular revision. + // +optional optional GitRepoVolumeSource gitRepo = 5; // Secret represents a secret that should populate this volume. // More info: http://kubernetes.io/docs/user-guide/volumes#secrets + // +optional optional SecretVolumeSource secret = 6; // NFS represents an NFS mount on the host that shares a pod's lifetime // More info: http://kubernetes.io/docs/user-guide/volumes#nfs + // +optional optional NFSVolumeSource nfs = 7; // ISCSI represents an ISCSI Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md + // +optional optional ISCSIVolumeSource iscsi = 8; // Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. // More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + // +optional optional GlusterfsVolumeSource glusterfs = 9; // PersistentVolumeClaimVolumeSource represents a reference to a // PersistentVolumeClaim in the same namespace. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + // +optional optional PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10; // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + // +optional optional RBDVolumeSource rbd = 11; // FlexVolume represents a generic volume resource that is // provisioned/attached using an exec based plugin. This is an // alpha feature and may change in future. + // +optional optional FlexVolumeSource flexVolume = 12; // Cinder represents a cinder volume attached and mounted on kubelets host machine // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional optional CinderVolumeSource cinder = 13; // CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional optional CephFSVolumeSource cephfs = 14; // Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + // +optional optional FlockerVolumeSource flocker = 15; // DownwardAPI represents downward API about the pod that should populate this volume + // +optional optional DownwardAPIVolumeSource downwardAPI = 16; // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional optional FCVolumeSource fc = 17; // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional optional AzureFileVolumeSource azureFile = 18; // ConfigMap represents a configMap that should populate this volume + // +optional optional ConfigMapVolumeSource configMap = 19; // VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional optional VsphereVirtualDiskVolumeSource vsphereVolume = 20; // Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional optional QuobyteVolumeSource quobyte = 21; // AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional optional AzureDiskVolumeSource azureDisk = 22; } @@ -3114,6 +3548,7 @@ message VsphereVirtualDiskVolumeSource { // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional optional string fsType = 2; } diff --git a/pkg/api/v1/types.generated.go b/pkg/api/v1/types.generated.go index 10abaaaa..ba4de5b5 100644 --- a/pkg/api/v1/types.generated.go +++ b/pkg/api/v1/types.generated.go @@ -31821,16 +31821,15 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep2422 := !z.EncBinary() yy2arr2422 := z.EncBasicHandle().StructToArray - var yyq2422 [6]bool + var yyq2422 [5]bool _, _, _ = yysep2422, yyq2422, yy2arr2422 const yyr2422 bool = false yyq2422[2] = true - yyq2422[3] = true - yyq2422[4] = x.Reason != "" - yyq2422[5] = x.Message != "" + yyq2422[3] = x.Reason != "" + yyq2422[4] = x.Message != "" var yynn2422 int if yyr2422 || yy2arr2422 { - r.EncodeArrayStart(6) + r.EncodeArrayStart(5) } else { yynn2422 = 2 for _, b := range yyq2422 { @@ -31862,7 +31861,7 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2422 || yy2arr2422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2422[2] { - yy2426 := &x.LastProbeTime + yy2426 := &x.LastTransitionTime yym2427 := z.EncBinary() _ = yym2427 if false { @@ -31880,9 +31879,9 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq2422[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2428 := &x.LastProbeTime + yy2428 := &x.LastTransitionTime yym2429 := z.EncBinary() _ = yym2429 if false { @@ -31899,45 +31898,8 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2422 || yy2arr2422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2422[3] { - yy2431 := &x.LastTransitionTime - yym2432 := z.EncBinary() - _ = yym2432 - if false { - } else if z.HasExtensions() && z.EncExt(yy2431) { - } else if yym2432 { - z.EncBinaryMarshal(yy2431) - } else if !yym2432 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2431) - } else { - z.EncFallback(yy2431) - } - } else { - r.EncodeNil() - } - } else { - if yyq2422[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2433 := &x.LastTransitionTime - yym2434 := z.EncBinary() - _ = yym2434 - if false { - } else if z.HasExtensions() && z.EncExt(yy2433) { - } else if yym2434 { - z.EncBinaryMarshal(yy2433) - } else if !yym2434 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2433) - } else { - z.EncFallback(yy2433) - } - } - } - if yyr2422 || yy2arr2422 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2422[4] { - yym2436 := z.EncBinary() - _ = yym2436 + yym2431 := z.EncBinary() + _ = yym2431 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -31946,12 +31908,12 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2422[4] { + if yyq2422[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2437 := z.EncBinary() - _ = yym2437 + yym2432 := z.EncBinary() + _ = yym2432 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -31960,9 +31922,9 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2422 || yy2arr2422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2422[5] { - yym2439 := z.EncBinary() - _ = yym2439 + if yyq2422[4] { + yym2434 := z.EncBinary() + _ = yym2434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -31971,12 +31933,12 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2422[5] { + if yyq2422[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2440 := z.EncBinary() - _ = yym2440 + yym2435 := z.EncBinary() + _ = yym2435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -31996,25 +31958,25 @@ func (x *ReplicationControllerCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2441 := z.DecBinary() - _ = yym2441 + yym2436 := z.DecBinary() + _ = yym2436 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2442 := r.ContainerType() - if yyct2442 == codecSelferValueTypeMap1234 { - yyl2442 := r.ReadMapStart() - if yyl2442 == 0 { + yyct2437 := r.ContainerType() + if yyct2437 == codecSelferValueTypeMap1234 { + yyl2437 := r.ReadMapStart() + if yyl2437 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2442, d) + x.codecDecodeSelfFromMap(yyl2437, d) } - } else if yyct2442 == codecSelferValueTypeArray1234 { - yyl2442 := r.ReadArrayStart() - if yyl2442 == 0 { + } else if yyct2437 == codecSelferValueTypeArray1234 { + yyl2437 := r.ReadArrayStart() + if yyl2437 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2442, d) + x.codecDecodeSelfFromArray(yyl2437, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32026,12 +31988,12 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2443Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2443Slc - var yyhl2443 bool = l >= 0 - for yyj2443 := 0; ; yyj2443++ { - if yyhl2443 { - if yyj2443 >= l { + var yys2438Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2438Slc + var yyhl2438 bool = l >= 0 + for yyj2438 := 0; ; yyj2438++ { + if yyhl2438 { + if yyj2438 >= l { break } } else { @@ -32040,10 +32002,10 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2443Slc = r.DecodeBytes(yys2443Slc, true, true) - yys2443 := string(yys2443Slc) + yys2438Slc = r.DecodeBytes(yys2438Slc, true, true) + yys2438 := string(yys2438Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2443 { + switch yys2438 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -32056,38 +32018,21 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 } else { x.Status = ConditionStatus(r.DecodeString()) } - case "lastProbeTime": - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg2_unversioned.Time{} - } else { - yyv2446 := &x.LastProbeTime - yym2447 := z.DecBinary() - _ = yym2447 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2446) { - } else if yym2447 { - z.DecBinaryUnmarshal(yyv2446) - } else if !yym2447 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2446) - } else { - z.DecFallback(yyv2446, false) - } - } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2448 := &x.LastTransitionTime - yym2449 := z.DecBinary() - _ = yym2449 + yyv2441 := &x.LastTransitionTime + yym2442 := z.DecBinary() + _ = yym2442 if false { - } else if z.HasExtensions() && z.DecExt(yyv2448) { - } else if yym2449 { - z.DecBinaryUnmarshal(yyv2448) - } else if !yym2449 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2448) + } else if z.HasExtensions() && z.DecExt(yyv2441) { + } else if yym2442 { + z.DecBinaryUnmarshal(yyv2441) + } else if !yym2442 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2441) } else { - z.DecFallback(yyv2448, false) + z.DecFallback(yyv2441, false) } } case "reason": @@ -32103,9 +32048,9 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2443) - } // end switch yys2443 - } // end for yyj2443 + z.DecStructFieldNotFound(-1, yys2438) + } // end switch yys2438 + } // end for yyj2438 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32113,16 +32058,16 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2452 int - var yyb2452 bool - var yyhl2452 bool = l >= 0 - yyj2452++ - if yyhl2452 { - yyb2452 = yyj2452 > l + var yyj2445 int + var yyb2445 bool + var yyhl2445 bool = l >= 0 + yyj2445++ + if yyhl2445 { + yyb2445 = yyj2445 > l } else { - yyb2452 = r.CheckBreak() + yyb2445 = r.CheckBreak() } - if yyb2452 { + if yyb2445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32132,13 +32077,13 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code } else { x.Type = ReplicationControllerConditionType(r.DecodeString()) } - yyj2452++ - if yyhl2452 { - yyb2452 = yyj2452 > l + yyj2445++ + if yyhl2445 { + yyb2445 = yyj2445 > l } else { - yyb2452 = r.CheckBreak() + yyb2445 = r.CheckBreak() } - if yyb2452 { + if yyb2445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32148,40 +32093,13 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj2452++ - if yyhl2452 { - yyb2452 = yyj2452 > l + yyj2445++ + if yyhl2445 { + yyb2445 = yyj2445 > l } else { - yyb2452 = r.CheckBreak() + yyb2445 = r.CheckBreak() } - if yyb2452 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg2_unversioned.Time{} - } else { - yyv2455 := &x.LastProbeTime - yym2456 := z.DecBinary() - _ = yym2456 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2455) { - } else if yym2456 { - z.DecBinaryUnmarshal(yyv2455) - } else if !yym2456 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2455) - } else { - z.DecFallback(yyv2455, false) - } - } - yyj2452++ - if yyhl2452 { - yyb2452 = yyj2452 > l - } else { - yyb2452 = r.CheckBreak() - } - if yyb2452 { + if yyb2445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32189,26 +32107,26 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2457 := &x.LastTransitionTime - yym2458 := z.DecBinary() - _ = yym2458 + yyv2448 := &x.LastTransitionTime + yym2449 := z.DecBinary() + _ = yym2449 if false { - } else if z.HasExtensions() && z.DecExt(yyv2457) { - } else if yym2458 { - z.DecBinaryUnmarshal(yyv2457) - } else if !yym2458 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2457) + } else if z.HasExtensions() && z.DecExt(yyv2448) { + } else if yym2449 { + z.DecBinaryUnmarshal(yyv2448) + } else if !yym2449 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2448) } else { - z.DecFallback(yyv2457, false) + z.DecFallback(yyv2448, false) } } - yyj2452++ - if yyhl2452 { - yyb2452 = yyj2452 > l + yyj2445++ + if yyhl2445 { + yyb2445 = yyj2445 > l } else { - yyb2452 = r.CheckBreak() + yyb2445 = r.CheckBreak() } - if yyb2452 { + if yyb2445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32218,13 +32136,13 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code } else { x.Reason = string(r.DecodeString()) } - yyj2452++ - if yyhl2452 { - yyb2452 = yyj2452 > l + yyj2445++ + if yyhl2445 { + yyb2445 = yyj2445 > l } else { - yyb2452 = r.CheckBreak() + yyb2445 = r.CheckBreak() } - if yyb2452 { + if yyb2445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32235,17 +32153,17 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code x.Message = string(r.DecodeString()) } for { - yyj2452++ - if yyhl2452 { - yyb2452 = yyj2452 > l + yyj2445++ + if yyhl2445 { + yyb2445 = yyj2445 > l } else { - yyb2452 = r.CheckBreak() + yyb2445 = r.CheckBreak() } - if yyb2452 { + if yyb2445 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2452-1, "") + z.DecStructFieldNotFound(yyj2445-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32257,39 +32175,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2461 := z.EncBinary() - _ = yym2461 + yym2452 := z.EncBinary() + _ = yym2452 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2462 := !z.EncBinary() - yy2arr2462 := z.EncBasicHandle().StructToArray - var yyq2462 [5]bool - _, _, _ = yysep2462, yyq2462, yy2arr2462 - const yyr2462 bool = false - yyq2462[0] = x.Kind != "" - yyq2462[1] = x.APIVersion != "" - yyq2462[2] = true - yyq2462[3] = true - yyq2462[4] = true - var yynn2462 int - if yyr2462 || yy2arr2462 { + yysep2453 := !z.EncBinary() + yy2arr2453 := z.EncBasicHandle().StructToArray + var yyq2453 [5]bool + _, _, _ = yysep2453, yyq2453, yy2arr2453 + const yyr2453 bool = false + yyq2453[0] = x.Kind != "" + yyq2453[1] = x.APIVersion != "" + yyq2453[2] = true + yyq2453[3] = true + yyq2453[4] = true + var yynn2453 int + if yyr2453 || yy2arr2453 { r.EncodeArrayStart(5) } else { - yynn2462 = 0 - for _, b := range yyq2462 { + yynn2453 = 0 + for _, b := range yyq2453 { if b { - yynn2462++ + yynn2453++ } } - r.EncodeMapStart(yynn2462) - yynn2462 = 0 + r.EncodeMapStart(yynn2453) + yynn2453 = 0 } - if yyr2462 || yy2arr2462 { + if yyr2453 || yy2arr2453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2462[0] { - yym2464 := z.EncBinary() - _ = yym2464 + if yyq2453[0] { + yym2455 := z.EncBinary() + _ = yym2455 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32298,23 +32216,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2462[0] { + if yyq2453[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2465 := z.EncBinary() - _ = yym2465 + yym2456 := z.EncBinary() + _ = yym2456 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2462 || yy2arr2462 { + if yyr2453 || yy2arr2453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2462[1] { - yym2467 := z.EncBinary() - _ = yym2467 + if yyq2453[1] { + yym2458 := z.EncBinary() + _ = yym2458 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32323,70 +32241,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2462[1] { + if yyq2453[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2468 := z.EncBinary() - _ = yym2468 + yym2459 := z.EncBinary() + _ = yym2459 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2462 || yy2arr2462 { + if yyr2453 || yy2arr2453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2462[2] { - yy2470 := &x.ObjectMeta - yy2470.CodecEncodeSelf(e) + if yyq2453[2] { + yy2461 := &x.ObjectMeta + yy2461.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2462[2] { + if yyq2453[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2471 := &x.ObjectMeta - yy2471.CodecEncodeSelf(e) + yy2462 := &x.ObjectMeta + yy2462.CodecEncodeSelf(e) } } - if yyr2462 || yy2arr2462 { + if yyr2453 || yy2arr2453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2462[3] { - yy2473 := &x.Spec - yy2473.CodecEncodeSelf(e) + if yyq2453[3] { + yy2464 := &x.Spec + yy2464.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2462[3] { + if yyq2453[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2474 := &x.Spec - yy2474.CodecEncodeSelf(e) + yy2465 := &x.Spec + yy2465.CodecEncodeSelf(e) } } - if yyr2462 || yy2arr2462 { + if yyr2453 || yy2arr2453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2462[4] { - yy2476 := &x.Status - yy2476.CodecEncodeSelf(e) + if yyq2453[4] { + yy2467 := &x.Status + yy2467.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2462[4] { + if yyq2453[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2477 := &x.Status - yy2477.CodecEncodeSelf(e) + yy2468 := &x.Status + yy2468.CodecEncodeSelf(e) } } - if yyr2462 || yy2arr2462 { + if yyr2453 || yy2arr2453 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32399,25 +32317,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2478 := z.DecBinary() - _ = yym2478 + yym2469 := z.DecBinary() + _ = yym2469 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2479 := r.ContainerType() - if yyct2479 == codecSelferValueTypeMap1234 { - yyl2479 := r.ReadMapStart() - if yyl2479 == 0 { + yyct2470 := r.ContainerType() + if yyct2470 == codecSelferValueTypeMap1234 { + yyl2470 := r.ReadMapStart() + if yyl2470 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2479, d) + x.codecDecodeSelfFromMap(yyl2470, d) } - } else if yyct2479 == codecSelferValueTypeArray1234 { - yyl2479 := r.ReadArrayStart() - if yyl2479 == 0 { + } else if yyct2470 == codecSelferValueTypeArray1234 { + yyl2470 := r.ReadArrayStart() + if yyl2470 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2479, d) + x.codecDecodeSelfFromArray(yyl2470, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32429,12 +32347,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2480Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2480Slc - var yyhl2480 bool = l >= 0 - for yyj2480 := 0; ; yyj2480++ { - if yyhl2480 { - if yyj2480 >= l { + var yys2471Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2471Slc + var yyhl2471 bool = l >= 0 + for yyj2471 := 0; ; yyj2471++ { + if yyhl2471 { + if yyj2471 >= l { break } } else { @@ -32443,10 +32361,10 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2480Slc = r.DecodeBytes(yys2480Slc, true, true) - yys2480 := string(yys2480Slc) + yys2471Slc = r.DecodeBytes(yys2471Slc, true, true) + yys2471 := string(yys2471Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2480 { + switch yys2471 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32463,27 +32381,27 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2483 := &x.ObjectMeta - yyv2483.CodecDecodeSelf(d) + yyv2474 := &x.ObjectMeta + yyv2474.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2484 := &x.Spec - yyv2484.CodecDecodeSelf(d) + yyv2475 := &x.Spec + yyv2475.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2485 := &x.Status - yyv2485.CodecDecodeSelf(d) + yyv2476 := &x.Status + yyv2476.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2480) - } // end switch yys2480 - } // end for yyj2480 + z.DecStructFieldNotFound(-1, yys2471) + } // end switch yys2471 + } // end for yyj2471 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32491,16 +32409,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2486 int - var yyb2486 bool - var yyhl2486 bool = l >= 0 - yyj2486++ - if yyhl2486 { - yyb2486 = yyj2486 > l + var yyj2477 int + var yyb2477 bool + var yyhl2477 bool = l >= 0 + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2486 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2486 { + if yyb2477 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32510,13 +32428,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj2486++ - if yyhl2486 { - yyb2486 = yyj2486 > l + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2486 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2486 { + if yyb2477 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32526,13 +32444,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj2486++ - if yyhl2486 { - yyb2486 = yyj2486 > l + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2486 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2486 { + if yyb2477 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32540,16 +32458,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2489 := &x.ObjectMeta - yyv2489.CodecDecodeSelf(d) + yyv2480 := &x.ObjectMeta + yyv2480.CodecDecodeSelf(d) } - yyj2486++ - if yyhl2486 { - yyb2486 = yyj2486 > l + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2486 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2486 { + if yyb2477 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32557,16 +32475,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2490 := &x.Spec - yyv2490.CodecDecodeSelf(d) + yyv2481 := &x.Spec + yyv2481.CodecDecodeSelf(d) } - yyj2486++ - if yyhl2486 { - yyb2486 = yyj2486 > l + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2486 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2486 { + if yyb2477 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32574,21 +32492,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2491 := &x.Status - yyv2491.CodecDecodeSelf(d) + yyv2482 := &x.Status + yyv2482.CodecDecodeSelf(d) } for { - yyj2486++ - if yyhl2486 { - yyb2486 = yyj2486 > l + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2486 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2486 { + if yyb2477 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2486-1, "") + z.DecStructFieldNotFound(yyj2477-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32600,37 +32518,37 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2492 := z.EncBinary() - _ = yym2492 + yym2483 := z.EncBinary() + _ = yym2483 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2493 := !z.EncBinary() - yy2arr2493 := z.EncBasicHandle().StructToArray - var yyq2493 [4]bool - _, _, _ = yysep2493, yyq2493, yy2arr2493 - const yyr2493 bool = false - yyq2493[0] = x.Kind != "" - yyq2493[1] = x.APIVersion != "" - yyq2493[2] = true - var yynn2493 int - if yyr2493 || yy2arr2493 { + yysep2484 := !z.EncBinary() + yy2arr2484 := z.EncBasicHandle().StructToArray + var yyq2484 [4]bool + _, _, _ = yysep2484, yyq2484, yy2arr2484 + const yyr2484 bool = false + yyq2484[0] = x.Kind != "" + yyq2484[1] = x.APIVersion != "" + yyq2484[2] = true + var yynn2484 int + if yyr2484 || yy2arr2484 { r.EncodeArrayStart(4) } else { - yynn2493 = 1 - for _, b := range yyq2493 { + yynn2484 = 1 + for _, b := range yyq2484 { if b { - yynn2493++ + yynn2484++ } } - r.EncodeMapStart(yynn2493) - yynn2493 = 0 + r.EncodeMapStart(yynn2484) + yynn2484 = 0 } - if yyr2493 || yy2arr2493 { + if yyr2484 || yy2arr2484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[0] { - yym2495 := z.EncBinary() - _ = yym2495 + if yyq2484[0] { + yym2486 := z.EncBinary() + _ = yym2486 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32639,23 +32557,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2493[0] { + if yyq2484[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2496 := z.EncBinary() - _ = yym2496 + yym2487 := z.EncBinary() + _ = yym2487 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2493 || yy2arr2493 { + if yyr2484 || yy2arr2484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[1] { - yym2498 := z.EncBinary() - _ = yym2498 + if yyq2484[1] { + yym2489 := z.EncBinary() + _ = yym2489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32664,54 +32582,54 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2493[1] { + if yyq2484[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2499 := z.EncBinary() - _ = yym2499 + yym2490 := z.EncBinary() + _ = yym2490 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2493 || yy2arr2493 { + if yyr2484 || yy2arr2484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[2] { - yy2501 := &x.ListMeta - yym2502 := z.EncBinary() - _ = yym2502 + if yyq2484[2] { + yy2492 := &x.ListMeta + yym2493 := z.EncBinary() + _ = yym2493 if false { - } else if z.HasExtensions() && z.EncExt(yy2501) { + } else if z.HasExtensions() && z.EncExt(yy2492) { } else { - z.EncFallback(yy2501) + z.EncFallback(yy2492) } } else { r.EncodeNil() } } else { - if yyq2493[2] { + if yyq2484[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2503 := &x.ListMeta - yym2504 := z.EncBinary() - _ = yym2504 + yy2494 := &x.ListMeta + yym2495 := z.EncBinary() + _ = yym2495 if false { - } else if z.HasExtensions() && z.EncExt(yy2503) { + } else if z.HasExtensions() && z.EncExt(yy2494) { } else { - z.EncFallback(yy2503) + z.EncFallback(yy2494) } } } - if yyr2493 || yy2arr2493 { + if yyr2484 || yy2arr2484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2506 := z.EncBinary() - _ = yym2506 + yym2497 := z.EncBinary() + _ = yym2497 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -32724,15 +32642,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2507 := z.EncBinary() - _ = yym2507 + yym2498 := z.EncBinary() + _ = yym2498 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2493 || yy2arr2493 { + if yyr2484 || yy2arr2484 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32745,25 +32663,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2508 := z.DecBinary() - _ = yym2508 + yym2499 := z.DecBinary() + _ = yym2499 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2509 := r.ContainerType() - if yyct2509 == codecSelferValueTypeMap1234 { - yyl2509 := r.ReadMapStart() - if yyl2509 == 0 { + yyct2500 := r.ContainerType() + if yyct2500 == codecSelferValueTypeMap1234 { + yyl2500 := r.ReadMapStart() + if yyl2500 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2509, d) + x.codecDecodeSelfFromMap(yyl2500, d) } - } else if yyct2509 == codecSelferValueTypeArray1234 { - yyl2509 := r.ReadArrayStart() - if yyl2509 == 0 { + } else if yyct2500 == codecSelferValueTypeArray1234 { + yyl2500 := r.ReadArrayStart() + if yyl2500 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2509, d) + x.codecDecodeSelfFromArray(yyl2500, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32775,12 +32693,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2510Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2510Slc - var yyhl2510 bool = l >= 0 - for yyj2510 := 0; ; yyj2510++ { - if yyhl2510 { - if yyj2510 >= l { + var yys2501Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2501Slc + var yyhl2501 bool = l >= 0 + for yyj2501 := 0; ; yyj2501++ { + if yyhl2501 { + if yyj2501 >= l { break } } else { @@ -32789,10 +32707,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2510Slc = r.DecodeBytes(yys2510Slc, true, true) - yys2510 := string(yys2510Slc) + yys2501Slc = r.DecodeBytes(yys2501Slc, true, true) + yys2501 := string(yys2501Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2510 { + switch yys2501 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32809,31 +32727,31 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2513 := &x.ListMeta - yym2514 := z.DecBinary() - _ = yym2514 + yyv2504 := &x.ListMeta + yym2505 := z.DecBinary() + _ = yym2505 if false { - } else if z.HasExtensions() && z.DecExt(yyv2513) { + } else if z.HasExtensions() && z.DecExt(yyv2504) { } else { - z.DecFallback(yyv2513, false) + z.DecFallback(yyv2504, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2515 := &x.Items - yym2516 := z.DecBinary() - _ = yym2516 + yyv2506 := &x.Items + yym2507 := z.DecBinary() + _ = yym2507 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2515), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2506), d) } } default: - z.DecStructFieldNotFound(-1, yys2510) - } // end switch yys2510 - } // end for yyj2510 + z.DecStructFieldNotFound(-1, yys2501) + } // end switch yys2501 + } // end for yyj2501 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32841,16 +32759,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2517 int - var yyb2517 bool - var yyhl2517 bool = l >= 0 - yyj2517++ - if yyhl2517 { - yyb2517 = yyj2517 > l + var yyj2508 int + var yyb2508 bool + var yyhl2508 bool = l >= 0 + yyj2508++ + if yyhl2508 { + yyb2508 = yyj2508 > l } else { - yyb2517 = r.CheckBreak() + yyb2508 = r.CheckBreak() } - if yyb2517 { + if yyb2508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32860,13 +32778,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj2517++ - if yyhl2517 { - yyb2517 = yyj2517 > l + yyj2508++ + if yyhl2508 { + yyb2508 = yyj2508 > l } else { - yyb2517 = r.CheckBreak() + yyb2508 = r.CheckBreak() } - if yyb2517 { + if yyb2508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32876,13 +32794,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - yyj2517++ - if yyhl2517 { - yyb2517 = yyj2517 > l + yyj2508++ + if yyhl2508 { + yyb2508 = yyj2508 > l } else { - yyb2517 = r.CheckBreak() + yyb2508 = r.CheckBreak() } - if yyb2517 { + if yyb2508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32890,22 +32808,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2520 := &x.ListMeta - yym2521 := z.DecBinary() - _ = yym2521 + yyv2511 := &x.ListMeta + yym2512 := z.DecBinary() + _ = yym2512 if false { - } else if z.HasExtensions() && z.DecExt(yyv2520) { + } else if z.HasExtensions() && z.DecExt(yyv2511) { } else { - z.DecFallback(yyv2520, false) + z.DecFallback(yyv2511, false) } } - yyj2517++ - if yyhl2517 { - yyb2517 = yyj2517 > l + yyj2508++ + if yyhl2508 { + yyb2508 = yyj2508 > l } else { - yyb2517 = r.CheckBreak() + yyb2508 = r.CheckBreak() } - if yyb2517 { + if yyb2508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32913,26 +32831,26 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2522 := &x.Items - yym2523 := z.DecBinary() - _ = yym2523 + yyv2513 := &x.Items + yym2514 := z.DecBinary() + _ = yym2514 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2522), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2513), d) } } for { - yyj2517++ - if yyhl2517 { - yyb2517 = yyj2517 > l + yyj2508++ + if yyhl2508 { + yyb2508 = yyj2508 > l } else { - yyb2517 = r.CheckBreak() + yyb2508 = r.CheckBreak() } - if yyb2517 { + if yyb2508 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2517-1, "") + z.DecStructFieldNotFound(yyj2508-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32941,8 +32859,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2524 := z.EncBinary() - _ = yym2524 + yym2515 := z.EncBinary() + _ = yym2515 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32954,8 +32872,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2525 := z.DecBinary() - _ = yym2525 + yym2516 := z.DecBinary() + _ = yym2516 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32967,8 +32885,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2526 := z.EncBinary() - _ = yym2526 + yym2517 := z.EncBinary() + _ = yym2517 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32980,8 +32898,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2527 := z.DecBinary() - _ = yym2527 + yym2518 := z.DecBinary() + _ = yym2518 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32996,48 +32914,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2528 := z.EncBinary() - _ = yym2528 + yym2519 := z.EncBinary() + _ = yym2519 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2529 := !z.EncBinary() - yy2arr2529 := z.EncBasicHandle().StructToArray - var yyq2529 [1]bool - _, _, _ = yysep2529, yyq2529, yy2arr2529 - const yyr2529 bool = false - yyq2529[0] = true - var yynn2529 int - if yyr2529 || yy2arr2529 { + yysep2520 := !z.EncBinary() + yy2arr2520 := z.EncBasicHandle().StructToArray + var yyq2520 [1]bool + _, _, _ = yysep2520, yyq2520, yy2arr2520 + const yyr2520 bool = false + yyq2520[0] = true + var yynn2520 int + if yyr2520 || yy2arr2520 { r.EncodeArrayStart(1) } else { - yynn2529 = 0 - for _, b := range yyq2529 { + yynn2520 = 0 + for _, b := range yyq2520 { if b { - yynn2529++ + yynn2520++ } } - r.EncodeMapStart(yynn2529) - yynn2529 = 0 + r.EncodeMapStart(yynn2520) + yynn2520 = 0 } - if yyr2529 || yy2arr2529 { + if yyr2520 || yy2arr2520 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2529[0] { - yy2531 := &x.LoadBalancer - yy2531.CodecEncodeSelf(e) + if yyq2520[0] { + yy2522 := &x.LoadBalancer + yy2522.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2529[0] { + if yyq2520[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2532 := &x.LoadBalancer - yy2532.CodecEncodeSelf(e) + yy2523 := &x.LoadBalancer + yy2523.CodecEncodeSelf(e) } } - if yyr2529 || yy2arr2529 { + if yyr2520 || yy2arr2520 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33050,25 +32968,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2533 := z.DecBinary() - _ = yym2533 + yym2524 := z.DecBinary() + _ = yym2524 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2534 := r.ContainerType() - if yyct2534 == codecSelferValueTypeMap1234 { - yyl2534 := r.ReadMapStart() - if yyl2534 == 0 { + yyct2525 := r.ContainerType() + if yyct2525 == codecSelferValueTypeMap1234 { + yyl2525 := r.ReadMapStart() + if yyl2525 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2534, d) + x.codecDecodeSelfFromMap(yyl2525, d) } - } else if yyct2534 == codecSelferValueTypeArray1234 { - yyl2534 := r.ReadArrayStart() - if yyl2534 == 0 { + } else if yyct2525 == codecSelferValueTypeArray1234 { + yyl2525 := r.ReadArrayStart() + if yyl2525 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2534, d) + x.codecDecodeSelfFromArray(yyl2525, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33080,12 +32998,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2535Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2535Slc - var yyhl2535 bool = l >= 0 - for yyj2535 := 0; ; yyj2535++ { - if yyhl2535 { - if yyj2535 >= l { + var yys2526Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2526Slc + var yyhl2526 bool = l >= 0 + for yyj2526 := 0; ; yyj2526++ { + if yyhl2526 { + if yyj2526 >= l { break } } else { @@ -33094,21 +33012,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2535Slc = r.DecodeBytes(yys2535Slc, true, true) - yys2535 := string(yys2535Slc) + yys2526Slc = r.DecodeBytes(yys2526Slc, true, true) + yys2526 := string(yys2526Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2535 { + switch yys2526 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2536 := &x.LoadBalancer - yyv2536.CodecDecodeSelf(d) + yyv2527 := &x.LoadBalancer + yyv2527.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2535) - } // end switch yys2535 - } // end for yyj2535 + z.DecStructFieldNotFound(-1, yys2526) + } // end switch yys2526 + } // end for yyj2526 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33116,16 +33034,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2537 int - var yyb2537 bool - var yyhl2537 bool = l >= 0 - yyj2537++ - if yyhl2537 { - yyb2537 = yyj2537 > l + var yyj2528 int + var yyb2528 bool + var yyhl2528 bool = l >= 0 + yyj2528++ + if yyhl2528 { + yyb2528 = yyj2528 > l } else { - yyb2537 = r.CheckBreak() + yyb2528 = r.CheckBreak() } - if yyb2537 { + if yyb2528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33133,21 +33051,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2538 := &x.LoadBalancer - yyv2538.CodecDecodeSelf(d) + yyv2529 := &x.LoadBalancer + yyv2529.CodecDecodeSelf(d) } for { - yyj2537++ - if yyhl2537 { - yyb2537 = yyj2537 > l + yyj2528++ + if yyhl2528 { + yyb2528 = yyj2528 > l } else { - yyb2537 = r.CheckBreak() + yyb2528 = r.CheckBreak() } - if yyb2537 { + if yyb2528 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2537-1, "") + z.DecStructFieldNotFound(yyj2528-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33159,38 +33077,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2539 := z.EncBinary() - _ = yym2539 + yym2530 := z.EncBinary() + _ = yym2530 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2540 := !z.EncBinary() - yy2arr2540 := z.EncBasicHandle().StructToArray - var yyq2540 [1]bool - _, _, _ = yysep2540, yyq2540, yy2arr2540 - const yyr2540 bool = false - yyq2540[0] = len(x.Ingress) != 0 - var yynn2540 int - if yyr2540 || yy2arr2540 { + yysep2531 := !z.EncBinary() + yy2arr2531 := z.EncBasicHandle().StructToArray + var yyq2531 [1]bool + _, _, _ = yysep2531, yyq2531, yy2arr2531 + const yyr2531 bool = false + yyq2531[0] = len(x.Ingress) != 0 + var yynn2531 int + if yyr2531 || yy2arr2531 { r.EncodeArrayStart(1) } else { - yynn2540 = 0 - for _, b := range yyq2540 { + yynn2531 = 0 + for _, b := range yyq2531 { if b { - yynn2540++ + yynn2531++ } } - r.EncodeMapStart(yynn2540) - yynn2540 = 0 + r.EncodeMapStart(yynn2531) + yynn2531 = 0 } - if yyr2540 || yy2arr2540 { + if yyr2531 || yy2arr2531 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2540[0] { + if yyq2531[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym2542 := z.EncBinary() - _ = yym2542 + yym2533 := z.EncBinary() + _ = yym2533 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -33200,15 +33118,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2540[0] { + if yyq2531[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym2543 := z.EncBinary() - _ = yym2543 + yym2534 := z.EncBinary() + _ = yym2534 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -33216,7 +33134,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2540 || yy2arr2540 { + if yyr2531 || yy2arr2531 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33229,25 +33147,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2544 := z.DecBinary() - _ = yym2544 + yym2535 := z.DecBinary() + _ = yym2535 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2545 := r.ContainerType() - if yyct2545 == codecSelferValueTypeMap1234 { - yyl2545 := r.ReadMapStart() - if yyl2545 == 0 { + yyct2536 := r.ContainerType() + if yyct2536 == codecSelferValueTypeMap1234 { + yyl2536 := r.ReadMapStart() + if yyl2536 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2545, d) + x.codecDecodeSelfFromMap(yyl2536, d) } - } else if yyct2545 == codecSelferValueTypeArray1234 { - yyl2545 := r.ReadArrayStart() - if yyl2545 == 0 { + } else if yyct2536 == codecSelferValueTypeArray1234 { + yyl2536 := r.ReadArrayStart() + if yyl2536 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2545, d) + x.codecDecodeSelfFromArray(yyl2536, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33259,12 +33177,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2546Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2546Slc - var yyhl2546 bool = l >= 0 - for yyj2546 := 0; ; yyj2546++ { - if yyhl2546 { - if yyj2546 >= l { + var yys2537Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2537Slc + var yyhl2537 bool = l >= 0 + for yyj2537 := 0; ; yyj2537++ { + if yyhl2537 { + if yyj2537 >= l { break } } else { @@ -33273,26 +33191,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2546Slc = r.DecodeBytes(yys2546Slc, true, true) - yys2546 := string(yys2546Slc) + yys2537Slc = r.DecodeBytes(yys2537Slc, true, true) + yys2537 := string(yys2537Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2546 { + switch yys2537 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2547 := &x.Ingress - yym2548 := z.DecBinary() - _ = yym2548 + yyv2538 := &x.Ingress + yym2539 := z.DecBinary() + _ = yym2539 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2547), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2538), d) } } default: - z.DecStructFieldNotFound(-1, yys2546) - } // end switch yys2546 - } // end for yyj2546 + z.DecStructFieldNotFound(-1, yys2537) + } // end switch yys2537 + } // end for yyj2537 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33300,16 +33218,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2549 int - var yyb2549 bool - var yyhl2549 bool = l >= 0 - yyj2549++ - if yyhl2549 { - yyb2549 = yyj2549 > l + var yyj2540 int + var yyb2540 bool + var yyhl2540 bool = l >= 0 + yyj2540++ + if yyhl2540 { + yyb2540 = yyj2540 > l } else { - yyb2549 = r.CheckBreak() + yyb2540 = r.CheckBreak() } - if yyb2549 { + if yyb2540 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33317,26 +33235,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2550 := &x.Ingress - yym2551 := z.DecBinary() - _ = yym2551 + yyv2541 := &x.Ingress + yym2542 := z.DecBinary() + _ = yym2542 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2550), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2541), d) } } for { - yyj2549++ - if yyhl2549 { - yyb2549 = yyj2549 > l + yyj2540++ + if yyhl2540 { + yyb2540 = yyj2540 > l } else { - yyb2549 = r.CheckBreak() + yyb2540 = r.CheckBreak() } - if yyb2549 { + if yyb2540 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2549-1, "") + z.DecStructFieldNotFound(yyj2540-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33348,36 +33266,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2552 := z.EncBinary() - _ = yym2552 + yym2543 := z.EncBinary() + _ = yym2543 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2553 := !z.EncBinary() - yy2arr2553 := z.EncBasicHandle().StructToArray - var yyq2553 [2]bool - _, _, _ = yysep2553, yyq2553, yy2arr2553 - const yyr2553 bool = false - yyq2553[0] = x.IP != "" - yyq2553[1] = x.Hostname != "" - var yynn2553 int - if yyr2553 || yy2arr2553 { + yysep2544 := !z.EncBinary() + yy2arr2544 := z.EncBasicHandle().StructToArray + var yyq2544 [2]bool + _, _, _ = yysep2544, yyq2544, yy2arr2544 + const yyr2544 bool = false + yyq2544[0] = x.IP != "" + yyq2544[1] = x.Hostname != "" + var yynn2544 int + if yyr2544 || yy2arr2544 { r.EncodeArrayStart(2) } else { - yynn2553 = 0 - for _, b := range yyq2553 { + yynn2544 = 0 + for _, b := range yyq2544 { if b { - yynn2553++ + yynn2544++ } } - r.EncodeMapStart(yynn2553) - yynn2553 = 0 + r.EncodeMapStart(yynn2544) + yynn2544 = 0 } - if yyr2553 || yy2arr2553 { + if yyr2544 || yy2arr2544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2553[0] { - yym2555 := z.EncBinary() - _ = yym2555 + if yyq2544[0] { + yym2546 := z.EncBinary() + _ = yym2546 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -33386,23 +33304,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2553[0] { + if yyq2544[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2556 := z.EncBinary() - _ = yym2556 + yym2547 := z.EncBinary() + _ = yym2547 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2553 || yy2arr2553 { + if yyr2544 || yy2arr2544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2553[1] { - yym2558 := z.EncBinary() - _ = yym2558 + if yyq2544[1] { + yym2549 := z.EncBinary() + _ = yym2549 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -33411,19 +33329,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2553[1] { + if yyq2544[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2559 := z.EncBinary() - _ = yym2559 + yym2550 := z.EncBinary() + _ = yym2550 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2553 || yy2arr2553 { + if yyr2544 || yy2arr2544 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33436,25 +33354,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2560 := z.DecBinary() - _ = yym2560 + yym2551 := z.DecBinary() + _ = yym2551 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2561 := r.ContainerType() - if yyct2561 == codecSelferValueTypeMap1234 { - yyl2561 := r.ReadMapStart() - if yyl2561 == 0 { + yyct2552 := r.ContainerType() + if yyct2552 == codecSelferValueTypeMap1234 { + yyl2552 := r.ReadMapStart() + if yyl2552 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2561, d) + x.codecDecodeSelfFromMap(yyl2552, d) } - } else if yyct2561 == codecSelferValueTypeArray1234 { - yyl2561 := r.ReadArrayStart() - if yyl2561 == 0 { + } else if yyct2552 == codecSelferValueTypeArray1234 { + yyl2552 := r.ReadArrayStart() + if yyl2552 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2561, d) + x.codecDecodeSelfFromArray(yyl2552, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33466,12 +33384,12 @@ func (x *LoadBalancerIngress) 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 yys2553Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2553Slc + var yyhl2553 bool = l >= 0 + for yyj2553 := 0; ; yyj2553++ { + if yyhl2553 { + if yyj2553 >= l { break } } else { @@ -33480,10 +33398,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2562Slc = r.DecodeBytes(yys2562Slc, true, true) - yys2562 := string(yys2562Slc) + yys2553Slc = r.DecodeBytes(yys2553Slc, true, true) + yys2553 := string(yys2553Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2562 { + switch yys2553 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -33497,9 +33415,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2562) - } // end switch yys2562 - } // end for yyj2562 + z.DecStructFieldNotFound(-1, yys2553) + } // end switch yys2553 + } // end for yyj2553 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33507,16 +33425,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2565 int - var yyb2565 bool - var yyhl2565 bool = l >= 0 - yyj2565++ - if yyhl2565 { - yyb2565 = yyj2565 > l + var yyj2556 int + var yyb2556 bool + var yyhl2556 bool = l >= 0 + yyj2556++ + if yyhl2556 { + yyb2556 = yyj2556 > l } else { - yyb2565 = r.CheckBreak() + yyb2556 = r.CheckBreak() } - if yyb2565 { + if yyb2556 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33526,13 +33444,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj2565++ - if yyhl2565 { - yyb2565 = yyj2565 > l + yyj2556++ + if yyhl2556 { + yyb2556 = yyj2556 > l } else { - yyb2565 = r.CheckBreak() + yyb2556 = r.CheckBreak() } - if yyb2565 { + if yyb2556 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33543,17 +33461,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj2565++ - if yyhl2565 { - yyb2565 = yyj2565 > l + yyj2556++ + if yyhl2556 { + yyb2556 = yyj2556 > l } else { - yyb2565 = r.CheckBreak() + yyb2556 = r.CheckBreak() } - if yyb2565 { + if yyb2556 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2565-1, "") + z.DecStructFieldNotFound(yyj2556-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33565,45 +33483,45 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2568 := z.EncBinary() - _ = yym2568 + yym2559 := z.EncBinary() + _ = yym2559 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2569 := !z.EncBinary() - yy2arr2569 := z.EncBasicHandle().StructToArray - var yyq2569 [10]bool - _, _, _ = yysep2569, yyq2569, yy2arr2569 - const yyr2569 bool = false - yyq2569[1] = len(x.Selector) != 0 - yyq2569[2] = x.ClusterIP != "" - yyq2569[3] = x.Type != "" - yyq2569[4] = len(x.ExternalIPs) != 0 - yyq2569[5] = len(x.DeprecatedPublicIPs) != 0 - yyq2569[6] = x.SessionAffinity != "" - yyq2569[7] = x.LoadBalancerIP != "" - yyq2569[8] = len(x.LoadBalancerSourceRanges) != 0 - yyq2569[9] = x.ExternalName != "" - var yynn2569 int - if yyr2569 || yy2arr2569 { + yysep2560 := !z.EncBinary() + yy2arr2560 := z.EncBasicHandle().StructToArray + var yyq2560 [10]bool + _, _, _ = yysep2560, yyq2560, yy2arr2560 + const yyr2560 bool = false + yyq2560[1] = len(x.Selector) != 0 + yyq2560[2] = x.ClusterIP != "" + yyq2560[3] = x.Type != "" + yyq2560[4] = len(x.ExternalIPs) != 0 + yyq2560[5] = len(x.DeprecatedPublicIPs) != 0 + yyq2560[6] = x.SessionAffinity != "" + yyq2560[7] = x.LoadBalancerIP != "" + yyq2560[8] = len(x.LoadBalancerSourceRanges) != 0 + yyq2560[9] = x.ExternalName != "" + var yynn2560 int + if yyr2560 || yy2arr2560 { r.EncodeArrayStart(10) } else { - yynn2569 = 1 - for _, b := range yyq2569 { + yynn2560 = 1 + for _, b := range yyq2560 { if b { - yynn2569++ + yynn2560++ } } - r.EncodeMapStart(yynn2569) - yynn2569 = 0 + r.EncodeMapStart(yynn2560) + yynn2560 = 0 } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2571 := z.EncBinary() - _ = yym2571 + yym2562 := z.EncBinary() + _ = yym2562 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -33616,22 +33534,22 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2572 := z.EncBinary() - _ = yym2572 + yym2563 := z.EncBinary() + _ = yym2563 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[1] { + if yyq2560[1] { if x.Selector == nil { r.EncodeNil() } else { - yym2574 := z.EncBinary() - _ = yym2574 + yym2565 := z.EncBinary() + _ = yym2565 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -33641,15 +33559,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2569[1] { + if yyq2560[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym2575 := z.EncBinary() - _ = yym2575 + yym2566 := z.EncBinary() + _ = yym2566 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -33657,11 +33575,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[2] { - yym2577 := z.EncBinary() - _ = yym2577 + if yyq2560[2] { + yym2568 := z.EncBinary() + _ = yym2568 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -33670,41 +33588,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2569[2] { + if yyq2560[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2578 := z.EncBinary() - _ = yym2578 + yym2569 := z.EncBinary() + _ = yym2569 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[3] { + if yyq2560[3] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2569[3] { + if yyq2560[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[4] { + if yyq2560[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2581 := z.EncBinary() - _ = yym2581 + yym2572 := z.EncBinary() + _ = yym2572 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -33714,15 +33632,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2569[4] { + if yyq2560[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2582 := z.EncBinary() - _ = yym2582 + yym2573 := z.EncBinary() + _ = yym2573 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -33730,14 +33648,14 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[5] { + if yyq2560[5] { if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2584 := z.EncBinary() - _ = yym2584 + yym2575 := z.EncBinary() + _ = yym2575 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -33747,15 +33665,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2569[5] { + if yyq2560[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deprecatedPublicIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2585 := z.EncBinary() - _ = yym2585 + yym2576 := z.EncBinary() + _ = yym2576 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -33763,26 +33681,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[6] { + if yyq2560[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2569[6] { + if yyq2560[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[7] { - yym2588 := z.EncBinary() - _ = yym2588 + if yyq2560[7] { + yym2579 := z.EncBinary() + _ = yym2579 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -33791,26 +33709,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2569[7] { + if yyq2560[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2589 := z.EncBinary() - _ = yym2589 + yym2580 := z.EncBinary() + _ = yym2580 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[8] { + if yyq2560[8] { if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2591 := z.EncBinary() - _ = yym2591 + yym2582 := z.EncBinary() + _ = yym2582 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -33820,15 +33738,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2569[8] { + if yyq2560[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerSourceRanges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2592 := z.EncBinary() - _ = yym2592 + yym2583 := z.EncBinary() + _ = yym2583 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -33836,11 +33754,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2569[9] { - yym2594 := z.EncBinary() - _ = yym2594 + if yyq2560[9] { + yym2585 := z.EncBinary() + _ = yym2585 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) @@ -33849,19 +33767,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2569[9] { + if yyq2560[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2595 := z.EncBinary() - _ = yym2595 + yym2586 := z.EncBinary() + _ = yym2586 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) } } } - if yyr2569 || yy2arr2569 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33874,25 +33792,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2596 := z.DecBinary() - _ = yym2596 + yym2587 := z.DecBinary() + _ = yym2587 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2597 := r.ContainerType() - if yyct2597 == codecSelferValueTypeMap1234 { - yyl2597 := r.ReadMapStart() - if yyl2597 == 0 { + yyct2588 := r.ContainerType() + if yyct2588 == codecSelferValueTypeMap1234 { + yyl2588 := r.ReadMapStart() + if yyl2588 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2597, d) + x.codecDecodeSelfFromMap(yyl2588, d) } - } else if yyct2597 == codecSelferValueTypeArray1234 { - yyl2597 := r.ReadArrayStart() - if yyl2597 == 0 { + } else if yyct2588 == codecSelferValueTypeArray1234 { + yyl2588 := r.ReadArrayStart() + if yyl2588 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2597, d) + x.codecDecodeSelfFromArray(yyl2588, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33904,12 +33822,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2598Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2598Slc - var yyhl2598 bool = l >= 0 - for yyj2598 := 0; ; yyj2598++ { - if yyhl2598 { - if yyj2598 >= l { + var yys2589Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2589Slc + var yyhl2589 bool = l >= 0 + for yyj2589 := 0; ; yyj2589++ { + if yyhl2589 { + if yyj2589 >= l { break } } else { @@ -33918,32 +33836,32 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2598Slc = r.DecodeBytes(yys2598Slc, true, true) - yys2598 := string(yys2598Slc) + yys2589Slc = r.DecodeBytes(yys2589Slc, true, true) + yys2589 := string(yys2589Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2598 { + switch yys2589 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2599 := &x.Ports - yym2600 := z.DecBinary() - _ = yym2600 + yyv2590 := &x.Ports + yym2591 := z.DecBinary() + _ = yym2591 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2599), d) + h.decSliceServicePort((*[]ServicePort)(yyv2590), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2601 := &x.Selector - yym2602 := z.DecBinary() - _ = yym2602 + yyv2592 := &x.Selector + yym2593 := z.DecBinary() + _ = yym2593 if false { } else { - z.F.DecMapStringStringX(yyv2601, false, d) + z.F.DecMapStringStringX(yyv2592, false, d) } } case "clusterIP": @@ -33962,24 +33880,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2605 := &x.ExternalIPs - yym2606 := z.DecBinary() - _ = yym2606 + yyv2596 := &x.ExternalIPs + yym2597 := z.DecBinary() + _ = yym2597 if false { } else { - z.F.DecSliceStringX(yyv2605, false, d) + z.F.DecSliceStringX(yyv2596, false, d) } } case "deprecatedPublicIPs": if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2607 := &x.DeprecatedPublicIPs - yym2608 := z.DecBinary() - _ = yym2608 + yyv2598 := &x.DeprecatedPublicIPs + yym2599 := z.DecBinary() + _ = yym2599 if false { } else { - z.F.DecSliceStringX(yyv2607, false, d) + z.F.DecSliceStringX(yyv2598, false, d) } } case "sessionAffinity": @@ -33998,12 +33916,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2611 := &x.LoadBalancerSourceRanges - yym2612 := z.DecBinary() - _ = yym2612 + yyv2602 := &x.LoadBalancerSourceRanges + yym2603 := z.DecBinary() + _ = yym2603 if false { } else { - z.F.DecSliceStringX(yyv2611, false, d) + z.F.DecSliceStringX(yyv2602, false, d) } } case "externalName": @@ -34013,9 +33931,9 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ExternalName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2598) - } // end switch yys2598 - } // end for yyj2598 + z.DecStructFieldNotFound(-1, yys2589) + } // end switch yys2589 + } // end for yyj2589 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34023,16 +33941,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2614 int - var yyb2614 bool - var yyhl2614 bool = l >= 0 - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + var yyj2605 int + var yyb2605 bool + var yyhl2605 bool = l >= 0 + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34040,21 +33958,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2615 := &x.Ports - yym2616 := z.DecBinary() - _ = yym2616 + yyv2606 := &x.Ports + yym2607 := z.DecBinary() + _ = yym2607 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2615), d) + h.decSliceServicePort((*[]ServicePort)(yyv2606), d) } } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34062,21 +33980,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2617 := &x.Selector - yym2618 := z.DecBinary() - _ = yym2618 + yyv2608 := &x.Selector + yym2609 := z.DecBinary() + _ = yym2609 if false { } else { - z.F.DecMapStringStringX(yyv2617, false, d) + z.F.DecMapStringStringX(yyv2608, false, d) } } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34086,13 +34004,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34102,13 +34020,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34116,21 +34034,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2621 := &x.ExternalIPs - yym2622 := z.DecBinary() - _ = yym2622 + yyv2612 := &x.ExternalIPs + yym2613 := z.DecBinary() + _ = yym2613 if false { } else { - z.F.DecSliceStringX(yyv2621, false, d) + z.F.DecSliceStringX(yyv2612, false, d) } } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34138,21 +34056,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2623 := &x.DeprecatedPublicIPs - yym2624 := z.DecBinary() - _ = yym2624 + yyv2614 := &x.DeprecatedPublicIPs + yym2615 := z.DecBinary() + _ = yym2615 if false { } else { - z.F.DecSliceStringX(yyv2623, false, d) + z.F.DecSliceStringX(yyv2614, false, d) } } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34162,13 +34080,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34178,13 +34096,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34192,21 +34110,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2627 := &x.LoadBalancerSourceRanges - yym2628 := z.DecBinary() - _ = yym2628 + yyv2618 := &x.LoadBalancerSourceRanges + yym2619 := z.DecBinary() + _ = yym2619 if false { } else { - z.F.DecSliceStringX(yyv2627, false, d) + z.F.DecSliceStringX(yyv2618, false, d) } } - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34217,17 +34135,17 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ExternalName = string(r.DecodeString()) } for { - yyj2614++ - if yyhl2614 { - yyb2614 = yyj2614 > l + yyj2605++ + if yyhl2605 { + yyb2605 = yyj2605 > l } else { - yyb2614 = r.CheckBreak() + yyb2605 = r.CheckBreak() } - if yyb2614 { + if yyb2605 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2614-1, "") + z.DecStructFieldNotFound(yyj2605-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34239,38 +34157,38 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2630 := z.EncBinary() - _ = yym2630 + yym2621 := z.EncBinary() + _ = yym2621 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2631 := !z.EncBinary() - yy2arr2631 := z.EncBasicHandle().StructToArray - var yyq2631 [5]bool - _, _, _ = yysep2631, yyq2631, yy2arr2631 - const yyr2631 bool = false - yyq2631[0] = x.Name != "" - yyq2631[1] = x.Protocol != "" - yyq2631[3] = true - yyq2631[4] = x.NodePort != 0 - var yynn2631 int - if yyr2631 || yy2arr2631 { + yysep2622 := !z.EncBinary() + yy2arr2622 := z.EncBasicHandle().StructToArray + var yyq2622 [5]bool + _, _, _ = yysep2622, yyq2622, yy2arr2622 + const yyr2622 bool = false + yyq2622[0] = x.Name != "" + yyq2622[1] = x.Protocol != "" + yyq2622[3] = true + yyq2622[4] = x.NodePort != 0 + var yynn2622 int + if yyr2622 || yy2arr2622 { r.EncodeArrayStart(5) } else { - yynn2631 = 1 - for _, b := range yyq2631 { + yynn2622 = 1 + for _, b := range yyq2622 { if b { - yynn2631++ + yynn2622++ } } - r.EncodeMapStart(yynn2631) - yynn2631 = 0 + r.EncodeMapStart(yynn2622) + yynn2622 = 0 } - if yyr2631 || yy2arr2631 { + if yyr2622 || yy2arr2622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2631[0] { - yym2633 := z.EncBinary() - _ = yym2633 + if yyq2622[0] { + yym2624 := z.EncBinary() + _ = yym2624 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -34279,37 +34197,37 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2631[0] { + if yyq2622[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2634 := z.EncBinary() - _ = yym2634 + yym2625 := z.EncBinary() + _ = yym2625 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2631 || yy2arr2631 { + if yyr2622 || yy2arr2622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2631[1] { + if yyq2622[1] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2631[1] { + if yyq2622[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2631 || yy2arr2631 { + if yyr2622 || yy2arr2622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2637 := z.EncBinary() - _ = yym2637 + yym2628 := z.EncBinary() + _ = yym2628 if false { } else { r.EncodeInt(int64(x.Port)) @@ -34318,51 +34236,51 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2638 := z.EncBinary() - _ = yym2638 + yym2629 := z.EncBinary() + _ = yym2629 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2631 || yy2arr2631 { + if yyr2622 || yy2arr2622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2631[3] { - yy2640 := &x.TargetPort - yym2641 := z.EncBinary() - _ = yym2641 + if yyq2622[3] { + yy2631 := &x.TargetPort + yym2632 := z.EncBinary() + _ = yym2632 if false { - } else if z.HasExtensions() && z.EncExt(yy2640) { - } else if !yym2641 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2640) + } else if z.HasExtensions() && z.EncExt(yy2631) { + } else if !yym2632 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2631) } else { - z.EncFallback(yy2640) + z.EncFallback(yy2631) } } else { r.EncodeNil() } } else { - if yyq2631[3] { + if yyq2622[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2642 := &x.TargetPort - yym2643 := z.EncBinary() - _ = yym2643 + yy2633 := &x.TargetPort + yym2634 := z.EncBinary() + _ = yym2634 if false { - } else if z.HasExtensions() && z.EncExt(yy2642) { - } else if !yym2643 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2642) + } else if z.HasExtensions() && z.EncExt(yy2633) { + } else if !yym2634 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2633) } else { - z.EncFallback(yy2642) + z.EncFallback(yy2633) } } } - if yyr2631 || yy2arr2631 { + if yyr2622 || yy2arr2622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2631[4] { - yym2645 := z.EncBinary() - _ = yym2645 + if yyq2622[4] { + yym2636 := z.EncBinary() + _ = yym2636 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -34371,19 +34289,19 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2631[4] { + if yyq2622[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2646 := z.EncBinary() - _ = yym2646 + yym2637 := z.EncBinary() + _ = yym2637 if false { } else { r.EncodeInt(int64(x.NodePort)) } } } - if yyr2631 || yy2arr2631 { + if yyr2622 || yy2arr2622 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34396,25 +34314,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2647 := z.DecBinary() - _ = yym2647 + yym2638 := z.DecBinary() + _ = yym2638 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2648 := r.ContainerType() - if yyct2648 == codecSelferValueTypeMap1234 { - yyl2648 := r.ReadMapStart() - if yyl2648 == 0 { + yyct2639 := r.ContainerType() + if yyct2639 == codecSelferValueTypeMap1234 { + yyl2639 := r.ReadMapStart() + if yyl2639 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2648, d) + x.codecDecodeSelfFromMap(yyl2639, d) } - } else if yyct2648 == codecSelferValueTypeArray1234 { - yyl2648 := r.ReadArrayStart() - if yyl2648 == 0 { + } else if yyct2639 == codecSelferValueTypeArray1234 { + yyl2639 := r.ReadArrayStart() + if yyl2639 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2648, d) + x.codecDecodeSelfFromArray(yyl2639, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34426,12 +34344,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2649Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2649Slc - var yyhl2649 bool = l >= 0 - for yyj2649 := 0; ; yyj2649++ { - if yyhl2649 { - if yyj2649 >= l { + var yys2640Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2640Slc + var yyhl2640 bool = l >= 0 + for yyj2640 := 0; ; yyj2640++ { + if yyhl2640 { + if yyj2640 >= l { break } } else { @@ -34440,10 +34358,10 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2649Slc = r.DecodeBytes(yys2649Slc, true, true) - yys2649 := string(yys2649Slc) + yys2640Slc = r.DecodeBytes(yys2640Slc, true, true) + yys2640 := string(yys2640Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2649 { + switch yys2640 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -34466,15 +34384,15 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2653 := &x.TargetPort - yym2654 := z.DecBinary() - _ = yym2654 + yyv2644 := &x.TargetPort + yym2645 := z.DecBinary() + _ = yym2645 if false { - } else if z.HasExtensions() && z.DecExt(yyv2653) { - } else if !yym2654 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2653) + } else if z.HasExtensions() && z.DecExt(yyv2644) { + } else if !yym2645 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2644) } else { - z.DecFallback(yyv2653, false) + z.DecFallback(yyv2644, false) } } case "nodePort": @@ -34484,9 +34402,9 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys2649) - } // end switch yys2649 - } // end for yyj2649 + z.DecStructFieldNotFound(-1, yys2640) + } // end switch yys2640 + } // end for yyj2640 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34494,16 +34412,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2656 int - var yyb2656 bool - var yyhl2656 bool = l >= 0 - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + var yyj2647 int + var yyb2647 bool + var yyhl2647 bool = l >= 0 + yyj2647++ + if yyhl2647 { + yyb2647 = yyj2647 > l } else { - yyb2656 = r.CheckBreak() + yyb2647 = r.CheckBreak() } - if yyb2656 { + if yyb2647 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34513,13 +34431,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2647++ + if yyhl2647 { + yyb2647 = yyj2647 > l } else { - yyb2656 = r.CheckBreak() + yyb2647 = r.CheckBreak() } - if yyb2656 { + if yyb2647 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34529,13 +34447,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2647++ + if yyhl2647 { + yyb2647 = yyj2647 > l } else { - yyb2656 = r.CheckBreak() + yyb2647 = r.CheckBreak() } - if yyb2656 { + if yyb2647 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34545,13 +34463,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2647++ + if yyhl2647 { + yyb2647 = yyj2647 > l } else { - yyb2656 = r.CheckBreak() + yyb2647 = r.CheckBreak() } - if yyb2656 { + if yyb2647 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34559,24 +34477,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2660 := &x.TargetPort - yym2661 := z.DecBinary() - _ = yym2661 + yyv2651 := &x.TargetPort + yym2652 := z.DecBinary() + _ = yym2652 if false { - } else if z.HasExtensions() && z.DecExt(yyv2660) { - } else if !yym2661 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2660) + } else if z.HasExtensions() && z.DecExt(yyv2651) { + } else if !yym2652 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2651) } else { - z.DecFallback(yyv2660, false) + z.DecFallback(yyv2651, false) } } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2647++ + if yyhl2647 { + yyb2647 = yyj2647 > l } else { - yyb2656 = r.CheckBreak() + yyb2647 = r.CheckBreak() } - if yyb2656 { + if yyb2647 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34587,17 +34505,17 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } for { - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2647++ + if yyhl2647 { + yyb2647 = yyj2647 > l } else { - yyb2656 = r.CheckBreak() + yyb2647 = r.CheckBreak() } - if yyb2656 { + if yyb2647 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2656-1, "") + z.DecStructFieldNotFound(yyj2647-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34609,39 +34527,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2663 := z.EncBinary() - _ = yym2663 + yym2654 := z.EncBinary() + _ = yym2654 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2664 := !z.EncBinary() - yy2arr2664 := z.EncBasicHandle().StructToArray - var yyq2664 [5]bool - _, _, _ = yysep2664, yyq2664, yy2arr2664 - const yyr2664 bool = false - yyq2664[0] = x.Kind != "" - yyq2664[1] = x.APIVersion != "" - yyq2664[2] = true - yyq2664[3] = true - yyq2664[4] = true - var yynn2664 int - if yyr2664 || yy2arr2664 { + yysep2655 := !z.EncBinary() + yy2arr2655 := z.EncBasicHandle().StructToArray + var yyq2655 [5]bool + _, _, _ = yysep2655, yyq2655, yy2arr2655 + const yyr2655 bool = false + yyq2655[0] = x.Kind != "" + yyq2655[1] = x.APIVersion != "" + yyq2655[2] = true + yyq2655[3] = true + yyq2655[4] = true + var yynn2655 int + if yyr2655 || yy2arr2655 { r.EncodeArrayStart(5) } else { - yynn2664 = 0 - for _, b := range yyq2664 { + yynn2655 = 0 + for _, b := range yyq2655 { if b { - yynn2664++ + yynn2655++ } } - r.EncodeMapStart(yynn2664) - yynn2664 = 0 + r.EncodeMapStart(yynn2655) + yynn2655 = 0 } - if yyr2664 || yy2arr2664 { + if yyr2655 || yy2arr2655 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2664[0] { - yym2666 := z.EncBinary() - _ = yym2666 + if yyq2655[0] { + yym2657 := z.EncBinary() + _ = yym2657 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34650,23 +34568,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2664[0] { + if yyq2655[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2667 := z.EncBinary() - _ = yym2667 + yym2658 := z.EncBinary() + _ = yym2658 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2664 || yy2arr2664 { + if yyr2655 || yy2arr2655 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2664[1] { - yym2669 := z.EncBinary() - _ = yym2669 + if yyq2655[1] { + yym2660 := z.EncBinary() + _ = yym2660 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34675,70 +34593,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2664[1] { + if yyq2655[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2670 := z.EncBinary() - _ = yym2670 + yym2661 := z.EncBinary() + _ = yym2661 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2664 || yy2arr2664 { + if yyr2655 || yy2arr2655 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2664[2] { - yy2672 := &x.ObjectMeta - yy2672.CodecEncodeSelf(e) + if yyq2655[2] { + yy2663 := &x.ObjectMeta + yy2663.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2664[2] { + if yyq2655[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2673 := &x.ObjectMeta - yy2673.CodecEncodeSelf(e) + yy2664 := &x.ObjectMeta + yy2664.CodecEncodeSelf(e) } } - if yyr2664 || yy2arr2664 { + if yyr2655 || yy2arr2655 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2664[3] { - yy2675 := &x.Spec - yy2675.CodecEncodeSelf(e) + if yyq2655[3] { + yy2666 := &x.Spec + yy2666.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2664[3] { + if yyq2655[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2676 := &x.Spec - yy2676.CodecEncodeSelf(e) + yy2667 := &x.Spec + yy2667.CodecEncodeSelf(e) } } - if yyr2664 || yy2arr2664 { + if yyr2655 || yy2arr2655 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2664[4] { - yy2678 := &x.Status - yy2678.CodecEncodeSelf(e) + if yyq2655[4] { + yy2669 := &x.Status + yy2669.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2664[4] { + if yyq2655[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2679 := &x.Status - yy2679.CodecEncodeSelf(e) + yy2670 := &x.Status + yy2670.CodecEncodeSelf(e) } } - if yyr2664 || yy2arr2664 { + if yyr2655 || yy2arr2655 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34751,25 +34669,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2680 := z.DecBinary() - _ = yym2680 + yym2671 := z.DecBinary() + _ = yym2671 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2681 := r.ContainerType() - if yyct2681 == codecSelferValueTypeMap1234 { - yyl2681 := r.ReadMapStart() - if yyl2681 == 0 { + yyct2672 := r.ContainerType() + if yyct2672 == codecSelferValueTypeMap1234 { + yyl2672 := r.ReadMapStart() + if yyl2672 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2681, d) + x.codecDecodeSelfFromMap(yyl2672, d) } - } else if yyct2681 == codecSelferValueTypeArray1234 { - yyl2681 := r.ReadArrayStart() - if yyl2681 == 0 { + } else if yyct2672 == codecSelferValueTypeArray1234 { + yyl2672 := r.ReadArrayStart() + if yyl2672 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2681, d) + x.codecDecodeSelfFromArray(yyl2672, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34781,12 +34699,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2682Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2682Slc - var yyhl2682 bool = l >= 0 - for yyj2682 := 0; ; yyj2682++ { - if yyhl2682 { - if yyj2682 >= l { + var yys2673Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2673Slc + var yyhl2673 bool = l >= 0 + for yyj2673 := 0; ; yyj2673++ { + if yyhl2673 { + if yyj2673 >= l { break } } else { @@ -34795,10 +34713,10 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2682Slc = r.DecodeBytes(yys2682Slc, true, true) - yys2682 := string(yys2682Slc) + yys2673Slc = r.DecodeBytes(yys2673Slc, true, true) + yys2673 := string(yys2673Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2682 { + switch yys2673 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34815,27 +34733,27 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2685 := &x.ObjectMeta - yyv2685.CodecDecodeSelf(d) + yyv2676 := &x.ObjectMeta + yyv2676.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2686 := &x.Spec - yyv2686.CodecDecodeSelf(d) + yyv2677 := &x.Spec + yyv2677.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2687 := &x.Status - yyv2687.CodecDecodeSelf(d) + yyv2678 := &x.Status + yyv2678.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2682) - } // end switch yys2682 - } // end for yyj2682 + z.DecStructFieldNotFound(-1, yys2673) + } // end switch yys2673 + } // end for yyj2673 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34843,16 +34761,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2688 int - var yyb2688 bool - var yyhl2688 bool = l >= 0 - yyj2688++ - if yyhl2688 { - yyb2688 = yyj2688 > l + var yyj2679 int + var yyb2679 bool + var yyhl2679 bool = l >= 0 + yyj2679++ + if yyhl2679 { + yyb2679 = yyj2679 > l } else { - yyb2688 = r.CheckBreak() + yyb2679 = r.CheckBreak() } - if yyb2688 { + if yyb2679 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34862,13 +34780,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2688++ - if yyhl2688 { - yyb2688 = yyj2688 > l + yyj2679++ + if yyhl2679 { + yyb2679 = yyj2679 > l } else { - yyb2688 = r.CheckBreak() + yyb2679 = r.CheckBreak() } - if yyb2688 { + if yyb2679 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34878,13 +34796,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2688++ - if yyhl2688 { - yyb2688 = yyj2688 > l + yyj2679++ + if yyhl2679 { + yyb2679 = yyj2679 > l } else { - yyb2688 = r.CheckBreak() + yyb2679 = r.CheckBreak() } - if yyb2688 { + if yyb2679 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34892,16 +34810,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2691 := &x.ObjectMeta - yyv2691.CodecDecodeSelf(d) + yyv2682 := &x.ObjectMeta + yyv2682.CodecDecodeSelf(d) } - yyj2688++ - if yyhl2688 { - yyb2688 = yyj2688 > l + yyj2679++ + if yyhl2679 { + yyb2679 = yyj2679 > l } else { - yyb2688 = r.CheckBreak() + yyb2679 = r.CheckBreak() } - if yyb2688 { + if yyb2679 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34909,16 +34827,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2692 := &x.Spec - yyv2692.CodecDecodeSelf(d) + yyv2683 := &x.Spec + yyv2683.CodecDecodeSelf(d) } - yyj2688++ - if yyhl2688 { - yyb2688 = yyj2688 > l + yyj2679++ + if yyhl2679 { + yyb2679 = yyj2679 > l } else { - yyb2688 = r.CheckBreak() + yyb2679 = r.CheckBreak() } - if yyb2688 { + if yyb2679 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34926,21 +34844,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2693 := &x.Status - yyv2693.CodecDecodeSelf(d) + yyv2684 := &x.Status + yyv2684.CodecDecodeSelf(d) } for { - yyj2688++ - if yyhl2688 { - yyb2688 = yyj2688 > l + yyj2679++ + if yyhl2679 { + yyb2679 = yyj2679 > l } else { - yyb2688 = r.CheckBreak() + yyb2679 = r.CheckBreak() } - if yyb2688 { + if yyb2679 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2688-1, "") + z.DecStructFieldNotFound(yyj2679-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34952,37 +34870,37 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2694 := z.EncBinary() - _ = yym2694 + yym2685 := z.EncBinary() + _ = yym2685 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2695 := !z.EncBinary() - yy2arr2695 := z.EncBasicHandle().StructToArray - var yyq2695 [4]bool - _, _, _ = yysep2695, yyq2695, yy2arr2695 - const yyr2695 bool = false - yyq2695[0] = x.Kind != "" - yyq2695[1] = x.APIVersion != "" - yyq2695[2] = true - var yynn2695 int - if yyr2695 || yy2arr2695 { + yysep2686 := !z.EncBinary() + yy2arr2686 := z.EncBasicHandle().StructToArray + var yyq2686 [4]bool + _, _, _ = yysep2686, yyq2686, yy2arr2686 + const yyr2686 bool = false + yyq2686[0] = x.Kind != "" + yyq2686[1] = x.APIVersion != "" + yyq2686[2] = true + var yynn2686 int + if yyr2686 || yy2arr2686 { r.EncodeArrayStart(4) } else { - yynn2695 = 1 - for _, b := range yyq2695 { + yynn2686 = 1 + for _, b := range yyq2686 { if b { - yynn2695++ + yynn2686++ } } - r.EncodeMapStart(yynn2695) - yynn2695 = 0 + r.EncodeMapStart(yynn2686) + yynn2686 = 0 } - if yyr2695 || yy2arr2695 { + if yyr2686 || yy2arr2686 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2695[0] { - yym2697 := z.EncBinary() - _ = yym2697 + if yyq2686[0] { + yym2688 := z.EncBinary() + _ = yym2688 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34991,23 +34909,23 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2695[0] { + if yyq2686[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2698 := z.EncBinary() - _ = yym2698 + yym2689 := z.EncBinary() + _ = yym2689 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2695 || yy2arr2695 { + if yyr2686 || yy2arr2686 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2695[1] { - yym2700 := z.EncBinary() - _ = yym2700 + if yyq2686[1] { + yym2691 := z.EncBinary() + _ = yym2691 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35016,54 +34934,54 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2695[1] { + if yyq2686[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2701 := z.EncBinary() - _ = yym2701 + yym2692 := z.EncBinary() + _ = yym2692 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2695 || yy2arr2695 { + if yyr2686 || yy2arr2686 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2695[2] { - yy2703 := &x.ListMeta - yym2704 := z.EncBinary() - _ = yym2704 + if yyq2686[2] { + yy2694 := &x.ListMeta + yym2695 := z.EncBinary() + _ = yym2695 if false { - } else if z.HasExtensions() && z.EncExt(yy2703) { + } else if z.HasExtensions() && z.EncExt(yy2694) { } else { - z.EncFallback(yy2703) + z.EncFallback(yy2694) } } else { r.EncodeNil() } } else { - if yyq2695[2] { + if yyq2686[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2705 := &x.ListMeta - yym2706 := z.EncBinary() - _ = yym2706 + yy2696 := &x.ListMeta + yym2697 := z.EncBinary() + _ = yym2697 if false { - } else if z.HasExtensions() && z.EncExt(yy2705) { + } else if z.HasExtensions() && z.EncExt(yy2696) { } else { - z.EncFallback(yy2705) + z.EncFallback(yy2696) } } } - if yyr2695 || yy2arr2695 { + if yyr2686 || yy2arr2686 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2708 := z.EncBinary() - _ = yym2708 + yym2699 := z.EncBinary() + _ = yym2699 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -35076,15 +34994,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2709 := z.EncBinary() - _ = yym2709 + yym2700 := z.EncBinary() + _ = yym2700 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2695 || yy2arr2695 { + if yyr2686 || yy2arr2686 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35097,25 +35015,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2710 := z.DecBinary() - _ = yym2710 + yym2701 := z.DecBinary() + _ = yym2701 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2711 := r.ContainerType() - if yyct2711 == codecSelferValueTypeMap1234 { - yyl2711 := r.ReadMapStart() - if yyl2711 == 0 { + yyct2702 := r.ContainerType() + if yyct2702 == codecSelferValueTypeMap1234 { + yyl2702 := r.ReadMapStart() + if yyl2702 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2711, d) + x.codecDecodeSelfFromMap(yyl2702, d) } - } else if yyct2711 == codecSelferValueTypeArray1234 { - yyl2711 := r.ReadArrayStart() - if yyl2711 == 0 { + } else if yyct2702 == codecSelferValueTypeArray1234 { + yyl2702 := r.ReadArrayStart() + if yyl2702 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2711, d) + x.codecDecodeSelfFromArray(yyl2702, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35127,12 +35045,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2712Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2712Slc - var yyhl2712 bool = l >= 0 - for yyj2712 := 0; ; yyj2712++ { - if yyhl2712 { - if yyj2712 >= l { + var yys2703Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2703Slc + var yyhl2703 bool = l >= 0 + for yyj2703 := 0; ; yyj2703++ { + if yyhl2703 { + if yyj2703 >= l { break } } else { @@ -35141,10 +35059,10 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2712Slc = r.DecodeBytes(yys2712Slc, true, true) - yys2712 := string(yys2712Slc) + yys2703Slc = r.DecodeBytes(yys2703Slc, true, true) + yys2703 := string(yys2703Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2712 { + switch yys2703 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35161,31 +35079,31 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2715 := &x.ListMeta - yym2716 := z.DecBinary() - _ = yym2716 + yyv2706 := &x.ListMeta + yym2707 := z.DecBinary() + _ = yym2707 if false { - } else if z.HasExtensions() && z.DecExt(yyv2715) { + } else if z.HasExtensions() && z.DecExt(yyv2706) { } else { - z.DecFallback(yyv2715, false) + z.DecFallback(yyv2706, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2717 := &x.Items - yym2718 := z.DecBinary() - _ = yym2718 + yyv2708 := &x.Items + yym2709 := z.DecBinary() + _ = yym2709 if false { } else { - h.decSliceService((*[]Service)(yyv2717), d) + h.decSliceService((*[]Service)(yyv2708), d) } } default: - z.DecStructFieldNotFound(-1, yys2712) - } // end switch yys2712 - } // end for yyj2712 + z.DecStructFieldNotFound(-1, yys2703) + } // end switch yys2703 + } // end for yyj2703 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35193,16 +35111,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2719 int - var yyb2719 bool - var yyhl2719 bool = l >= 0 - yyj2719++ - if yyhl2719 { - yyb2719 = yyj2719 > l + var yyj2710 int + var yyb2710 bool + var yyhl2710 bool = l >= 0 + yyj2710++ + if yyhl2710 { + yyb2710 = yyj2710 > l } else { - yyb2719 = r.CheckBreak() + yyb2710 = r.CheckBreak() } - if yyb2719 { + if yyb2710 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35212,13 +35130,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2719++ - if yyhl2719 { - yyb2719 = yyj2719 > l + yyj2710++ + if yyhl2710 { + yyb2710 = yyj2710 > l } else { - yyb2719 = r.CheckBreak() + yyb2710 = r.CheckBreak() } - if yyb2719 { + if yyb2710 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35228,13 +35146,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2719++ - if yyhl2719 { - yyb2719 = yyj2719 > l + yyj2710++ + if yyhl2710 { + yyb2710 = yyj2710 > l } else { - yyb2719 = r.CheckBreak() + yyb2710 = r.CheckBreak() } - if yyb2719 { + if yyb2710 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35242,22 +35160,22 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2722 := &x.ListMeta - yym2723 := z.DecBinary() - _ = yym2723 + yyv2713 := &x.ListMeta + yym2714 := z.DecBinary() + _ = yym2714 if false { - } else if z.HasExtensions() && z.DecExt(yyv2722) { + } else if z.HasExtensions() && z.DecExt(yyv2713) { } else { - z.DecFallback(yyv2722, false) + z.DecFallback(yyv2713, false) } } - yyj2719++ - if yyhl2719 { - yyb2719 = yyj2719 > l + yyj2710++ + if yyhl2710 { + yyb2710 = yyj2710 > l } else { - yyb2719 = r.CheckBreak() + yyb2710 = r.CheckBreak() } - if yyb2719 { + if yyb2710 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35265,26 +35183,26 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2724 := &x.Items - yym2725 := z.DecBinary() - _ = yym2725 + yyv2715 := &x.Items + yym2716 := z.DecBinary() + _ = yym2716 if false { } else { - h.decSliceService((*[]Service)(yyv2724), d) + h.decSliceService((*[]Service)(yyv2715), d) } } for { - yyj2719++ - if yyhl2719 { - yyb2719 = yyj2719 > l + yyj2710++ + if yyhl2710 { + yyb2710 = yyj2710 > l } else { - yyb2719 = r.CheckBreak() + yyb2710 = r.CheckBreak() } - if yyb2719 { + if yyb2710 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2719-1, "") + z.DecStructFieldNotFound(yyj2710-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35296,39 +35214,39 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2726 := z.EncBinary() - _ = yym2726 + yym2717 := z.EncBinary() + _ = yym2717 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2727 := !z.EncBinary() - yy2arr2727 := z.EncBasicHandle().StructToArray - var yyq2727 [5]bool - _, _, _ = yysep2727, yyq2727, yy2arr2727 - const yyr2727 bool = false - yyq2727[0] = x.Kind != "" - yyq2727[1] = x.APIVersion != "" - yyq2727[2] = true - yyq2727[3] = len(x.Secrets) != 0 - yyq2727[4] = len(x.ImagePullSecrets) != 0 - var yynn2727 int - if yyr2727 || yy2arr2727 { + yysep2718 := !z.EncBinary() + yy2arr2718 := z.EncBasicHandle().StructToArray + var yyq2718 [5]bool + _, _, _ = yysep2718, yyq2718, yy2arr2718 + const yyr2718 bool = false + yyq2718[0] = x.Kind != "" + yyq2718[1] = x.APIVersion != "" + yyq2718[2] = true + yyq2718[3] = len(x.Secrets) != 0 + yyq2718[4] = len(x.ImagePullSecrets) != 0 + var yynn2718 int + if yyr2718 || yy2arr2718 { r.EncodeArrayStart(5) } else { - yynn2727 = 0 - for _, b := range yyq2727 { + yynn2718 = 0 + for _, b := range yyq2718 { if b { - yynn2727++ + yynn2718++ } } - r.EncodeMapStart(yynn2727) - yynn2727 = 0 + r.EncodeMapStart(yynn2718) + yynn2718 = 0 } - if yyr2727 || yy2arr2727 { + if yyr2718 || yy2arr2718 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2727[0] { - yym2729 := z.EncBinary() - _ = yym2729 + if yyq2718[0] { + yym2720 := z.EncBinary() + _ = yym2720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35337,23 +35255,23 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2727[0] { + if yyq2718[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2730 := z.EncBinary() - _ = yym2730 + yym2721 := z.EncBinary() + _ = yym2721 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2727 || yy2arr2727 { + if yyr2718 || yy2arr2718 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2727[1] { - yym2732 := z.EncBinary() - _ = yym2732 + if yyq2718[1] { + yym2723 := z.EncBinary() + _ = yym2723 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35362,43 +35280,43 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2727[1] { + if yyq2718[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2733 := z.EncBinary() - _ = yym2733 + yym2724 := z.EncBinary() + _ = yym2724 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2727 || yy2arr2727 { + if yyr2718 || yy2arr2718 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2727[2] { - yy2735 := &x.ObjectMeta - yy2735.CodecEncodeSelf(e) + if yyq2718[2] { + yy2726 := &x.ObjectMeta + yy2726.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2727[2] { + if yyq2718[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2736 := &x.ObjectMeta - yy2736.CodecEncodeSelf(e) + yy2727 := &x.ObjectMeta + yy2727.CodecEncodeSelf(e) } } - if yyr2727 || yy2arr2727 { + if yyr2718 || yy2arr2718 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2727[3] { + if yyq2718[3] { if x.Secrets == nil { r.EncodeNil() } else { - yym2738 := z.EncBinary() - _ = yym2738 + yym2729 := z.EncBinary() + _ = yym2729 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -35408,15 +35326,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2727[3] { + if yyq2718[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Secrets == nil { r.EncodeNil() } else { - yym2739 := z.EncBinary() - _ = yym2739 + yym2730 := z.EncBinary() + _ = yym2730 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -35424,14 +35342,14 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2727 || yy2arr2727 { + if yyr2718 || yy2arr2718 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2727[4] { + if yyq2718[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2741 := z.EncBinary() - _ = yym2741 + yym2732 := z.EncBinary() + _ = yym2732 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -35441,15 +35359,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2727[4] { + if yyq2718[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2742 := z.EncBinary() - _ = yym2742 + yym2733 := z.EncBinary() + _ = yym2733 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -35457,7 +35375,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2727 || yy2arr2727 { + if yyr2718 || yy2arr2718 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35470,25 +35388,25 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2743 := z.DecBinary() - _ = yym2743 + yym2734 := z.DecBinary() + _ = yym2734 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2744 := r.ContainerType() - if yyct2744 == codecSelferValueTypeMap1234 { - yyl2744 := r.ReadMapStart() - if yyl2744 == 0 { + yyct2735 := r.ContainerType() + if yyct2735 == codecSelferValueTypeMap1234 { + yyl2735 := r.ReadMapStart() + if yyl2735 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2744, d) + x.codecDecodeSelfFromMap(yyl2735, d) } - } else if yyct2744 == codecSelferValueTypeArray1234 { - yyl2744 := r.ReadArrayStart() - if yyl2744 == 0 { + } else if yyct2735 == codecSelferValueTypeArray1234 { + yyl2735 := r.ReadArrayStart() + if yyl2735 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2744, d) + x.codecDecodeSelfFromArray(yyl2735, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35500,12 +35418,12 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2745Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2745Slc - var yyhl2745 bool = l >= 0 - for yyj2745 := 0; ; yyj2745++ { - if yyhl2745 { - if yyj2745 >= l { + var yys2736Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2736Slc + var yyhl2736 bool = l >= 0 + for yyj2736 := 0; ; yyj2736++ { + if yyhl2736 { + if yyj2736 >= l { break } } else { @@ -35514,10 +35432,10 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2745Slc = r.DecodeBytes(yys2745Slc, true, true) - yys2745 := string(yys2745Slc) + yys2736Slc = r.DecodeBytes(yys2736Slc, true, true) + yys2736 := string(yys2736Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2745 { + switch yys2736 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35534,37 +35452,37 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2748 := &x.ObjectMeta - yyv2748.CodecDecodeSelf(d) + yyv2739 := &x.ObjectMeta + yyv2739.CodecDecodeSelf(d) } case "secrets": if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2749 := &x.Secrets - yym2750 := z.DecBinary() - _ = yym2750 + yyv2740 := &x.Secrets + yym2741 := z.DecBinary() + _ = yym2741 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2749), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2740), d) } } case "imagePullSecrets": if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2751 := &x.ImagePullSecrets - yym2752 := z.DecBinary() - _ = yym2752 + yyv2742 := &x.ImagePullSecrets + yym2743 := z.DecBinary() + _ = yym2743 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2751), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2742), d) } } default: - z.DecStructFieldNotFound(-1, yys2745) - } // end switch yys2745 - } // end for yyj2745 + z.DecStructFieldNotFound(-1, yys2736) + } // end switch yys2736 + } // end for yyj2736 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35572,16 +35490,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2753 int - var yyb2753 bool - var yyhl2753 bool = l >= 0 - yyj2753++ - if yyhl2753 { - yyb2753 = yyj2753 > l + var yyj2744 int + var yyb2744 bool + var yyhl2744 bool = l >= 0 + yyj2744++ + if yyhl2744 { + yyb2744 = yyj2744 > l } else { - yyb2753 = r.CheckBreak() + yyb2744 = r.CheckBreak() } - if yyb2753 { + if yyb2744 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35591,13 +35509,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2753++ - if yyhl2753 { - yyb2753 = yyj2753 > l + yyj2744++ + if yyhl2744 { + yyb2744 = yyj2744 > l } else { - yyb2753 = r.CheckBreak() + yyb2744 = r.CheckBreak() } - if yyb2753 { + if yyb2744 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35607,13 +35525,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2753++ - if yyhl2753 { - yyb2753 = yyj2753 > l + yyj2744++ + if yyhl2744 { + yyb2744 = yyj2744 > l } else { - yyb2753 = r.CheckBreak() + yyb2744 = r.CheckBreak() } - if yyb2753 { + if yyb2744 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35621,16 +35539,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2756 := &x.ObjectMeta - yyv2756.CodecDecodeSelf(d) + yyv2747 := &x.ObjectMeta + yyv2747.CodecDecodeSelf(d) } - yyj2753++ - if yyhl2753 { - yyb2753 = yyj2753 > l + yyj2744++ + if yyhl2744 { + yyb2744 = yyj2744 > l } else { - yyb2753 = r.CheckBreak() + yyb2744 = r.CheckBreak() } - if yyb2753 { + if yyb2744 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35638,21 +35556,21 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2757 := &x.Secrets - yym2758 := z.DecBinary() - _ = yym2758 + yyv2748 := &x.Secrets + yym2749 := z.DecBinary() + _ = yym2749 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2757), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2748), d) } } - yyj2753++ - if yyhl2753 { - yyb2753 = yyj2753 > l + yyj2744++ + if yyhl2744 { + yyb2744 = yyj2744 > l } else { - yyb2753 = r.CheckBreak() + yyb2744 = r.CheckBreak() } - if yyb2753 { + if yyb2744 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35660,26 +35578,26 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2759 := &x.ImagePullSecrets - yym2760 := z.DecBinary() - _ = yym2760 + yyv2750 := &x.ImagePullSecrets + yym2751 := z.DecBinary() + _ = yym2751 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2759), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2750), d) } } for { - yyj2753++ - if yyhl2753 { - yyb2753 = yyj2753 > l + yyj2744++ + if yyhl2744 { + yyb2744 = yyj2744 > l } else { - yyb2753 = r.CheckBreak() + yyb2744 = r.CheckBreak() } - if yyb2753 { + if yyb2744 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2753-1, "") + z.DecStructFieldNotFound(yyj2744-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35691,37 +35609,37 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2761 := z.EncBinary() - _ = yym2761 + yym2752 := z.EncBinary() + _ = yym2752 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2762 := !z.EncBinary() - yy2arr2762 := z.EncBasicHandle().StructToArray - var yyq2762 [4]bool - _, _, _ = yysep2762, yyq2762, yy2arr2762 - const yyr2762 bool = false - yyq2762[0] = x.Kind != "" - yyq2762[1] = x.APIVersion != "" - yyq2762[2] = true - var yynn2762 int - if yyr2762 || yy2arr2762 { + yysep2753 := !z.EncBinary() + yy2arr2753 := z.EncBasicHandle().StructToArray + var yyq2753 [4]bool + _, _, _ = yysep2753, yyq2753, yy2arr2753 + const yyr2753 bool = false + yyq2753[0] = x.Kind != "" + yyq2753[1] = x.APIVersion != "" + yyq2753[2] = true + var yynn2753 int + if yyr2753 || yy2arr2753 { r.EncodeArrayStart(4) } else { - yynn2762 = 1 - for _, b := range yyq2762 { + yynn2753 = 1 + for _, b := range yyq2753 { if b { - yynn2762++ + yynn2753++ } } - r.EncodeMapStart(yynn2762) - yynn2762 = 0 + r.EncodeMapStart(yynn2753) + yynn2753 = 0 } - if yyr2762 || yy2arr2762 { + if yyr2753 || yy2arr2753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2762[0] { - yym2764 := z.EncBinary() - _ = yym2764 + if yyq2753[0] { + yym2755 := z.EncBinary() + _ = yym2755 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35730,23 +35648,23 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2762[0] { + if yyq2753[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2765 := z.EncBinary() - _ = yym2765 + yym2756 := z.EncBinary() + _ = yym2756 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2762 || yy2arr2762 { + if yyr2753 || yy2arr2753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2762[1] { - yym2767 := z.EncBinary() - _ = yym2767 + if yyq2753[1] { + yym2758 := z.EncBinary() + _ = yym2758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35755,54 +35673,54 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2762[1] { + if yyq2753[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2768 := z.EncBinary() - _ = yym2768 + yym2759 := z.EncBinary() + _ = yym2759 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2762 || yy2arr2762 { + if yyr2753 || yy2arr2753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2762[2] { - yy2770 := &x.ListMeta - yym2771 := z.EncBinary() - _ = yym2771 + if yyq2753[2] { + yy2761 := &x.ListMeta + yym2762 := z.EncBinary() + _ = yym2762 if false { - } else if z.HasExtensions() && z.EncExt(yy2770) { + } else if z.HasExtensions() && z.EncExt(yy2761) { } else { - z.EncFallback(yy2770) + z.EncFallback(yy2761) } } else { r.EncodeNil() } } else { - if yyq2762[2] { + if yyq2753[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2772 := &x.ListMeta - yym2773 := z.EncBinary() - _ = yym2773 + yy2763 := &x.ListMeta + yym2764 := z.EncBinary() + _ = yym2764 if false { - } else if z.HasExtensions() && z.EncExt(yy2772) { + } else if z.HasExtensions() && z.EncExt(yy2763) { } else { - z.EncFallback(yy2772) + z.EncFallback(yy2763) } } } - if yyr2762 || yy2arr2762 { + if yyr2753 || yy2arr2753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2775 := z.EncBinary() - _ = yym2775 + yym2766 := z.EncBinary() + _ = yym2766 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) @@ -35815,15 +35733,15 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2776 := z.EncBinary() - _ = yym2776 + yym2767 := z.EncBinary() + _ = yym2767 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2762 || yy2arr2762 { + if yyr2753 || yy2arr2753 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35836,25 +35754,25 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2777 := z.DecBinary() - _ = yym2777 + yym2768 := z.DecBinary() + _ = yym2768 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2778 := r.ContainerType() - if yyct2778 == codecSelferValueTypeMap1234 { - yyl2778 := r.ReadMapStart() - if yyl2778 == 0 { + yyct2769 := r.ContainerType() + if yyct2769 == codecSelferValueTypeMap1234 { + yyl2769 := r.ReadMapStart() + if yyl2769 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2778, d) + x.codecDecodeSelfFromMap(yyl2769, d) } - } else if yyct2778 == codecSelferValueTypeArray1234 { - yyl2778 := r.ReadArrayStart() - if yyl2778 == 0 { + } else if yyct2769 == codecSelferValueTypeArray1234 { + yyl2769 := r.ReadArrayStart() + if yyl2769 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2778, d) + x.codecDecodeSelfFromArray(yyl2769, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35866,12 +35784,12 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2779Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2779Slc - var yyhl2779 bool = l >= 0 - for yyj2779 := 0; ; yyj2779++ { - if yyhl2779 { - if yyj2779 >= l { + var yys2770Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2770Slc + var yyhl2770 bool = l >= 0 + for yyj2770 := 0; ; yyj2770++ { + if yyhl2770 { + if yyj2770 >= l { break } } else { @@ -35880,10 +35798,10 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2779Slc = r.DecodeBytes(yys2779Slc, true, true) - yys2779 := string(yys2779Slc) + yys2770Slc = r.DecodeBytes(yys2770Slc, true, true) + yys2770 := string(yys2770Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2779 { + switch yys2770 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35900,31 +35818,31 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2782 := &x.ListMeta - yym2783 := z.DecBinary() - _ = yym2783 + yyv2773 := &x.ListMeta + yym2774 := z.DecBinary() + _ = yym2774 if false { - } else if z.HasExtensions() && z.DecExt(yyv2782) { + } else if z.HasExtensions() && z.DecExt(yyv2773) { } else { - z.DecFallback(yyv2782, false) + z.DecFallback(yyv2773, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2784 := &x.Items - yym2785 := z.DecBinary() - _ = yym2785 + yyv2775 := &x.Items + yym2776 := z.DecBinary() + _ = yym2776 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2784), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2775), d) } } default: - z.DecStructFieldNotFound(-1, yys2779) - } // end switch yys2779 - } // end for yyj2779 + z.DecStructFieldNotFound(-1, yys2770) + } // end switch yys2770 + } // end for yyj2770 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35932,16 +35850,16 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2786 int - var yyb2786 bool - var yyhl2786 bool = l >= 0 - yyj2786++ - if yyhl2786 { - yyb2786 = yyj2786 > l + var yyj2777 int + var yyb2777 bool + var yyhl2777 bool = l >= 0 + yyj2777++ + if yyhl2777 { + yyb2777 = yyj2777 > l } else { - yyb2786 = r.CheckBreak() + yyb2777 = r.CheckBreak() } - if yyb2786 { + if yyb2777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35951,13 +35869,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj2786++ - if yyhl2786 { - yyb2786 = yyj2786 > l + yyj2777++ + if yyhl2777 { + yyb2777 = yyj2777 > l } else { - yyb2786 = r.CheckBreak() + yyb2777 = r.CheckBreak() } - if yyb2786 { + if yyb2777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35967,13 +35885,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj2786++ - if yyhl2786 { - yyb2786 = yyj2786 > l + yyj2777++ + if yyhl2777 { + yyb2777 = yyj2777 > l } else { - yyb2786 = r.CheckBreak() + yyb2777 = r.CheckBreak() } - if yyb2786 { + if yyb2777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35981,22 +35899,22 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2789 := &x.ListMeta - yym2790 := z.DecBinary() - _ = yym2790 + yyv2780 := &x.ListMeta + yym2781 := z.DecBinary() + _ = yym2781 if false { - } else if z.HasExtensions() && z.DecExt(yyv2789) { + } else if z.HasExtensions() && z.DecExt(yyv2780) { } else { - z.DecFallback(yyv2789, false) + z.DecFallback(yyv2780, false) } } - yyj2786++ - if yyhl2786 { - yyb2786 = yyj2786 > l + yyj2777++ + if yyhl2777 { + yyb2777 = yyj2777 > l } else { - yyb2786 = r.CheckBreak() + yyb2777 = r.CheckBreak() } - if yyb2786 { + if yyb2777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36004,26 +35922,26 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2791 := &x.Items - yym2792 := z.DecBinary() - _ = yym2792 + yyv2782 := &x.Items + yym2783 := z.DecBinary() + _ = yym2783 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2791), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2782), d) } } for { - yyj2786++ - if yyhl2786 { - yyb2786 = yyj2786 > l + yyj2777++ + if yyhl2777 { + yyb2777 = yyj2777 > l } else { - yyb2786 = r.CheckBreak() + yyb2777 = r.CheckBreak() } - if yyb2786 { + if yyb2777 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2786-1, "") + z.DecStructFieldNotFound(yyj2777-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36035,37 +35953,37 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2793 := z.EncBinary() - _ = yym2793 + yym2784 := z.EncBinary() + _ = yym2784 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2794 := !z.EncBinary() - yy2arr2794 := z.EncBasicHandle().StructToArray - var yyq2794 [4]bool - _, _, _ = yysep2794, yyq2794, yy2arr2794 - const yyr2794 bool = false - yyq2794[0] = x.Kind != "" - yyq2794[1] = x.APIVersion != "" - yyq2794[2] = true - var yynn2794 int - if yyr2794 || yy2arr2794 { + yysep2785 := !z.EncBinary() + yy2arr2785 := z.EncBasicHandle().StructToArray + var yyq2785 [4]bool + _, _, _ = yysep2785, yyq2785, yy2arr2785 + const yyr2785 bool = false + yyq2785[0] = x.Kind != "" + yyq2785[1] = x.APIVersion != "" + yyq2785[2] = true + var yynn2785 int + if yyr2785 || yy2arr2785 { r.EncodeArrayStart(4) } else { - yynn2794 = 1 - for _, b := range yyq2794 { + yynn2785 = 1 + for _, b := range yyq2785 { if b { - yynn2794++ + yynn2785++ } } - r.EncodeMapStart(yynn2794) - yynn2794 = 0 + r.EncodeMapStart(yynn2785) + yynn2785 = 0 } - if yyr2794 || yy2arr2794 { + if yyr2785 || yy2arr2785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2794[0] { - yym2796 := z.EncBinary() - _ = yym2796 + if yyq2785[0] { + yym2787 := z.EncBinary() + _ = yym2787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36074,23 +35992,23 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2794[0] { + if yyq2785[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2797 := z.EncBinary() - _ = yym2797 + yym2788 := z.EncBinary() + _ = yym2788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2794 || yy2arr2794 { + if yyr2785 || yy2arr2785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2794[1] { - yym2799 := z.EncBinary() - _ = yym2799 + if yyq2785[1] { + yym2790 := z.EncBinary() + _ = yym2790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36099,42 +36017,42 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2794[1] { + if yyq2785[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2800 := z.EncBinary() - _ = yym2800 + yym2791 := z.EncBinary() + _ = yym2791 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2794 || yy2arr2794 { + if yyr2785 || yy2arr2785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2794[2] { - yy2802 := &x.ObjectMeta - yy2802.CodecEncodeSelf(e) + if yyq2785[2] { + yy2793 := &x.ObjectMeta + yy2793.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2794[2] { + if yyq2785[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2803 := &x.ObjectMeta - yy2803.CodecEncodeSelf(e) + yy2794 := &x.ObjectMeta + yy2794.CodecEncodeSelf(e) } } - if yyr2794 || yy2arr2794 { + if yyr2785 || yy2arr2785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subsets == nil { r.EncodeNil() } else { - yym2805 := z.EncBinary() - _ = yym2805 + yym2796 := z.EncBinary() + _ = yym2796 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) @@ -36147,15 +36065,15 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subsets == nil { r.EncodeNil() } else { - yym2806 := z.EncBinary() - _ = yym2806 + yym2797 := z.EncBinary() + _ = yym2797 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) } } } - if yyr2794 || yy2arr2794 { + if yyr2785 || yy2arr2785 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36168,25 +36086,25 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2807 := z.DecBinary() - _ = yym2807 + yym2798 := z.DecBinary() + _ = yym2798 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2808 := r.ContainerType() - if yyct2808 == codecSelferValueTypeMap1234 { - yyl2808 := r.ReadMapStart() - if yyl2808 == 0 { + yyct2799 := r.ContainerType() + if yyct2799 == codecSelferValueTypeMap1234 { + yyl2799 := r.ReadMapStart() + if yyl2799 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2808, d) + x.codecDecodeSelfFromMap(yyl2799, d) } - } else if yyct2808 == codecSelferValueTypeArray1234 { - yyl2808 := r.ReadArrayStart() - if yyl2808 == 0 { + } else if yyct2799 == codecSelferValueTypeArray1234 { + yyl2799 := r.ReadArrayStart() + if yyl2799 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2808, d) + x.codecDecodeSelfFromArray(yyl2799, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36198,12 +36116,12 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2809Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2809Slc - var yyhl2809 bool = l >= 0 - for yyj2809 := 0; ; yyj2809++ { - if yyhl2809 { - if yyj2809 >= l { + var yys2800Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2800Slc + var yyhl2800 bool = l >= 0 + for yyj2800 := 0; ; yyj2800++ { + if yyhl2800 { + if yyj2800 >= l { break } } else { @@ -36212,10 +36130,10 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2809Slc = r.DecodeBytes(yys2809Slc, true, true) - yys2809 := string(yys2809Slc) + yys2800Slc = r.DecodeBytes(yys2800Slc, true, true) + yys2800 := string(yys2800Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2809 { + switch yys2800 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36232,25 +36150,25 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2812 := &x.ObjectMeta - yyv2812.CodecDecodeSelf(d) + yyv2803 := &x.ObjectMeta + yyv2803.CodecDecodeSelf(d) } case "subsets": if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2813 := &x.Subsets - yym2814 := z.DecBinary() - _ = yym2814 + yyv2804 := &x.Subsets + yym2805 := z.DecBinary() + _ = yym2805 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2813), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2804), d) } } default: - z.DecStructFieldNotFound(-1, yys2809) - } // end switch yys2809 - } // end for yyj2809 + z.DecStructFieldNotFound(-1, yys2800) + } // end switch yys2800 + } // end for yyj2800 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36258,16 +36176,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2815 int - var yyb2815 bool - var yyhl2815 bool = l >= 0 - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + var yyj2806 int + var yyb2806 bool + var yyhl2806 bool = l >= 0 + yyj2806++ + if yyhl2806 { + yyb2806 = yyj2806 > l } else { - yyb2815 = r.CheckBreak() + yyb2806 = r.CheckBreak() } - if yyb2815 { + if yyb2806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36277,13 +36195,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2806++ + if yyhl2806 { + yyb2806 = yyj2806 > l } else { - yyb2815 = r.CheckBreak() + yyb2806 = r.CheckBreak() } - if yyb2815 { + if yyb2806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36293,13 +36211,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2806++ + if yyhl2806 { + yyb2806 = yyj2806 > l } else { - yyb2815 = r.CheckBreak() + yyb2806 = r.CheckBreak() } - if yyb2815 { + if yyb2806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36307,16 +36225,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2818 := &x.ObjectMeta - yyv2818.CodecDecodeSelf(d) + yyv2809 := &x.ObjectMeta + yyv2809.CodecDecodeSelf(d) } - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2806++ + if yyhl2806 { + yyb2806 = yyj2806 > l } else { - yyb2815 = r.CheckBreak() + yyb2806 = r.CheckBreak() } - if yyb2815 { + if yyb2806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36324,26 +36242,26 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2819 := &x.Subsets - yym2820 := z.DecBinary() - _ = yym2820 + yyv2810 := &x.Subsets + yym2811 := z.DecBinary() + _ = yym2811 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2819), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2810), d) } } for { - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2806++ + if yyhl2806 { + yyb2806 = yyj2806 > l } else { - yyb2815 = r.CheckBreak() + yyb2806 = r.CheckBreak() } - if yyb2815 { + if yyb2806 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2815-1, "") + z.DecStructFieldNotFound(yyj2806-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36355,40 +36273,40 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2821 := z.EncBinary() - _ = yym2821 + yym2812 := z.EncBinary() + _ = yym2812 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2822 := !z.EncBinary() - yy2arr2822 := z.EncBasicHandle().StructToArray - var yyq2822 [3]bool - _, _, _ = yysep2822, yyq2822, yy2arr2822 - const yyr2822 bool = false - yyq2822[0] = len(x.Addresses) != 0 - yyq2822[1] = len(x.NotReadyAddresses) != 0 - yyq2822[2] = len(x.Ports) != 0 - var yynn2822 int - if yyr2822 || yy2arr2822 { + yysep2813 := !z.EncBinary() + yy2arr2813 := z.EncBasicHandle().StructToArray + var yyq2813 [3]bool + _, _, _ = yysep2813, yyq2813, yy2arr2813 + const yyr2813 bool = false + yyq2813[0] = len(x.Addresses) != 0 + yyq2813[1] = len(x.NotReadyAddresses) != 0 + yyq2813[2] = len(x.Ports) != 0 + var yynn2813 int + if yyr2813 || yy2arr2813 { r.EncodeArrayStart(3) } else { - yynn2822 = 0 - for _, b := range yyq2822 { + yynn2813 = 0 + for _, b := range yyq2813 { if b { - yynn2822++ + yynn2813++ } } - r.EncodeMapStart(yynn2822) - yynn2822 = 0 + r.EncodeMapStart(yynn2813) + yynn2813 = 0 } - if yyr2822 || yy2arr2822 { + if yyr2813 || yy2arr2813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[0] { + if yyq2813[0] { if x.Addresses == nil { r.EncodeNil() } else { - yym2824 := z.EncBinary() - _ = yym2824 + yym2815 := z.EncBinary() + _ = yym2815 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -36398,15 +36316,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2822[0] { + if yyq2813[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2825 := z.EncBinary() - _ = yym2825 + yym2816 := z.EncBinary() + _ = yym2816 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -36414,14 +36332,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2822 || yy2arr2822 { + if yyr2813 || yy2arr2813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[1] { + if yyq2813[1] { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2827 := z.EncBinary() - _ = yym2827 + yym2818 := z.EncBinary() + _ = yym2818 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -36431,15 +36349,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2822[1] { + if yyq2813[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("notReadyAddresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2828 := z.EncBinary() - _ = yym2828 + yym2819 := z.EncBinary() + _ = yym2819 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -36447,14 +36365,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2822 || yy2arr2822 { + if yyr2813 || yy2arr2813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[2] { + if yyq2813[2] { if x.Ports == nil { r.EncodeNil() } else { - yym2830 := z.EncBinary() - _ = yym2830 + yym2821 := z.EncBinary() + _ = yym2821 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -36464,15 +36382,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2822[2] { + if yyq2813[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym2831 := z.EncBinary() - _ = yym2831 + yym2822 := z.EncBinary() + _ = yym2822 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -36480,7 +36398,7 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2822 || yy2arr2822 { + if yyr2813 || yy2arr2813 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36493,25 +36411,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2832 := z.DecBinary() - _ = yym2832 + yym2823 := z.DecBinary() + _ = yym2823 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2833 := r.ContainerType() - if yyct2833 == codecSelferValueTypeMap1234 { - yyl2833 := r.ReadMapStart() - if yyl2833 == 0 { + yyct2824 := r.ContainerType() + if yyct2824 == codecSelferValueTypeMap1234 { + yyl2824 := r.ReadMapStart() + if yyl2824 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2833, d) + x.codecDecodeSelfFromMap(yyl2824, d) } - } else if yyct2833 == codecSelferValueTypeArray1234 { - yyl2833 := r.ReadArrayStart() - if yyl2833 == 0 { + } else if yyct2824 == codecSelferValueTypeArray1234 { + yyl2824 := r.ReadArrayStart() + if yyl2824 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2833, d) + x.codecDecodeSelfFromArray(yyl2824, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36523,12 +36441,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2834Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2834Slc - var yyhl2834 bool = l >= 0 - for yyj2834 := 0; ; yyj2834++ { - if yyhl2834 { - if yyj2834 >= l { + var yys2825Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2825Slc + var yyhl2825 bool = l >= 0 + for yyj2825 := 0; ; yyj2825++ { + if yyhl2825 { + if yyj2825 >= l { break } } else { @@ -36537,50 +36455,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2834Slc = r.DecodeBytes(yys2834Slc, true, true) - yys2834 := string(yys2834Slc) + yys2825Slc = r.DecodeBytes(yys2825Slc, true, true) + yys2825 := string(yys2825Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2834 { + switch yys2825 { case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2835 := &x.Addresses - yym2836 := z.DecBinary() - _ = yym2836 + yyv2826 := &x.Addresses + yym2827 := z.DecBinary() + _ = yym2827 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2835), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2826), d) } } case "notReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2837 := &x.NotReadyAddresses - yym2838 := z.DecBinary() - _ = yym2838 + yyv2828 := &x.NotReadyAddresses + yym2829 := z.DecBinary() + _ = yym2829 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2837), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2828), d) } } case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2839 := &x.Ports - yym2840 := z.DecBinary() - _ = yym2840 + yyv2830 := &x.Ports + yym2831 := z.DecBinary() + _ = yym2831 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2839), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2830), d) } } default: - z.DecStructFieldNotFound(-1, yys2834) - } // end switch yys2834 - } // end for yyj2834 + z.DecStructFieldNotFound(-1, yys2825) + } // end switch yys2825 + } // end for yyj2825 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36588,16 +36506,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2841 int - var yyb2841 bool - var yyhl2841 bool = l >= 0 - yyj2841++ - if yyhl2841 { - yyb2841 = yyj2841 > l + var yyj2832 int + var yyb2832 bool + var yyhl2832 bool = l >= 0 + yyj2832++ + if yyhl2832 { + yyb2832 = yyj2832 > l } else { - yyb2841 = r.CheckBreak() + yyb2832 = r.CheckBreak() } - if yyb2841 { + if yyb2832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36605,21 +36523,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2842 := &x.Addresses - yym2843 := z.DecBinary() - _ = yym2843 + yyv2833 := &x.Addresses + yym2834 := z.DecBinary() + _ = yym2834 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2842), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2833), d) } } - yyj2841++ - if yyhl2841 { - yyb2841 = yyj2841 > l + yyj2832++ + if yyhl2832 { + yyb2832 = yyj2832 > l } else { - yyb2841 = r.CheckBreak() + yyb2832 = r.CheckBreak() } - if yyb2841 { + if yyb2832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36627,21 +36545,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2844 := &x.NotReadyAddresses - yym2845 := z.DecBinary() - _ = yym2845 + yyv2835 := &x.NotReadyAddresses + yym2836 := z.DecBinary() + _ = yym2836 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2844), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2835), d) } } - yyj2841++ - if yyhl2841 { - yyb2841 = yyj2841 > l + yyj2832++ + if yyhl2832 { + yyb2832 = yyj2832 > l } else { - yyb2841 = r.CheckBreak() + yyb2832 = r.CheckBreak() } - if yyb2841 { + if yyb2832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36649,26 +36567,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2846 := &x.Ports - yym2847 := z.DecBinary() - _ = yym2847 + yyv2837 := &x.Ports + yym2838 := z.DecBinary() + _ = yym2838 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2846), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2837), d) } } for { - yyj2841++ - if yyhl2841 { - yyb2841 = yyj2841 > l + yyj2832++ + if yyhl2832 { + yyb2832 = yyj2832 > l } else { - yyb2841 = r.CheckBreak() + yyb2832 = r.CheckBreak() } - if yyb2841 { + if yyb2832 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2841-1, "") + z.DecStructFieldNotFound(yyj2832-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36680,36 +36598,36 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2848 := z.EncBinary() - _ = yym2848 + yym2839 := z.EncBinary() + _ = yym2839 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2849 := !z.EncBinary() - yy2arr2849 := z.EncBasicHandle().StructToArray - var yyq2849 [4]bool - _, _, _ = yysep2849, yyq2849, yy2arr2849 - const yyr2849 bool = false - yyq2849[1] = x.Hostname != "" - yyq2849[2] = x.NodeName != nil - yyq2849[3] = x.TargetRef != nil - var yynn2849 int - if yyr2849 || yy2arr2849 { + yysep2840 := !z.EncBinary() + yy2arr2840 := z.EncBasicHandle().StructToArray + var yyq2840 [4]bool + _, _, _ = yysep2840, yyq2840, yy2arr2840 + const yyr2840 bool = false + yyq2840[1] = x.Hostname != "" + yyq2840[2] = x.NodeName != nil + yyq2840[3] = x.TargetRef != nil + var yynn2840 int + if yyr2840 || yy2arr2840 { r.EncodeArrayStart(4) } else { - yynn2849 = 1 - for _, b := range yyq2849 { + yynn2840 = 1 + for _, b := range yyq2840 { if b { - yynn2849++ + yynn2840++ } } - r.EncodeMapStart(yynn2849) - yynn2849 = 0 + r.EncodeMapStart(yynn2840) + yynn2840 = 0 } - if yyr2849 || yy2arr2849 { + if yyr2840 || yy2arr2840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2851 := z.EncBinary() - _ = yym2851 + yym2842 := z.EncBinary() + _ = yym2842 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -36718,18 +36636,18 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2852 := z.EncBinary() - _ = yym2852 + yym2843 := z.EncBinary() + _ = yym2843 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2849 || yy2arr2849 { + if yyr2840 || yy2arr2840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2849[1] { - yym2854 := z.EncBinary() - _ = yym2854 + if yyq2840[1] { + yym2845 := z.EncBinary() + _ = yym2845 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -36738,56 +36656,56 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2849[1] { + if yyq2840[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2855 := z.EncBinary() - _ = yym2855 + yym2846 := z.EncBinary() + _ = yym2846 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2849 || yy2arr2849 { + if yyr2840 || yy2arr2840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2849[2] { + if yyq2840[2] { if x.NodeName == nil { r.EncodeNil() } else { - yy2857 := *x.NodeName - yym2858 := z.EncBinary() - _ = yym2858 + yy2848 := *x.NodeName + yym2849 := z.EncBinary() + _ = yym2849 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2857)) + r.EncodeString(codecSelferC_UTF81234, string(yy2848)) } } } else { r.EncodeNil() } } else { - if yyq2849[2] { + if yyq2840[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeName == nil { r.EncodeNil() } else { - yy2859 := *x.NodeName - yym2860 := z.EncBinary() - _ = yym2860 + yy2850 := *x.NodeName + yym2851 := z.EncBinary() + _ = yym2851 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2859)) + r.EncodeString(codecSelferC_UTF81234, string(yy2850)) } } } } - if yyr2849 || yy2arr2849 { + if yyr2840 || yy2arr2840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2849[3] { + if yyq2840[3] { if x.TargetRef == nil { r.EncodeNil() } else { @@ -36797,7 +36715,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2849[3] { + if yyq2840[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -36808,7 +36726,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2849 || yy2arr2849 { + if yyr2840 || yy2arr2840 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36821,25 +36739,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2862 := z.DecBinary() - _ = yym2862 + yym2853 := z.DecBinary() + _ = yym2853 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2863 := r.ContainerType() - if yyct2863 == codecSelferValueTypeMap1234 { - yyl2863 := r.ReadMapStart() - if yyl2863 == 0 { + yyct2854 := r.ContainerType() + if yyct2854 == codecSelferValueTypeMap1234 { + yyl2854 := r.ReadMapStart() + if yyl2854 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2863, d) + x.codecDecodeSelfFromMap(yyl2854, d) } - } else if yyct2863 == codecSelferValueTypeArray1234 { - yyl2863 := r.ReadArrayStart() - if yyl2863 == 0 { + } else if yyct2854 == codecSelferValueTypeArray1234 { + yyl2854 := r.ReadArrayStart() + if yyl2854 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2863, d) + x.codecDecodeSelfFromArray(yyl2854, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36851,12 +36769,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2864Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2864Slc - var yyhl2864 bool = l >= 0 - for yyj2864 := 0; ; yyj2864++ { - if yyhl2864 { - if yyj2864 >= l { + var yys2855Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2855Slc + var yyhl2855 bool = l >= 0 + for yyj2855 := 0; ; yyj2855++ { + if yyhl2855 { + if yyj2855 >= l { break } } else { @@ -36865,10 +36783,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2864Slc = r.DecodeBytes(yys2864Slc, true, true) - yys2864 := string(yys2864Slc) + yys2855Slc = r.DecodeBytes(yys2855Slc, true, true) + yys2855 := string(yys2855Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2864 { + switch yys2855 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -36890,8 +36808,8 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.NodeName == nil { x.NodeName = new(string) } - yym2868 := z.DecBinary() - _ = yym2868 + yym2859 := z.DecBinary() + _ = yym2859 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() @@ -36909,9 +36827,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2864) - } // end switch yys2864 - } // end for yyj2864 + z.DecStructFieldNotFound(-1, yys2855) + } // end switch yys2855 + } // end for yyj2855 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36919,16 +36837,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2870 int - var yyb2870 bool - var yyhl2870 bool = l >= 0 - yyj2870++ - if yyhl2870 { - yyb2870 = yyj2870 > l + var yyj2861 int + var yyb2861 bool + var yyhl2861 bool = l >= 0 + yyj2861++ + if yyhl2861 { + yyb2861 = yyj2861 > l } else { - yyb2870 = r.CheckBreak() + yyb2861 = r.CheckBreak() } - if yyb2870 { + if yyb2861 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36938,13 +36856,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj2870++ - if yyhl2870 { - yyb2870 = yyj2870 > l + yyj2861++ + if yyhl2861 { + yyb2861 = yyj2861 > l } else { - yyb2870 = r.CheckBreak() + yyb2861 = r.CheckBreak() } - if yyb2870 { + if yyb2861 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36954,13 +36872,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Hostname = string(r.DecodeString()) } - yyj2870++ - if yyhl2870 { - yyb2870 = yyj2870 > l + yyj2861++ + if yyhl2861 { + yyb2861 = yyj2861 > l } else { - yyb2870 = r.CheckBreak() + yyb2861 = r.CheckBreak() } - if yyb2870 { + if yyb2861 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36973,20 +36891,20 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.NodeName == nil { x.NodeName = new(string) } - yym2874 := z.DecBinary() - _ = yym2874 + yym2865 := z.DecBinary() + _ = yym2865 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() } } - yyj2870++ - if yyhl2870 { - yyb2870 = yyj2870 > l + yyj2861++ + if yyhl2861 { + yyb2861 = yyj2861 > l } else { - yyb2870 = r.CheckBreak() + yyb2861 = r.CheckBreak() } - if yyb2870 { + if yyb2861 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37002,17 +36920,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj2870++ - if yyhl2870 { - yyb2870 = yyj2870 > l + yyj2861++ + if yyhl2861 { + yyb2861 = yyj2861 > l } else { - yyb2870 = r.CheckBreak() + yyb2861 = r.CheckBreak() } - if yyb2870 { + if yyb2861 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2870-1, "") + z.DecStructFieldNotFound(yyj2861-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37024,36 +36942,36 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2876 := z.EncBinary() - _ = yym2876 + yym2867 := z.EncBinary() + _ = yym2867 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2877 := !z.EncBinary() - yy2arr2877 := z.EncBasicHandle().StructToArray - var yyq2877 [3]bool - _, _, _ = yysep2877, yyq2877, yy2arr2877 - const yyr2877 bool = false - yyq2877[0] = x.Name != "" - yyq2877[2] = x.Protocol != "" - var yynn2877 int - if yyr2877 || yy2arr2877 { + yysep2868 := !z.EncBinary() + yy2arr2868 := z.EncBasicHandle().StructToArray + var yyq2868 [3]bool + _, _, _ = yysep2868, yyq2868, yy2arr2868 + const yyr2868 bool = false + yyq2868[0] = x.Name != "" + yyq2868[2] = x.Protocol != "" + var yynn2868 int + if yyr2868 || yy2arr2868 { r.EncodeArrayStart(3) } else { - yynn2877 = 1 - for _, b := range yyq2877 { + yynn2868 = 1 + for _, b := range yyq2868 { if b { - yynn2877++ + yynn2868++ } } - r.EncodeMapStart(yynn2877) - yynn2877 = 0 + r.EncodeMapStart(yynn2868) + yynn2868 = 0 } - if yyr2877 || yy2arr2877 { + if yyr2868 || yy2arr2868 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2877[0] { - yym2879 := z.EncBinary() - _ = yym2879 + if yyq2868[0] { + yym2870 := z.EncBinary() + _ = yym2870 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -37062,22 +36980,22 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2877[0] { + if yyq2868[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2880 := z.EncBinary() - _ = yym2880 + yym2871 := z.EncBinary() + _ = yym2871 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2877 || yy2arr2877 { + if yyr2868 || yy2arr2868 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2882 := z.EncBinary() - _ = yym2882 + yym2873 := z.EncBinary() + _ = yym2873 if false { } else { r.EncodeInt(int64(x.Port)) @@ -37086,29 +37004,29 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2883 := z.EncBinary() - _ = yym2883 + yym2874 := z.EncBinary() + _ = yym2874 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2877 || yy2arr2877 { + if yyr2868 || yy2arr2868 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2877[2] { + if yyq2868[2] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2877[2] { + if yyq2868[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2877 || yy2arr2877 { + if yyr2868 || yy2arr2868 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37121,25 +37039,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2885 := z.DecBinary() - _ = yym2885 + yym2876 := z.DecBinary() + _ = yym2876 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2886 := r.ContainerType() - if yyct2886 == codecSelferValueTypeMap1234 { - yyl2886 := r.ReadMapStart() - if yyl2886 == 0 { + yyct2877 := r.ContainerType() + if yyct2877 == codecSelferValueTypeMap1234 { + yyl2877 := r.ReadMapStart() + if yyl2877 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2886, d) + x.codecDecodeSelfFromMap(yyl2877, d) } - } else if yyct2886 == codecSelferValueTypeArray1234 { - yyl2886 := r.ReadArrayStart() - if yyl2886 == 0 { + } else if yyct2877 == codecSelferValueTypeArray1234 { + yyl2877 := r.ReadArrayStart() + if yyl2877 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2886, d) + x.codecDecodeSelfFromArray(yyl2877, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37151,12 +37069,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2887Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2887Slc - var yyhl2887 bool = l >= 0 - for yyj2887 := 0; ; yyj2887++ { - if yyhl2887 { - if yyj2887 >= l { + var yys2878Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2878Slc + var yyhl2878 bool = l >= 0 + for yyj2878 := 0; ; yyj2878++ { + if yyhl2878 { + if yyj2878 >= l { break } } else { @@ -37165,10 +37083,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2887Slc = r.DecodeBytes(yys2887Slc, true, true) - yys2887 := string(yys2887Slc) + yys2878Slc = r.DecodeBytes(yys2878Slc, true, true) + yys2878 := string(yys2878Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2887 { + switch yys2878 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -37188,9 +37106,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2887) - } // end switch yys2887 - } // end for yyj2887 + z.DecStructFieldNotFound(-1, yys2878) + } // end switch yys2878 + } // end for yyj2878 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37198,16 +37116,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2891 int - var yyb2891 bool - var yyhl2891 bool = l >= 0 - yyj2891++ - if yyhl2891 { - yyb2891 = yyj2891 > l + var yyj2882 int + var yyb2882 bool + var yyhl2882 bool = l >= 0 + yyj2882++ + if yyhl2882 { + yyb2882 = yyj2882 > l } else { - yyb2891 = r.CheckBreak() + yyb2882 = r.CheckBreak() } - if yyb2891 { + if yyb2882 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37217,13 +37135,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2891++ - if yyhl2891 { - yyb2891 = yyj2891 > l + yyj2882++ + if yyhl2882 { + yyb2882 = yyj2882 > l } else { - yyb2891 = r.CheckBreak() + yyb2882 = r.CheckBreak() } - if yyb2891 { + if yyb2882 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37233,13 +37151,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2891++ - if yyhl2891 { - yyb2891 = yyj2891 > l + yyj2882++ + if yyhl2882 { + yyb2882 = yyj2882 > l } else { - yyb2891 = r.CheckBreak() + yyb2882 = r.CheckBreak() } - if yyb2891 { + if yyb2882 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37250,17 +37168,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj2891++ - if yyhl2891 { - yyb2891 = yyj2891 > l + yyj2882++ + if yyhl2882 { + yyb2882 = yyj2882 > l } else { - yyb2891 = r.CheckBreak() + yyb2882 = r.CheckBreak() } - if yyb2891 { + if yyb2882 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2891-1, "") + z.DecStructFieldNotFound(yyj2882-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37272,37 +37190,37 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2895 := z.EncBinary() - _ = yym2895 + yym2886 := z.EncBinary() + _ = yym2886 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2896 := !z.EncBinary() - yy2arr2896 := z.EncBasicHandle().StructToArray - var yyq2896 [4]bool - _, _, _ = yysep2896, yyq2896, yy2arr2896 - const yyr2896 bool = false - yyq2896[0] = x.Kind != "" - yyq2896[1] = x.APIVersion != "" - yyq2896[2] = true - var yynn2896 int - if yyr2896 || yy2arr2896 { + yysep2887 := !z.EncBinary() + yy2arr2887 := z.EncBasicHandle().StructToArray + var yyq2887 [4]bool + _, _, _ = yysep2887, yyq2887, yy2arr2887 + const yyr2887 bool = false + yyq2887[0] = x.Kind != "" + yyq2887[1] = x.APIVersion != "" + yyq2887[2] = true + var yynn2887 int + if yyr2887 || yy2arr2887 { r.EncodeArrayStart(4) } else { - yynn2896 = 1 - for _, b := range yyq2896 { + yynn2887 = 1 + for _, b := range yyq2887 { if b { - yynn2896++ + yynn2887++ } } - r.EncodeMapStart(yynn2896) - yynn2896 = 0 + r.EncodeMapStart(yynn2887) + yynn2887 = 0 } - if yyr2896 || yy2arr2896 { + if yyr2887 || yy2arr2887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2896[0] { - yym2898 := z.EncBinary() - _ = yym2898 + if yyq2887[0] { + yym2889 := z.EncBinary() + _ = yym2889 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37311,23 +37229,23 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2896[0] { + if yyq2887[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2899 := z.EncBinary() - _ = yym2899 + yym2890 := z.EncBinary() + _ = yym2890 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2896 || yy2arr2896 { + if yyr2887 || yy2arr2887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2896[1] { - yym2901 := z.EncBinary() - _ = yym2901 + if yyq2887[1] { + yym2892 := z.EncBinary() + _ = yym2892 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37336,54 +37254,54 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2896[1] { + if yyq2887[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2902 := z.EncBinary() - _ = yym2902 + yym2893 := z.EncBinary() + _ = yym2893 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2896 || yy2arr2896 { + if yyr2887 || yy2arr2887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2896[2] { - yy2904 := &x.ListMeta - yym2905 := z.EncBinary() - _ = yym2905 + if yyq2887[2] { + yy2895 := &x.ListMeta + yym2896 := z.EncBinary() + _ = yym2896 if false { - } else if z.HasExtensions() && z.EncExt(yy2904) { + } else if z.HasExtensions() && z.EncExt(yy2895) { } else { - z.EncFallback(yy2904) + z.EncFallback(yy2895) } } else { r.EncodeNil() } } else { - if yyq2896[2] { + if yyq2887[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2906 := &x.ListMeta - yym2907 := z.EncBinary() - _ = yym2907 + yy2897 := &x.ListMeta + yym2898 := z.EncBinary() + _ = yym2898 if false { - } else if z.HasExtensions() && z.EncExt(yy2906) { + } else if z.HasExtensions() && z.EncExt(yy2897) { } else { - z.EncFallback(yy2906) + z.EncFallback(yy2897) } } } - if yyr2896 || yy2arr2896 { + if yyr2887 || yy2arr2887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2909 := z.EncBinary() - _ = yym2909 + yym2900 := z.EncBinary() + _ = yym2900 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -37396,15 +37314,15 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2910 := z.EncBinary() - _ = yym2910 + yym2901 := z.EncBinary() + _ = yym2901 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2896 || yy2arr2896 { + if yyr2887 || yy2arr2887 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37417,25 +37335,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2911 := z.DecBinary() - _ = yym2911 + yym2902 := z.DecBinary() + _ = yym2902 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2912 := r.ContainerType() - if yyct2912 == codecSelferValueTypeMap1234 { - yyl2912 := r.ReadMapStart() - if yyl2912 == 0 { + yyct2903 := r.ContainerType() + if yyct2903 == codecSelferValueTypeMap1234 { + yyl2903 := r.ReadMapStart() + if yyl2903 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2912, d) + x.codecDecodeSelfFromMap(yyl2903, d) } - } else if yyct2912 == codecSelferValueTypeArray1234 { - yyl2912 := r.ReadArrayStart() - if yyl2912 == 0 { + } else if yyct2903 == codecSelferValueTypeArray1234 { + yyl2903 := r.ReadArrayStart() + if yyl2903 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2912, d) + x.codecDecodeSelfFromArray(yyl2903, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37447,12 +37365,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2913Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2913Slc - var yyhl2913 bool = l >= 0 - for yyj2913 := 0; ; yyj2913++ { - if yyhl2913 { - if yyj2913 >= l { + var yys2904Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2904Slc + var yyhl2904 bool = l >= 0 + for yyj2904 := 0; ; yyj2904++ { + if yyhl2904 { + if yyj2904 >= l { break } } else { @@ -37461,10 +37379,10 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2913Slc = r.DecodeBytes(yys2913Slc, true, true) - yys2913 := string(yys2913Slc) + yys2904Slc = r.DecodeBytes(yys2904Slc, true, true) + yys2904 := string(yys2904Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2913 { + switch yys2904 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37481,31 +37399,31 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2916 := &x.ListMeta - yym2917 := z.DecBinary() - _ = yym2917 + yyv2907 := &x.ListMeta + yym2908 := z.DecBinary() + _ = yym2908 if false { - } else if z.HasExtensions() && z.DecExt(yyv2916) { + } else if z.HasExtensions() && z.DecExt(yyv2907) { } else { - z.DecFallback(yyv2916, false) + z.DecFallback(yyv2907, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2918 := &x.Items - yym2919 := z.DecBinary() - _ = yym2919 + yyv2909 := &x.Items + yym2910 := z.DecBinary() + _ = yym2910 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2918), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2909), d) } } default: - z.DecStructFieldNotFound(-1, yys2913) - } // end switch yys2913 - } // end for yyj2913 + z.DecStructFieldNotFound(-1, yys2904) + } // end switch yys2904 + } // end for yyj2904 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37513,16 +37431,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2920 int - var yyb2920 bool - var yyhl2920 bool = l >= 0 - yyj2920++ - if yyhl2920 { - yyb2920 = yyj2920 > l + var yyj2911 int + var yyb2911 bool + var yyhl2911 bool = l >= 0 + yyj2911++ + if yyhl2911 { + yyb2911 = yyj2911 > l } else { - yyb2920 = r.CheckBreak() + yyb2911 = r.CheckBreak() } - if yyb2920 { + if yyb2911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37532,13 +37450,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2920++ - if yyhl2920 { - yyb2920 = yyj2920 > l + yyj2911++ + if yyhl2911 { + yyb2911 = yyj2911 > l } else { - yyb2920 = r.CheckBreak() + yyb2911 = r.CheckBreak() } - if yyb2920 { + if yyb2911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37548,13 +37466,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2920++ - if yyhl2920 { - yyb2920 = yyj2920 > l + yyj2911++ + if yyhl2911 { + yyb2911 = yyj2911 > l } else { - yyb2920 = r.CheckBreak() + yyb2911 = r.CheckBreak() } - if yyb2920 { + if yyb2911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37562,22 +37480,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2923 := &x.ListMeta - yym2924 := z.DecBinary() - _ = yym2924 + yyv2914 := &x.ListMeta + yym2915 := z.DecBinary() + _ = yym2915 if false { - } else if z.HasExtensions() && z.DecExt(yyv2923) { + } else if z.HasExtensions() && z.DecExt(yyv2914) { } else { - z.DecFallback(yyv2923, false) + z.DecFallback(yyv2914, false) } } - yyj2920++ - if yyhl2920 { - yyb2920 = yyj2920 > l + yyj2911++ + if yyhl2911 { + yyb2911 = yyj2911 > l } else { - yyb2920 = r.CheckBreak() + yyb2911 = r.CheckBreak() } - if yyb2920 { + if yyb2911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37585,26 +37503,26 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2925 := &x.Items - yym2926 := z.DecBinary() - _ = yym2926 + yyv2916 := &x.Items + yym2917 := z.DecBinary() + _ = yym2917 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2925), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2916), d) } } for { - yyj2920++ - if yyhl2920 { - yyb2920 = yyj2920 > l + yyj2911++ + if yyhl2911 { + yyb2911 = yyj2911 > l } else { - yyb2920 = r.CheckBreak() + yyb2911 = r.CheckBreak() } - if yyb2920 { + if yyb2911 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2920-1, "") + z.DecStructFieldNotFound(yyj2911-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37616,38 +37534,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2927 := z.EncBinary() - _ = yym2927 + yym2918 := z.EncBinary() + _ = yym2918 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2928 := !z.EncBinary() - yy2arr2928 := z.EncBasicHandle().StructToArray - var yyq2928 [4]bool - _, _, _ = yysep2928, yyq2928, yy2arr2928 - const yyr2928 bool = false - yyq2928[0] = x.PodCIDR != "" - yyq2928[1] = x.ExternalID != "" - yyq2928[2] = x.ProviderID != "" - yyq2928[3] = x.Unschedulable != false - var yynn2928 int - if yyr2928 || yy2arr2928 { + yysep2919 := !z.EncBinary() + yy2arr2919 := z.EncBasicHandle().StructToArray + var yyq2919 [4]bool + _, _, _ = yysep2919, yyq2919, yy2arr2919 + const yyr2919 bool = false + yyq2919[0] = x.PodCIDR != "" + yyq2919[1] = x.ExternalID != "" + yyq2919[2] = x.ProviderID != "" + yyq2919[3] = x.Unschedulable != false + var yynn2919 int + if yyr2919 || yy2arr2919 { r.EncodeArrayStart(4) } else { - yynn2928 = 0 - for _, b := range yyq2928 { + yynn2919 = 0 + for _, b := range yyq2919 { if b { - yynn2928++ + yynn2919++ } } - r.EncodeMapStart(yynn2928) - yynn2928 = 0 + r.EncodeMapStart(yynn2919) + yynn2919 = 0 } - if yyr2928 || yy2arr2928 { + if yyr2919 || yy2arr2919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2928[0] { - yym2930 := z.EncBinary() - _ = yym2930 + if yyq2919[0] { + yym2921 := z.EncBinary() + _ = yym2921 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -37656,23 +37574,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2928[0] { + if yyq2919[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2931 := z.EncBinary() - _ = yym2931 + yym2922 := z.EncBinary() + _ = yym2922 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2928 || yy2arr2928 { + if yyr2919 || yy2arr2919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2928[1] { - yym2933 := z.EncBinary() - _ = yym2933 + if yyq2919[1] { + yym2924 := z.EncBinary() + _ = yym2924 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -37681,23 +37599,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2928[1] { + if yyq2919[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2934 := z.EncBinary() - _ = yym2934 + yym2925 := z.EncBinary() + _ = yym2925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2928 || yy2arr2928 { + if yyr2919 || yy2arr2919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2928[2] { - yym2936 := z.EncBinary() - _ = yym2936 + if yyq2919[2] { + yym2927 := z.EncBinary() + _ = yym2927 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -37706,23 +37624,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2928[2] { + if yyq2919[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2937 := z.EncBinary() - _ = yym2937 + yym2928 := z.EncBinary() + _ = yym2928 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2928 || yy2arr2928 { + if yyr2919 || yy2arr2919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2928[3] { - yym2939 := z.EncBinary() - _ = yym2939 + if yyq2919[3] { + yym2930 := z.EncBinary() + _ = yym2930 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -37731,19 +37649,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2928[3] { + if yyq2919[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2940 := z.EncBinary() - _ = yym2940 + yym2931 := z.EncBinary() + _ = yym2931 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2928 || yy2arr2928 { + if yyr2919 || yy2arr2919 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37756,25 +37674,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2941 := z.DecBinary() - _ = yym2941 + yym2932 := z.DecBinary() + _ = yym2932 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2942 := r.ContainerType() - if yyct2942 == codecSelferValueTypeMap1234 { - yyl2942 := r.ReadMapStart() - if yyl2942 == 0 { + yyct2933 := r.ContainerType() + if yyct2933 == codecSelferValueTypeMap1234 { + yyl2933 := r.ReadMapStart() + if yyl2933 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2942, d) + x.codecDecodeSelfFromMap(yyl2933, d) } - } else if yyct2942 == codecSelferValueTypeArray1234 { - yyl2942 := r.ReadArrayStart() - if yyl2942 == 0 { + } else if yyct2933 == codecSelferValueTypeArray1234 { + yyl2933 := r.ReadArrayStart() + if yyl2933 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2942, d) + x.codecDecodeSelfFromArray(yyl2933, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37786,12 +37704,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2943Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2943Slc - var yyhl2943 bool = l >= 0 - for yyj2943 := 0; ; yyj2943++ { - if yyhl2943 { - if yyj2943 >= l { + var yys2934Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2934Slc + var yyhl2934 bool = l >= 0 + for yyj2934 := 0; ; yyj2934++ { + if yyhl2934 { + if yyj2934 >= l { break } } else { @@ -37800,10 +37718,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2943Slc = r.DecodeBytes(yys2943Slc, true, true) - yys2943 := string(yys2943Slc) + yys2934Slc = r.DecodeBytes(yys2934Slc, true, true) + yys2934 := string(yys2934Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2943 { + switch yys2934 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -37829,9 +37747,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2943) - } // end switch yys2943 - } // end for yyj2943 + z.DecStructFieldNotFound(-1, yys2934) + } // end switch yys2934 + } // end for yyj2934 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37839,16 +37757,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2948 int - var yyb2948 bool - var yyhl2948 bool = l >= 0 - yyj2948++ - if yyhl2948 { - yyb2948 = yyj2948 > l + var yyj2939 int + var yyb2939 bool + var yyhl2939 bool = l >= 0 + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2948 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2948 { + if yyb2939 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37858,13 +37776,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2948++ - if yyhl2948 { - yyb2948 = yyj2948 > l + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2948 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2948 { + if yyb2939 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37874,13 +37792,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2948++ - if yyhl2948 { - yyb2948 = yyj2948 > l + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2948 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2948 { + if yyb2939 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37890,13 +37808,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2948++ - if yyhl2948 { - yyb2948 = yyj2948 > l + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2948 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2948 { + if yyb2939 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37907,17 +37825,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2948++ - if yyhl2948 { - yyb2948 = yyj2948 > l + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2948 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2948 { + if yyb2939 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2948-1, "") + z.DecStructFieldNotFound(yyj2939-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37929,33 +37847,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2953 := z.EncBinary() - _ = yym2953 + yym2944 := z.EncBinary() + _ = yym2944 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2954 := !z.EncBinary() - yy2arr2954 := z.EncBasicHandle().StructToArray - var yyq2954 [1]bool - _, _, _ = yysep2954, yyq2954, yy2arr2954 - const yyr2954 bool = false - var yynn2954 int - if yyr2954 || yy2arr2954 { + yysep2945 := !z.EncBinary() + yy2arr2945 := z.EncBasicHandle().StructToArray + var yyq2945 [1]bool + _, _, _ = yysep2945, yyq2945, yy2arr2945 + const yyr2945 bool = false + var yynn2945 int + if yyr2945 || yy2arr2945 { r.EncodeArrayStart(1) } else { - yynn2954 = 1 - for _, b := range yyq2954 { + yynn2945 = 1 + for _, b := range yyq2945 { if b { - yynn2954++ + yynn2945++ } } - r.EncodeMapStart(yynn2954) - yynn2954 = 0 + r.EncodeMapStart(yynn2945) + yynn2945 = 0 } - if yyr2954 || yy2arr2954 { + if yyr2945 || yy2arr2945 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2956 := z.EncBinary() - _ = yym2956 + yym2947 := z.EncBinary() + _ = yym2947 if false { } else { r.EncodeInt(int64(x.Port)) @@ -37964,14 +37882,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2957 := z.EncBinary() - _ = yym2957 + yym2948 := z.EncBinary() + _ = yym2948 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2954 || yy2arr2954 { + if yyr2945 || yy2arr2945 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37984,25 +37902,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2958 := z.DecBinary() - _ = yym2958 + yym2949 := z.DecBinary() + _ = yym2949 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2959 := r.ContainerType() - if yyct2959 == codecSelferValueTypeMap1234 { - yyl2959 := r.ReadMapStart() - if yyl2959 == 0 { + yyct2950 := r.ContainerType() + if yyct2950 == codecSelferValueTypeMap1234 { + yyl2950 := r.ReadMapStart() + if yyl2950 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2959, d) + x.codecDecodeSelfFromMap(yyl2950, d) } - } else if yyct2959 == codecSelferValueTypeArray1234 { - yyl2959 := r.ReadArrayStart() - if yyl2959 == 0 { + } else if yyct2950 == codecSelferValueTypeArray1234 { + yyl2950 := r.ReadArrayStart() + if yyl2950 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2959, d) + x.codecDecodeSelfFromArray(yyl2950, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38014,12 +37932,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2960Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2960Slc - var yyhl2960 bool = l >= 0 - for yyj2960 := 0; ; yyj2960++ { - if yyhl2960 { - if yyj2960 >= l { + var yys2951Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2951Slc + var yyhl2951 bool = l >= 0 + for yyj2951 := 0; ; yyj2951++ { + if yyhl2951 { + if yyj2951 >= l { break } } else { @@ -38028,10 +37946,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2960Slc = r.DecodeBytes(yys2960Slc, true, true) - yys2960 := string(yys2960Slc) + yys2951Slc = r.DecodeBytes(yys2951Slc, true, true) + yys2951 := string(yys2951Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2960 { + switch yys2951 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -38039,9 +37957,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys2960) - } // end switch yys2960 - } // end for yyj2960 + z.DecStructFieldNotFound(-1, yys2951) + } // end switch yys2951 + } // end for yyj2951 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38049,16 +37967,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2962 int - var yyb2962 bool - var yyhl2962 bool = l >= 0 - yyj2962++ - if yyhl2962 { - yyb2962 = yyj2962 > l + var yyj2953 int + var yyb2953 bool + var yyhl2953 bool = l >= 0 + yyj2953++ + if yyhl2953 { + yyb2953 = yyj2953 > l } else { - yyb2962 = r.CheckBreak() + yyb2953 = r.CheckBreak() } - if yyb2962 { + if yyb2953 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38069,17 +37987,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } for { - yyj2962++ - if yyhl2962 { - yyb2962 = yyj2962 > l + yyj2953++ + if yyhl2953 { + yyb2953 = yyj2953 > l } else { - yyb2962 = r.CheckBreak() + yyb2953 = r.CheckBreak() } - if yyb2962 { + if yyb2953 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2962-1, "") + z.DecStructFieldNotFound(yyj2953-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38091,48 +38009,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2964 := z.EncBinary() - _ = yym2964 + yym2955 := z.EncBinary() + _ = yym2955 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2965 := !z.EncBinary() - yy2arr2965 := z.EncBasicHandle().StructToArray - var yyq2965 [1]bool - _, _, _ = yysep2965, yyq2965, yy2arr2965 - const yyr2965 bool = false - yyq2965[0] = true - var yynn2965 int - if yyr2965 || yy2arr2965 { + yysep2956 := !z.EncBinary() + yy2arr2956 := z.EncBasicHandle().StructToArray + var yyq2956 [1]bool + _, _, _ = yysep2956, yyq2956, yy2arr2956 + const yyr2956 bool = false + yyq2956[0] = true + var yynn2956 int + if yyr2956 || yy2arr2956 { r.EncodeArrayStart(1) } else { - yynn2965 = 0 - for _, b := range yyq2965 { + yynn2956 = 0 + for _, b := range yyq2956 { if b { - yynn2965++ + yynn2956++ } } - r.EncodeMapStart(yynn2965) - yynn2965 = 0 + r.EncodeMapStart(yynn2956) + yynn2956 = 0 } - if yyr2965 || yy2arr2965 { + if yyr2956 || yy2arr2956 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[0] { - yy2967 := &x.KubeletEndpoint - yy2967.CodecEncodeSelf(e) + if yyq2956[0] { + yy2958 := &x.KubeletEndpoint + yy2958.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2965[0] { + if yyq2956[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2968 := &x.KubeletEndpoint - yy2968.CodecEncodeSelf(e) + yy2959 := &x.KubeletEndpoint + yy2959.CodecEncodeSelf(e) } } - if yyr2965 || yy2arr2965 { + if yyr2956 || yy2arr2956 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38145,25 +38063,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2969 := z.DecBinary() - _ = yym2969 + yym2960 := z.DecBinary() + _ = yym2960 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2970 := r.ContainerType() - if yyct2970 == codecSelferValueTypeMap1234 { - yyl2970 := r.ReadMapStart() - if yyl2970 == 0 { + yyct2961 := r.ContainerType() + if yyct2961 == codecSelferValueTypeMap1234 { + yyl2961 := r.ReadMapStart() + if yyl2961 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2970, d) + x.codecDecodeSelfFromMap(yyl2961, d) } - } else if yyct2970 == codecSelferValueTypeArray1234 { - yyl2970 := r.ReadArrayStart() - if yyl2970 == 0 { + } else if yyct2961 == codecSelferValueTypeArray1234 { + yyl2961 := r.ReadArrayStart() + if yyl2961 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2970, d) + x.codecDecodeSelfFromArray(yyl2961, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38175,12 +38093,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2971Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2971Slc - var yyhl2971 bool = l >= 0 - for yyj2971 := 0; ; yyj2971++ { - if yyhl2971 { - if yyj2971 >= l { + var yys2962Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2962Slc + var yyhl2962 bool = l >= 0 + for yyj2962 := 0; ; yyj2962++ { + if yyhl2962 { + if yyj2962 >= l { break } } else { @@ -38189,21 +38107,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2971Slc = r.DecodeBytes(yys2971Slc, true, true) - yys2971 := string(yys2971Slc) + yys2962Slc = r.DecodeBytes(yys2962Slc, true, true) + yys2962 := string(yys2962Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2971 { + switch yys2962 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2972 := &x.KubeletEndpoint - yyv2972.CodecDecodeSelf(d) + yyv2963 := &x.KubeletEndpoint + yyv2963.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2971) - } // end switch yys2971 - } // end for yyj2971 + z.DecStructFieldNotFound(-1, yys2962) + } // end switch yys2962 + } // end for yyj2962 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38211,16 +38129,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2973 int - var yyb2973 bool - var yyhl2973 bool = l >= 0 - yyj2973++ - if yyhl2973 { - yyb2973 = yyj2973 > l + var yyj2964 int + var yyb2964 bool + var yyhl2964 bool = l >= 0 + yyj2964++ + if yyhl2964 { + yyb2964 = yyj2964 > l } else { - yyb2973 = r.CheckBreak() + yyb2964 = r.CheckBreak() } - if yyb2973 { + if yyb2964 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38228,21 +38146,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2974 := &x.KubeletEndpoint - yyv2974.CodecDecodeSelf(d) + yyv2965 := &x.KubeletEndpoint + yyv2965.CodecDecodeSelf(d) } for { - yyj2973++ - if yyhl2973 { - yyb2973 = yyj2973 > l + yyj2964++ + if yyhl2964 { + yyb2964 = yyj2964 > l } else { - yyb2973 = r.CheckBreak() + yyb2964 = r.CheckBreak() } - if yyb2973 { + if yyb2964 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2973-1, "") + z.DecStructFieldNotFound(yyj2964-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38254,33 +38172,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2975 := z.EncBinary() - _ = yym2975 + yym2966 := z.EncBinary() + _ = yym2966 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2976 := !z.EncBinary() - yy2arr2976 := z.EncBasicHandle().StructToArray - var yyq2976 [10]bool - _, _, _ = yysep2976, yyq2976, yy2arr2976 - const yyr2976 bool = false - var yynn2976 int - if yyr2976 || yy2arr2976 { + yysep2967 := !z.EncBinary() + yy2arr2967 := z.EncBasicHandle().StructToArray + var yyq2967 [10]bool + _, _, _ = yysep2967, yyq2967, yy2arr2967 + const yyr2967 bool = false + var yynn2967 int + if yyr2967 || yy2arr2967 { r.EncodeArrayStart(10) } else { - yynn2976 = 10 - for _, b := range yyq2976 { + yynn2967 = 10 + for _, b := range yyq2967 { if b { - yynn2976++ + yynn2967++ } } - r.EncodeMapStart(yynn2976) - yynn2976 = 0 + r.EncodeMapStart(yynn2967) + yynn2967 = 0 } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2978 := z.EncBinary() - _ = yym2978 + yym2969 := z.EncBinary() + _ = yym2969 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -38289,17 +38207,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2979 := z.EncBinary() - _ = yym2979 + yym2970 := z.EncBinary() + _ = yym2970 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2981 := z.EncBinary() - _ = yym2981 + yym2972 := z.EncBinary() + _ = yym2972 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -38308,17 +38226,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2982 := z.EncBinary() - _ = yym2982 + yym2973 := z.EncBinary() + _ = yym2973 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2984 := z.EncBinary() - _ = yym2984 + yym2975 := z.EncBinary() + _ = yym2975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -38327,17 +38245,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2985 := z.EncBinary() - _ = yym2985 + yym2976 := z.EncBinary() + _ = yym2976 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2987 := z.EncBinary() - _ = yym2987 + yym2978 := z.EncBinary() + _ = yym2978 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -38346,17 +38264,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2988 := z.EncBinary() - _ = yym2988 + yym2979 := z.EncBinary() + _ = yym2979 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2990 := z.EncBinary() - _ = yym2990 + yym2981 := z.EncBinary() + _ = yym2981 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -38365,17 +38283,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2991 := z.EncBinary() - _ = yym2991 + yym2982 := z.EncBinary() + _ = yym2982 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2993 := z.EncBinary() - _ = yym2993 + yym2984 := z.EncBinary() + _ = yym2984 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -38384,17 +38302,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2994 := z.EncBinary() - _ = yym2994 + yym2985 := z.EncBinary() + _ = yym2985 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2996 := z.EncBinary() - _ = yym2996 + yym2987 := z.EncBinary() + _ = yym2987 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -38403,17 +38321,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2997 := z.EncBinary() - _ = yym2997 + yym2988 := z.EncBinary() + _ = yym2988 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2999 := z.EncBinary() - _ = yym2999 + yym2990 := z.EncBinary() + _ = yym2990 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -38422,17 +38340,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3000 := z.EncBinary() - _ = yym3000 + yym2991 := z.EncBinary() + _ = yym2991 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3002 := z.EncBinary() - _ = yym3002 + yym2993 := z.EncBinary() + _ = yym2993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) @@ -38441,17 +38359,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operatingSystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3003 := z.EncBinary() - _ = yym3003 + yym2994 := z.EncBinary() + _ = yym2994 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3005 := z.EncBinary() - _ = yym3005 + yym2996 := z.EncBinary() + _ = yym2996 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) @@ -38460,14 +38378,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("architecture")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3006 := z.EncBinary() - _ = yym3006 + yym2997 := z.EncBinary() + _ = yym2997 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) } } - if yyr2976 || yy2arr2976 { + if yyr2967 || yy2arr2967 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38480,25 +38398,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3007 := z.DecBinary() - _ = yym3007 + yym2998 := z.DecBinary() + _ = yym2998 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3008 := r.ContainerType() - if yyct3008 == codecSelferValueTypeMap1234 { - yyl3008 := r.ReadMapStart() - if yyl3008 == 0 { + yyct2999 := r.ContainerType() + if yyct2999 == codecSelferValueTypeMap1234 { + yyl2999 := r.ReadMapStart() + if yyl2999 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3008, d) + x.codecDecodeSelfFromMap(yyl2999, d) } - } else if yyct3008 == codecSelferValueTypeArray1234 { - yyl3008 := r.ReadArrayStart() - if yyl3008 == 0 { + } else if yyct2999 == codecSelferValueTypeArray1234 { + yyl2999 := r.ReadArrayStart() + if yyl2999 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3008, d) + x.codecDecodeSelfFromArray(yyl2999, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38510,12 +38428,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3009Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3009Slc - var yyhl3009 bool = l >= 0 - for yyj3009 := 0; ; yyj3009++ { - if yyhl3009 { - if yyj3009 >= l { + var yys3000Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3000Slc + var yyhl3000 bool = l >= 0 + for yyj3000 := 0; ; yyj3000++ { + if yyhl3000 { + if yyj3000 >= l { break } } else { @@ -38524,10 +38442,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3009Slc = r.DecodeBytes(yys3009Slc, true, true) - yys3009 := string(yys3009Slc) + yys3000Slc = r.DecodeBytes(yys3000Slc, true, true) + yys3000 := string(yys3000Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3009 { + switch yys3000 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -38589,9 +38507,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3009) - } // end switch yys3009 - } // end for yyj3009 + z.DecStructFieldNotFound(-1, yys3000) + } // end switch yys3000 + } // end for yyj3000 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38599,16 +38517,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3020 int - var yyb3020 bool - var yyhl3020 bool = l >= 0 - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + var yyj3011 int + var yyb3011 bool + var yyhl3011 bool = l >= 0 + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38618,13 +38536,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38634,13 +38552,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38650,13 +38568,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38666,13 +38584,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38682,13 +38600,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38698,13 +38616,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38714,13 +38632,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38730,13 +38648,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeProxyVersion = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38746,13 +38664,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OperatingSystem = string(r.DecodeString()) } - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38763,17 +38681,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } for { - yyj3020++ - if yyhl3020 { - yyb3020 = yyj3020 > l + yyj3011++ + if yyhl3011 { + yyb3011 = yyj3011 > l } else { - yyb3020 = r.CheckBreak() + yyb3011 = r.CheckBreak() } - if yyb3020 { + if yyb3011 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3020-1, "") + z.DecStructFieldNotFound(yyj3011-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38785,42 +38703,42 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3031 := z.EncBinary() - _ = yym3031 + yym3022 := z.EncBinary() + _ = yym3022 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3032 := !z.EncBinary() - yy2arr3032 := z.EncBasicHandle().StructToArray - var yyq3032 [10]bool - _, _, _ = yysep3032, yyq3032, yy2arr3032 - const yyr3032 bool = false - yyq3032[0] = len(x.Capacity) != 0 - yyq3032[1] = len(x.Allocatable) != 0 - yyq3032[2] = x.Phase != "" - yyq3032[3] = len(x.Conditions) != 0 - yyq3032[4] = len(x.Addresses) != 0 - yyq3032[5] = true - yyq3032[6] = true - yyq3032[7] = len(x.Images) != 0 - yyq3032[8] = len(x.VolumesInUse) != 0 - yyq3032[9] = len(x.VolumesAttached) != 0 - var yynn3032 int - if yyr3032 || yy2arr3032 { + yysep3023 := !z.EncBinary() + yy2arr3023 := z.EncBasicHandle().StructToArray + var yyq3023 [10]bool + _, _, _ = yysep3023, yyq3023, yy2arr3023 + const yyr3023 bool = false + yyq3023[0] = len(x.Capacity) != 0 + yyq3023[1] = len(x.Allocatable) != 0 + yyq3023[2] = x.Phase != "" + yyq3023[3] = len(x.Conditions) != 0 + yyq3023[4] = len(x.Addresses) != 0 + yyq3023[5] = true + yyq3023[6] = true + yyq3023[7] = len(x.Images) != 0 + yyq3023[8] = len(x.VolumesInUse) != 0 + yyq3023[9] = len(x.VolumesAttached) != 0 + var yynn3023 int + if yyr3023 || yy2arr3023 { r.EncodeArrayStart(10) } else { - yynn3032 = 0 - for _, b := range yyq3032 { + yynn3023 = 0 + for _, b := range yyq3023 { if b { - yynn3032++ + yynn3023++ } } - r.EncodeMapStart(yynn3032) - yynn3032 = 0 + r.EncodeMapStart(yynn3023) + yynn3023 = 0 } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[0] { + if yyq3023[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -38830,7 +38748,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3032[0] { + if yyq3023[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -38841,9 +38759,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[1] { + if yyq3023[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -38853,7 +38771,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3032[1] { + if yyq3023[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -38864,29 +38782,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[2] { + if yyq3023[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3032[2] { + if yyq3023[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[3] { + if yyq3023[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3037 := z.EncBinary() - _ = yym3037 + yym3028 := z.EncBinary() + _ = yym3028 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -38896,15 +38814,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3032[3] { + if yyq3023[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3038 := z.EncBinary() - _ = yym3038 + yym3029 := z.EncBinary() + _ = yym3029 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -38912,14 +38830,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[4] { + if yyq3023[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym3040 := z.EncBinary() - _ = yym3040 + yym3031 := z.EncBinary() + _ = yym3031 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -38929,15 +38847,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3032[4] { + if yyq3023[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym3041 := z.EncBinary() - _ = yym3041 + yym3032 := z.EncBinary() + _ = yym3032 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -38945,48 +38863,48 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[5] { - yy3043 := &x.DaemonEndpoints - yy3043.CodecEncodeSelf(e) + if yyq3023[5] { + yy3034 := &x.DaemonEndpoints + yy3034.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3032[5] { + if yyq3023[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3044 := &x.DaemonEndpoints - yy3044.CodecEncodeSelf(e) + yy3035 := &x.DaemonEndpoints + yy3035.CodecEncodeSelf(e) } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[6] { - yy3046 := &x.NodeInfo - yy3046.CodecEncodeSelf(e) + if yyq3023[6] { + yy3037 := &x.NodeInfo + yy3037.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3032[6] { + if yyq3023[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3047 := &x.NodeInfo - yy3047.CodecEncodeSelf(e) + yy3038 := &x.NodeInfo + yy3038.CodecEncodeSelf(e) } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[7] { + if yyq3023[7] { if x.Images == nil { r.EncodeNil() } else { - yym3049 := z.EncBinary() - _ = yym3049 + yym3040 := z.EncBinary() + _ = yym3040 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -38996,15 +38914,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3032[7] { + if yyq3023[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("images")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Images == nil { r.EncodeNil() } else { - yym3050 := z.EncBinary() - _ = yym3050 + yym3041 := z.EncBinary() + _ = yym3041 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -39012,14 +38930,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[8] { + if yyq3023[8] { if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3052 := z.EncBinary() - _ = yym3052 + yym3043 := z.EncBinary() + _ = yym3043 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -39029,15 +38947,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3032[8] { + if yyq3023[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesInUse")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3053 := z.EncBinary() - _ = yym3053 + yym3044 := z.EncBinary() + _ = yym3044 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -39045,14 +38963,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[9] { + if yyq3023[9] { if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3055 := z.EncBinary() - _ = yym3055 + yym3046 := z.EncBinary() + _ = yym3046 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -39062,15 +38980,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3032[9] { + if yyq3023[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesAttached")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3056 := z.EncBinary() - _ = yym3056 + yym3047 := z.EncBinary() + _ = yym3047 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -39078,7 +38996,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3032 || yy2arr3032 { + if yyr3023 || yy2arr3023 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39091,25 +39009,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3057 := z.DecBinary() - _ = yym3057 + yym3048 := z.DecBinary() + _ = yym3048 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3058 := r.ContainerType() - if yyct3058 == codecSelferValueTypeMap1234 { - yyl3058 := r.ReadMapStart() - if yyl3058 == 0 { + yyct3049 := r.ContainerType() + if yyct3049 == codecSelferValueTypeMap1234 { + yyl3049 := r.ReadMapStart() + if yyl3049 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3058, d) + x.codecDecodeSelfFromMap(yyl3049, d) } - } else if yyct3058 == codecSelferValueTypeArray1234 { - yyl3058 := r.ReadArrayStart() - if yyl3058 == 0 { + } else if yyct3049 == codecSelferValueTypeArray1234 { + yyl3049 := r.ReadArrayStart() + if yyl3049 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3058, d) + x.codecDecodeSelfFromArray(yyl3049, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39121,12 +39039,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3059Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3059Slc - var yyhl3059 bool = l >= 0 - for yyj3059 := 0; ; yyj3059++ { - if yyhl3059 { - if yyj3059 >= l { + var yys3050Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3050Slc + var yyhl3050 bool = l >= 0 + for yyj3050 := 0; ; yyj3050++ { + if yyhl3050 { + if yyj3050 >= l { break } } else { @@ -39135,23 +39053,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3059Slc = r.DecodeBytes(yys3059Slc, true, true) - yys3059 := string(yys3059Slc) + yys3050Slc = r.DecodeBytes(yys3050Slc, true, true) + yys3050 := string(yys3050Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3059 { + switch yys3050 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3060 := &x.Capacity - yyv3060.CodecDecodeSelf(d) + yyv3051 := &x.Capacity + yyv3051.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3061 := &x.Allocatable - yyv3061.CodecDecodeSelf(d) + yyv3052 := &x.Allocatable + yyv3052.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -39163,80 +39081,80 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3063 := &x.Conditions - yym3064 := z.DecBinary() - _ = yym3064 + yyv3054 := &x.Conditions + yym3055 := z.DecBinary() + _ = yym3055 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3063), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3054), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3065 := &x.Addresses - yym3066 := z.DecBinary() - _ = yym3066 + yyv3056 := &x.Addresses + yym3057 := z.DecBinary() + _ = yym3057 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3065), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3056), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3067 := &x.DaemonEndpoints - yyv3067.CodecDecodeSelf(d) + yyv3058 := &x.DaemonEndpoints + yyv3058.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3068 := &x.NodeInfo - yyv3068.CodecDecodeSelf(d) + yyv3059 := &x.NodeInfo + yyv3059.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3069 := &x.Images - yym3070 := z.DecBinary() - _ = yym3070 + yyv3060 := &x.Images + yym3061 := z.DecBinary() + _ = yym3061 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3069), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3060), d) } } case "volumesInUse": if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3071 := &x.VolumesInUse - yym3072 := z.DecBinary() - _ = yym3072 + yyv3062 := &x.VolumesInUse + yym3063 := z.DecBinary() + _ = yym3063 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3071), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3062), d) } } case "volumesAttached": if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3073 := &x.VolumesAttached - yym3074 := z.DecBinary() - _ = yym3074 + yyv3064 := &x.VolumesAttached + yym3065 := z.DecBinary() + _ = yym3065 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3073), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3064), d) } } default: - z.DecStructFieldNotFound(-1, yys3059) - } // end switch yys3059 - } // end for yyj3059 + z.DecStructFieldNotFound(-1, yys3050) + } // end switch yys3050 + } // end for yyj3050 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39244,16 +39162,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3075 int - var yyb3075 bool - var yyhl3075 bool = l >= 0 - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + var yyj3066 int + var yyb3066 bool + var yyhl3066 bool = l >= 0 + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39261,16 +39179,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3076 := &x.Capacity - yyv3076.CodecDecodeSelf(d) + yyv3067 := &x.Capacity + yyv3067.CodecDecodeSelf(d) } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39278,16 +39196,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3077 := &x.Allocatable - yyv3077.CodecDecodeSelf(d) + yyv3068 := &x.Allocatable + yyv3068.CodecDecodeSelf(d) } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39297,13 +39215,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39311,21 +39229,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3079 := &x.Conditions - yym3080 := z.DecBinary() - _ = yym3080 + yyv3070 := &x.Conditions + yym3071 := z.DecBinary() + _ = yym3071 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3079), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3070), d) } } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39333,21 +39251,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3081 := &x.Addresses - yym3082 := z.DecBinary() - _ = yym3082 + yyv3072 := &x.Addresses + yym3073 := z.DecBinary() + _ = yym3073 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3081), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3072), d) } } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39355,16 +39273,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3083 := &x.DaemonEndpoints - yyv3083.CodecDecodeSelf(d) + yyv3074 := &x.DaemonEndpoints + yyv3074.CodecDecodeSelf(d) } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39372,16 +39290,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3084 := &x.NodeInfo - yyv3084.CodecDecodeSelf(d) + yyv3075 := &x.NodeInfo + yyv3075.CodecDecodeSelf(d) } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39389,21 +39307,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3085 := &x.Images - yym3086 := z.DecBinary() - _ = yym3086 + yyv3076 := &x.Images + yym3077 := z.DecBinary() + _ = yym3077 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3085), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3076), d) } } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39411,21 +39329,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3087 := &x.VolumesInUse - yym3088 := z.DecBinary() - _ = yym3088 + yyv3078 := &x.VolumesInUse + yym3079 := z.DecBinary() + _ = yym3079 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3087), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3078), d) } } - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39433,26 +39351,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3089 := &x.VolumesAttached - yym3090 := z.DecBinary() - _ = yym3090 + yyv3080 := &x.VolumesAttached + yym3081 := z.DecBinary() + _ = yym3081 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3089), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3080), d) } } for { - yyj3075++ - if yyhl3075 { - yyb3075 = yyj3075 > l + yyj3066++ + if yyhl3066 { + yyb3066 = yyj3066 > l } else { - yyb3075 = r.CheckBreak() + yyb3066 = r.CheckBreak() } - if yyb3075 { + if yyb3066 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3075-1, "") + z.DecStructFieldNotFound(yyj3066-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39461,8 +39379,8 @@ func (x UniqueVolumeName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3091 := z.EncBinary() - _ = yym3091 + yym3082 := z.EncBinary() + _ = yym3082 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -39474,8 +39392,8 @@ func (x *UniqueVolumeName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3092 := z.DecBinary() - _ = yym3092 + yym3083 := z.DecBinary() + _ = yym3083 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -39490,30 +39408,30 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3093 := z.EncBinary() - _ = yym3093 + yym3084 := z.EncBinary() + _ = yym3084 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3094 := !z.EncBinary() - yy2arr3094 := z.EncBasicHandle().StructToArray - var yyq3094 [2]bool - _, _, _ = yysep3094, yyq3094, yy2arr3094 - const yyr3094 bool = false - var yynn3094 int - if yyr3094 || yy2arr3094 { + yysep3085 := !z.EncBinary() + yy2arr3085 := z.EncBasicHandle().StructToArray + var yyq3085 [2]bool + _, _, _ = yysep3085, yyq3085, yy2arr3085 + const yyr3085 bool = false + var yynn3085 int + if yyr3085 || yy2arr3085 { r.EncodeArrayStart(2) } else { - yynn3094 = 2 - for _, b := range yyq3094 { + yynn3085 = 2 + for _, b := range yyq3085 { if b { - yynn3094++ + yynn3085++ } } - r.EncodeMapStart(yynn3094) - yynn3094 = 0 + r.EncodeMapStart(yynn3085) + yynn3085 = 0 } - if yyr3094 || yy2arr3094 { + if yyr3085 || yy2arr3085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Name.CodecEncodeSelf(e) } else { @@ -39522,10 +39440,10 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Name.CodecEncodeSelf(e) } - if yyr3094 || yy2arr3094 { + if yyr3085 || yy2arr3085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3097 := z.EncBinary() - _ = yym3097 + yym3088 := z.EncBinary() + _ = yym3088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) @@ -39534,14 +39452,14 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("devicePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3098 := z.EncBinary() - _ = yym3098 + yym3089 := z.EncBinary() + _ = yym3089 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) } } - if yyr3094 || yy2arr3094 { + if yyr3085 || yy2arr3085 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39554,25 +39472,25 @@ func (x *AttachedVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3099 := z.DecBinary() - _ = yym3099 + yym3090 := z.DecBinary() + _ = yym3090 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3100 := r.ContainerType() - if yyct3100 == codecSelferValueTypeMap1234 { - yyl3100 := r.ReadMapStart() - if yyl3100 == 0 { + yyct3091 := r.ContainerType() + if yyct3091 == codecSelferValueTypeMap1234 { + yyl3091 := r.ReadMapStart() + if yyl3091 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3100, d) + x.codecDecodeSelfFromMap(yyl3091, d) } - } else if yyct3100 == codecSelferValueTypeArray1234 { - yyl3100 := r.ReadArrayStart() - if yyl3100 == 0 { + } else if yyct3091 == codecSelferValueTypeArray1234 { + yyl3091 := r.ReadArrayStart() + if yyl3091 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3100, d) + x.codecDecodeSelfFromArray(yyl3091, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39584,12 +39502,12 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3101Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3101Slc - var yyhl3101 bool = l >= 0 - for yyj3101 := 0; ; yyj3101++ { - if yyhl3101 { - if yyj3101 >= l { + var yys3092Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3092Slc + var yyhl3092 bool = l >= 0 + for yyj3092 := 0; ; yyj3092++ { + if yyhl3092 { + if yyj3092 >= l { break } } else { @@ -39598,10 +39516,10 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3101Slc = r.DecodeBytes(yys3101Slc, true, true) - yys3101 := string(yys3101Slc) + yys3092Slc = r.DecodeBytes(yys3092Slc, true, true) + yys3092 := string(yys3092Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3101 { + switch yys3092 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -39615,9 +39533,9 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3101) - } // end switch yys3101 - } // end for yyj3101 + z.DecStructFieldNotFound(-1, yys3092) + } // end switch yys3092 + } // end for yyj3092 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39625,16 +39543,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3104 int - var yyb3104 bool - var yyhl3104 bool = l >= 0 - yyj3104++ - if yyhl3104 { - yyb3104 = yyj3104 > l + var yyj3095 int + var yyb3095 bool + var yyhl3095 bool = l >= 0 + yyj3095++ + if yyhl3095 { + yyb3095 = yyj3095 > l } else { - yyb3104 = r.CheckBreak() + yyb3095 = r.CheckBreak() } - if yyb3104 { + if yyb3095 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39644,13 +39562,13 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = UniqueVolumeName(r.DecodeString()) } - yyj3104++ - if yyhl3104 { - yyb3104 = yyj3104 > l + yyj3095++ + if yyhl3095 { + yyb3095 = yyj3095 > l } else { - yyb3104 = r.CheckBreak() + yyb3095 = r.CheckBreak() } - if yyb3104 { + if yyb3095 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39661,17 +39579,17 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } for { - yyj3104++ - if yyhl3104 { - yyb3104 = yyj3104 > l + yyj3095++ + if yyhl3095 { + yyb3095 = yyj3095 > l } else { - yyb3104 = r.CheckBreak() + yyb3095 = r.CheckBreak() } - if yyb3104 { + if yyb3095 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3104-1, "") + z.DecStructFieldNotFound(yyj3095-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39683,38 +39601,38 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3107 := z.EncBinary() - _ = yym3107 + yym3098 := z.EncBinary() + _ = yym3098 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3108 := !z.EncBinary() - yy2arr3108 := z.EncBasicHandle().StructToArray - var yyq3108 [1]bool - _, _, _ = yysep3108, yyq3108, yy2arr3108 - const yyr3108 bool = false - yyq3108[0] = len(x.PreferAvoidPods) != 0 - var yynn3108 int - if yyr3108 || yy2arr3108 { + yysep3099 := !z.EncBinary() + yy2arr3099 := z.EncBasicHandle().StructToArray + var yyq3099 [1]bool + _, _, _ = yysep3099, yyq3099, yy2arr3099 + const yyr3099 bool = false + yyq3099[0] = len(x.PreferAvoidPods) != 0 + var yynn3099 int + if yyr3099 || yy2arr3099 { r.EncodeArrayStart(1) } else { - yynn3108 = 0 - for _, b := range yyq3108 { + yynn3099 = 0 + for _, b := range yyq3099 { if b { - yynn3108++ + yynn3099++ } } - r.EncodeMapStart(yynn3108) - yynn3108 = 0 + r.EncodeMapStart(yynn3099) + yynn3099 = 0 } - if yyr3108 || yy2arr3108 { + if yyr3099 || yy2arr3099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3108[0] { + if yyq3099[0] { if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3110 := z.EncBinary() - _ = yym3110 + yym3101 := z.EncBinary() + _ = yym3101 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -39724,15 +39642,15 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3108[0] { + if yyq3099[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferAvoidPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3111 := z.EncBinary() - _ = yym3111 + yym3102 := z.EncBinary() + _ = yym3102 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -39740,7 +39658,7 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3108 || yy2arr3108 { + if yyr3099 || yy2arr3099 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39753,25 +39671,25 @@ func (x *AvoidPods) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3112 := z.DecBinary() - _ = yym3112 + yym3103 := z.DecBinary() + _ = yym3103 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3113 := r.ContainerType() - if yyct3113 == codecSelferValueTypeMap1234 { - yyl3113 := r.ReadMapStart() - if yyl3113 == 0 { + yyct3104 := r.ContainerType() + if yyct3104 == codecSelferValueTypeMap1234 { + yyl3104 := r.ReadMapStart() + if yyl3104 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3113, d) + x.codecDecodeSelfFromMap(yyl3104, d) } - } else if yyct3113 == codecSelferValueTypeArray1234 { - yyl3113 := r.ReadArrayStart() - if yyl3113 == 0 { + } else if yyct3104 == codecSelferValueTypeArray1234 { + yyl3104 := r.ReadArrayStart() + if yyl3104 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3113, d) + x.codecDecodeSelfFromArray(yyl3104, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39783,12 +39701,12 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3114Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3114Slc - var yyhl3114 bool = l >= 0 - for yyj3114 := 0; ; yyj3114++ { - if yyhl3114 { - if yyj3114 >= l { + var yys3105Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3105Slc + var yyhl3105 bool = l >= 0 + for yyj3105 := 0; ; yyj3105++ { + if yyhl3105 { + if yyj3105 >= l { break } } else { @@ -39797,26 +39715,26 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3114Slc = r.DecodeBytes(yys3114Slc, true, true) - yys3114 := string(yys3114Slc) + yys3105Slc = r.DecodeBytes(yys3105Slc, true, true) + yys3105 := string(yys3105Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3114 { + switch yys3105 { case "preferAvoidPods": if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3115 := &x.PreferAvoidPods - yym3116 := z.DecBinary() - _ = yym3116 + yyv3106 := &x.PreferAvoidPods + yym3107 := z.DecBinary() + _ = yym3107 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3115), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3106), d) } } default: - z.DecStructFieldNotFound(-1, yys3114) - } // end switch yys3114 - } // end for yyj3114 + z.DecStructFieldNotFound(-1, yys3105) + } // end switch yys3105 + } // end for yyj3105 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39824,16 +39742,16 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3117 int - var yyb3117 bool - var yyhl3117 bool = l >= 0 - yyj3117++ - if yyhl3117 { - yyb3117 = yyj3117 > l + var yyj3108 int + var yyb3108 bool + var yyhl3108 bool = l >= 0 + yyj3108++ + if yyhl3108 { + yyb3108 = yyj3108 > l } else { - yyb3117 = r.CheckBreak() + yyb3108 = r.CheckBreak() } - if yyb3117 { + if yyb3108 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39841,26 +39759,26 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3118 := &x.PreferAvoidPods - yym3119 := z.DecBinary() - _ = yym3119 + yyv3109 := &x.PreferAvoidPods + yym3110 := z.DecBinary() + _ = yym3110 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3118), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3109), d) } } for { - yyj3117++ - if yyhl3117 { - yyb3117 = yyj3117 > l + yyj3108++ + if yyhl3108 { + yyb3108 = yyj3108 > l } else { - yyb3117 = r.CheckBreak() + yyb3108 = r.CheckBreak() } - if yyb3117 { + if yyb3108 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3117-1, "") + z.DecStructFieldNotFound(yyj3108-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39872,85 +39790,85 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3120 := z.EncBinary() - _ = yym3120 + yym3111 := z.EncBinary() + _ = yym3111 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3121 := !z.EncBinary() - yy2arr3121 := z.EncBasicHandle().StructToArray - var yyq3121 [4]bool - _, _, _ = yysep3121, yyq3121, yy2arr3121 - const yyr3121 bool = false - yyq3121[1] = true - yyq3121[2] = x.Reason != "" - yyq3121[3] = x.Message != "" - var yynn3121 int - if yyr3121 || yy2arr3121 { + yysep3112 := !z.EncBinary() + yy2arr3112 := z.EncBasicHandle().StructToArray + var yyq3112 [4]bool + _, _, _ = yysep3112, yyq3112, yy2arr3112 + const yyr3112 bool = false + yyq3112[1] = true + yyq3112[2] = x.Reason != "" + yyq3112[3] = x.Message != "" + var yynn3112 int + if yyr3112 || yy2arr3112 { r.EncodeArrayStart(4) } else { - yynn3121 = 1 - for _, b := range yyq3121 { + yynn3112 = 1 + for _, b := range yyq3112 { if b { - yynn3121++ + yynn3112++ } } - r.EncodeMapStart(yynn3121) - yynn3121 = 0 + r.EncodeMapStart(yynn3112) + yynn3112 = 0 } - if yyr3121 || yy2arr3121 { + if yyr3112 || yy2arr3112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3123 := &x.PodSignature - yy3123.CodecEncodeSelf(e) + yy3114 := &x.PodSignature + yy3114.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSignature")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3124 := &x.PodSignature - yy3124.CodecEncodeSelf(e) + yy3115 := &x.PodSignature + yy3115.CodecEncodeSelf(e) } - if yyr3121 || yy2arr3121 { + if yyr3112 || yy2arr3112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3121[1] { - yy3126 := &x.EvictionTime - yym3127 := z.EncBinary() - _ = yym3127 + if yyq3112[1] { + yy3117 := &x.EvictionTime + yym3118 := z.EncBinary() + _ = yym3118 if false { - } else if z.HasExtensions() && z.EncExt(yy3126) { - } else if yym3127 { - z.EncBinaryMarshal(yy3126) - } else if !yym3127 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3126) + } else if z.HasExtensions() && z.EncExt(yy3117) { + } else if yym3118 { + z.EncBinaryMarshal(yy3117) + } else if !yym3118 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3117) } else { - z.EncFallback(yy3126) + z.EncFallback(yy3117) } } else { r.EncodeNil() } } else { - if yyq3121[1] { + if yyq3112[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3128 := &x.EvictionTime - yym3129 := z.EncBinary() - _ = yym3129 + yy3119 := &x.EvictionTime + yym3120 := z.EncBinary() + _ = yym3120 if false { - } else if z.HasExtensions() && z.EncExt(yy3128) { - } else if yym3129 { - z.EncBinaryMarshal(yy3128) - } else if !yym3129 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3128) + } else if z.HasExtensions() && z.EncExt(yy3119) { + } else if yym3120 { + z.EncBinaryMarshal(yy3119) + } else if !yym3120 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3119) } else { - z.EncFallback(yy3128) + z.EncFallback(yy3119) } } } - if yyr3121 || yy2arr3121 { + if yyr3112 || yy2arr3112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3121[2] { - yym3131 := z.EncBinary() - _ = yym3131 + if yyq3112[2] { + yym3122 := z.EncBinary() + _ = yym3122 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -39959,23 +39877,23 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3121[2] { + if yyq3112[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3132 := z.EncBinary() - _ = yym3132 + yym3123 := z.EncBinary() + _ = yym3123 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3121 || yy2arr3121 { + if yyr3112 || yy2arr3112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3121[3] { - yym3134 := z.EncBinary() - _ = yym3134 + if yyq3112[3] { + yym3125 := z.EncBinary() + _ = yym3125 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -39984,19 +39902,19 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3121[3] { + if yyq3112[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3135 := z.EncBinary() - _ = yym3135 + yym3126 := z.EncBinary() + _ = yym3126 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3121 || yy2arr3121 { + if yyr3112 || yy2arr3112 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40009,25 +39927,25 @@ func (x *PreferAvoidPodsEntry) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3136 := z.DecBinary() - _ = yym3136 + yym3127 := z.DecBinary() + _ = yym3127 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3137 := r.ContainerType() - if yyct3137 == codecSelferValueTypeMap1234 { - yyl3137 := r.ReadMapStart() - if yyl3137 == 0 { + yyct3128 := r.ContainerType() + if yyct3128 == codecSelferValueTypeMap1234 { + yyl3128 := r.ReadMapStart() + if yyl3128 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3137, d) + x.codecDecodeSelfFromMap(yyl3128, d) } - } else if yyct3137 == codecSelferValueTypeArray1234 { - yyl3137 := r.ReadArrayStart() - if yyl3137 == 0 { + } else if yyct3128 == codecSelferValueTypeArray1234 { + yyl3128 := r.ReadArrayStart() + if yyl3128 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3137, d) + x.codecDecodeSelfFromArray(yyl3128, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40039,12 +39957,12 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3138Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3138Slc - var yyhl3138 bool = l >= 0 - for yyj3138 := 0; ; yyj3138++ { - if yyhl3138 { - if yyj3138 >= l { + var yys3129Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3129Slc + var yyhl3129 bool = l >= 0 + for yyj3129 := 0; ; yyj3129++ { + if yyhl3129 { + if yyj3129 >= l { break } } else { @@ -40053,32 +39971,32 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3138Slc = r.DecodeBytes(yys3138Slc, true, true) - yys3138 := string(yys3138Slc) + yys3129Slc = r.DecodeBytes(yys3129Slc, true, true) + yys3129 := string(yys3129Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3138 { + switch yys3129 { case "podSignature": if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3139 := &x.PodSignature - yyv3139.CodecDecodeSelf(d) + yyv3130 := &x.PodSignature + yyv3130.CodecDecodeSelf(d) } case "evictionTime": if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3140 := &x.EvictionTime - yym3141 := z.DecBinary() - _ = yym3141 + yyv3131 := &x.EvictionTime + yym3132 := z.DecBinary() + _ = yym3132 if false { - } else if z.HasExtensions() && z.DecExt(yyv3140) { - } else if yym3141 { - z.DecBinaryUnmarshal(yyv3140) - } else if !yym3141 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3140) + } else if z.HasExtensions() && z.DecExt(yyv3131) { + } else if yym3132 { + z.DecBinaryUnmarshal(yyv3131) + } else if !yym3132 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3131) } else { - z.DecFallback(yyv3140, false) + z.DecFallback(yyv3131, false) } } case "reason": @@ -40094,9 +40012,9 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3138) - } // end switch yys3138 - } // end for yyj3138 + z.DecStructFieldNotFound(-1, yys3129) + } // end switch yys3129 + } // end for yyj3129 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40104,16 +40022,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco 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 yyj3135 int + var yyb3135 bool + var yyhl3135 bool = l >= 0 + yyj3135++ + if yyhl3135 { + yyb3135 = yyj3135 > l } else { - yyb3144 = r.CheckBreak() + yyb3135 = r.CheckBreak() } - if yyb3144 { + if yyb3135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40121,16 +40039,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3145 := &x.PodSignature - yyv3145.CodecDecodeSelf(d) + yyv3136 := &x.PodSignature + yyv3136.CodecDecodeSelf(d) } - yyj3144++ - if yyhl3144 { - yyb3144 = yyj3144 > l + yyj3135++ + if yyhl3135 { + yyb3135 = yyj3135 > l } else { - yyb3144 = r.CheckBreak() + yyb3135 = r.CheckBreak() } - if yyb3144 { + if yyb3135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40138,26 +40056,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3146 := &x.EvictionTime - yym3147 := z.DecBinary() - _ = yym3147 + yyv3137 := &x.EvictionTime + yym3138 := z.DecBinary() + _ = yym3138 if false { - } else if z.HasExtensions() && z.DecExt(yyv3146) { - } else if yym3147 { - z.DecBinaryUnmarshal(yyv3146) - } else if !yym3147 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3146) + } else if z.HasExtensions() && z.DecExt(yyv3137) { + } else if yym3138 { + z.DecBinaryUnmarshal(yyv3137) + } else if !yym3138 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3137) } else { - z.DecFallback(yyv3146, false) + z.DecFallback(yyv3137, false) } } - yyj3144++ - if yyhl3144 { - yyb3144 = yyj3144 > l + yyj3135++ + if yyhl3135 { + yyb3135 = yyj3135 > l } else { - yyb3144 = r.CheckBreak() + yyb3135 = r.CheckBreak() } - if yyb3144 { + if yyb3135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40167,13 +40085,13 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Reason = string(r.DecodeString()) } - yyj3144++ - if yyhl3144 { - yyb3144 = yyj3144 > l + yyj3135++ + if yyhl3135 { + yyb3135 = yyj3135 > l } else { - yyb3144 = r.CheckBreak() + yyb3135 = r.CheckBreak() } - if yyb3144 { + if yyb3135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40184,17 +40102,17 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Message = string(r.DecodeString()) } for { - yyj3144++ - if yyhl3144 { - yyb3144 = yyj3144 > l + yyj3135++ + if yyhl3135 { + yyb3135 = yyj3135 > l } else { - yyb3144 = r.CheckBreak() + yyb3135 = r.CheckBreak() } - if yyb3144 { + if yyb3135 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3144-1, "") + z.DecStructFieldNotFound(yyj3135-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40206,33 +40124,33 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3150 := z.EncBinary() - _ = yym3150 + yym3141 := z.EncBinary() + _ = yym3141 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3151 := !z.EncBinary() - yy2arr3151 := z.EncBasicHandle().StructToArray - var yyq3151 [1]bool - _, _, _ = yysep3151, yyq3151, yy2arr3151 - const yyr3151 bool = false - yyq3151[0] = x.PodController != nil - var yynn3151 int - if yyr3151 || yy2arr3151 { + yysep3142 := !z.EncBinary() + yy2arr3142 := z.EncBasicHandle().StructToArray + var yyq3142 [1]bool + _, _, _ = yysep3142, yyq3142, yy2arr3142 + const yyr3142 bool = false + yyq3142[0] = x.PodController != nil + var yynn3142 int + if yyr3142 || yy2arr3142 { r.EncodeArrayStart(1) } else { - yynn3151 = 0 - for _, b := range yyq3151 { + yynn3142 = 0 + for _, b := range yyq3142 { if b { - yynn3151++ + yynn3142++ } } - r.EncodeMapStart(yynn3151) - yynn3151 = 0 + r.EncodeMapStart(yynn3142) + yynn3142 = 0 } - if yyr3151 || yy2arr3151 { + if yyr3142 || yy2arr3142 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3151[0] { + if yyq3142[0] { if x.PodController == nil { r.EncodeNil() } else { @@ -40242,7 +40160,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3151[0] { + if yyq3142[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podController")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -40253,7 +40171,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3151 || yy2arr3151 { + if yyr3142 || yy2arr3142 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40266,25 +40184,25 @@ func (x *PodSignature) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3153 := z.DecBinary() - _ = yym3153 + yym3144 := z.DecBinary() + _ = yym3144 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3154 := r.ContainerType() - if yyct3154 == codecSelferValueTypeMap1234 { - yyl3154 := r.ReadMapStart() - if yyl3154 == 0 { + yyct3145 := r.ContainerType() + if yyct3145 == codecSelferValueTypeMap1234 { + yyl3145 := r.ReadMapStart() + if yyl3145 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3154, d) + x.codecDecodeSelfFromMap(yyl3145, d) } - } else if yyct3154 == codecSelferValueTypeArray1234 { - yyl3154 := r.ReadArrayStart() - if yyl3154 == 0 { + } else if yyct3145 == codecSelferValueTypeArray1234 { + yyl3145 := r.ReadArrayStart() + if yyl3145 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3154, d) + x.codecDecodeSelfFromArray(yyl3145, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40296,12 +40214,12 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3155Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3155Slc - var yyhl3155 bool = l >= 0 - for yyj3155 := 0; ; yyj3155++ { - if yyhl3155 { - if yyj3155 >= l { + var yys3146Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3146Slc + var yyhl3146 bool = l >= 0 + for yyj3146 := 0; ; yyj3146++ { + if yyhl3146 { + if yyj3146 >= l { break } } else { @@ -40310,10 +40228,10 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3155Slc = r.DecodeBytes(yys3155Slc, true, true) - yys3155 := string(yys3155Slc) + yys3146Slc = r.DecodeBytes(yys3146Slc, true, true) + yys3146 := string(yys3146Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3155 { + switch yys3146 { case "podController": if r.TryDecodeAsNil() { if x.PodController != nil { @@ -40326,9 +40244,9 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3155) - } // end switch yys3155 - } // end for yyj3155 + z.DecStructFieldNotFound(-1, yys3146) + } // end switch yys3146 + } // end for yyj3146 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40336,16 +40254,16 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3157 int - var yyb3157 bool - var yyhl3157 bool = l >= 0 - yyj3157++ - if yyhl3157 { - yyb3157 = yyj3157 > l + var yyj3148 int + var yyb3148 bool + var yyhl3148 bool = l >= 0 + yyj3148++ + if yyhl3148 { + yyb3148 = yyj3148 > l } else { - yyb3157 = r.CheckBreak() + yyb3148 = r.CheckBreak() } - if yyb3157 { + if yyb3148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40361,17 +40279,17 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } for { - yyj3157++ - if yyhl3157 { - yyb3157 = yyj3157 > l + yyj3148++ + if yyhl3148 { + yyb3148 = yyj3148 > l } else { - yyb3157 = r.CheckBreak() + yyb3148 = r.CheckBreak() } - if yyb3157 { + if yyb3148 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3157-1, "") + z.DecStructFieldNotFound(yyj3148-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40383,37 +40301,37 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3159 := z.EncBinary() - _ = yym3159 + yym3150 := z.EncBinary() + _ = yym3150 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3160 := !z.EncBinary() - yy2arr3160 := z.EncBasicHandle().StructToArray - var yyq3160 [2]bool - _, _, _ = yysep3160, yyq3160, yy2arr3160 - const yyr3160 bool = false - yyq3160[1] = x.SizeBytes != 0 - var yynn3160 int - if yyr3160 || yy2arr3160 { + yysep3151 := !z.EncBinary() + yy2arr3151 := z.EncBasicHandle().StructToArray + var yyq3151 [2]bool + _, _, _ = yysep3151, yyq3151, yy2arr3151 + const yyr3151 bool = false + yyq3151[1] = x.SizeBytes != 0 + var yynn3151 int + if yyr3151 || yy2arr3151 { r.EncodeArrayStart(2) } else { - yynn3160 = 1 - for _, b := range yyq3160 { + yynn3151 = 1 + for _, b := range yyq3151 { if b { - yynn3160++ + yynn3151++ } } - r.EncodeMapStart(yynn3160) - yynn3160 = 0 + r.EncodeMapStart(yynn3151) + yynn3151 = 0 } - if yyr3160 || yy2arr3160 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Names == nil { r.EncodeNil() } else { - yym3162 := z.EncBinary() - _ = yym3162 + yym3153 := z.EncBinary() + _ = yym3153 if false { } else { z.F.EncSliceStringV(x.Names, false, e) @@ -40426,19 +40344,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x.Names == nil { r.EncodeNil() } else { - yym3163 := z.EncBinary() - _ = yym3163 + yym3154 := z.EncBinary() + _ = yym3154 if false { } else { z.F.EncSliceStringV(x.Names, false, e) } } } - if yyr3160 || yy2arr3160 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3160[1] { - yym3165 := z.EncBinary() - _ = yym3165 + if yyq3151[1] { + yym3156 := z.EncBinary() + _ = yym3156 if false { } else { r.EncodeInt(int64(x.SizeBytes)) @@ -40447,19 +40365,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3160[1] { + if yyq3151[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3166 := z.EncBinary() - _ = yym3166 + yym3157 := z.EncBinary() + _ = yym3157 if false { } else { r.EncodeInt(int64(x.SizeBytes)) } } } - if yyr3160 || yy2arr3160 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40472,25 +40390,25 @@ func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3167 := z.DecBinary() - _ = yym3167 + yym3158 := z.DecBinary() + _ = yym3158 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3168 := r.ContainerType() - if yyct3168 == codecSelferValueTypeMap1234 { - yyl3168 := r.ReadMapStart() - if yyl3168 == 0 { + yyct3159 := r.ContainerType() + if yyct3159 == codecSelferValueTypeMap1234 { + yyl3159 := r.ReadMapStart() + if yyl3159 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3168, d) + x.codecDecodeSelfFromMap(yyl3159, d) } - } else if yyct3168 == codecSelferValueTypeArray1234 { - yyl3168 := r.ReadArrayStart() - if yyl3168 == 0 { + } else if yyct3159 == codecSelferValueTypeArray1234 { + yyl3159 := r.ReadArrayStart() + if yyl3159 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3168, d) + x.codecDecodeSelfFromArray(yyl3159, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40502,12 +40420,12 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3169Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3169Slc - var yyhl3169 bool = l >= 0 - for yyj3169 := 0; ; yyj3169++ { - if yyhl3169 { - if yyj3169 >= l { + var yys3160Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3160Slc + var yyhl3160 bool = l >= 0 + for yyj3160 := 0; ; yyj3160++ { + if yyhl3160 { + if yyj3160 >= l { break } } else { @@ -40516,20 +40434,20 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3169Slc = r.DecodeBytes(yys3169Slc, true, true) - yys3169 := string(yys3169Slc) + yys3160Slc = r.DecodeBytes(yys3160Slc, true, true) + yys3160 := string(yys3160Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3169 { + switch yys3160 { case "names": if r.TryDecodeAsNil() { x.Names = nil } else { - yyv3170 := &x.Names - yym3171 := z.DecBinary() - _ = yym3171 + yyv3161 := &x.Names + yym3162 := z.DecBinary() + _ = yym3162 if false { } else { - z.F.DecSliceStringX(yyv3170, false, d) + z.F.DecSliceStringX(yyv3161, false, d) } } case "sizeBytes": @@ -40539,9 +40457,9 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3169) - } // end switch yys3169 - } // end for yyj3169 + z.DecStructFieldNotFound(-1, yys3160) + } // end switch yys3160 + } // end for yyj3160 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40549,16 +40467,16 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3173 int - var yyb3173 bool - var yyhl3173 bool = l >= 0 - yyj3173++ - if yyhl3173 { - yyb3173 = yyj3173 > l + var yyj3164 int + var yyb3164 bool + var yyhl3164 bool = l >= 0 + yyj3164++ + if yyhl3164 { + yyb3164 = yyj3164 > l } else { - yyb3173 = r.CheckBreak() + yyb3164 = r.CheckBreak() } - if yyb3173 { + if yyb3164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40566,21 +40484,21 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Names = nil } else { - yyv3174 := &x.Names - yym3175 := z.DecBinary() - _ = yym3175 + yyv3165 := &x.Names + yym3166 := z.DecBinary() + _ = yym3166 if false { } else { - z.F.DecSliceStringX(yyv3174, false, d) + z.F.DecSliceStringX(yyv3165, false, d) } } - yyj3173++ - if yyhl3173 { - yyb3173 = yyj3173 > l + yyj3164++ + if yyhl3164 { + yyb3164 = yyj3164 > l } else { - yyb3173 = r.CheckBreak() + yyb3164 = r.CheckBreak() } - if yyb3173 { + if yyb3164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40591,17 +40509,17 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } for { - yyj3173++ - if yyhl3173 { - yyb3173 = yyj3173 > l + yyj3164++ + if yyhl3164 { + yyb3164 = yyj3164 > l } else { - yyb3173 = r.CheckBreak() + yyb3164 = r.CheckBreak() } - if yyb3173 { + if yyb3164 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3173-1, "") + z.DecStructFieldNotFound(yyj3164-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40610,8 +40528,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3177 := z.EncBinary() - _ = yym3177 + yym3168 := z.EncBinary() + _ = yym3168 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40623,8 +40541,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3178 := z.DecBinary() - _ = yym3178 + yym3169 := z.DecBinary() + _ = yym3169 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40636,8 +40554,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3179 := z.EncBinary() - _ = yym3179 + yym3170 := z.EncBinary() + _ = yym3170 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40649,8 +40567,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3180 := z.DecBinary() - _ = yym3180 + yym3171 := z.DecBinary() + _ = yym3171 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40665,34 +40583,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3181 := z.EncBinary() - _ = yym3181 + yym3172 := z.EncBinary() + _ = yym3172 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3182 := !z.EncBinary() - yy2arr3182 := z.EncBasicHandle().StructToArray - var yyq3182 [6]bool - _, _, _ = yysep3182, yyq3182, yy2arr3182 - const yyr3182 bool = false - yyq3182[2] = true - yyq3182[3] = true - yyq3182[4] = x.Reason != "" - yyq3182[5] = x.Message != "" - var yynn3182 int - if yyr3182 || yy2arr3182 { + yysep3173 := !z.EncBinary() + yy2arr3173 := z.EncBasicHandle().StructToArray + var yyq3173 [6]bool + _, _, _ = yysep3173, yyq3173, yy2arr3173 + const yyr3173 bool = false + yyq3173[2] = true + yyq3173[3] = true + yyq3173[4] = x.Reason != "" + yyq3173[5] = x.Message != "" + var yynn3173 int + if yyr3173 || yy2arr3173 { r.EncodeArrayStart(6) } else { - yynn3182 = 2 - for _, b := range yyq3182 { + yynn3173 = 2 + for _, b := range yyq3173 { if b { - yynn3182++ + yynn3173++ } } - r.EncodeMapStart(yynn3182) - yynn3182 = 0 + r.EncodeMapStart(yynn3173) + yynn3173 = 0 } - if yyr3182 || yy2arr3182 { + if yyr3173 || yy2arr3173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -40701,7 +40619,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3182 || yy2arr3182 { + if yyr3173 || yy2arr3173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -40710,85 +40628,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3182 || yy2arr3182 { + if yyr3173 || yy2arr3173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3182[2] { - yy3186 := &x.LastHeartbeatTime - yym3187 := z.EncBinary() - _ = yym3187 + if yyq3173[2] { + yy3177 := &x.LastHeartbeatTime + yym3178 := z.EncBinary() + _ = yym3178 if false { - } else if z.HasExtensions() && z.EncExt(yy3186) { - } else if yym3187 { - z.EncBinaryMarshal(yy3186) - } else if !yym3187 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3186) + } else if z.HasExtensions() && z.EncExt(yy3177) { + } else if yym3178 { + z.EncBinaryMarshal(yy3177) + } else if !yym3178 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3177) } else { - z.EncFallback(yy3186) + z.EncFallback(yy3177) } } else { r.EncodeNil() } } else { - if yyq3182[2] { + if yyq3173[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3188 := &x.LastHeartbeatTime - yym3189 := z.EncBinary() - _ = yym3189 + yy3179 := &x.LastHeartbeatTime + yym3180 := z.EncBinary() + _ = yym3180 if false { - } else if z.HasExtensions() && z.EncExt(yy3188) { - } else if yym3189 { - z.EncBinaryMarshal(yy3188) - } else if !yym3189 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3188) + } else if z.HasExtensions() && z.EncExt(yy3179) { + } else if yym3180 { + z.EncBinaryMarshal(yy3179) + } else if !yym3180 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3179) } else { - z.EncFallback(yy3188) + z.EncFallback(yy3179) } } } - if yyr3182 || yy2arr3182 { + if yyr3173 || yy2arr3173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3182[3] { - yy3191 := &x.LastTransitionTime - yym3192 := z.EncBinary() - _ = yym3192 + if yyq3173[3] { + yy3182 := &x.LastTransitionTime + yym3183 := z.EncBinary() + _ = yym3183 if false { - } else if z.HasExtensions() && z.EncExt(yy3191) { - } else if yym3192 { - z.EncBinaryMarshal(yy3191) - } else if !yym3192 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3191) + } else if z.HasExtensions() && z.EncExt(yy3182) { + } else if yym3183 { + z.EncBinaryMarshal(yy3182) + } else if !yym3183 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3182) } else { - z.EncFallback(yy3191) + z.EncFallback(yy3182) } } else { r.EncodeNil() } } else { - if yyq3182[3] { + if yyq3173[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3193 := &x.LastTransitionTime - yym3194 := z.EncBinary() - _ = yym3194 + yy3184 := &x.LastTransitionTime + yym3185 := z.EncBinary() + _ = yym3185 if false { - } else if z.HasExtensions() && z.EncExt(yy3193) { - } else if yym3194 { - z.EncBinaryMarshal(yy3193) - } else if !yym3194 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3193) + } else if z.HasExtensions() && z.EncExt(yy3184) { + } else if yym3185 { + z.EncBinaryMarshal(yy3184) + } else if !yym3185 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3184) } else { - z.EncFallback(yy3193) + z.EncFallback(yy3184) } } } - if yyr3182 || yy2arr3182 { + if yyr3173 || yy2arr3173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3182[4] { - yym3196 := z.EncBinary() - _ = yym3196 + if yyq3173[4] { + yym3187 := z.EncBinary() + _ = yym3187 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -40797,23 +40715,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3182[4] { + if yyq3173[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3197 := z.EncBinary() - _ = yym3197 + yym3188 := z.EncBinary() + _ = yym3188 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3182 || yy2arr3182 { + if yyr3173 || yy2arr3173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3182[5] { - yym3199 := z.EncBinary() - _ = yym3199 + if yyq3173[5] { + yym3190 := z.EncBinary() + _ = yym3190 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -40822,19 +40740,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3182[5] { + if yyq3173[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3200 := z.EncBinary() - _ = yym3200 + yym3191 := z.EncBinary() + _ = yym3191 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3182 || yy2arr3182 { + if yyr3173 || yy2arr3173 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40847,25 +40765,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3201 := z.DecBinary() - _ = yym3201 + yym3192 := z.DecBinary() + _ = yym3192 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3202 := r.ContainerType() - if yyct3202 == codecSelferValueTypeMap1234 { - yyl3202 := r.ReadMapStart() - if yyl3202 == 0 { + yyct3193 := r.ContainerType() + if yyct3193 == codecSelferValueTypeMap1234 { + yyl3193 := r.ReadMapStart() + if yyl3193 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3202, d) + x.codecDecodeSelfFromMap(yyl3193, d) } - } else if yyct3202 == codecSelferValueTypeArray1234 { - yyl3202 := r.ReadArrayStart() - if yyl3202 == 0 { + } else if yyct3193 == codecSelferValueTypeArray1234 { + yyl3193 := r.ReadArrayStart() + if yyl3193 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3202, d) + x.codecDecodeSelfFromArray(yyl3193, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40877,12 +40795,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3203Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3203Slc - var yyhl3203 bool = l >= 0 - for yyj3203 := 0; ; yyj3203++ { - if yyhl3203 { - if yyj3203 >= l { + var yys3194Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3194Slc + var yyhl3194 bool = l >= 0 + for yyj3194 := 0; ; yyj3194++ { + if yyhl3194 { + if yyj3194 >= l { break } } else { @@ -40891,10 +40809,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3203Slc = r.DecodeBytes(yys3203Slc, true, true) - yys3203 := string(yys3203Slc) + yys3194Slc = r.DecodeBytes(yys3194Slc, true, true) + yys3194 := string(yys3194Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3203 { + switch yys3194 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -40911,34 +40829,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv3206 := &x.LastHeartbeatTime - yym3207 := z.DecBinary() - _ = yym3207 + yyv3197 := &x.LastHeartbeatTime + yym3198 := z.DecBinary() + _ = yym3198 if false { - } else if z.HasExtensions() && z.DecExt(yyv3206) { - } else if yym3207 { - z.DecBinaryUnmarshal(yyv3206) - } else if !yym3207 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3206) + } else if z.HasExtensions() && z.DecExt(yyv3197) { + } else if yym3198 { + z.DecBinaryUnmarshal(yyv3197) + } else if !yym3198 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3197) } else { - z.DecFallback(yyv3206, false) + z.DecFallback(yyv3197, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv3208 := &x.LastTransitionTime - yym3209 := z.DecBinary() - _ = yym3209 + yyv3199 := &x.LastTransitionTime + yym3200 := z.DecBinary() + _ = yym3200 if false { - } else if z.HasExtensions() && z.DecExt(yyv3208) { - } else if yym3209 { - z.DecBinaryUnmarshal(yyv3208) - } else if !yym3209 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3208) + } else if z.HasExtensions() && z.DecExt(yyv3199) { + } else if yym3200 { + z.DecBinaryUnmarshal(yyv3199) + } else if !yym3200 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3199) } else { - z.DecFallback(yyv3208, false) + z.DecFallback(yyv3199, false) } } case "reason": @@ -40954,9 +40872,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3203) - } // end switch yys3203 - } // end for yyj3203 + z.DecStructFieldNotFound(-1, yys3194) + } // end switch yys3194 + } // end for yyj3194 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40964,16 +40882,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3212 int - var yyb3212 bool - var yyhl3212 bool = l >= 0 - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + var yyj3203 int + var yyb3203 bool + var yyhl3203 bool = l >= 0 + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb3212 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb3212 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40983,13 +40901,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb3212 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb3212 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40999,13 +40917,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb3212 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb3212 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41013,26 +40931,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv3215 := &x.LastHeartbeatTime - yym3216 := z.DecBinary() - _ = yym3216 + yyv3206 := &x.LastHeartbeatTime + yym3207 := z.DecBinary() + _ = yym3207 if false { - } else if z.HasExtensions() && z.DecExt(yyv3215) { - } else if yym3216 { - z.DecBinaryUnmarshal(yyv3215) - } else if !yym3216 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3215) + } else if z.HasExtensions() && z.DecExt(yyv3206) { + } else if yym3207 { + z.DecBinaryUnmarshal(yyv3206) + } else if !yym3207 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3206) } else { - z.DecFallback(yyv3215, false) + z.DecFallback(yyv3206, false) } } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb3212 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb3212 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41040,26 +40958,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv3217 := &x.LastTransitionTime - yym3218 := z.DecBinary() - _ = yym3218 + yyv3208 := &x.LastTransitionTime + yym3209 := z.DecBinary() + _ = yym3209 if false { - } else if z.HasExtensions() && z.DecExt(yyv3217) { - } else if yym3218 { - z.DecBinaryUnmarshal(yyv3217) - } else if !yym3218 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3217) + } else if z.HasExtensions() && z.DecExt(yyv3208) { + } else if yym3209 { + z.DecBinaryUnmarshal(yyv3208) + } else if !yym3209 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3208) } else { - z.DecFallback(yyv3217, false) + z.DecFallback(yyv3208, false) } } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb3212 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb3212 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41069,13 +40987,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb3212 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb3212 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41086,17 +41004,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb3212 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb3212 { + if yyb3203 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3212-1, "") + z.DecStructFieldNotFound(yyj3203-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41105,8 +41023,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3221 := z.EncBinary() - _ = yym3221 + yym3212 := z.EncBinary() + _ = yym3212 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41118,8 +41036,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3222 := z.DecBinary() - _ = yym3222 + yym3213 := z.DecBinary() + _ = yym3213 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41134,30 +41052,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3223 := z.EncBinary() - _ = yym3223 + yym3214 := z.EncBinary() + _ = yym3214 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3224 := !z.EncBinary() - yy2arr3224 := z.EncBasicHandle().StructToArray - var yyq3224 [2]bool - _, _, _ = yysep3224, yyq3224, yy2arr3224 - const yyr3224 bool = false - var yynn3224 int - if yyr3224 || yy2arr3224 { + yysep3215 := !z.EncBinary() + yy2arr3215 := z.EncBasicHandle().StructToArray + var yyq3215 [2]bool + _, _, _ = yysep3215, yyq3215, yy2arr3215 + const yyr3215 bool = false + var yynn3215 int + if yyr3215 || yy2arr3215 { r.EncodeArrayStart(2) } else { - yynn3224 = 2 - for _, b := range yyq3224 { + yynn3215 = 2 + for _, b := range yyq3215 { if b { - yynn3224++ + yynn3215++ } } - r.EncodeMapStart(yynn3224) - yynn3224 = 0 + r.EncodeMapStart(yynn3215) + yynn3215 = 0 } - if yyr3224 || yy2arr3224 { + if yyr3215 || yy2arr3215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41166,10 +41084,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3224 || yy2arr3224 { + if yyr3215 || yy2arr3215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3227 := z.EncBinary() - _ = yym3227 + yym3218 := z.EncBinary() + _ = yym3218 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -41178,14 +41096,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3228 := z.EncBinary() - _ = yym3228 + yym3219 := z.EncBinary() + _ = yym3219 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr3224 || yy2arr3224 { + if yyr3215 || yy2arr3215 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41198,25 +41116,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3229 := z.DecBinary() - _ = yym3229 + yym3220 := z.DecBinary() + _ = yym3220 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3230 := r.ContainerType() - if yyct3230 == codecSelferValueTypeMap1234 { - yyl3230 := r.ReadMapStart() - if yyl3230 == 0 { + yyct3221 := r.ContainerType() + if yyct3221 == codecSelferValueTypeMap1234 { + yyl3221 := r.ReadMapStart() + if yyl3221 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3230, d) + x.codecDecodeSelfFromMap(yyl3221, d) } - } else if yyct3230 == codecSelferValueTypeArray1234 { - yyl3230 := r.ReadArrayStart() - if yyl3230 == 0 { + } else if yyct3221 == codecSelferValueTypeArray1234 { + yyl3221 := r.ReadArrayStart() + if yyl3221 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3230, d) + x.codecDecodeSelfFromArray(yyl3221, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41228,12 +41146,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3231Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3231Slc - var yyhl3231 bool = l >= 0 - for yyj3231 := 0; ; yyj3231++ { - if yyhl3231 { - if yyj3231 >= l { + var yys3222Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3222Slc + var yyhl3222 bool = l >= 0 + for yyj3222 := 0; ; yyj3222++ { + if yyhl3222 { + if yyj3222 >= l { break } } else { @@ -41242,10 +41160,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3231Slc = r.DecodeBytes(yys3231Slc, true, true) - yys3231 := string(yys3231Slc) + yys3222Slc = r.DecodeBytes(yys3222Slc, true, true) + yys3222 := string(yys3222Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3231 { + switch yys3222 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41259,9 +41177,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3231) - } // end switch yys3231 - } // end for yyj3231 + z.DecStructFieldNotFound(-1, yys3222) + } // end switch yys3222 + } // end for yyj3222 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41269,16 +41187,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3234 int - var yyb3234 bool - var yyhl3234 bool = l >= 0 - yyj3234++ - if yyhl3234 { - yyb3234 = yyj3234 > l + var yyj3225 int + var yyb3225 bool + var yyhl3225 bool = l >= 0 + yyj3225++ + if yyhl3225 { + yyb3225 = yyj3225 > l } else { - yyb3234 = r.CheckBreak() + yyb3225 = r.CheckBreak() } - if yyb3234 { + if yyb3225 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41288,13 +41206,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj3234++ - if yyhl3234 { - yyb3234 = yyj3234 > l + yyj3225++ + if yyhl3225 { + yyb3225 = yyj3225 > l } else { - yyb3234 = r.CheckBreak() + yyb3225 = r.CheckBreak() } - if yyb3234 { + if yyb3225 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41305,17 +41223,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj3234++ - if yyhl3234 { - yyb3234 = yyj3234 > l + yyj3225++ + if yyhl3225 { + yyb3225 = yyj3225 > l } else { - yyb3234 = r.CheckBreak() + yyb3225 = r.CheckBreak() } - if yyb3234 { + if yyb3225 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3234-1, "") + z.DecStructFieldNotFound(yyj3225-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41324,8 +41242,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3237 := z.EncBinary() - _ = yym3237 + yym3228 := z.EncBinary() + _ = yym3228 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41337,8 +41255,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3238 := z.DecBinary() - _ = yym3238 + yym3229 := z.DecBinary() + _ = yym3229 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41353,8 +41271,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3239 := z.EncBinary() - _ = yym3239 + yym3230 := z.EncBinary() + _ = yym3230 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41367,8 +41285,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3240 := z.DecBinary() - _ = yym3240 + yym3231 := z.DecBinary() + _ = yym3231 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41383,39 +41301,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3241 := z.EncBinary() - _ = yym3241 + yym3232 := z.EncBinary() + _ = yym3232 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3242 := !z.EncBinary() - yy2arr3242 := z.EncBasicHandle().StructToArray - var yyq3242 [5]bool - _, _, _ = yysep3242, yyq3242, yy2arr3242 - const yyr3242 bool = false - yyq3242[0] = x.Kind != "" - yyq3242[1] = x.APIVersion != "" - yyq3242[2] = true - yyq3242[3] = true - yyq3242[4] = true - var yynn3242 int - if yyr3242 || yy2arr3242 { + yysep3233 := !z.EncBinary() + yy2arr3233 := z.EncBasicHandle().StructToArray + var yyq3233 [5]bool + _, _, _ = yysep3233, yyq3233, yy2arr3233 + const yyr3233 bool = false + yyq3233[0] = x.Kind != "" + yyq3233[1] = x.APIVersion != "" + yyq3233[2] = true + yyq3233[3] = true + yyq3233[4] = true + var yynn3233 int + if yyr3233 || yy2arr3233 { r.EncodeArrayStart(5) } else { - yynn3242 = 0 - for _, b := range yyq3242 { + yynn3233 = 0 + for _, b := range yyq3233 { if b { - yynn3242++ + yynn3233++ } } - r.EncodeMapStart(yynn3242) - yynn3242 = 0 + r.EncodeMapStart(yynn3233) + yynn3233 = 0 } - if yyr3242 || yy2arr3242 { + if yyr3233 || yy2arr3233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3242[0] { - yym3244 := z.EncBinary() - _ = yym3244 + if yyq3233[0] { + yym3235 := z.EncBinary() + _ = yym3235 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41424,23 +41342,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3242[0] { + if yyq3233[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3245 := z.EncBinary() - _ = yym3245 + yym3236 := z.EncBinary() + _ = yym3236 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3242 || yy2arr3242 { + if yyr3233 || yy2arr3233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3242[1] { - yym3247 := z.EncBinary() - _ = yym3247 + if yyq3233[1] { + yym3238 := z.EncBinary() + _ = yym3238 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41449,70 +41367,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3242[1] { + if yyq3233[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3248 := z.EncBinary() - _ = yym3248 + yym3239 := z.EncBinary() + _ = yym3239 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3242 || yy2arr3242 { + if yyr3233 || yy2arr3233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3242[2] { - yy3250 := &x.ObjectMeta - yy3250.CodecEncodeSelf(e) + if yyq3233[2] { + yy3241 := &x.ObjectMeta + yy3241.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3242[2] { + if yyq3233[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3251 := &x.ObjectMeta - yy3251.CodecEncodeSelf(e) + yy3242 := &x.ObjectMeta + yy3242.CodecEncodeSelf(e) } } - if yyr3242 || yy2arr3242 { + if yyr3233 || yy2arr3233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3242[3] { - yy3253 := &x.Spec - yy3253.CodecEncodeSelf(e) + if yyq3233[3] { + yy3244 := &x.Spec + yy3244.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3242[3] { + if yyq3233[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3254 := &x.Spec - yy3254.CodecEncodeSelf(e) + yy3245 := &x.Spec + yy3245.CodecEncodeSelf(e) } } - if yyr3242 || yy2arr3242 { + if yyr3233 || yy2arr3233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3242[4] { - yy3256 := &x.Status - yy3256.CodecEncodeSelf(e) + if yyq3233[4] { + yy3247 := &x.Status + yy3247.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3242[4] { + if yyq3233[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3257 := &x.Status - yy3257.CodecEncodeSelf(e) + yy3248 := &x.Status + yy3248.CodecEncodeSelf(e) } } - if yyr3242 || yy2arr3242 { + if yyr3233 || yy2arr3233 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41525,25 +41443,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3258 := z.DecBinary() - _ = yym3258 + yym3249 := z.DecBinary() + _ = yym3249 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3259 := r.ContainerType() - if yyct3259 == codecSelferValueTypeMap1234 { - yyl3259 := r.ReadMapStart() - if yyl3259 == 0 { + yyct3250 := r.ContainerType() + if yyct3250 == codecSelferValueTypeMap1234 { + yyl3250 := r.ReadMapStart() + if yyl3250 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3259, d) + x.codecDecodeSelfFromMap(yyl3250, d) } - } else if yyct3259 == codecSelferValueTypeArray1234 { - yyl3259 := r.ReadArrayStart() - if yyl3259 == 0 { + } else if yyct3250 == codecSelferValueTypeArray1234 { + yyl3250 := r.ReadArrayStart() + if yyl3250 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3259, d) + x.codecDecodeSelfFromArray(yyl3250, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41555,12 +41473,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3260Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3260Slc - var yyhl3260 bool = l >= 0 - for yyj3260 := 0; ; yyj3260++ { - if yyhl3260 { - if yyj3260 >= l { + var yys3251Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3251Slc + var yyhl3251 bool = l >= 0 + for yyj3251 := 0; ; yyj3251++ { + if yyhl3251 { + if yyj3251 >= l { break } } else { @@ -41569,10 +41487,10 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3260Slc = r.DecodeBytes(yys3260Slc, true, true) - yys3260 := string(yys3260Slc) + yys3251Slc = r.DecodeBytes(yys3251Slc, true, true) + yys3251 := string(yys3251Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3260 { + switch yys3251 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41589,27 +41507,27 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3263 := &x.ObjectMeta - yyv3263.CodecDecodeSelf(d) + yyv3254 := &x.ObjectMeta + yyv3254.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv3264 := &x.Spec - yyv3264.CodecDecodeSelf(d) + yyv3255 := &x.Spec + yyv3255.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv3265 := &x.Status - yyv3265.CodecDecodeSelf(d) + yyv3256 := &x.Status + yyv3256.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3260) - } // end switch yys3260 - } // end for yyj3260 + z.DecStructFieldNotFound(-1, yys3251) + } // end switch yys3251 + } // end for yyj3251 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41617,16 +41535,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3266 int - var yyb3266 bool - var yyhl3266 bool = l >= 0 - yyj3266++ - if yyhl3266 { - yyb3266 = yyj3266 > l + var yyj3257 int + var yyb3257 bool + var yyhl3257 bool = l >= 0 + yyj3257++ + if yyhl3257 { + yyb3257 = yyj3257 > l } else { - yyb3266 = r.CheckBreak() + yyb3257 = r.CheckBreak() } - if yyb3266 { + if yyb3257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41636,13 +41554,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3266++ - if yyhl3266 { - yyb3266 = yyj3266 > l + yyj3257++ + if yyhl3257 { + yyb3257 = yyj3257 > l } else { - yyb3266 = r.CheckBreak() + yyb3257 = r.CheckBreak() } - if yyb3266 { + if yyb3257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41652,13 +41570,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3266++ - if yyhl3266 { - yyb3266 = yyj3266 > l + yyj3257++ + if yyhl3257 { + yyb3257 = yyj3257 > l } else { - yyb3266 = r.CheckBreak() + yyb3257 = r.CheckBreak() } - if yyb3266 { + if yyb3257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41666,16 +41584,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3269 := &x.ObjectMeta - yyv3269.CodecDecodeSelf(d) + yyv3260 := &x.ObjectMeta + yyv3260.CodecDecodeSelf(d) } - yyj3266++ - if yyhl3266 { - yyb3266 = yyj3266 > l + yyj3257++ + if yyhl3257 { + yyb3257 = yyj3257 > l } else { - yyb3266 = r.CheckBreak() + yyb3257 = r.CheckBreak() } - if yyb3266 { + if yyb3257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41683,16 +41601,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv3270 := &x.Spec - yyv3270.CodecDecodeSelf(d) + yyv3261 := &x.Spec + yyv3261.CodecDecodeSelf(d) } - yyj3266++ - if yyhl3266 { - yyb3266 = yyj3266 > l + yyj3257++ + if yyhl3257 { + yyb3257 = yyj3257 > l } else { - yyb3266 = r.CheckBreak() + yyb3257 = r.CheckBreak() } - if yyb3266 { + if yyb3257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41700,21 +41618,21 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv3271 := &x.Status - yyv3271.CodecDecodeSelf(d) + yyv3262 := &x.Status + yyv3262.CodecDecodeSelf(d) } for { - yyj3266++ - if yyhl3266 { - yyb3266 = yyj3266 > l + yyj3257++ + if yyhl3257 { + yyb3257 = yyj3257 > l } else { - yyb3266 = r.CheckBreak() + yyb3257 = r.CheckBreak() } - if yyb3266 { + if yyb3257 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3266-1, "") + z.DecStructFieldNotFound(yyj3257-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41726,37 +41644,37 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3272 := z.EncBinary() - _ = yym3272 + yym3263 := z.EncBinary() + _ = yym3263 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3273 := !z.EncBinary() - yy2arr3273 := z.EncBasicHandle().StructToArray - var yyq3273 [4]bool - _, _, _ = yysep3273, yyq3273, yy2arr3273 - const yyr3273 bool = false - yyq3273[0] = x.Kind != "" - yyq3273[1] = x.APIVersion != "" - yyq3273[2] = true - var yynn3273 int - if yyr3273 || yy2arr3273 { + yysep3264 := !z.EncBinary() + yy2arr3264 := z.EncBasicHandle().StructToArray + var yyq3264 [4]bool + _, _, _ = yysep3264, yyq3264, yy2arr3264 + const yyr3264 bool = false + yyq3264[0] = x.Kind != "" + yyq3264[1] = x.APIVersion != "" + yyq3264[2] = true + var yynn3264 int + if yyr3264 || yy2arr3264 { r.EncodeArrayStart(4) } else { - yynn3273 = 1 - for _, b := range yyq3273 { + yynn3264 = 1 + for _, b := range yyq3264 { if b { - yynn3273++ + yynn3264++ } } - r.EncodeMapStart(yynn3273) - yynn3273 = 0 + r.EncodeMapStart(yynn3264) + yynn3264 = 0 } - if yyr3273 || yy2arr3273 { + if yyr3264 || yy2arr3264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[0] { - yym3275 := z.EncBinary() - _ = yym3275 + if yyq3264[0] { + yym3266 := z.EncBinary() + _ = yym3266 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41765,23 +41683,23 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3273[0] { + if yyq3264[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3276 := z.EncBinary() - _ = yym3276 + yym3267 := z.EncBinary() + _ = yym3267 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3273 || yy2arr3273 { + if yyr3264 || yy2arr3264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[1] { - yym3278 := z.EncBinary() - _ = yym3278 + if yyq3264[1] { + yym3269 := z.EncBinary() + _ = yym3269 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41790,54 +41708,54 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3273[1] { + if yyq3264[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3279 := z.EncBinary() - _ = yym3279 + yym3270 := z.EncBinary() + _ = yym3270 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3273 || yy2arr3273 { + if yyr3264 || yy2arr3264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[2] { - yy3281 := &x.ListMeta - yym3282 := z.EncBinary() - _ = yym3282 + if yyq3264[2] { + yy3272 := &x.ListMeta + yym3273 := z.EncBinary() + _ = yym3273 if false { - } else if z.HasExtensions() && z.EncExt(yy3281) { + } else if z.HasExtensions() && z.EncExt(yy3272) { } else { - z.EncFallback(yy3281) + z.EncFallback(yy3272) } } else { r.EncodeNil() } } else { - if yyq3273[2] { + if yyq3264[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3283 := &x.ListMeta - yym3284 := z.EncBinary() - _ = yym3284 + yy3274 := &x.ListMeta + yym3275 := z.EncBinary() + _ = yym3275 if false { - } else if z.HasExtensions() && z.EncExt(yy3283) { + } else if z.HasExtensions() && z.EncExt(yy3274) { } else { - z.EncFallback(yy3283) + z.EncFallback(yy3274) } } } - if yyr3273 || yy2arr3273 { + if yyr3264 || yy2arr3264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3286 := z.EncBinary() - _ = yym3286 + yym3277 := z.EncBinary() + _ = yym3277 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -41850,15 +41768,15 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3287 := z.EncBinary() - _ = yym3287 + yym3278 := z.EncBinary() + _ = yym3278 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr3273 || yy2arr3273 { + if yyr3264 || yy2arr3264 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41871,25 +41789,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3288 := z.DecBinary() - _ = yym3288 + yym3279 := z.DecBinary() + _ = yym3279 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3289 := r.ContainerType() - if yyct3289 == codecSelferValueTypeMap1234 { - yyl3289 := r.ReadMapStart() - if yyl3289 == 0 { + yyct3280 := r.ContainerType() + if yyct3280 == codecSelferValueTypeMap1234 { + yyl3280 := r.ReadMapStart() + if yyl3280 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3289, d) + x.codecDecodeSelfFromMap(yyl3280, d) } - } else if yyct3289 == codecSelferValueTypeArray1234 { - yyl3289 := r.ReadArrayStart() - if yyl3289 == 0 { + } else if yyct3280 == codecSelferValueTypeArray1234 { + yyl3280 := r.ReadArrayStart() + if yyl3280 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3289, d) + x.codecDecodeSelfFromArray(yyl3280, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41901,12 +41819,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3290Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3290Slc - var yyhl3290 bool = l >= 0 - for yyj3290 := 0; ; yyj3290++ { - if yyhl3290 { - if yyj3290 >= l { + var yys3281Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3281Slc + var yyhl3281 bool = l >= 0 + for yyj3281 := 0; ; yyj3281++ { + if yyhl3281 { + if yyj3281 >= l { break } } else { @@ -41915,10 +41833,10 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3290Slc = r.DecodeBytes(yys3290Slc, true, true) - yys3290 := string(yys3290Slc) + yys3281Slc = r.DecodeBytes(yys3281Slc, true, true) + yys3281 := string(yys3281Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3290 { + switch yys3281 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41935,31 +41853,31 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3293 := &x.ListMeta - yym3294 := z.DecBinary() - _ = yym3294 + yyv3284 := &x.ListMeta + yym3285 := z.DecBinary() + _ = yym3285 if false { - } else if z.HasExtensions() && z.DecExt(yyv3293) { + } else if z.HasExtensions() && z.DecExt(yyv3284) { } else { - z.DecFallback(yyv3293, false) + z.DecFallback(yyv3284, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3295 := &x.Items - yym3296 := z.DecBinary() - _ = yym3296 + yyv3286 := &x.Items + yym3287 := z.DecBinary() + _ = yym3287 if false { } else { - h.decSliceNode((*[]Node)(yyv3295), d) + h.decSliceNode((*[]Node)(yyv3286), d) } } default: - z.DecStructFieldNotFound(-1, yys3290) - } // end switch yys3290 - } // end for yyj3290 + z.DecStructFieldNotFound(-1, yys3281) + } // end switch yys3281 + } // end for yyj3281 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41967,16 +41885,16 @@ func (x *NodeList) 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 yyj3288 int + var yyb3288 bool + var yyhl3288 bool = l >= 0 + yyj3288++ + if yyhl3288 { + yyb3288 = yyj3288 > l } else { - yyb3297 = r.CheckBreak() + yyb3288 = r.CheckBreak() } - if yyb3297 { + if yyb3288 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41986,13 +41904,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj3288++ + if yyhl3288 { + yyb3288 = yyj3288 > l } else { - yyb3297 = r.CheckBreak() + yyb3288 = r.CheckBreak() } - if yyb3297 { + if yyb3288 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42002,13 +41920,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj3288++ + if yyhl3288 { + yyb3288 = yyj3288 > l } else { - yyb3297 = r.CheckBreak() + yyb3288 = r.CheckBreak() } - if yyb3297 { + if yyb3288 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42016,22 +41934,22 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3300 := &x.ListMeta - yym3301 := z.DecBinary() - _ = yym3301 + yyv3291 := &x.ListMeta + yym3292 := z.DecBinary() + _ = yym3292 if false { - } else if z.HasExtensions() && z.DecExt(yyv3300) { + } else if z.HasExtensions() && z.DecExt(yyv3291) { } else { - z.DecFallback(yyv3300, false) + z.DecFallback(yyv3291, false) } } - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj3288++ + if yyhl3288 { + yyb3288 = yyj3288 > l } else { - yyb3297 = r.CheckBreak() + yyb3288 = r.CheckBreak() } - if yyb3297 { + if yyb3288 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42039,26 +41957,26 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3302 := &x.Items - yym3303 := z.DecBinary() - _ = yym3303 + yyv3293 := &x.Items + yym3294 := z.DecBinary() + _ = yym3294 if false { } else { - h.decSliceNode((*[]Node)(yyv3302), d) + h.decSliceNode((*[]Node)(yyv3293), d) } } for { - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj3288++ + if yyhl3288 { + yyb3288 = yyj3288 > l } else { - yyb3297 = r.CheckBreak() + yyb3288 = r.CheckBreak() } - if yyb3297 { + if yyb3288 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3297-1, "") + z.DecStructFieldNotFound(yyj3288-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42067,8 +41985,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3304 := z.EncBinary() - _ = yym3304 + yym3295 := z.EncBinary() + _ = yym3295 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42080,8 +41998,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3305 := z.DecBinary() - _ = yym3305 + yym3296 := z.DecBinary() + _ = yym3296 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -42096,38 +42014,38 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3306 := z.EncBinary() - _ = yym3306 + yym3297 := z.EncBinary() + _ = yym3297 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3307 := !z.EncBinary() - yy2arr3307 := z.EncBasicHandle().StructToArray - var yyq3307 [1]bool - _, _, _ = yysep3307, yyq3307, yy2arr3307 - const yyr3307 bool = false - yyq3307[0] = len(x.Finalizers) != 0 - var yynn3307 int - if yyr3307 || yy2arr3307 { + yysep3298 := !z.EncBinary() + yy2arr3298 := z.EncBasicHandle().StructToArray + var yyq3298 [1]bool + _, _, _ = yysep3298, yyq3298, yy2arr3298 + const yyr3298 bool = false + yyq3298[0] = len(x.Finalizers) != 0 + var yynn3298 int + if yyr3298 || yy2arr3298 { r.EncodeArrayStart(1) } else { - yynn3307 = 0 - for _, b := range yyq3307 { + yynn3298 = 0 + for _, b := range yyq3298 { if b { - yynn3307++ + yynn3298++ } } - r.EncodeMapStart(yynn3307) - yynn3307 = 0 + r.EncodeMapStart(yynn3298) + yynn3298 = 0 } - if yyr3307 || yy2arr3307 { + if yyr3298 || yy2arr3298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3307[0] { + if yyq3298[0] { if x.Finalizers == nil { r.EncodeNil() } else { - yym3309 := z.EncBinary() - _ = yym3309 + yym3300 := z.EncBinary() + _ = yym3300 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -42137,15 +42055,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3307[0] { + if yyq3298[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym3310 := z.EncBinary() - _ = yym3310 + yym3301 := z.EncBinary() + _ = yym3301 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -42153,7 +42071,7 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3307 || yy2arr3307 { + if yyr3298 || yy2arr3298 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42166,25 +42084,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3311 := z.DecBinary() - _ = yym3311 + yym3302 := z.DecBinary() + _ = yym3302 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3312 := r.ContainerType() - if yyct3312 == codecSelferValueTypeMap1234 { - yyl3312 := r.ReadMapStart() - if yyl3312 == 0 { + yyct3303 := r.ContainerType() + if yyct3303 == codecSelferValueTypeMap1234 { + yyl3303 := r.ReadMapStart() + if yyl3303 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3312, d) + x.codecDecodeSelfFromMap(yyl3303, d) } - } else if yyct3312 == codecSelferValueTypeArray1234 { - yyl3312 := r.ReadArrayStart() - if yyl3312 == 0 { + } else if yyct3303 == codecSelferValueTypeArray1234 { + yyl3303 := r.ReadArrayStart() + if yyl3303 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3312, d) + x.codecDecodeSelfFromArray(yyl3303, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42196,12 +42114,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3313Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3313Slc - var yyhl3313 bool = l >= 0 - for yyj3313 := 0; ; yyj3313++ { - if yyhl3313 { - if yyj3313 >= l { + var yys3304Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3304Slc + var yyhl3304 bool = l >= 0 + for yyj3304 := 0; ; yyj3304++ { + if yyhl3304 { + if yyj3304 >= l { break } } else { @@ -42210,26 +42128,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3313Slc = r.DecodeBytes(yys3313Slc, true, true) - yys3313 := string(yys3313Slc) + yys3304Slc = r.DecodeBytes(yys3304Slc, true, true) + yys3304 := string(yys3304Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3313 { + switch yys3304 { case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv3314 := &x.Finalizers - yym3315 := z.DecBinary() - _ = yym3315 + yyv3305 := &x.Finalizers + yym3306 := z.DecBinary() + _ = yym3306 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3314), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3305), d) } } default: - z.DecStructFieldNotFound(-1, yys3313) - } // end switch yys3313 - } // end for yyj3313 + z.DecStructFieldNotFound(-1, yys3304) + } // end switch yys3304 + } // end for yyj3304 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42237,16 +42155,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3316 int - var yyb3316 bool - var yyhl3316 bool = l >= 0 - yyj3316++ - if yyhl3316 { - yyb3316 = yyj3316 > l + var yyj3307 int + var yyb3307 bool + var yyhl3307 bool = l >= 0 + yyj3307++ + if yyhl3307 { + yyb3307 = yyj3307 > l } else { - yyb3316 = r.CheckBreak() + yyb3307 = r.CheckBreak() } - if yyb3316 { + if yyb3307 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42254,26 +42172,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv3317 := &x.Finalizers - yym3318 := z.DecBinary() - _ = yym3318 + yyv3308 := &x.Finalizers + yym3309 := z.DecBinary() + _ = yym3309 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3317), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3308), d) } } for { - yyj3316++ - if yyhl3316 { - yyb3316 = yyj3316 > l + yyj3307++ + if yyhl3307 { + yyb3307 = yyj3307 > l } else { - yyb3316 = r.CheckBreak() + yyb3307 = r.CheckBreak() } - if yyb3316 { + if yyb3307 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3316-1, "") + z.DecStructFieldNotFound(yyj3307-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42285,46 +42203,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3319 := z.EncBinary() - _ = yym3319 + yym3310 := z.EncBinary() + _ = yym3310 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3320 := !z.EncBinary() - yy2arr3320 := z.EncBasicHandle().StructToArray - var yyq3320 [1]bool - _, _, _ = yysep3320, yyq3320, yy2arr3320 - const yyr3320 bool = false - yyq3320[0] = x.Phase != "" - var yynn3320 int - if yyr3320 || yy2arr3320 { + yysep3311 := !z.EncBinary() + yy2arr3311 := z.EncBasicHandle().StructToArray + var yyq3311 [1]bool + _, _, _ = yysep3311, yyq3311, yy2arr3311 + const yyr3311 bool = false + yyq3311[0] = x.Phase != "" + var yynn3311 int + if yyr3311 || yy2arr3311 { r.EncodeArrayStart(1) } else { - yynn3320 = 0 - for _, b := range yyq3320 { + yynn3311 = 0 + for _, b := range yyq3311 { if b { - yynn3320++ + yynn3311++ } } - r.EncodeMapStart(yynn3320) - yynn3320 = 0 + r.EncodeMapStart(yynn3311) + yynn3311 = 0 } - if yyr3320 || yy2arr3320 { + if yyr3311 || yy2arr3311 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3320[0] { + if yyq3311[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3320[0] { + if yyq3311[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr3320 || yy2arr3320 { + if yyr3311 || yy2arr3311 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42337,25 +42255,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3322 := z.DecBinary() - _ = yym3322 + yym3313 := z.DecBinary() + _ = yym3313 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3323 := r.ContainerType() - if yyct3323 == codecSelferValueTypeMap1234 { - yyl3323 := r.ReadMapStart() - if yyl3323 == 0 { + yyct3314 := r.ContainerType() + if yyct3314 == codecSelferValueTypeMap1234 { + yyl3314 := r.ReadMapStart() + if yyl3314 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3323, d) + x.codecDecodeSelfFromMap(yyl3314, d) } - } else if yyct3323 == codecSelferValueTypeArray1234 { - yyl3323 := r.ReadArrayStart() - if yyl3323 == 0 { + } else if yyct3314 == codecSelferValueTypeArray1234 { + yyl3314 := r.ReadArrayStart() + if yyl3314 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3323, d) + x.codecDecodeSelfFromArray(yyl3314, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42367,12 +42285,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3324Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3324Slc - var yyhl3324 bool = l >= 0 - for yyj3324 := 0; ; yyj3324++ { - if yyhl3324 { - if yyj3324 >= l { + var yys3315Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3315Slc + var yyhl3315 bool = l >= 0 + for yyj3315 := 0; ; yyj3315++ { + if yyhl3315 { + if yyj3315 >= l { break } } else { @@ -42381,10 +42299,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3324Slc = r.DecodeBytes(yys3324Slc, true, true) - yys3324 := string(yys3324Slc) + yys3315Slc = r.DecodeBytes(yys3315Slc, true, true) + yys3315 := string(yys3315Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3324 { + switch yys3315 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -42392,9 +42310,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3324) - } // end switch yys3324 - } // end for yyj3324 + z.DecStructFieldNotFound(-1, yys3315) + } // end switch yys3315 + } // end for yyj3315 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42402,16 +42320,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3326 int - var yyb3326 bool - var yyhl3326 bool = l >= 0 - yyj3326++ - if yyhl3326 { - yyb3326 = yyj3326 > l + var yyj3317 int + var yyb3317 bool + var yyhl3317 bool = l >= 0 + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l } else { - yyb3326 = r.CheckBreak() + yyb3317 = r.CheckBreak() } - if yyb3326 { + if yyb3317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42422,17 +42340,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj3326++ - if yyhl3326 { - yyb3326 = yyj3326 > l + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l } else { - yyb3326 = r.CheckBreak() + yyb3317 = r.CheckBreak() } - if yyb3326 { + if yyb3317 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3326-1, "") + z.DecStructFieldNotFound(yyj3317-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42441,8 +42359,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3328 := z.EncBinary() - _ = yym3328 + yym3319 := z.EncBinary() + _ = yym3319 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42454,8 +42372,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3329 := z.DecBinary() - _ = yym3329 + yym3320 := z.DecBinary() + _ = yym3320 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -42470,39 +42388,39 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3330 := z.EncBinary() - _ = yym3330 + yym3321 := z.EncBinary() + _ = yym3321 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3331 := !z.EncBinary() - yy2arr3331 := z.EncBasicHandle().StructToArray - var yyq3331 [5]bool - _, _, _ = yysep3331, yyq3331, yy2arr3331 - const yyr3331 bool = false - yyq3331[0] = x.Kind != "" - yyq3331[1] = x.APIVersion != "" - yyq3331[2] = true - yyq3331[3] = true - yyq3331[4] = true - var yynn3331 int - if yyr3331 || yy2arr3331 { + yysep3322 := !z.EncBinary() + yy2arr3322 := z.EncBasicHandle().StructToArray + var yyq3322 [5]bool + _, _, _ = yysep3322, yyq3322, yy2arr3322 + const yyr3322 bool = false + yyq3322[0] = x.Kind != "" + yyq3322[1] = x.APIVersion != "" + yyq3322[2] = true + yyq3322[3] = true + yyq3322[4] = true + var yynn3322 int + if yyr3322 || yy2arr3322 { r.EncodeArrayStart(5) } else { - yynn3331 = 0 - for _, b := range yyq3331 { + yynn3322 = 0 + for _, b := range yyq3322 { if b { - yynn3331++ + yynn3322++ } } - r.EncodeMapStart(yynn3331) - yynn3331 = 0 + r.EncodeMapStart(yynn3322) + yynn3322 = 0 } - if yyr3331 || yy2arr3331 { + if yyr3322 || yy2arr3322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3331[0] { - yym3333 := z.EncBinary() - _ = yym3333 + if yyq3322[0] { + yym3324 := z.EncBinary() + _ = yym3324 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42511,23 +42429,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3331[0] { + if yyq3322[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3334 := z.EncBinary() - _ = yym3334 + yym3325 := z.EncBinary() + _ = yym3325 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3331 || yy2arr3331 { + if yyr3322 || yy2arr3322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3331[1] { - yym3336 := z.EncBinary() - _ = yym3336 + if yyq3322[1] { + yym3327 := z.EncBinary() + _ = yym3327 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42536,70 +42454,70 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3331[1] { + if yyq3322[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3337 := z.EncBinary() - _ = yym3337 + yym3328 := z.EncBinary() + _ = yym3328 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3331 || yy2arr3331 { + if yyr3322 || yy2arr3322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3331[2] { - yy3339 := &x.ObjectMeta - yy3339.CodecEncodeSelf(e) + if yyq3322[2] { + yy3330 := &x.ObjectMeta + yy3330.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3331[2] { + if yyq3322[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3340 := &x.ObjectMeta - yy3340.CodecEncodeSelf(e) + yy3331 := &x.ObjectMeta + yy3331.CodecEncodeSelf(e) } } - if yyr3331 || yy2arr3331 { + if yyr3322 || yy2arr3322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3331[3] { - yy3342 := &x.Spec - yy3342.CodecEncodeSelf(e) + if yyq3322[3] { + yy3333 := &x.Spec + yy3333.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3331[3] { + if yyq3322[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3343 := &x.Spec - yy3343.CodecEncodeSelf(e) + yy3334 := &x.Spec + yy3334.CodecEncodeSelf(e) } } - if yyr3331 || yy2arr3331 { + if yyr3322 || yy2arr3322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3331[4] { - yy3345 := &x.Status - yy3345.CodecEncodeSelf(e) + if yyq3322[4] { + yy3336 := &x.Status + yy3336.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3331[4] { + if yyq3322[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3346 := &x.Status - yy3346.CodecEncodeSelf(e) + yy3337 := &x.Status + yy3337.CodecEncodeSelf(e) } } - if yyr3331 || yy2arr3331 { + if yyr3322 || yy2arr3322 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42612,25 +42530,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3347 := z.DecBinary() - _ = yym3347 + yym3338 := z.DecBinary() + _ = yym3338 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3348 := r.ContainerType() - if yyct3348 == codecSelferValueTypeMap1234 { - yyl3348 := r.ReadMapStart() - if yyl3348 == 0 { + yyct3339 := r.ContainerType() + if yyct3339 == codecSelferValueTypeMap1234 { + yyl3339 := r.ReadMapStart() + if yyl3339 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3348, d) + x.codecDecodeSelfFromMap(yyl3339, d) } - } else if yyct3348 == codecSelferValueTypeArray1234 { - yyl3348 := r.ReadArrayStart() - if yyl3348 == 0 { + } else if yyct3339 == codecSelferValueTypeArray1234 { + yyl3339 := r.ReadArrayStart() + if yyl3339 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3348, d) + x.codecDecodeSelfFromArray(yyl3339, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42642,12 +42560,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3349Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3349Slc - var yyhl3349 bool = l >= 0 - for yyj3349 := 0; ; yyj3349++ { - if yyhl3349 { - if yyj3349 >= l { + var yys3340Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3340Slc + var yyhl3340 bool = l >= 0 + for yyj3340 := 0; ; yyj3340++ { + if yyhl3340 { + if yyj3340 >= l { break } } else { @@ -42656,10 +42574,10 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3349Slc = r.DecodeBytes(yys3349Slc, true, true) - yys3349 := string(yys3349Slc) + yys3340Slc = r.DecodeBytes(yys3340Slc, true, true) + yys3340 := string(yys3340Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3349 { + switch yys3340 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42676,27 +42594,27 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3352 := &x.ObjectMeta - yyv3352.CodecDecodeSelf(d) + yyv3343 := &x.ObjectMeta + yyv3343.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv3353 := &x.Spec - yyv3353.CodecDecodeSelf(d) + yyv3344 := &x.Spec + yyv3344.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv3354 := &x.Status - yyv3354.CodecDecodeSelf(d) + yyv3345 := &x.Status + yyv3345.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3349) - } // end switch yys3349 - } // end for yyj3349 + z.DecStructFieldNotFound(-1, yys3340) + } // end switch yys3340 + } // end for yyj3340 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42704,16 +42622,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3355 int - var yyb3355 bool - var yyhl3355 bool = l >= 0 - yyj3355++ - if yyhl3355 { - yyb3355 = yyj3355 > l + var yyj3346 int + var yyb3346 bool + var yyhl3346 bool = l >= 0 + yyj3346++ + if yyhl3346 { + yyb3346 = yyj3346 > l } else { - yyb3355 = r.CheckBreak() + yyb3346 = r.CheckBreak() } - if yyb3355 { + if yyb3346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42723,13 +42641,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3355++ - if yyhl3355 { - yyb3355 = yyj3355 > l + yyj3346++ + if yyhl3346 { + yyb3346 = yyj3346 > l } else { - yyb3355 = r.CheckBreak() + yyb3346 = r.CheckBreak() } - if yyb3355 { + if yyb3346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42739,13 +42657,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3355++ - if yyhl3355 { - yyb3355 = yyj3355 > l + yyj3346++ + if yyhl3346 { + yyb3346 = yyj3346 > l } else { - yyb3355 = r.CheckBreak() + yyb3346 = r.CheckBreak() } - if yyb3355 { + if yyb3346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42753,16 +42671,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3358 := &x.ObjectMeta - yyv3358.CodecDecodeSelf(d) + yyv3349 := &x.ObjectMeta + yyv3349.CodecDecodeSelf(d) } - yyj3355++ - if yyhl3355 { - yyb3355 = yyj3355 > l + yyj3346++ + if yyhl3346 { + yyb3346 = yyj3346 > l } else { - yyb3355 = r.CheckBreak() + yyb3346 = r.CheckBreak() } - if yyb3355 { + if yyb3346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42770,16 +42688,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv3359 := &x.Spec - yyv3359.CodecDecodeSelf(d) + yyv3350 := &x.Spec + yyv3350.CodecDecodeSelf(d) } - yyj3355++ - if yyhl3355 { - yyb3355 = yyj3355 > l + yyj3346++ + if yyhl3346 { + yyb3346 = yyj3346 > l } else { - yyb3355 = r.CheckBreak() + yyb3346 = r.CheckBreak() } - if yyb3355 { + if yyb3346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42787,21 +42705,21 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv3360 := &x.Status - yyv3360.CodecDecodeSelf(d) + yyv3351 := &x.Status + yyv3351.CodecDecodeSelf(d) } for { - yyj3355++ - if yyhl3355 { - yyb3355 = yyj3355 > l + yyj3346++ + if yyhl3346 { + yyb3346 = yyj3346 > l } else { - yyb3355 = r.CheckBreak() + yyb3346 = r.CheckBreak() } - if yyb3355 { + if yyb3346 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3355-1, "") + z.DecStructFieldNotFound(yyj3346-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42813,37 +42731,37 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3361 := z.EncBinary() - _ = yym3361 + yym3352 := z.EncBinary() + _ = yym3352 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3362 := !z.EncBinary() - yy2arr3362 := z.EncBasicHandle().StructToArray - var yyq3362 [4]bool - _, _, _ = yysep3362, yyq3362, yy2arr3362 - const yyr3362 bool = false - yyq3362[0] = x.Kind != "" - yyq3362[1] = x.APIVersion != "" - yyq3362[2] = true - var yynn3362 int - if yyr3362 || yy2arr3362 { + yysep3353 := !z.EncBinary() + yy2arr3353 := z.EncBasicHandle().StructToArray + var yyq3353 [4]bool + _, _, _ = yysep3353, yyq3353, yy2arr3353 + const yyr3353 bool = false + yyq3353[0] = x.Kind != "" + yyq3353[1] = x.APIVersion != "" + yyq3353[2] = true + var yynn3353 int + if yyr3353 || yy2arr3353 { r.EncodeArrayStart(4) } else { - yynn3362 = 1 - for _, b := range yyq3362 { + yynn3353 = 1 + for _, b := range yyq3353 { if b { - yynn3362++ + yynn3353++ } } - r.EncodeMapStart(yynn3362) - yynn3362 = 0 + r.EncodeMapStart(yynn3353) + yynn3353 = 0 } - if yyr3362 || yy2arr3362 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[0] { - yym3364 := z.EncBinary() - _ = yym3364 + if yyq3353[0] { + yym3355 := z.EncBinary() + _ = yym3355 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42852,23 +42770,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[0] { + if yyq3353[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3365 := z.EncBinary() - _ = yym3365 + yym3356 := z.EncBinary() + _ = yym3356 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3362 || yy2arr3362 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[1] { - yym3367 := z.EncBinary() - _ = yym3367 + if yyq3353[1] { + yym3358 := z.EncBinary() + _ = yym3358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42877,54 +42795,54 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[1] { + if yyq3353[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3368 := z.EncBinary() - _ = yym3368 + yym3359 := z.EncBinary() + _ = yym3359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3362 || yy2arr3362 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[2] { - yy3370 := &x.ListMeta - yym3371 := z.EncBinary() - _ = yym3371 + if yyq3353[2] { + yy3361 := &x.ListMeta + yym3362 := z.EncBinary() + _ = yym3362 if false { - } else if z.HasExtensions() && z.EncExt(yy3370) { + } else if z.HasExtensions() && z.EncExt(yy3361) { } else { - z.EncFallback(yy3370) + z.EncFallback(yy3361) } } else { r.EncodeNil() } } else { - if yyq3362[2] { + if yyq3353[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3372 := &x.ListMeta - yym3373 := z.EncBinary() - _ = yym3373 + yy3363 := &x.ListMeta + yym3364 := z.EncBinary() + _ = yym3364 if false { - } else if z.HasExtensions() && z.EncExt(yy3372) { + } else if z.HasExtensions() && z.EncExt(yy3363) { } else { - z.EncFallback(yy3372) + z.EncFallback(yy3363) } } } - if yyr3362 || yy2arr3362 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3375 := z.EncBinary() - _ = yym3375 + yym3366 := z.EncBinary() + _ = yym3366 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -42937,15 +42855,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3376 := z.EncBinary() - _ = yym3376 + yym3367 := z.EncBinary() + _ = yym3367 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr3362 || yy2arr3362 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42958,25 +42876,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3377 := z.DecBinary() - _ = yym3377 + yym3368 := z.DecBinary() + _ = yym3368 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3378 := r.ContainerType() - if yyct3378 == codecSelferValueTypeMap1234 { - yyl3378 := r.ReadMapStart() - if yyl3378 == 0 { + yyct3369 := r.ContainerType() + if yyct3369 == codecSelferValueTypeMap1234 { + yyl3369 := r.ReadMapStart() + if yyl3369 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3378, d) + x.codecDecodeSelfFromMap(yyl3369, d) } - } else if yyct3378 == codecSelferValueTypeArray1234 { - yyl3378 := r.ReadArrayStart() - if yyl3378 == 0 { + } else if yyct3369 == codecSelferValueTypeArray1234 { + yyl3369 := r.ReadArrayStart() + if yyl3369 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3378, d) + x.codecDecodeSelfFromArray(yyl3369, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42988,12 +42906,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3379Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3379Slc - var yyhl3379 bool = l >= 0 - for yyj3379 := 0; ; yyj3379++ { - if yyhl3379 { - if yyj3379 >= l { + var yys3370Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3370Slc + var yyhl3370 bool = l >= 0 + for yyj3370 := 0; ; yyj3370++ { + if yyhl3370 { + if yyj3370 >= l { break } } else { @@ -43002,10 +42920,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3379Slc = r.DecodeBytes(yys3379Slc, true, true) - yys3379 := string(yys3379Slc) + yys3370Slc = r.DecodeBytes(yys3370Slc, true, true) + yys3370 := string(yys3370Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3379 { + switch yys3370 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43022,31 +42940,31 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3382 := &x.ListMeta - yym3383 := z.DecBinary() - _ = yym3383 + yyv3373 := &x.ListMeta + yym3374 := z.DecBinary() + _ = yym3374 if false { - } else if z.HasExtensions() && z.DecExt(yyv3382) { + } else if z.HasExtensions() && z.DecExt(yyv3373) { } else { - z.DecFallback(yyv3382, false) + z.DecFallback(yyv3373, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3384 := &x.Items - yym3385 := z.DecBinary() - _ = yym3385 + yyv3375 := &x.Items + yym3376 := z.DecBinary() + _ = yym3376 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3384), d) + h.decSliceNamespace((*[]Namespace)(yyv3375), d) } } default: - z.DecStructFieldNotFound(-1, yys3379) - } // end switch yys3379 - } // end for yyj3379 + z.DecStructFieldNotFound(-1, yys3370) + } // end switch yys3370 + } // end for yyj3370 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43054,16 +42972,16 @@ func (x *NamespaceList) 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 yyj3377 int + var yyb3377 bool + var yyhl3377 bool = l >= 0 + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3386 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3386 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43073,13 +42991,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3386 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3386 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43089,13 +43007,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3386 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3386 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43103,22 +43021,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3389 := &x.ListMeta - yym3390 := z.DecBinary() - _ = yym3390 + yyv3380 := &x.ListMeta + yym3381 := z.DecBinary() + _ = yym3381 if false { - } else if z.HasExtensions() && z.DecExt(yyv3389) { + } else if z.HasExtensions() && z.DecExt(yyv3380) { } else { - z.DecFallback(yyv3389, false) + z.DecFallback(yyv3380, false) } } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3386 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3386 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43126,26 +43044,26 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3391 := &x.Items - yym3392 := z.DecBinary() - _ = yym3392 + yyv3382 := &x.Items + yym3383 := z.DecBinary() + _ = yym3383 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3391), d) + h.decSliceNamespace((*[]Namespace)(yyv3382), d) } } for { - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3386 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3386 { + if yyb3377 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3386-1, "") + z.DecStructFieldNotFound(yyj3377-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43157,37 +43075,37 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3393 := z.EncBinary() - _ = yym3393 + yym3384 := z.EncBinary() + _ = yym3384 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3394 := !z.EncBinary() - yy2arr3394 := z.EncBasicHandle().StructToArray - var yyq3394 [4]bool - _, _, _ = yysep3394, yyq3394, yy2arr3394 - const yyr3394 bool = false - yyq3394[0] = x.Kind != "" - yyq3394[1] = x.APIVersion != "" - yyq3394[2] = true - var yynn3394 int - if yyr3394 || yy2arr3394 { + yysep3385 := !z.EncBinary() + yy2arr3385 := z.EncBasicHandle().StructToArray + var yyq3385 [4]bool + _, _, _ = yysep3385, yyq3385, yy2arr3385 + const yyr3385 bool = false + yyq3385[0] = x.Kind != "" + yyq3385[1] = x.APIVersion != "" + yyq3385[2] = true + var yynn3385 int + if yyr3385 || yy2arr3385 { r.EncodeArrayStart(4) } else { - yynn3394 = 1 - for _, b := range yyq3394 { + yynn3385 = 1 + for _, b := range yyq3385 { if b { - yynn3394++ + yynn3385++ } } - r.EncodeMapStart(yynn3394) - yynn3394 = 0 + r.EncodeMapStart(yynn3385) + yynn3385 = 0 } - if yyr3394 || yy2arr3394 { + if yyr3385 || yy2arr3385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3394[0] { - yym3396 := z.EncBinary() - _ = yym3396 + if yyq3385[0] { + yym3387 := z.EncBinary() + _ = yym3387 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43196,23 +43114,23 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3394[0] { + if yyq3385[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3397 := z.EncBinary() - _ = yym3397 + yym3388 := z.EncBinary() + _ = yym3388 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3394 || yy2arr3394 { + if yyr3385 || yy2arr3385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3394[1] { - yym3399 := z.EncBinary() - _ = yym3399 + if yyq3385[1] { + yym3390 := z.EncBinary() + _ = yym3390 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43221,47 +43139,47 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3394[1] { + if yyq3385[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3400 := z.EncBinary() - _ = yym3400 + yym3391 := z.EncBinary() + _ = yym3391 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3394 || yy2arr3394 { + if yyr3385 || yy2arr3385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3394[2] { - yy3402 := &x.ObjectMeta - yy3402.CodecEncodeSelf(e) + if yyq3385[2] { + yy3393 := &x.ObjectMeta + yy3393.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3394[2] { + if yyq3385[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3403 := &x.ObjectMeta - yy3403.CodecEncodeSelf(e) + yy3394 := &x.ObjectMeta + yy3394.CodecEncodeSelf(e) } } - if yyr3394 || yy2arr3394 { + if yyr3385 || yy2arr3385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3405 := &x.Target - yy3405.CodecEncodeSelf(e) + yy3396 := &x.Target + yy3396.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3406 := &x.Target - yy3406.CodecEncodeSelf(e) + yy3397 := &x.Target + yy3397.CodecEncodeSelf(e) } - if yyr3394 || yy2arr3394 { + if yyr3385 || yy2arr3385 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43274,25 +43192,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3407 := z.DecBinary() - _ = yym3407 + yym3398 := z.DecBinary() + _ = yym3398 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3408 := r.ContainerType() - if yyct3408 == codecSelferValueTypeMap1234 { - yyl3408 := r.ReadMapStart() - if yyl3408 == 0 { + yyct3399 := r.ContainerType() + if yyct3399 == codecSelferValueTypeMap1234 { + yyl3399 := r.ReadMapStart() + if yyl3399 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3408, d) + x.codecDecodeSelfFromMap(yyl3399, d) } - } else if yyct3408 == codecSelferValueTypeArray1234 { - yyl3408 := r.ReadArrayStart() - if yyl3408 == 0 { + } else if yyct3399 == codecSelferValueTypeArray1234 { + yyl3399 := r.ReadArrayStart() + if yyl3399 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3408, d) + x.codecDecodeSelfFromArray(yyl3399, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43304,12 +43222,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3409Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3409Slc - var yyhl3409 bool = l >= 0 - for yyj3409 := 0; ; yyj3409++ { - if yyhl3409 { - if yyj3409 >= l { + var yys3400Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3400Slc + var yyhl3400 bool = l >= 0 + for yyj3400 := 0; ; yyj3400++ { + if yyhl3400 { + if yyj3400 >= l { break } } else { @@ -43318,10 +43236,10 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3409Slc = r.DecodeBytes(yys3409Slc, true, true) - yys3409 := string(yys3409Slc) + yys3400Slc = r.DecodeBytes(yys3400Slc, true, true) + yys3400 := string(yys3400Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3409 { + switch yys3400 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43338,20 +43256,20 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3412 := &x.ObjectMeta - yyv3412.CodecDecodeSelf(d) + yyv3403 := &x.ObjectMeta + yyv3403.CodecDecodeSelf(d) } case "target": if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3413 := &x.Target - yyv3413.CodecDecodeSelf(d) + yyv3404 := &x.Target + yyv3404.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3409) - } // end switch yys3409 - } // end for yyj3409 + z.DecStructFieldNotFound(-1, yys3400) + } // end switch yys3400 + } // end for yyj3400 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43359,16 +43277,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3414 int - var yyb3414 bool - var yyhl3414 bool = l >= 0 - yyj3414++ - if yyhl3414 { - yyb3414 = yyj3414 > l + var yyj3405 int + var yyb3405 bool + var yyhl3405 bool = l >= 0 + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3414 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3414 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43378,13 +43296,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3414++ - if yyhl3414 { - yyb3414 = yyj3414 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3414 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3414 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43394,13 +43312,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3414++ - if yyhl3414 { - yyb3414 = yyj3414 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3414 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3414 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43408,16 +43326,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3417 := &x.ObjectMeta - yyv3417.CodecDecodeSelf(d) + yyv3408 := &x.ObjectMeta + yyv3408.CodecDecodeSelf(d) } - yyj3414++ - if yyhl3414 { - yyb3414 = yyj3414 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3414 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3414 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43425,21 +43343,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3418 := &x.Target - yyv3418.CodecDecodeSelf(d) + yyv3409 := &x.Target + yyv3409.CodecDecodeSelf(d) } for { - yyj3414++ - if yyhl3414 { - yyb3414 = yyj3414 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3414 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3414 { + if yyb3405 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3414-1, "") + z.DecStructFieldNotFound(yyj3405-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43451,68 +43369,68 @@ func (x *Preconditions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3419 := z.EncBinary() - _ = yym3419 + yym3410 := z.EncBinary() + _ = yym3410 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3420 := !z.EncBinary() - yy2arr3420 := z.EncBasicHandle().StructToArray - var yyq3420 [1]bool - _, _, _ = yysep3420, yyq3420, yy2arr3420 - const yyr3420 bool = false - yyq3420[0] = x.UID != nil - var yynn3420 int - if yyr3420 || yy2arr3420 { + yysep3411 := !z.EncBinary() + yy2arr3411 := z.EncBasicHandle().StructToArray + var yyq3411 [1]bool + _, _, _ = yysep3411, yyq3411, yy2arr3411 + const yyr3411 bool = false + yyq3411[0] = x.UID != nil + var yynn3411 int + if yyr3411 || yy2arr3411 { r.EncodeArrayStart(1) } else { - yynn3420 = 0 - for _, b := range yyq3420 { + yynn3411 = 0 + for _, b := range yyq3411 { if b { - yynn3420++ + yynn3411++ } } - r.EncodeMapStart(yynn3420) - yynn3420 = 0 + r.EncodeMapStart(yynn3411) + yynn3411 = 0 } - if yyr3420 || yy2arr3420 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3420[0] { + if yyq3411[0] { if x.UID == nil { r.EncodeNil() } else { - yy3422 := *x.UID - yym3423 := z.EncBinary() - _ = yym3423 + yy3413 := *x.UID + yym3414 := z.EncBinary() + _ = yym3414 if false { - } else if z.HasExtensions() && z.EncExt(yy3422) { + } else if z.HasExtensions() && z.EncExt(yy3413) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3422)) + r.EncodeString(codecSelferC_UTF81234, string(yy3413)) } } } else { r.EncodeNil() } } else { - if yyq3420[0] { + if yyq3411[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UID == nil { r.EncodeNil() } else { - yy3424 := *x.UID - yym3425 := z.EncBinary() - _ = yym3425 + yy3415 := *x.UID + yym3416 := z.EncBinary() + _ = yym3416 if false { - } else if z.HasExtensions() && z.EncExt(yy3424) { + } else if z.HasExtensions() && z.EncExt(yy3415) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3424)) + r.EncodeString(codecSelferC_UTF81234, string(yy3415)) } } } } - if yyr3420 || yy2arr3420 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43525,25 +43443,25 @@ func (x *Preconditions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3426 := z.DecBinary() - _ = yym3426 + yym3417 := z.DecBinary() + _ = yym3417 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3427 := r.ContainerType() - if yyct3427 == codecSelferValueTypeMap1234 { - yyl3427 := r.ReadMapStart() - if yyl3427 == 0 { + yyct3418 := r.ContainerType() + if yyct3418 == codecSelferValueTypeMap1234 { + yyl3418 := r.ReadMapStart() + if yyl3418 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3427, d) + x.codecDecodeSelfFromMap(yyl3418, d) } - } else if yyct3427 == codecSelferValueTypeArray1234 { - yyl3427 := r.ReadArrayStart() - if yyl3427 == 0 { + } else if yyct3418 == codecSelferValueTypeArray1234 { + yyl3418 := r.ReadArrayStart() + if yyl3418 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3427, d) + x.codecDecodeSelfFromArray(yyl3418, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43555,12 +43473,12 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3428Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3428Slc - var yyhl3428 bool = l >= 0 - for yyj3428 := 0; ; yyj3428++ { - if yyhl3428 { - if yyj3428 >= l { + var yys3419Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3419Slc + var yyhl3419 bool = l >= 0 + for yyj3419 := 0; ; yyj3419++ { + if yyhl3419 { + if yyj3419 >= l { break } } else { @@ -43569,10 +43487,10 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3428Slc = r.DecodeBytes(yys3428Slc, true, true) - yys3428 := string(yys3428Slc) + yys3419Slc = r.DecodeBytes(yys3419Slc, true, true) + yys3419 := string(yys3419Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3428 { + switch yys3419 { case "uid": if r.TryDecodeAsNil() { if x.UID != nil { @@ -43582,8 +43500,8 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3430 := z.DecBinary() - _ = yym3430 + yym3421 := z.DecBinary() + _ = yym3421 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -43591,9 +43509,9 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3428) - } // end switch yys3428 - } // end for yyj3428 + z.DecStructFieldNotFound(-1, yys3419) + } // end switch yys3419 + } // end for yyj3419 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43601,16 +43519,16 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3431 int - var yyb3431 bool - var yyhl3431 bool = l >= 0 - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + var yyj3422 int + var yyb3422 bool + var yyhl3422 bool = l >= 0 + yyj3422++ + if yyhl3422 { + yyb3422 = yyj3422 > l } else { - yyb3431 = r.CheckBreak() + yyb3422 = r.CheckBreak() } - if yyb3431 { + if yyb3422 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43623,8 +43541,8 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3433 := z.DecBinary() - _ = yym3433 + yym3424 := z.DecBinary() + _ = yym3424 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -43632,17 +43550,17 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + yyj3422++ + if yyhl3422 { + yyb3422 = yyj3422 > l } else { - yyb3431 = r.CheckBreak() + yyb3422 = r.CheckBreak() } - if yyb3431 { + if yyb3422 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3431-1, "") + z.DecStructFieldNotFound(yyj3422-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43654,39 +43572,39 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3434 := z.EncBinary() - _ = yym3434 + yym3425 := z.EncBinary() + _ = yym3425 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3435 := !z.EncBinary() - yy2arr3435 := z.EncBasicHandle().StructToArray - var yyq3435 [5]bool - _, _, _ = yysep3435, yyq3435, yy2arr3435 - const yyr3435 bool = false - yyq3435[0] = x.Kind != "" - yyq3435[1] = x.APIVersion != "" - yyq3435[2] = x.GracePeriodSeconds != nil - yyq3435[3] = x.Preconditions != nil - yyq3435[4] = x.OrphanDependents != nil - var yynn3435 int - if yyr3435 || yy2arr3435 { + yysep3426 := !z.EncBinary() + yy2arr3426 := z.EncBasicHandle().StructToArray + var yyq3426 [5]bool + _, _, _ = yysep3426, yyq3426, yy2arr3426 + const yyr3426 bool = false + yyq3426[0] = x.Kind != "" + yyq3426[1] = x.APIVersion != "" + yyq3426[2] = x.GracePeriodSeconds != nil + yyq3426[3] = x.Preconditions != nil + yyq3426[4] = x.OrphanDependents != nil + var yynn3426 int + if yyr3426 || yy2arr3426 { r.EncodeArrayStart(5) } else { - yynn3435 = 0 - for _, b := range yyq3435 { + yynn3426 = 0 + for _, b := range yyq3426 { if b { - yynn3435++ + yynn3426++ } } - r.EncodeMapStart(yynn3435) - yynn3435 = 0 + r.EncodeMapStart(yynn3426) + yynn3426 = 0 } - if yyr3435 || yy2arr3435 { + if yyr3426 || yy2arr3426 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3435[0] { - yym3437 := z.EncBinary() - _ = yym3437 + if yyq3426[0] { + yym3428 := z.EncBinary() + _ = yym3428 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43695,23 +43613,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3435[0] { + if yyq3426[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3438 := z.EncBinary() - _ = yym3438 + yym3429 := z.EncBinary() + _ = yym3429 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3435 || yy2arr3435 { + if yyr3426 || yy2arr3426 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3435[1] { - yym3440 := z.EncBinary() - _ = yym3440 + if yyq3426[1] { + yym3431 := z.EncBinary() + _ = yym3431 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43720,56 +43638,56 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3435[1] { + if yyq3426[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3441 := z.EncBinary() - _ = yym3441 + yym3432 := z.EncBinary() + _ = yym3432 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3435 || yy2arr3435 { + if yyr3426 || yy2arr3426 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3435[2] { + if yyq3426[2] { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3443 := *x.GracePeriodSeconds - yym3444 := z.EncBinary() - _ = yym3444 + yy3434 := *x.GracePeriodSeconds + yym3435 := z.EncBinary() + _ = yym3435 if false { } else { - r.EncodeInt(int64(yy3443)) + r.EncodeInt(int64(yy3434)) } } } else { r.EncodeNil() } } else { - if yyq3435[2] { + if yyq3426[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3445 := *x.GracePeriodSeconds - yym3446 := z.EncBinary() - _ = yym3446 + yy3436 := *x.GracePeriodSeconds + yym3437 := z.EncBinary() + _ = yym3437 if false { } else { - r.EncodeInt(int64(yy3445)) + r.EncodeInt(int64(yy3436)) } } } } - if yyr3435 || yy2arr3435 { + if yyr3426 || yy2arr3426 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3435[3] { + if yyq3426[3] { if x.Preconditions == nil { r.EncodeNil() } else { @@ -43779,7 +43697,7 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3435[3] { + if yyq3426[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preconditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -43790,42 +43708,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3435 || yy2arr3435 { + if yyr3426 || yy2arr3426 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3435[4] { + if yyq3426[4] { if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3449 := *x.OrphanDependents - yym3450 := z.EncBinary() - _ = yym3450 + yy3440 := *x.OrphanDependents + yym3441 := z.EncBinary() + _ = yym3441 if false { } else { - r.EncodeBool(bool(yy3449)) + r.EncodeBool(bool(yy3440)) } } } else { r.EncodeNil() } } else { - if yyq3435[4] { + if yyq3426[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("orphanDependents")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3451 := *x.OrphanDependents - yym3452 := z.EncBinary() - _ = yym3452 + yy3442 := *x.OrphanDependents + yym3443 := z.EncBinary() + _ = yym3443 if false { } else { - r.EncodeBool(bool(yy3451)) + r.EncodeBool(bool(yy3442)) } } } } - if yyr3435 || yy2arr3435 { + if yyr3426 || yy2arr3426 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43838,25 +43756,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3453 := z.DecBinary() - _ = yym3453 + yym3444 := z.DecBinary() + _ = yym3444 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3454 := r.ContainerType() - if yyct3454 == codecSelferValueTypeMap1234 { - yyl3454 := r.ReadMapStart() - if yyl3454 == 0 { + yyct3445 := r.ContainerType() + if yyct3445 == codecSelferValueTypeMap1234 { + yyl3445 := r.ReadMapStart() + if yyl3445 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3454, d) + x.codecDecodeSelfFromMap(yyl3445, d) } - } else if yyct3454 == codecSelferValueTypeArray1234 { - yyl3454 := r.ReadArrayStart() - if yyl3454 == 0 { + } else if yyct3445 == codecSelferValueTypeArray1234 { + yyl3445 := r.ReadArrayStart() + if yyl3445 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3454, d) + x.codecDecodeSelfFromArray(yyl3445, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43868,12 +43786,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3455Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3455Slc - var yyhl3455 bool = l >= 0 - for yyj3455 := 0; ; yyj3455++ { - if yyhl3455 { - if yyj3455 >= l { + var yys3446Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3446Slc + var yyhl3446 bool = l >= 0 + for yyj3446 := 0; ; yyj3446++ { + if yyhl3446 { + if yyj3446 >= l { break } } else { @@ -43882,10 +43800,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3455Slc = r.DecodeBytes(yys3455Slc, true, true) - yys3455 := string(yys3455Slc) + yys3446Slc = r.DecodeBytes(yys3446Slc, true, true) + yys3446 := string(yys3446Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3455 { + switch yys3446 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43907,8 +43825,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3459 := z.DecBinary() - _ = yym3459 + yym3450 := z.DecBinary() + _ = yym3450 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -43934,17 +43852,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3462 := z.DecBinary() - _ = yym3462 + yym3453 := z.DecBinary() + _ = yym3453 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3455) - } // end switch yys3455 - } // end for yyj3455 + z.DecStructFieldNotFound(-1, yys3446) + } // end switch yys3446 + } // end for yyj3446 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43952,16 +43870,16 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3463 int - var yyb3463 bool - var yyhl3463 bool = l >= 0 - yyj3463++ - if yyhl3463 { - yyb3463 = yyj3463 > l + var yyj3454 int + var yyb3454 bool + var yyhl3454 bool = l >= 0 + yyj3454++ + if yyhl3454 { + yyb3454 = yyj3454 > l } else { - yyb3463 = r.CheckBreak() + yyb3454 = r.CheckBreak() } - if yyb3463 { + if yyb3454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43971,13 +43889,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3463++ - if yyhl3463 { - yyb3463 = yyj3463 > l + yyj3454++ + if yyhl3454 { + yyb3454 = yyj3454 > l } else { - yyb3463 = r.CheckBreak() + yyb3454 = r.CheckBreak() } - if yyb3463 { + if yyb3454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43987,13 +43905,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3463++ - if yyhl3463 { - yyb3463 = yyj3463 > l + yyj3454++ + if yyhl3454 { + yyb3454 = yyj3454 > l } else { - yyb3463 = r.CheckBreak() + yyb3454 = r.CheckBreak() } - if yyb3463 { + if yyb3454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44006,20 +43924,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3467 := z.DecBinary() - _ = yym3467 + yym3458 := z.DecBinary() + _ = yym3458 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj3463++ - if yyhl3463 { - yyb3463 = yyj3463 > l + yyj3454++ + if yyhl3454 { + yyb3454 = yyj3454 > l } else { - yyb3463 = r.CheckBreak() + yyb3454 = r.CheckBreak() } - if yyb3463 { + if yyb3454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44034,13 +43952,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Preconditions.CodecDecodeSelf(d) } - yyj3463++ - if yyhl3463 { - yyb3463 = yyj3463 > l + yyj3454++ + if yyhl3454 { + yyb3454 = yyj3454 > l } else { - yyb3463 = r.CheckBreak() + yyb3454 = r.CheckBreak() } - if yyb3463 { + if yyb3454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44053,25 +43971,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3470 := z.DecBinary() - _ = yym3470 + yym3461 := z.DecBinary() + _ = yym3461 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } for { - yyj3463++ - if yyhl3463 { - yyb3463 = yyj3463 > l + yyj3454++ + if yyhl3454 { + yyb3454 = yyj3454 > l } else { - yyb3463 = r.CheckBreak() + yyb3454 = r.CheckBreak() } - if yyb3463 { + if yyb3454 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3463-1, "") + z.DecStructFieldNotFound(yyj3454-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44083,36 +44001,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3471 := z.EncBinary() - _ = yym3471 + yym3462 := z.EncBinary() + _ = yym3462 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3472 := !z.EncBinary() - yy2arr3472 := z.EncBasicHandle().StructToArray - var yyq3472 [4]bool - _, _, _ = yysep3472, yyq3472, yy2arr3472 - const yyr3472 bool = false - yyq3472[0] = x.Kind != "" - yyq3472[1] = x.APIVersion != "" - var yynn3472 int - if yyr3472 || yy2arr3472 { + yysep3463 := !z.EncBinary() + yy2arr3463 := z.EncBasicHandle().StructToArray + var yyq3463 [4]bool + _, _, _ = yysep3463, yyq3463, yy2arr3463 + const yyr3463 bool = false + yyq3463[0] = x.Kind != "" + yyq3463[1] = x.APIVersion != "" + var yynn3463 int + if yyr3463 || yy2arr3463 { r.EncodeArrayStart(4) } else { - yynn3472 = 2 - for _, b := range yyq3472 { + yynn3463 = 2 + for _, b := range yyq3463 { if b { - yynn3472++ + yynn3463++ } } - r.EncodeMapStart(yynn3472) - yynn3472 = 0 + r.EncodeMapStart(yynn3463) + yynn3463 = 0 } - if yyr3472 || yy2arr3472 { + if yyr3463 || yy2arr3463 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3472[0] { - yym3474 := z.EncBinary() - _ = yym3474 + if yyq3463[0] { + yym3465 := z.EncBinary() + _ = yym3465 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44121,23 +44039,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3472[0] { + if yyq3463[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3475 := z.EncBinary() - _ = yym3475 + yym3466 := z.EncBinary() + _ = yym3466 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3472 || yy2arr3472 { + if yyr3463 || yy2arr3463 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3472[1] { - yym3477 := z.EncBinary() - _ = yym3477 + if yyq3463[1] { + yym3468 := z.EncBinary() + _ = yym3468 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44146,22 +44064,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3472[1] { + if yyq3463[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3478 := z.EncBinary() - _ = yym3478 + yym3469 := z.EncBinary() + _ = yym3469 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3472 || yy2arr3472 { + if yyr3463 || yy2arr3463 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3480 := z.EncBinary() - _ = yym3480 + yym3471 := z.EncBinary() + _ = yym3471 if false { } else { r.EncodeBool(bool(x.Export)) @@ -44170,17 +44088,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3481 := z.EncBinary() - _ = yym3481 + yym3472 := z.EncBinary() + _ = yym3472 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr3472 || yy2arr3472 { + if yyr3463 || yy2arr3463 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3483 := z.EncBinary() - _ = yym3483 + yym3474 := z.EncBinary() + _ = yym3474 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -44189,14 +44107,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3484 := z.EncBinary() - _ = yym3484 + yym3475 := z.EncBinary() + _ = yym3475 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr3472 || yy2arr3472 { + if yyr3463 || yy2arr3463 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44209,25 +44127,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3485 := z.DecBinary() - _ = yym3485 + yym3476 := z.DecBinary() + _ = yym3476 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3486 := r.ContainerType() - if yyct3486 == codecSelferValueTypeMap1234 { - yyl3486 := r.ReadMapStart() - if yyl3486 == 0 { + yyct3477 := r.ContainerType() + if yyct3477 == codecSelferValueTypeMap1234 { + yyl3477 := r.ReadMapStart() + if yyl3477 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3486, d) + x.codecDecodeSelfFromMap(yyl3477, d) } - } else if yyct3486 == codecSelferValueTypeArray1234 { - yyl3486 := r.ReadArrayStart() - if yyl3486 == 0 { + } else if yyct3477 == codecSelferValueTypeArray1234 { + yyl3477 := r.ReadArrayStart() + if yyl3477 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3486, d) + x.codecDecodeSelfFromArray(yyl3477, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44239,12 +44157,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3487Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3487Slc - var yyhl3487 bool = l >= 0 - for yyj3487 := 0; ; yyj3487++ { - if yyhl3487 { - if yyj3487 >= l { + var yys3478Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3478Slc + var yyhl3478 bool = l >= 0 + for yyj3478 := 0; ; yyj3478++ { + if yyhl3478 { + if yyj3478 >= l { break } } else { @@ -44253,10 +44171,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3487Slc = r.DecodeBytes(yys3487Slc, true, true) - yys3487 := string(yys3487Slc) + yys3478Slc = r.DecodeBytes(yys3478Slc, true, true) + yys3478 := string(yys3478Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3487 { + switch yys3478 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44282,9 +44200,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3487) - } // end switch yys3487 - } // end for yyj3487 + z.DecStructFieldNotFound(-1, yys3478) + } // end switch yys3478 + } // end for yyj3478 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44292,16 +44210,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3492 int - var yyb3492 bool - var yyhl3492 bool = l >= 0 - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + var yyj3483 int + var yyb3483 bool + var yyhl3483 bool = l >= 0 + yyj3483++ + if yyhl3483 { + yyb3483 = yyj3483 > l } else { - yyb3492 = r.CheckBreak() + yyb3483 = r.CheckBreak() } - if yyb3492 { + if yyb3483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44311,13 +44229,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3483++ + if yyhl3483 { + yyb3483 = yyj3483 > l } else { - yyb3492 = r.CheckBreak() + yyb3483 = r.CheckBreak() } - if yyb3492 { + if yyb3483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44327,13 +44245,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3483++ + if yyhl3483 { + yyb3483 = yyj3483 > l } else { - yyb3492 = r.CheckBreak() + yyb3483 = r.CheckBreak() } - if yyb3492 { + if yyb3483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44343,13 +44261,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3483++ + if yyhl3483 { + yyb3483 = yyj3483 > l } else { - yyb3492 = r.CheckBreak() + yyb3483 = r.CheckBreak() } - if yyb3492 { + if yyb3483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44360,17 +44278,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3483++ + if yyhl3483 { + yyb3483 = yyj3483 > l } else { - yyb3492 = r.CheckBreak() + yyb3483 = r.CheckBreak() } - if yyb3492 { + if yyb3483 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3492-1, "") + z.DecStructFieldNotFound(yyj3483-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44382,41 +44300,41 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3497 := z.EncBinary() - _ = yym3497 + yym3488 := z.EncBinary() + _ = yym3488 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3498 := !z.EncBinary() - yy2arr3498 := z.EncBasicHandle().StructToArray - var yyq3498 [7]bool - _, _, _ = yysep3498, yyq3498, yy2arr3498 - const yyr3498 bool = false - yyq3498[0] = x.Kind != "" - yyq3498[1] = x.APIVersion != "" - yyq3498[2] = x.LabelSelector != "" - yyq3498[3] = x.FieldSelector != "" - yyq3498[4] = x.Watch != false - yyq3498[5] = x.ResourceVersion != "" - yyq3498[6] = x.TimeoutSeconds != nil - var yynn3498 int - if yyr3498 || yy2arr3498 { + yysep3489 := !z.EncBinary() + yy2arr3489 := z.EncBasicHandle().StructToArray + var yyq3489 [7]bool + _, _, _ = yysep3489, yyq3489, yy2arr3489 + const yyr3489 bool = false + yyq3489[0] = x.Kind != "" + yyq3489[1] = x.APIVersion != "" + yyq3489[2] = x.LabelSelector != "" + yyq3489[3] = x.FieldSelector != "" + yyq3489[4] = x.Watch != false + yyq3489[5] = x.ResourceVersion != "" + yyq3489[6] = x.TimeoutSeconds != nil + var yynn3489 int + if yyr3489 || yy2arr3489 { r.EncodeArrayStart(7) } else { - yynn3498 = 0 - for _, b := range yyq3498 { + yynn3489 = 0 + for _, b := range yyq3489 { if b { - yynn3498++ + yynn3489++ } } - r.EncodeMapStart(yynn3498) - yynn3498 = 0 + r.EncodeMapStart(yynn3489) + yynn3489 = 0 } - if yyr3498 || yy2arr3498 { + if yyr3489 || yy2arr3489 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3498[0] { - yym3500 := z.EncBinary() - _ = yym3500 + if yyq3489[0] { + yym3491 := z.EncBinary() + _ = yym3491 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44425,99 +44343,99 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3498[0] { + if yyq3489[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3492 := z.EncBinary() + _ = yym3492 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3489 || yy2arr3489 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3489[1] { + yym3494 := z.EncBinary() + _ = yym3494 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3489[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3495 := z.EncBinary() + _ = yym3495 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3489 || yy2arr3489 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3489[2] { + yym3497 := z.EncBinary() + _ = yym3497 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3489[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3498 := z.EncBinary() + _ = yym3498 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) + } + } + } + if yyr3489 || yy2arr3489 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3489[3] { + yym3500 := z.EncBinary() + _ = yym3500 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3489[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3501 := z.EncBinary() _ = yym3501 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr3498 || yy2arr3498 { + if yyr3489 || yy2arr3489 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3498[1] { + if yyq3489[4] { yym3503 := z.EncBinary() _ = yym3503 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3498[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3504 := z.EncBinary() - _ = yym3504 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3498 || yy2arr3498 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3498[2] { - yym3506 := z.EncBinary() - _ = yym3506 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3498[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3507 := z.EncBinary() - _ = yym3507 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) - } - } - } - if yyr3498 || yy2arr3498 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3498[3] { - yym3509 := z.EncBinary() - _ = yym3509 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3498[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3510 := z.EncBinary() - _ = yym3510 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) - } - } - } - if yyr3498 || yy2arr3498 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3498[4] { - yym3512 := z.EncBinary() - _ = yym3512 - if false { } else { r.EncodeBool(bool(x.Watch)) } @@ -44525,23 +44443,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3498[4] { + if yyq3489[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3513 := z.EncBinary() - _ = yym3513 + yym3504 := z.EncBinary() + _ = yym3504 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr3498 || yy2arr3498 { + if yyr3489 || yy2arr3489 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3498[5] { - yym3515 := z.EncBinary() - _ = yym3515 + if yyq3489[5] { + yym3506 := z.EncBinary() + _ = yym3506 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -44550,54 +44468,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3498[5] { + if yyq3489[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3516 := z.EncBinary() - _ = yym3516 + yym3507 := z.EncBinary() + _ = yym3507 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3498 || yy2arr3498 { + if yyr3489 || yy2arr3489 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3498[6] { + if yyq3489[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3518 := *x.TimeoutSeconds - yym3519 := z.EncBinary() - _ = yym3519 + yy3509 := *x.TimeoutSeconds + yym3510 := z.EncBinary() + _ = yym3510 if false { } else { - r.EncodeInt(int64(yy3518)) + r.EncodeInt(int64(yy3509)) } } } else { r.EncodeNil() } } else { - if yyq3498[6] { + if yyq3489[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3520 := *x.TimeoutSeconds - yym3521 := z.EncBinary() - _ = yym3521 + yy3511 := *x.TimeoutSeconds + yym3512 := z.EncBinary() + _ = yym3512 if false { } else { - r.EncodeInt(int64(yy3520)) + r.EncodeInt(int64(yy3511)) } } } } - if yyr3498 || yy2arr3498 { + if yyr3489 || yy2arr3489 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44610,25 +44528,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3522 := z.DecBinary() - _ = yym3522 + yym3513 := z.DecBinary() + _ = yym3513 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3523 := r.ContainerType() - if yyct3523 == codecSelferValueTypeMap1234 { - yyl3523 := r.ReadMapStart() - if yyl3523 == 0 { + yyct3514 := r.ContainerType() + if yyct3514 == codecSelferValueTypeMap1234 { + yyl3514 := r.ReadMapStart() + if yyl3514 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3523, d) + x.codecDecodeSelfFromMap(yyl3514, d) } - } else if yyct3523 == codecSelferValueTypeArray1234 { - yyl3523 := r.ReadArrayStart() - if yyl3523 == 0 { + } else if yyct3514 == codecSelferValueTypeArray1234 { + yyl3514 := r.ReadArrayStart() + if yyl3514 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3523, d) + x.codecDecodeSelfFromArray(yyl3514, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44640,12 +44558,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3524Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3524Slc - var yyhl3524 bool = l >= 0 - for yyj3524 := 0; ; yyj3524++ { - if yyhl3524 { - if yyj3524 >= l { + var yys3515Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3515Slc + var yyhl3515 bool = l >= 0 + for yyj3515 := 0; ; yyj3515++ { + if yyhl3515 { + if yyj3515 >= l { break } } else { @@ -44654,10 +44572,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3524Slc = r.DecodeBytes(yys3524Slc, true, true) - yys3524 := string(yys3524Slc) + yys3515Slc = r.DecodeBytes(yys3515Slc, true, true) + yys3515 := string(yys3515Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3524 { + switch yys3515 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44703,17 +44621,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3532 := z.DecBinary() - _ = yym3532 + yym3523 := z.DecBinary() + _ = yym3523 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3524) - } // end switch yys3524 - } // end for yyj3524 + z.DecStructFieldNotFound(-1, yys3515) + } // end switch yys3515 + } // end for yyj3515 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44721,16 +44639,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3533 int - var yyb3533 bool - var yyhl3533 bool = l >= 0 - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + var yyj3524 int + var yyb3524 bool + var yyhl3524 bool = l >= 0 + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44740,13 +44658,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44756,13 +44674,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44772,13 +44690,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44788,13 +44706,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44804,13 +44722,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44820,13 +44738,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44839,25 +44757,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3541 := z.DecBinary() - _ = yym3541 + yym3532 := z.DecBinary() + _ = yym3532 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l + yyj3524++ + if yyhl3524 { + yyb3524 = yyj3524 > l } else { - yyb3533 = r.CheckBreak() + yyb3524 = r.CheckBreak() } - if yyb3533 { + if yyb3524 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3533-1, "") + z.DecStructFieldNotFound(yyj3524-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44869,44 +44787,44 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3542 := z.EncBinary() - _ = yym3542 + yym3533 := z.EncBinary() + _ = yym3533 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3543 := !z.EncBinary() - yy2arr3543 := z.EncBasicHandle().StructToArray - var yyq3543 [10]bool - _, _, _ = yysep3543, yyq3543, yy2arr3543 - const yyr3543 bool = false - yyq3543[0] = x.Kind != "" - yyq3543[1] = x.APIVersion != "" - yyq3543[2] = x.Container != "" - yyq3543[3] = x.Follow != false - yyq3543[4] = x.Previous != false - yyq3543[5] = x.SinceSeconds != nil - yyq3543[6] = x.SinceTime != nil - yyq3543[7] = x.Timestamps != false - yyq3543[8] = x.TailLines != nil - yyq3543[9] = x.LimitBytes != nil - var yynn3543 int - if yyr3543 || yy2arr3543 { + yysep3534 := !z.EncBinary() + yy2arr3534 := z.EncBasicHandle().StructToArray + var yyq3534 [10]bool + _, _, _ = yysep3534, yyq3534, yy2arr3534 + const yyr3534 bool = false + yyq3534[0] = x.Kind != "" + yyq3534[1] = x.APIVersion != "" + yyq3534[2] = x.Container != "" + yyq3534[3] = x.Follow != false + yyq3534[4] = x.Previous != false + yyq3534[5] = x.SinceSeconds != nil + yyq3534[6] = x.SinceTime != nil + yyq3534[7] = x.Timestamps != false + yyq3534[8] = x.TailLines != nil + yyq3534[9] = x.LimitBytes != nil + var yynn3534 int + if yyr3534 || yy2arr3534 { r.EncodeArrayStart(10) } else { - yynn3543 = 0 - for _, b := range yyq3543 { + yynn3534 = 0 + for _, b := range yyq3534 { if b { - yynn3543++ + yynn3534++ } } - r.EncodeMapStart(yynn3543) - yynn3543 = 0 + r.EncodeMapStart(yynn3534) + yynn3534 = 0 } - if yyr3543 || yy2arr3543 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[0] { - yym3545 := z.EncBinary() - _ = yym3545 + if yyq3534[0] { + yym3536 := z.EncBinary() + _ = yym3536 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44915,144 +44833,228 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3543[0] { + if yyq3534[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3537 := z.EncBinary() + _ = yym3537 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3534 || yy2arr3534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3534[1] { + yym3539 := z.EncBinary() + _ = yym3539 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3534[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3540 := z.EncBinary() + _ = yym3540 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3534 || yy2arr3534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3534[2] { + yym3542 := z.EncBinary() + _ = yym3542 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Container)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3534[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("container")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3543 := z.EncBinary() + _ = yym3543 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Container)) + } + } + } + if yyr3534 || yy2arr3534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3534[3] { + yym3545 := z.EncBinary() + _ = yym3545 + if false { + } else { + r.EncodeBool(bool(x.Follow)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3534[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("follow")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3546 := z.EncBinary() _ = yym3546 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeBool(bool(x.Follow)) } } } - if yyr3543 || yy2arr3543 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[1] { + if yyq3534[4] { yym3548 := z.EncBinary() _ = yym3548 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeBool(bool(x.Previous)) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeBool(false) } } else { - if yyq3543[1] { + if yyq3534[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3549 := z.EncBinary() _ = yym3549 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3543 || yy2arr3543 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[2] { - yym3551 := z.EncBinary() - _ = yym3551 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3543[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("container")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3552 := z.EncBinary() - _ = yym3552 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } - } - if yyr3543 || yy2arr3543 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[3] { - yym3554 := z.EncBinary() - _ = yym3554 - if false { - } else { - r.EncodeBool(bool(x.Follow)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3543[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("follow")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3555 := z.EncBinary() - _ = yym3555 - if false { - } else { - r.EncodeBool(bool(x.Follow)) - } - } - } - if yyr3543 || yy2arr3543 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[4] { - yym3557 := z.EncBinary() - _ = yym3557 - if false { - } else { - r.EncodeBool(bool(x.Previous)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3543[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("previous")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3558 := z.EncBinary() - _ = yym3558 - if false { } else { r.EncodeBool(bool(x.Previous)) } } } - if yyr3543 || yy2arr3543 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[5] { + if yyq3534[5] { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3560 := *x.SinceSeconds - yym3561 := z.EncBinary() - _ = yym3561 + yy3551 := *x.SinceSeconds + yym3552 := z.EncBinary() + _ = yym3552 if false { } else { - r.EncodeInt(int64(yy3560)) + r.EncodeInt(int64(yy3551)) } } } else { r.EncodeNil() } } else { - if yyq3543[5] { + if yyq3534[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3562 := *x.SinceSeconds + yy3553 := *x.SinceSeconds + yym3554 := z.EncBinary() + _ = yym3554 + if false { + } else { + r.EncodeInt(int64(yy3553)) + } + } + } + } + if yyr3534 || yy2arr3534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3534[6] { + if x.SinceTime == nil { + r.EncodeNil() + } else { + yym3556 := z.EncBinary() + _ = yym3556 + if false { + } else if z.HasExtensions() && z.EncExt(x.SinceTime) { + } else if yym3556 { + z.EncBinaryMarshal(x.SinceTime) + } else if !yym3556 && z.IsJSONHandle() { + z.EncJSONMarshal(x.SinceTime) + } else { + z.EncFallback(x.SinceTime) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3534[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.SinceTime == nil { + r.EncodeNil() + } else { + yym3557 := z.EncBinary() + _ = yym3557 + if false { + } else if z.HasExtensions() && z.EncExt(x.SinceTime) { + } else if yym3557 { + z.EncBinaryMarshal(x.SinceTime) + } else if !yym3557 && z.IsJSONHandle() { + z.EncJSONMarshal(x.SinceTime) + } else { + z.EncFallback(x.SinceTime) + } + } + } + } + if yyr3534 || yy2arr3534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3534[7] { + yym3559 := z.EncBinary() + _ = yym3559 + if false { + } else { + r.EncodeBool(bool(x.Timestamps)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3534[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("timestamps")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3560 := z.EncBinary() + _ = yym3560 + if false { + } else { + r.EncodeBool(bool(x.Timestamps)) + } + } + } + if yyr3534 || yy2arr3534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3534[8] { + if x.TailLines == nil { + r.EncodeNil() + } else { + yy3562 := *x.TailLines yym3563 := z.EncBinary() _ = yym3563 if false { @@ -45060,147 +45062,63 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(int64(yy3562)) } } - } - } - if yyr3543 || yy2arr3543 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[6] { - if x.SinceTime == nil { - r.EncodeNil() - } else { - yym3565 := z.EncBinary() - _ = yym3565 - if false { - } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3565 { - z.EncBinaryMarshal(x.SinceTime) - } else if !yym3565 && z.IsJSONHandle() { - z.EncJSONMarshal(x.SinceTime) - } else { - z.EncFallback(x.SinceTime) - } - } } else { r.EncodeNil() } } else { - if yyq3543[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.SinceTime == nil { - r.EncodeNil() - } else { - yym3566 := z.EncBinary() - _ = yym3566 - if false { - } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3566 { - z.EncBinaryMarshal(x.SinceTime) - } else if !yym3566 && z.IsJSONHandle() { - z.EncJSONMarshal(x.SinceTime) - } else { - z.EncFallback(x.SinceTime) - } - } - } - } - if yyr3543 || yy2arr3543 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[7] { - yym3568 := z.EncBinary() - _ = yym3568 - if false { - } else { - r.EncodeBool(bool(x.Timestamps)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3543[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("timestamps")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3569 := z.EncBinary() - _ = yym3569 - if false { - } else { - r.EncodeBool(bool(x.Timestamps)) - } - } - } - if yyr3543 || yy2arr3543 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[8] { - if x.TailLines == nil { - r.EncodeNil() - } else { - yy3571 := *x.TailLines - yym3572 := z.EncBinary() - _ = yym3572 - if false { - } else { - r.EncodeInt(int64(yy3571)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3543[8] { + if yyq3534[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tailLines")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TailLines == nil { r.EncodeNil() } else { - yy3573 := *x.TailLines - yym3574 := z.EncBinary() - _ = yym3574 + yy3564 := *x.TailLines + yym3565 := z.EncBinary() + _ = yym3565 if false { } else { - r.EncodeInt(int64(yy3573)) + r.EncodeInt(int64(yy3564)) } } } } - if yyr3543 || yy2arr3543 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[9] { + if yyq3534[9] { if x.LimitBytes == nil { r.EncodeNil() } else { - yy3576 := *x.LimitBytes - yym3577 := z.EncBinary() - _ = yym3577 + yy3567 := *x.LimitBytes + yym3568 := z.EncBinary() + _ = yym3568 if false { } else { - r.EncodeInt(int64(yy3576)) + r.EncodeInt(int64(yy3567)) } } } else { r.EncodeNil() } } else { - if yyq3543[9] { + if yyq3534[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limitBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy3578 := *x.LimitBytes - yym3579 := z.EncBinary() - _ = yym3579 + yy3569 := *x.LimitBytes + yym3570 := z.EncBinary() + _ = yym3570 if false { } else { - r.EncodeInt(int64(yy3578)) + r.EncodeInt(int64(yy3569)) } } } } - if yyr3543 || yy2arr3543 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45213,25 +45131,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3580 := z.DecBinary() - _ = yym3580 + yym3571 := z.DecBinary() + _ = yym3571 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3581 := r.ContainerType() - if yyct3581 == codecSelferValueTypeMap1234 { - yyl3581 := r.ReadMapStart() - if yyl3581 == 0 { + yyct3572 := r.ContainerType() + if yyct3572 == codecSelferValueTypeMap1234 { + yyl3572 := r.ReadMapStart() + if yyl3572 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3581, d) + x.codecDecodeSelfFromMap(yyl3572, d) } - } else if yyct3581 == codecSelferValueTypeArray1234 { - yyl3581 := r.ReadArrayStart() - if yyl3581 == 0 { + } else if yyct3572 == codecSelferValueTypeArray1234 { + yyl3572 := r.ReadArrayStart() + if yyl3572 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3581, d) + x.codecDecodeSelfFromArray(yyl3572, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45243,12 +45161,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3582Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3582Slc - var yyhl3582 bool = l >= 0 - for yyj3582 := 0; ; yyj3582++ { - if yyhl3582 { - if yyj3582 >= l { + var yys3573Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3573Slc + var yyhl3573 bool = l >= 0 + for yyj3573 := 0; ; yyj3573++ { + if yyhl3573 { + if yyj3573 >= l { break } } else { @@ -45257,10 +45175,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3582Slc = r.DecodeBytes(yys3582Slc, true, true) - yys3582 := string(yys3582Slc) + yys3573Slc = r.DecodeBytes(yys3573Slc, true, true) + yys3573 := string(yys3573Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3582 { + switch yys3573 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45300,8 +45218,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3589 := z.DecBinary() - _ = yym3589 + yym3580 := z.DecBinary() + _ = yym3580 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -45316,13 +45234,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym3591 := z.DecBinary() - _ = yym3591 + yym3582 := z.DecBinary() + _ = yym3582 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3591 { + } else if yym3582 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3591 && z.IsJSONHandle() { + } else if !yym3582 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -45343,8 +45261,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3594 := z.DecBinary() - _ = yym3594 + yym3585 := z.DecBinary() + _ = yym3585 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -45359,17 +45277,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3596 := z.DecBinary() - _ = yym3596 + yym3587 := z.DecBinary() + _ = yym3587 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3582) - } // end switch yys3582 - } // end for yyj3582 + z.DecStructFieldNotFound(-1, yys3573) + } // end switch yys3573 + } // end for yyj3573 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45377,16 +45295,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3597 int - var yyb3597 bool - var yyhl3597 bool = l >= 0 - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + var yyj3588 int + var yyb3588 bool + var yyhl3588 bool = l >= 0 + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45396,13 +45314,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45412,13 +45330,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45428,13 +45346,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45444,13 +45362,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45460,13 +45378,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45479,20 +45397,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3604 := z.DecBinary() - _ = yym3604 + yym3595 := z.DecBinary() + _ = yym3595 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45505,25 +45423,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym3606 := z.DecBinary() - _ = yym3606 + yym3597 := z.DecBinary() + _ = yym3597 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3606 { + } else if yym3597 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3606 && z.IsJSONHandle() { + } else if !yym3597 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45533,13 +45451,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45552,20 +45470,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3609 := z.DecBinary() - _ = yym3609 + yym3600 := z.DecBinary() + _ = yym3600 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45578,25 +45496,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3611 := z.DecBinary() - _ = yym3611 + yym3602 := z.DecBinary() + _ = yym3602 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj3597++ - if yyhl3597 { - yyb3597 = yyj3597 > l + yyj3588++ + if yyhl3588 { + yyb3588 = yyj3588 > l } else { - yyb3597 = r.CheckBreak() + yyb3588 = r.CheckBreak() } - if yyb3597 { + if yyb3588 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3597-1, "") + z.DecStructFieldNotFound(yyj3588-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45608,41 +45526,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3612 := z.EncBinary() - _ = yym3612 + yym3603 := z.EncBinary() + _ = yym3603 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3613 := !z.EncBinary() - yy2arr3613 := z.EncBasicHandle().StructToArray - var yyq3613 [7]bool - _, _, _ = yysep3613, yyq3613, yy2arr3613 - const yyr3613 bool = false - yyq3613[0] = x.Kind != "" - yyq3613[1] = x.APIVersion != "" - yyq3613[2] = x.Stdin != false - yyq3613[3] = x.Stdout != false - yyq3613[4] = x.Stderr != false - yyq3613[5] = x.TTY != false - yyq3613[6] = x.Container != "" - var yynn3613 int - if yyr3613 || yy2arr3613 { + yysep3604 := !z.EncBinary() + yy2arr3604 := z.EncBasicHandle().StructToArray + var yyq3604 [7]bool + _, _, _ = yysep3604, yyq3604, yy2arr3604 + const yyr3604 bool = false + yyq3604[0] = x.Kind != "" + yyq3604[1] = x.APIVersion != "" + yyq3604[2] = x.Stdin != false + yyq3604[3] = x.Stdout != false + yyq3604[4] = x.Stderr != false + yyq3604[5] = x.TTY != false + yyq3604[6] = x.Container != "" + var yynn3604 int + if yyr3604 || yy2arr3604 { r.EncodeArrayStart(7) } else { - yynn3613 = 0 - for _, b := range yyq3613 { + yynn3604 = 0 + for _, b := range yyq3604 { if b { - yynn3613++ + yynn3604++ } } - r.EncodeMapStart(yynn3613) - yynn3613 = 0 + r.EncodeMapStart(yynn3604) + yynn3604 = 0 } - if yyr3613 || yy2arr3613 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3613[0] { - yym3615 := z.EncBinary() - _ = yym3615 + if yyq3604[0] { + yym3606 := z.EncBinary() + _ = yym3606 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45651,149 +45569,149 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3613[0] { + if yyq3604[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3607 := z.EncBinary() + _ = yym3607 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3604 || yy2arr3604 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3604[1] { + yym3609 := z.EncBinary() + _ = yym3609 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3604[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3610 := z.EncBinary() + _ = yym3610 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3604 || yy2arr3604 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3604[2] { + yym3612 := z.EncBinary() + _ = yym3612 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3604[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdin")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3613 := z.EncBinary() + _ = yym3613 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } + } + if yyr3604 || yy2arr3604 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3604[3] { + yym3615 := z.EncBinary() + _ = yym3615 + if false { + } else { + r.EncodeBool(bool(x.Stdout)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3604[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdout")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3616 := z.EncBinary() _ = yym3616 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeBool(bool(x.Stdout)) } } } - if yyr3613 || yy2arr3613 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3613[1] { + if yyq3604[4] { yym3618 := z.EncBinary() _ = yym3618 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeBool(bool(x.Stderr)) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeBool(false) } } else { - if yyq3613[1] { + if yyq3604[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3619 := z.EncBinary() _ = yym3619 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeBool(bool(x.Stderr)) } } } - if yyr3613 || yy2arr3613 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3613[2] { + if yyq3604[5] { yym3621 := z.EncBinary() _ = yym3621 if false { } else { - r.EncodeBool(bool(x.Stdin)) + r.EncodeBool(bool(x.TTY)) } } else { r.EncodeBool(false) } } else { - if yyq3613[2] { + if yyq3604[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdin")) + r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3622 := z.EncBinary() _ = yym3622 if false { } else { - r.EncodeBool(bool(x.Stdin)) + r.EncodeBool(bool(x.TTY)) } } } - if yyr3613 || yy2arr3613 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3613[3] { + if yyq3604[6] { yym3624 := z.EncBinary() _ = yym3624 if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3613[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3625 := z.EncBinary() - _ = yym3625 - if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } - } - if yyr3613 || yy2arr3613 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3613[4] { - yym3627 := z.EncBinary() - _ = yym3627 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3613[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stderr")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3628 := z.EncBinary() - _ = yym3628 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } - } - if yyr3613 || yy2arr3613 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3613[5] { - yym3630 := z.EncBinary() - _ = yym3630 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3613[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tty")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3631 := z.EncBinary() - _ = yym3631 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } - } - if yyr3613 || yy2arr3613 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3613[6] { - yym3633 := z.EncBinary() - _ = yym3633 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } @@ -45801,19 +45719,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3613[6] { + if yyq3604[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3634 := z.EncBinary() - _ = yym3634 + yym3625 := z.EncBinary() + _ = yym3625 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3613 || yy2arr3613 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45826,25 +45744,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3635 := z.DecBinary() - _ = yym3635 + yym3626 := z.DecBinary() + _ = yym3626 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3636 := r.ContainerType() - if yyct3636 == codecSelferValueTypeMap1234 { - yyl3636 := r.ReadMapStart() - if yyl3636 == 0 { + yyct3627 := r.ContainerType() + if yyct3627 == codecSelferValueTypeMap1234 { + yyl3627 := r.ReadMapStart() + if yyl3627 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3636, d) + x.codecDecodeSelfFromMap(yyl3627, d) } - } else if yyct3636 == codecSelferValueTypeArray1234 { - yyl3636 := r.ReadArrayStart() - if yyl3636 == 0 { + } else if yyct3627 == codecSelferValueTypeArray1234 { + yyl3627 := r.ReadArrayStart() + if yyl3627 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3636, d) + x.codecDecodeSelfFromArray(yyl3627, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45856,12 +45774,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3637Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3637Slc - var yyhl3637 bool = l >= 0 - for yyj3637 := 0; ; yyj3637++ { - if yyhl3637 { - if yyj3637 >= l { + var yys3628Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3628Slc + var yyhl3628 bool = l >= 0 + for yyj3628 := 0; ; yyj3628++ { + if yyhl3628 { + if yyj3628 >= l { break } } else { @@ -45870,10 +45788,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3637Slc = r.DecodeBytes(yys3637Slc, true, true) - yys3637 := string(yys3637Slc) + yys3628Slc = r.DecodeBytes(yys3628Slc, true, true) + yys3628 := string(yys3628Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3637 { + switch yys3628 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45917,9 +45835,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3637) - } // end switch yys3637 - } // end for yyj3637 + z.DecStructFieldNotFound(-1, yys3628) + } // end switch yys3628 + } // end for yyj3628 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45927,16 +45845,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3645 int - var yyb3645 bool - var yyhl3645 bool = l >= 0 - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + var yyj3636 int + var yyb3636 bool + var yyhl3636 bool = l >= 0 + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45946,13 +45864,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45962,13 +45880,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45978,13 +45896,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45994,13 +45912,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46010,13 +45928,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46026,13 +45944,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46043,17 +45961,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj3645++ - if yyhl3645 { - yyb3645 = yyj3645 > l + yyj3636++ + if yyhl3636 { + yyb3636 = yyj3636 > l } else { - yyb3645 = r.CheckBreak() + yyb3636 = r.CheckBreak() } - if yyb3645 { + if yyb3636 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3645-1, "") + z.DecStructFieldNotFound(yyj3636-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46065,41 +45983,41 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3653 := z.EncBinary() - _ = yym3653 + yym3644 := z.EncBinary() + _ = yym3644 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3654 := !z.EncBinary() - yy2arr3654 := z.EncBasicHandle().StructToArray - var yyq3654 [8]bool - _, _, _ = yysep3654, yyq3654, yy2arr3654 - const yyr3654 bool = false - yyq3654[0] = x.Kind != "" - yyq3654[1] = x.APIVersion != "" - yyq3654[2] = x.Stdin != false - yyq3654[3] = x.Stdout != false - yyq3654[4] = x.Stderr != false - yyq3654[5] = x.TTY != false - yyq3654[6] = x.Container != "" - var yynn3654 int - if yyr3654 || yy2arr3654 { + yysep3645 := !z.EncBinary() + yy2arr3645 := z.EncBasicHandle().StructToArray + var yyq3645 [8]bool + _, _, _ = yysep3645, yyq3645, yy2arr3645 + const yyr3645 bool = false + yyq3645[0] = x.Kind != "" + yyq3645[1] = x.APIVersion != "" + yyq3645[2] = x.Stdin != false + yyq3645[3] = x.Stdout != false + yyq3645[4] = x.Stderr != false + yyq3645[5] = x.TTY != false + yyq3645[6] = x.Container != "" + var yynn3645 int + if yyr3645 || yy2arr3645 { r.EncodeArrayStart(8) } else { - yynn3654 = 1 - for _, b := range yyq3654 { + yynn3645 = 1 + for _, b := range yyq3645 { if b { - yynn3654++ + yynn3645++ } } - r.EncodeMapStart(yynn3654) - yynn3654 = 0 + r.EncodeMapStart(yynn3645) + yynn3645 = 0 } - if yyr3654 || yy2arr3654 { + if yyr3645 || yy2arr3645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3654[0] { - yym3656 := z.EncBinary() - _ = yym3656 + if yyq3645[0] { + yym3647 := z.EncBinary() + _ = yym3647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46108,149 +46026,149 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3654[0] { + if yyq3645[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3648 := z.EncBinary() + _ = yym3648 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3645 || yy2arr3645 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3645[1] { + yym3650 := z.EncBinary() + _ = yym3650 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3645[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3651 := z.EncBinary() + _ = yym3651 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3645 || yy2arr3645 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3645[2] { + yym3653 := z.EncBinary() + _ = yym3653 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3645[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdin")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3654 := z.EncBinary() + _ = yym3654 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } + } + if yyr3645 || yy2arr3645 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3645[3] { + yym3656 := z.EncBinary() + _ = yym3656 + if false { + } else { + r.EncodeBool(bool(x.Stdout)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3645[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdout")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3657 := z.EncBinary() _ = yym3657 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeBool(bool(x.Stdout)) } } } - if yyr3654 || yy2arr3654 { + if yyr3645 || yy2arr3645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3654[1] { + if yyq3645[4] { yym3659 := z.EncBinary() _ = yym3659 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeBool(bool(x.Stderr)) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeBool(false) } } else { - if yyq3654[1] { + if yyq3645[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3660 := z.EncBinary() _ = yym3660 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeBool(bool(x.Stderr)) } } } - if yyr3654 || yy2arr3654 { + if yyr3645 || yy2arr3645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3654[2] { + if yyq3645[5] { yym3662 := z.EncBinary() _ = yym3662 if false { } else { - r.EncodeBool(bool(x.Stdin)) + r.EncodeBool(bool(x.TTY)) } } else { r.EncodeBool(false) } } else { - if yyq3654[2] { + if yyq3645[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdin")) + r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3663 := z.EncBinary() _ = yym3663 if false { } else { - r.EncodeBool(bool(x.Stdin)) + r.EncodeBool(bool(x.TTY)) } } } - if yyr3654 || yy2arr3654 { + if yyr3645 || yy2arr3645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3654[3] { + if yyq3645[6] { yym3665 := z.EncBinary() _ = yym3665 if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3654[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3666 := z.EncBinary() - _ = yym3666 - if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } - } - if yyr3654 || yy2arr3654 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3654[4] { - yym3668 := z.EncBinary() - _ = yym3668 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3654[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stderr")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3669 := z.EncBinary() - _ = yym3669 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } - } - if yyr3654 || yy2arr3654 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3654[5] { - yym3671 := z.EncBinary() - _ = yym3671 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3654[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tty")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3672 := z.EncBinary() - _ = yym3672 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } - } - if yyr3654 || yy2arr3654 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3654[6] { - yym3674 := z.EncBinary() - _ = yym3674 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } @@ -46258,25 +46176,25 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3654[6] { + if yyq3645[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3675 := z.EncBinary() - _ = yym3675 + yym3666 := z.EncBinary() + _ = yym3666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3654 || yy2arr3654 { + if yyr3645 || yy2arr3645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym3677 := z.EncBinary() - _ = yym3677 + yym3668 := z.EncBinary() + _ = yym3668 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -46289,15 +46207,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym3678 := z.EncBinary() - _ = yym3678 + yym3669 := z.EncBinary() + _ = yym3669 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr3654 || yy2arr3654 { + if yyr3645 || yy2arr3645 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46310,25 +46228,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3679 := z.DecBinary() - _ = yym3679 + yym3670 := z.DecBinary() + _ = yym3670 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3680 := r.ContainerType() - if yyct3680 == codecSelferValueTypeMap1234 { - yyl3680 := r.ReadMapStart() - if yyl3680 == 0 { + yyct3671 := r.ContainerType() + if yyct3671 == codecSelferValueTypeMap1234 { + yyl3671 := r.ReadMapStart() + if yyl3671 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3680, d) + x.codecDecodeSelfFromMap(yyl3671, d) } - } else if yyct3680 == codecSelferValueTypeArray1234 { - yyl3680 := r.ReadArrayStart() - if yyl3680 == 0 { + } else if yyct3671 == codecSelferValueTypeArray1234 { + yyl3671 := r.ReadArrayStart() + if yyl3671 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3680, d) + x.codecDecodeSelfFromArray(yyl3671, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46340,12 +46258,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3681Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3681Slc - var yyhl3681 bool = l >= 0 - for yyj3681 := 0; ; yyj3681++ { - if yyhl3681 { - if yyj3681 >= l { + var yys3672Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3672Slc + var yyhl3672 bool = l >= 0 + for yyj3672 := 0; ; yyj3672++ { + if yyhl3672 { + if yyj3672 >= l { break } } else { @@ -46354,10 +46272,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3681Slc = r.DecodeBytes(yys3681Slc, true, true) - yys3681 := string(yys3681Slc) + yys3672Slc = r.DecodeBytes(yys3672Slc, true, true) + yys3672 := string(yys3672Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3681 { + switch yys3672 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46404,18 +46322,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3689 := &x.Command - yym3690 := z.DecBinary() - _ = yym3690 + yyv3680 := &x.Command + yym3681 := z.DecBinary() + _ = yym3681 if false { } else { - z.F.DecSliceStringX(yyv3689, false, d) + z.F.DecSliceStringX(yyv3680, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3681) - } // end switch yys3681 - } // end for yyj3681 + z.DecStructFieldNotFound(-1, yys3672) + } // end switch yys3672 + } // end for yyj3672 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46423,16 +46341,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3691 int - var yyb3691 bool - var yyhl3691 bool = l >= 0 - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + var yyj3682 int + var yyb3682 bool + var yyhl3682 bool = l >= 0 + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46442,13 +46360,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46458,13 +46376,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46474,13 +46392,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46490,13 +46408,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46506,13 +46424,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46522,13 +46440,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46538,13 +46456,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46552,26 +46470,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3699 := &x.Command - yym3700 := z.DecBinary() - _ = yym3700 + yyv3690 := &x.Command + yym3691 := z.DecBinary() + _ = yym3691 if false { } else { - z.F.DecSliceStringX(yyv3699, false, d) + z.F.DecSliceStringX(yyv3690, false, d) } } for { - yyj3691++ - if yyhl3691 { - yyb3691 = yyj3691 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3691 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3691 { + if yyb3682 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3691-1, "") + z.DecStructFieldNotFound(yyj3682-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46583,37 +46501,37 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3701 := z.EncBinary() - _ = yym3701 + yym3692 := z.EncBinary() + _ = yym3692 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3702 := !z.EncBinary() - yy2arr3702 := z.EncBasicHandle().StructToArray - var yyq3702 [3]bool - _, _, _ = yysep3702, yyq3702, yy2arr3702 - const yyr3702 bool = false - yyq3702[0] = x.Kind != "" - yyq3702[1] = x.APIVersion != "" - yyq3702[2] = x.Path != "" - var yynn3702 int - if yyr3702 || yy2arr3702 { + yysep3693 := !z.EncBinary() + yy2arr3693 := z.EncBasicHandle().StructToArray + var yyq3693 [3]bool + _, _, _ = yysep3693, yyq3693, yy2arr3693 + const yyr3693 bool = false + yyq3693[0] = x.Kind != "" + yyq3693[1] = x.APIVersion != "" + yyq3693[2] = x.Path != "" + var yynn3693 int + if yyr3693 || yy2arr3693 { r.EncodeArrayStart(3) } else { - yynn3702 = 0 - for _, b := range yyq3702 { + yynn3693 = 0 + for _, b := range yyq3693 { if b { - yynn3702++ + yynn3693++ } } - r.EncodeMapStart(yynn3702) - yynn3702 = 0 + r.EncodeMapStart(yynn3693) + yynn3693 = 0 } - if yyr3702 || yy2arr3702 { + if yyr3693 || yy2arr3693 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3702[0] { - yym3704 := z.EncBinary() - _ = yym3704 + if yyq3693[0] { + yym3695 := z.EncBinary() + _ = yym3695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46622,23 +46540,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3702[0] { + if yyq3693[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3705 := z.EncBinary() - _ = yym3705 + yym3696 := z.EncBinary() + _ = yym3696 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3702 || yy2arr3702 { + if yyr3693 || yy2arr3693 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3702[1] { - yym3707 := z.EncBinary() - _ = yym3707 + if yyq3693[1] { + yym3698 := z.EncBinary() + _ = yym3698 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46647,23 +46565,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3702[1] { + if yyq3693[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3708 := z.EncBinary() - _ = yym3708 + yym3699 := z.EncBinary() + _ = yym3699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3702 || yy2arr3702 { + if yyr3693 || yy2arr3693 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3702[2] { - yym3710 := z.EncBinary() - _ = yym3710 + if yyq3693[2] { + yym3701 := z.EncBinary() + _ = yym3701 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -46672,19 +46590,19 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3702[2] { + if yyq3693[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3711 := z.EncBinary() - _ = yym3711 + yym3702 := z.EncBinary() + _ = yym3702 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3702 || yy2arr3702 { + if yyr3693 || yy2arr3693 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46697,25 +46615,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3712 := z.DecBinary() - _ = yym3712 + yym3703 := z.DecBinary() + _ = yym3703 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3713 := r.ContainerType() - if yyct3713 == codecSelferValueTypeMap1234 { - yyl3713 := r.ReadMapStart() - if yyl3713 == 0 { + yyct3704 := r.ContainerType() + if yyct3704 == codecSelferValueTypeMap1234 { + yyl3704 := r.ReadMapStart() + if yyl3704 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3713, d) + x.codecDecodeSelfFromMap(yyl3704, d) } - } else if yyct3713 == codecSelferValueTypeArray1234 { - yyl3713 := r.ReadArrayStart() - if yyl3713 == 0 { + } else if yyct3704 == codecSelferValueTypeArray1234 { + yyl3704 := r.ReadArrayStart() + if yyl3704 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3713, d) + x.codecDecodeSelfFromArray(yyl3704, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46727,12 +46645,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3714Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3714Slc - var yyhl3714 bool = l >= 0 - for yyj3714 := 0; ; yyj3714++ { - if yyhl3714 { - if yyj3714 >= l { + var yys3705Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3705Slc + var yyhl3705 bool = l >= 0 + for yyj3705 := 0; ; yyj3705++ { + if yyhl3705 { + if yyj3705 >= l { break } } else { @@ -46741,10 +46659,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3714Slc = r.DecodeBytes(yys3714Slc, true, true) - yys3714 := string(yys3714Slc) + yys3705Slc = r.DecodeBytes(yys3705Slc, true, true) + yys3705 := string(yys3705Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3714 { + switch yys3705 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46764,9 +46682,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3714) - } // end switch yys3714 - } // end for yyj3714 + z.DecStructFieldNotFound(-1, yys3705) + } // end switch yys3705 + } // end for yyj3705 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46774,16 +46692,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3718 int - var yyb3718 bool - var yyhl3718 bool = l >= 0 - yyj3718++ - if yyhl3718 { - yyb3718 = yyj3718 > l + var yyj3709 int + var yyb3709 bool + var yyhl3709 bool = l >= 0 + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3718 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3718 { + if yyb3709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46793,13 +46711,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3718++ - if yyhl3718 { - yyb3718 = yyj3718 > l + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3718 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3718 { + if yyb3709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46809,13 +46727,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3718++ - if yyhl3718 { - yyb3718 = yyj3718 > l + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3718 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3718 { + if yyb3709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46826,17 +46744,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3718++ - if yyhl3718 { - yyb3718 = yyj3718 > l + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3718 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3718 { + if yyb3709 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3718-1, "") + z.DecStructFieldNotFound(yyj3709-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46848,37 +46766,37 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3722 := z.EncBinary() - _ = yym3722 + yym3713 := z.EncBinary() + _ = yym3713 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3723 := !z.EncBinary() - yy2arr3723 := z.EncBasicHandle().StructToArray - var yyq3723 [3]bool - _, _, _ = yysep3723, yyq3723, yy2arr3723 - const yyr3723 bool = false - yyq3723[0] = x.Kind != "" - yyq3723[1] = x.APIVersion != "" - yyq3723[2] = x.Path != "" - var yynn3723 int - if yyr3723 || yy2arr3723 { + yysep3714 := !z.EncBinary() + yy2arr3714 := z.EncBasicHandle().StructToArray + var yyq3714 [3]bool + _, _, _ = yysep3714, yyq3714, yy2arr3714 + const yyr3714 bool = false + yyq3714[0] = x.Kind != "" + yyq3714[1] = x.APIVersion != "" + yyq3714[2] = x.Path != "" + var yynn3714 int + if yyr3714 || yy2arr3714 { r.EncodeArrayStart(3) } else { - yynn3723 = 0 - for _, b := range yyq3723 { + yynn3714 = 0 + for _, b := range yyq3714 { if b { - yynn3723++ + yynn3714++ } } - r.EncodeMapStart(yynn3723) - yynn3723 = 0 + r.EncodeMapStart(yynn3714) + yynn3714 = 0 } - if yyr3723 || yy2arr3723 { + if yyr3714 || yy2arr3714 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3723[0] { - yym3725 := z.EncBinary() - _ = yym3725 + if yyq3714[0] { + yym3716 := z.EncBinary() + _ = yym3716 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46887,23 +46805,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3723[0] { + if yyq3714[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3726 := z.EncBinary() - _ = yym3726 + yym3717 := z.EncBinary() + _ = yym3717 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3723 || yy2arr3723 { + if yyr3714 || yy2arr3714 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3723[1] { - yym3728 := z.EncBinary() - _ = yym3728 + if yyq3714[1] { + yym3719 := z.EncBinary() + _ = yym3719 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46912,23 +46830,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3723[1] { + if yyq3714[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3729 := z.EncBinary() - _ = yym3729 + yym3720 := z.EncBinary() + _ = yym3720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3723 || yy2arr3723 { + if yyr3714 || yy2arr3714 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3723[2] { - yym3731 := z.EncBinary() - _ = yym3731 + if yyq3714[2] { + yym3722 := z.EncBinary() + _ = yym3722 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -46937,19 +46855,19 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3723[2] { + if yyq3714[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3732 := z.EncBinary() - _ = yym3732 + yym3723 := z.EncBinary() + _ = yym3723 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3723 || yy2arr3723 { + if yyr3714 || yy2arr3714 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46962,25 +46880,25 @@ func (x *NodeProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3733 := z.DecBinary() - _ = yym3733 + yym3724 := z.DecBinary() + _ = yym3724 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3734 := r.ContainerType() - if yyct3734 == codecSelferValueTypeMap1234 { - yyl3734 := r.ReadMapStart() - if yyl3734 == 0 { + yyct3725 := r.ContainerType() + if yyct3725 == codecSelferValueTypeMap1234 { + yyl3725 := r.ReadMapStart() + if yyl3725 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3734, d) + x.codecDecodeSelfFromMap(yyl3725, d) } - } else if yyct3734 == codecSelferValueTypeArray1234 { - yyl3734 := r.ReadArrayStart() - if yyl3734 == 0 { + } else if yyct3725 == codecSelferValueTypeArray1234 { + yyl3725 := r.ReadArrayStart() + if yyl3725 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3734, d) + x.codecDecodeSelfFromArray(yyl3725, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46992,12 +46910,12 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3735Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3735Slc - var yyhl3735 bool = l >= 0 - for yyj3735 := 0; ; yyj3735++ { - if yyhl3735 { - if yyj3735 >= l { + var yys3726Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3726Slc + var yyhl3726 bool = l >= 0 + for yyj3726 := 0; ; yyj3726++ { + if yyhl3726 { + if yyj3726 >= l { break } } else { @@ -47006,10 +46924,10 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3735Slc = r.DecodeBytes(yys3735Slc, true, true) - yys3735 := string(yys3735Slc) + yys3726Slc = r.DecodeBytes(yys3726Slc, true, true) + yys3726 := string(yys3726Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3735 { + switch yys3726 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47029,9 +46947,9 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3735) - } // end switch yys3735 - } // end for yyj3735 + z.DecStructFieldNotFound(-1, yys3726) + } // end switch yys3726 + } // end for yyj3726 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47039,16 +46957,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3739 int - var yyb3739 bool - var yyhl3739 bool = l >= 0 - yyj3739++ - if yyhl3739 { - yyb3739 = yyj3739 > l + var yyj3730 int + var yyb3730 bool + var yyhl3730 bool = l >= 0 + yyj3730++ + if yyhl3730 { + yyb3730 = yyj3730 > l } else { - yyb3739 = r.CheckBreak() + yyb3730 = r.CheckBreak() } - if yyb3739 { + if yyb3730 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47058,13 +46976,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3739++ - if yyhl3739 { - yyb3739 = yyj3739 > l + yyj3730++ + if yyhl3730 { + yyb3730 = yyj3730 > l } else { - yyb3739 = r.CheckBreak() + yyb3730 = r.CheckBreak() } - if yyb3739 { + if yyb3730 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47074,13 +46992,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3739++ - if yyhl3739 { - yyb3739 = yyj3739 > l + yyj3730++ + if yyhl3730 { + yyb3730 = yyj3730 > l } else { - yyb3739 = r.CheckBreak() + yyb3730 = r.CheckBreak() } - if yyb3739 { + if yyb3730 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47091,17 +47009,17 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3739++ - if yyhl3739 { - yyb3739 = yyj3739 > l + yyj3730++ + if yyhl3730 { + yyb3730 = yyj3730 > l } else { - yyb3739 = r.CheckBreak() + yyb3730 = r.CheckBreak() } - if yyb3739 { + if yyb3730 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3739-1, "") + z.DecStructFieldNotFound(yyj3730-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47113,37 +47031,37 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3743 := z.EncBinary() - _ = yym3743 + yym3734 := z.EncBinary() + _ = yym3734 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3744 := !z.EncBinary() - yy2arr3744 := z.EncBasicHandle().StructToArray - var yyq3744 [3]bool - _, _, _ = yysep3744, yyq3744, yy2arr3744 - const yyr3744 bool = false - yyq3744[0] = x.Kind != "" - yyq3744[1] = x.APIVersion != "" - yyq3744[2] = x.Path != "" - var yynn3744 int - if yyr3744 || yy2arr3744 { + yysep3735 := !z.EncBinary() + yy2arr3735 := z.EncBasicHandle().StructToArray + var yyq3735 [3]bool + _, _, _ = yysep3735, yyq3735, yy2arr3735 + const yyr3735 bool = false + yyq3735[0] = x.Kind != "" + yyq3735[1] = x.APIVersion != "" + yyq3735[2] = x.Path != "" + var yynn3735 int + if yyr3735 || yy2arr3735 { r.EncodeArrayStart(3) } else { - yynn3744 = 0 - for _, b := range yyq3744 { + yynn3735 = 0 + for _, b := range yyq3735 { if b { - yynn3744++ + yynn3735++ } } - r.EncodeMapStart(yynn3744) - yynn3744 = 0 + r.EncodeMapStart(yynn3735) + yynn3735 = 0 } - if yyr3744 || yy2arr3744 { + if yyr3735 || yy2arr3735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3744[0] { - yym3746 := z.EncBinary() - _ = yym3746 + if yyq3735[0] { + yym3737 := z.EncBinary() + _ = yym3737 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47152,23 +47070,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3744[0] { + if yyq3735[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3747 := z.EncBinary() - _ = yym3747 + yym3738 := z.EncBinary() + _ = yym3738 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3744 || yy2arr3744 { + if yyr3735 || yy2arr3735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3744[1] { - yym3749 := z.EncBinary() - _ = yym3749 + if yyq3735[1] { + yym3740 := z.EncBinary() + _ = yym3740 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47177,23 +47095,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3744[1] { + if yyq3735[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3750 := z.EncBinary() - _ = yym3750 + yym3741 := z.EncBinary() + _ = yym3741 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3744 || yy2arr3744 { + if yyr3735 || yy2arr3735 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3744[2] { - yym3752 := z.EncBinary() - _ = yym3752 + if yyq3735[2] { + yym3743 := z.EncBinary() + _ = yym3743 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -47202,19 +47120,19 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3744[2] { + if yyq3735[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3753 := z.EncBinary() - _ = yym3753 + yym3744 := z.EncBinary() + _ = yym3744 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3744 || yy2arr3744 { + if yyr3735 || yy2arr3735 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47227,25 +47145,25 @@ func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3754 := z.DecBinary() - _ = yym3754 + yym3745 := z.DecBinary() + _ = yym3745 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3755 := r.ContainerType() - if yyct3755 == codecSelferValueTypeMap1234 { - yyl3755 := r.ReadMapStart() - if yyl3755 == 0 { + yyct3746 := r.ContainerType() + if yyct3746 == codecSelferValueTypeMap1234 { + yyl3746 := r.ReadMapStart() + if yyl3746 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3755, d) + x.codecDecodeSelfFromMap(yyl3746, d) } - } else if yyct3755 == codecSelferValueTypeArray1234 { - yyl3755 := r.ReadArrayStart() - if yyl3755 == 0 { + } else if yyct3746 == codecSelferValueTypeArray1234 { + yyl3746 := r.ReadArrayStart() + if yyl3746 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3755, d) + x.codecDecodeSelfFromArray(yyl3746, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47257,12 +47175,12 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3756Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3756Slc - var yyhl3756 bool = l >= 0 - for yyj3756 := 0; ; yyj3756++ { - if yyhl3756 { - if yyj3756 >= l { + var yys3747Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3747Slc + var yyhl3747 bool = l >= 0 + for yyj3747 := 0; ; yyj3747++ { + if yyhl3747 { + if yyj3747 >= l { break } } else { @@ -47271,10 +47189,10 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3756Slc = r.DecodeBytes(yys3756Slc, true, true) - yys3756 := string(yys3756Slc) + yys3747Slc = r.DecodeBytes(yys3747Slc, true, true) + yys3747 := string(yys3747Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3756 { + switch yys3747 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47294,9 +47212,9 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3756) - } // end switch yys3756 - } // end for yyj3756 + z.DecStructFieldNotFound(-1, yys3747) + } // end switch yys3747 + } // end for yyj3747 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47304,16 +47222,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3760 int - var yyb3760 bool - var yyhl3760 bool = l >= 0 - yyj3760++ - if yyhl3760 { - yyb3760 = yyj3760 > l + var yyj3751 int + var yyb3751 bool + var yyhl3751 bool = l >= 0 + yyj3751++ + if yyhl3751 { + yyb3751 = yyj3751 > l } else { - yyb3760 = r.CheckBreak() + yyb3751 = r.CheckBreak() } - if yyb3760 { + if yyb3751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47323,13 +47241,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3760++ - if yyhl3760 { - yyb3760 = yyj3760 > l + yyj3751++ + if yyhl3751 { + yyb3751 = yyj3751 > l } else { - yyb3760 = r.CheckBreak() + yyb3751 = r.CheckBreak() } - if yyb3760 { + if yyb3751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47339,13 +47257,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3760++ - if yyhl3760 { - yyb3760 = yyj3760 > l + yyj3751++ + if yyhl3751 { + yyb3751 = yyj3751 > l } else { - yyb3760 = r.CheckBreak() + yyb3751 = r.CheckBreak() } - if yyb3760 { + if yyb3751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47356,17 +47274,17 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Path = string(r.DecodeString()) } for { - yyj3760++ - if yyhl3760 { - yyb3760 = yyj3760 > l + yyj3751++ + if yyhl3751 { + yyb3751 = yyj3751 > l } else { - yyb3760 = r.CheckBreak() + yyb3751 = r.CheckBreak() } - if yyb3760 { + if yyb3751 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3760-1, "") + z.DecStructFieldNotFound(yyj3751-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47378,34 +47296,34 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3764 := z.EncBinary() - _ = yym3764 + yym3755 := z.EncBinary() + _ = yym3755 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3765 := !z.EncBinary() - yy2arr3765 := z.EncBasicHandle().StructToArray - var yyq3765 [5]bool - _, _, _ = yysep3765, yyq3765, yy2arr3765 - const yyr3765 bool = false - yyq3765[4] = x.Controller != nil - var yynn3765 int - if yyr3765 || yy2arr3765 { + yysep3756 := !z.EncBinary() + yy2arr3756 := z.EncBasicHandle().StructToArray + var yyq3756 [5]bool + _, _, _ = yysep3756, yyq3756, yy2arr3756 + const yyr3756 bool = false + yyq3756[4] = x.Controller != nil + var yynn3756 int + if yyr3756 || yy2arr3756 { r.EncodeArrayStart(5) } else { - yynn3765 = 4 - for _, b := range yyq3765 { + yynn3756 = 4 + for _, b := range yyq3756 { if b { - yynn3765++ + yynn3756++ } } - r.EncodeMapStart(yynn3765) - yynn3765 = 0 + r.EncodeMapStart(yynn3756) + yynn3756 = 0 } - if yyr3765 || yy2arr3765 { + if yyr3756 || yy2arr3756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3767 := z.EncBinary() - _ = yym3767 + yym3758 := z.EncBinary() + _ = yym3758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47414,17 +47332,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3768 := z.EncBinary() - _ = yym3768 + yym3759 := z.EncBinary() + _ = yym3759 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr3765 || yy2arr3765 { + if yyr3756 || yy2arr3756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3770 := z.EncBinary() - _ = yym3770 + yym3761 := z.EncBinary() + _ = yym3761 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47433,17 +47351,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3771 := z.EncBinary() - _ = yym3771 + yym3762 := z.EncBinary() + _ = yym3762 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr3765 || yy2arr3765 { + if yyr3756 || yy2arr3756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3773 := z.EncBinary() - _ = yym3773 + yym3764 := z.EncBinary() + _ = yym3764 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -47452,17 +47370,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3774 := z.EncBinary() - _ = yym3774 + yym3765 := z.EncBinary() + _ = yym3765 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr3765 || yy2arr3765 { + if yyr3756 || yy2arr3756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3776 := z.EncBinary() - _ = yym3776 + yym3767 := z.EncBinary() + _ = yym3767 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47472,50 +47390,50 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3777 := z.EncBinary() - _ = yym3777 + yym3768 := z.EncBinary() + _ = yym3768 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } - if yyr3765 || yy2arr3765 { + if yyr3756 || yy2arr3756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3765[4] { + if yyq3756[4] { if x.Controller == nil { r.EncodeNil() } else { - yy3779 := *x.Controller - yym3780 := z.EncBinary() - _ = yym3780 + yy3770 := *x.Controller + yym3771 := z.EncBinary() + _ = yym3771 if false { } else { - r.EncodeBool(bool(yy3779)) + r.EncodeBool(bool(yy3770)) } } } else { r.EncodeNil() } } else { - if yyq3765[4] { + if yyq3756[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controller")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Controller == nil { r.EncodeNil() } else { - yy3781 := *x.Controller - yym3782 := z.EncBinary() - _ = yym3782 + yy3772 := *x.Controller + yym3773 := z.EncBinary() + _ = yym3773 if false { } else { - r.EncodeBool(bool(yy3781)) + r.EncodeBool(bool(yy3772)) } } } } - if yyr3765 || yy2arr3765 { + if yyr3756 || yy2arr3756 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47528,25 +47446,25 @@ func (x *OwnerReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3783 := z.DecBinary() - _ = yym3783 + yym3774 := z.DecBinary() + _ = yym3774 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3784 := r.ContainerType() - if yyct3784 == codecSelferValueTypeMap1234 { - yyl3784 := r.ReadMapStart() - if yyl3784 == 0 { + yyct3775 := r.ContainerType() + if yyct3775 == codecSelferValueTypeMap1234 { + yyl3775 := r.ReadMapStart() + if yyl3775 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3784, d) + x.codecDecodeSelfFromMap(yyl3775, d) } - } else if yyct3784 == codecSelferValueTypeArray1234 { - yyl3784 := r.ReadArrayStart() - if yyl3784 == 0 { + } else if yyct3775 == codecSelferValueTypeArray1234 { + yyl3775 := r.ReadArrayStart() + if yyl3775 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3784, d) + x.codecDecodeSelfFromArray(yyl3775, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47558,12 +47476,12 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3785Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3785Slc - var yyhl3785 bool = l >= 0 - for yyj3785 := 0; ; yyj3785++ { - if yyhl3785 { - if yyj3785 >= l { + var yys3776Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3776Slc + var yyhl3776 bool = l >= 0 + for yyj3776 := 0; ; yyj3776++ { + if yyhl3776 { + if yyj3776 >= l { break } } else { @@ -47572,10 +47490,10 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3785Slc = r.DecodeBytes(yys3785Slc, true, true) - yys3785 := string(yys3785Slc) + yys3776Slc = r.DecodeBytes(yys3776Slc, true, true) + yys3776 := string(yys3776Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3785 { + switch yys3776 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -47609,17 +47527,17 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3791 := z.DecBinary() - _ = yym3791 + yym3782 := z.DecBinary() + _ = yym3782 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3785) - } // end switch yys3785 - } // end for yyj3785 + z.DecStructFieldNotFound(-1, yys3776) + } // end switch yys3776 + } // end for yyj3776 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47627,16 +47545,16 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3792 int - var yyb3792 bool - var yyhl3792 bool = l >= 0 - yyj3792++ - if yyhl3792 { - yyb3792 = yyj3792 > l + var yyj3783 int + var yyb3783 bool + var yyhl3783 bool = l >= 0 + yyj3783++ + if yyhl3783 { + yyb3783 = yyj3783 > l } else { - yyb3792 = r.CheckBreak() + yyb3783 = r.CheckBreak() } - if yyb3792 { + if yyb3783 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47646,13 +47564,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3792++ - if yyhl3792 { - yyb3792 = yyj3792 > l + yyj3783++ + if yyhl3783 { + yyb3783 = yyj3783 > l } else { - yyb3792 = r.CheckBreak() + yyb3783 = r.CheckBreak() } - if yyb3792 { + if yyb3783 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47662,13 +47580,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3792++ - if yyhl3792 { - yyb3792 = yyj3792 > l + yyj3783++ + if yyhl3783 { + yyb3783 = yyj3783 > l } else { - yyb3792 = r.CheckBreak() + yyb3783 = r.CheckBreak() } - if yyb3792 { + if yyb3783 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47678,13 +47596,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj3792++ - if yyhl3792 { - yyb3792 = yyj3792 > l + yyj3783++ + if yyhl3783 { + yyb3783 = yyj3783 > l } else { - yyb3792 = r.CheckBreak() + yyb3783 = r.CheckBreak() } - if yyb3792 { + if yyb3783 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47694,13 +47612,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3792++ - if yyhl3792 { - yyb3792 = yyj3792 > l + yyj3783++ + if yyhl3783 { + yyb3783 = yyj3783 > l } else { - yyb3792 = r.CheckBreak() + yyb3783 = r.CheckBreak() } - if yyb3792 { + if yyb3783 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47713,25 +47631,25 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3798 := z.DecBinary() - _ = yym3798 + yym3789 := z.DecBinary() + _ = yym3789 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } for { - yyj3792++ - if yyhl3792 { - yyb3792 = yyj3792 > l + yyj3783++ + if yyhl3783 { + yyb3783 = yyj3783 > l } else { - yyb3792 = r.CheckBreak() + yyb3783 = r.CheckBreak() } - if yyb3792 { + if yyb3783 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3792-1, "") + z.DecStructFieldNotFound(yyj3783-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47743,41 +47661,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3799 := z.EncBinary() - _ = yym3799 + yym3790 := z.EncBinary() + _ = yym3790 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3800 := !z.EncBinary() - yy2arr3800 := z.EncBasicHandle().StructToArray - var yyq3800 [7]bool - _, _, _ = yysep3800, yyq3800, yy2arr3800 - const yyr3800 bool = false - yyq3800[0] = x.Kind != "" - yyq3800[1] = x.Namespace != "" - yyq3800[2] = x.Name != "" - yyq3800[3] = x.UID != "" - yyq3800[4] = x.APIVersion != "" - yyq3800[5] = x.ResourceVersion != "" - yyq3800[6] = x.FieldPath != "" - var yynn3800 int - if yyr3800 || yy2arr3800 { + yysep3791 := !z.EncBinary() + yy2arr3791 := z.EncBasicHandle().StructToArray + var yyq3791 [7]bool + _, _, _ = yysep3791, yyq3791, yy2arr3791 + const yyr3791 bool = false + yyq3791[0] = x.Kind != "" + yyq3791[1] = x.Namespace != "" + yyq3791[2] = x.Name != "" + yyq3791[3] = x.UID != "" + yyq3791[4] = x.APIVersion != "" + yyq3791[5] = x.ResourceVersion != "" + yyq3791[6] = x.FieldPath != "" + var yynn3791 int + if yyr3791 || yy2arr3791 { r.EncodeArrayStart(7) } else { - yynn3800 = 0 - for _, b := range yyq3800 { + yynn3791 = 0 + for _, b := range yyq3791 { if b { - yynn3800++ + yynn3791++ } } - r.EncodeMapStart(yynn3800) - yynn3800 = 0 + r.EncodeMapStart(yynn3791) + yynn3791 = 0 } - if yyr3800 || yy2arr3800 { + if yyr3791 || yy2arr3791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3800[0] { - yym3802 := z.EncBinary() - _ = yym3802 + if yyq3791[0] { + yym3793 := z.EncBinary() + _ = yym3793 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47786,23 +47704,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3800[0] { + if yyq3791[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3803 := z.EncBinary() - _ = yym3803 + yym3794 := z.EncBinary() + _ = yym3794 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3800 || yy2arr3800 { + if yyr3791 || yy2arr3791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3800[1] { - yym3805 := z.EncBinary() - _ = yym3805 + if yyq3791[1] { + yym3796 := z.EncBinary() + _ = yym3796 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -47811,146 +47729,146 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3800[1] { + if yyq3791[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3797 := z.EncBinary() + _ = yym3797 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } + } + if yyr3791 || yy2arr3791 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3791[2] { + yym3799 := z.EncBinary() + _ = yym3799 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3791[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3800 := z.EncBinary() + _ = yym3800 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr3791 || yy2arr3791 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3791[3] { + yym3802 := z.EncBinary() + _ = yym3802 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3791[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("uid")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3803 := z.EncBinary() + _ = yym3803 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } + } + if yyr3791 || yy2arr3791 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3791[4] { + yym3805 := z.EncBinary() + _ = yym3805 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3791[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3806 := z.EncBinary() _ = yym3806 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3800 || yy2arr3800 { + if yyr3791 || yy2arr3791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3800[2] { + if yyq3791[5] { yym3808 := z.EncBinary() _ = yym3808 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3800[2] { + if yyq3791[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) + r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3809 := z.EncBinary() _ = yym3809 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3800 || yy2arr3800 { + if yyr3791 || yy2arr3791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3800[3] { + if yyq3791[6] { yym3811 := z.EncBinary() _ = yym3811 if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3800[3] { + if yyq3791[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("uid")) + r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3812 := z.EncBinary() _ = yym3812 if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } - } - if yyr3800 || yy2arr3800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3800[4] { - yym3814 := z.EncBinary() - _ = yym3814 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3800[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3815 := z.EncBinary() - _ = yym3815 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3800 || yy2arr3800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3800[5] { - yym3817 := z.EncBinary() - _ = yym3817 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3800[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3818 := z.EncBinary() - _ = yym3818 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } - } - if yyr3800 || yy2arr3800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3800[6] { - yym3820 := z.EncBinary() - _ = yym3820 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3800[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3821 := z.EncBinary() - _ = yym3821 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr3800 || yy2arr3800 { + if yyr3791 || yy2arr3791 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47963,25 +47881,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3822 := z.DecBinary() - _ = yym3822 + yym3813 := z.DecBinary() + _ = yym3813 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3823 := r.ContainerType() - if yyct3823 == codecSelferValueTypeMap1234 { - yyl3823 := r.ReadMapStart() - if yyl3823 == 0 { + yyct3814 := r.ContainerType() + if yyct3814 == codecSelferValueTypeMap1234 { + yyl3814 := r.ReadMapStart() + if yyl3814 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3823, d) + x.codecDecodeSelfFromMap(yyl3814, d) } - } else if yyct3823 == codecSelferValueTypeArray1234 { - yyl3823 := r.ReadArrayStart() - if yyl3823 == 0 { + } else if yyct3814 == codecSelferValueTypeArray1234 { + yyl3814 := r.ReadArrayStart() + if yyl3814 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3823, d) + x.codecDecodeSelfFromArray(yyl3814, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47993,12 +47911,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3824Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3824Slc - var yyhl3824 bool = l >= 0 - for yyj3824 := 0; ; yyj3824++ { - if yyhl3824 { - if yyj3824 >= l { + var yys3815Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3815Slc + var yyhl3815 bool = l >= 0 + for yyj3815 := 0; ; yyj3815++ { + if yyhl3815 { + if yyj3815 >= l { break } } else { @@ -48007,10 +47925,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3824Slc = r.DecodeBytes(yys3824Slc, true, true) - yys3824 := string(yys3824Slc) + yys3815Slc = r.DecodeBytes(yys3815Slc, true, true) + yys3815 := string(yys3815Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3824 { + switch yys3815 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48054,9 +47972,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3824) - } // end switch yys3824 - } // end for yyj3824 + z.DecStructFieldNotFound(-1, yys3815) + } // end switch yys3815 + } // end for yyj3815 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48064,16 +47982,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3832 int - var yyb3832 bool - var yyhl3832 bool = l >= 0 - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + var yyj3823 int + var yyb3823 bool + var yyhl3823 bool = l >= 0 + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48083,13 +48001,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48099,13 +48017,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48115,13 +48033,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48131,13 +48049,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48147,13 +48065,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48163,13 +48081,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48180,17 +48098,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj3832++ - if yyhl3832 { - yyb3832 = yyj3832 > l + yyj3823++ + if yyhl3823 { + yyb3823 = yyj3823 > l } else { - yyb3832 = r.CheckBreak() + yyb3823 = r.CheckBreak() } - if yyb3832 { + if yyb3823 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3832-1, "") + z.DecStructFieldNotFound(yyj3823-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48202,35 +48120,35 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3840 := z.EncBinary() - _ = yym3840 + yym3831 := z.EncBinary() + _ = yym3831 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3841 := !z.EncBinary() - yy2arr3841 := z.EncBasicHandle().StructToArray - var yyq3841 [1]bool - _, _, _ = yysep3841, yyq3841, yy2arr3841 - const yyr3841 bool = false - yyq3841[0] = x.Name != "" - var yynn3841 int - if yyr3841 || yy2arr3841 { + yysep3832 := !z.EncBinary() + yy2arr3832 := z.EncBasicHandle().StructToArray + var yyq3832 [1]bool + _, _, _ = yysep3832, yyq3832, yy2arr3832 + const yyr3832 bool = false + yyq3832[0] = x.Name != "" + var yynn3832 int + if yyr3832 || yy2arr3832 { r.EncodeArrayStart(1) } else { - yynn3841 = 0 - for _, b := range yyq3841 { + yynn3832 = 0 + for _, b := range yyq3832 { if b { - yynn3841++ + yynn3832++ } } - r.EncodeMapStart(yynn3841) - yynn3841 = 0 + r.EncodeMapStart(yynn3832) + yynn3832 = 0 } - if yyr3841 || yy2arr3841 { + if yyr3832 || yy2arr3832 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3841[0] { - yym3843 := z.EncBinary() - _ = yym3843 + if yyq3832[0] { + yym3834 := z.EncBinary() + _ = yym3834 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -48239,19 +48157,19 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3841[0] { + if yyq3832[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3844 := z.EncBinary() - _ = yym3844 + yym3835 := z.EncBinary() + _ = yym3835 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr3841 || yy2arr3841 { + if yyr3832 || yy2arr3832 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48264,25 +48182,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3845 := z.DecBinary() - _ = yym3845 + yym3836 := z.DecBinary() + _ = yym3836 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3846 := r.ContainerType() - if yyct3846 == codecSelferValueTypeMap1234 { - yyl3846 := r.ReadMapStart() - if yyl3846 == 0 { + yyct3837 := r.ContainerType() + if yyct3837 == codecSelferValueTypeMap1234 { + yyl3837 := r.ReadMapStart() + if yyl3837 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3846, d) + x.codecDecodeSelfFromMap(yyl3837, d) } - } else if yyct3846 == codecSelferValueTypeArray1234 { - yyl3846 := r.ReadArrayStart() - if yyl3846 == 0 { + } else if yyct3837 == codecSelferValueTypeArray1234 { + yyl3837 := r.ReadArrayStart() + if yyl3837 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3846, d) + x.codecDecodeSelfFromArray(yyl3837, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48294,12 +48212,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3847Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3847Slc - var yyhl3847 bool = l >= 0 - for yyj3847 := 0; ; yyj3847++ { - if yyhl3847 { - if yyj3847 >= l { + var yys3838Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3838Slc + var yyhl3838 bool = l >= 0 + for yyj3838 := 0; ; yyj3838++ { + if yyhl3838 { + if yyj3838 >= l { break } } else { @@ -48308,10 +48226,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3847Slc = r.DecodeBytes(yys3847Slc, true, true) - yys3847 := string(yys3847Slc) + yys3838Slc = r.DecodeBytes(yys3838Slc, true, true) + yys3838 := string(yys3838Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3847 { + switch yys3838 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -48319,9 +48237,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3847) - } // end switch yys3847 - } // end for yyj3847 + z.DecStructFieldNotFound(-1, yys3838) + } // end switch yys3838 + } // end for yyj3838 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48329,16 +48247,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3849 int - var yyb3849 bool - var yyhl3849 bool = l >= 0 - yyj3849++ - if yyhl3849 { - yyb3849 = yyj3849 > l + var yyj3840 int + var yyb3840 bool + var yyhl3840 bool = l >= 0 + yyj3840++ + if yyhl3840 { + yyb3840 = yyj3840 > l } else { - yyb3849 = r.CheckBreak() + yyb3840 = r.CheckBreak() } - if yyb3849 { + if yyb3840 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48349,17 +48267,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj3849++ - if yyhl3849 { - yyb3849 = yyj3849 > l + yyj3840++ + if yyhl3840 { + yyb3840 = yyj3840 > l } else { - yyb3849 = r.CheckBreak() + yyb3840 = r.CheckBreak() } - if yyb3849 { + if yyb3840 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3849-1, "") + z.DecStructFieldNotFound(yyj3840-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48371,37 +48289,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3851 := z.EncBinary() - _ = yym3851 + yym3842 := z.EncBinary() + _ = yym3842 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3852 := !z.EncBinary() - yy2arr3852 := z.EncBasicHandle().StructToArray - var yyq3852 [3]bool - _, _, _ = yysep3852, yyq3852, yy2arr3852 - const yyr3852 bool = false - yyq3852[0] = x.Kind != "" - yyq3852[1] = x.APIVersion != "" - yyq3852[2] = true - var yynn3852 int - if yyr3852 || yy2arr3852 { + yysep3843 := !z.EncBinary() + yy2arr3843 := z.EncBasicHandle().StructToArray + var yyq3843 [3]bool + _, _, _ = yysep3843, yyq3843, yy2arr3843 + const yyr3843 bool = false + yyq3843[0] = x.Kind != "" + yyq3843[1] = x.APIVersion != "" + yyq3843[2] = true + var yynn3843 int + if yyr3843 || yy2arr3843 { r.EncodeArrayStart(3) } else { - yynn3852 = 0 - for _, b := range yyq3852 { + yynn3843 = 0 + for _, b := range yyq3843 { if b { - yynn3852++ + yynn3843++ } } - r.EncodeMapStart(yynn3852) - yynn3852 = 0 + r.EncodeMapStart(yynn3843) + yynn3843 = 0 } - if yyr3852 || yy2arr3852 { + if yyr3843 || yy2arr3843 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3852[0] { - yym3854 := z.EncBinary() - _ = yym3854 + if yyq3843[0] { + yym3845 := z.EncBinary() + _ = yym3845 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48410,23 +48328,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3852[0] { + if yyq3843[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3855 := z.EncBinary() - _ = yym3855 + yym3846 := z.EncBinary() + _ = yym3846 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3852 || yy2arr3852 { + if yyr3843 || yy2arr3843 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3852[1] { - yym3857 := z.EncBinary() - _ = yym3857 + if yyq3843[1] { + yym3848 := z.EncBinary() + _ = yym3848 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48435,36 +48353,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3852[1] { + if yyq3843[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3858 := z.EncBinary() - _ = yym3858 + yym3849 := z.EncBinary() + _ = yym3849 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3852 || yy2arr3852 { + if yyr3843 || yy2arr3843 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3852[2] { - yy3860 := &x.Reference - yy3860.CodecEncodeSelf(e) + if yyq3843[2] { + yy3851 := &x.Reference + yy3851.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3852[2] { + if yyq3843[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3861 := &x.Reference - yy3861.CodecEncodeSelf(e) + yy3852 := &x.Reference + yy3852.CodecEncodeSelf(e) } } - if yyr3852 || yy2arr3852 { + if yyr3843 || yy2arr3843 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48477,25 +48395,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3862 := z.DecBinary() - _ = yym3862 + yym3853 := z.DecBinary() + _ = yym3853 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3863 := r.ContainerType() - if yyct3863 == codecSelferValueTypeMap1234 { - yyl3863 := r.ReadMapStart() - if yyl3863 == 0 { + yyct3854 := r.ContainerType() + if yyct3854 == codecSelferValueTypeMap1234 { + yyl3854 := r.ReadMapStart() + if yyl3854 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3863, d) + x.codecDecodeSelfFromMap(yyl3854, d) } - } else if yyct3863 == codecSelferValueTypeArray1234 { - yyl3863 := r.ReadArrayStart() - if yyl3863 == 0 { + } else if yyct3854 == codecSelferValueTypeArray1234 { + yyl3854 := r.ReadArrayStart() + if yyl3854 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3863, d) + x.codecDecodeSelfFromArray(yyl3854, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48507,12 +48425,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3864Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3864Slc - var yyhl3864 bool = l >= 0 - for yyj3864 := 0; ; yyj3864++ { - if yyhl3864 { - if yyj3864 >= l { + var yys3855Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3855Slc + var yyhl3855 bool = l >= 0 + for yyj3855 := 0; ; yyj3855++ { + if yyhl3855 { + if yyj3855 >= l { break } } else { @@ -48521,10 +48439,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3864Slc = r.DecodeBytes(yys3864Slc, true, true) - yys3864 := string(yys3864Slc) + yys3855Slc = r.DecodeBytes(yys3855Slc, true, true) + yys3855 := string(yys3855Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3864 { + switch yys3855 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48541,13 +48459,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3867 := &x.Reference - yyv3867.CodecDecodeSelf(d) + yyv3858 := &x.Reference + yyv3858.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3864) - } // end switch yys3864 - } // end for yyj3864 + z.DecStructFieldNotFound(-1, yys3855) + } // end switch yys3855 + } // end for yyj3855 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48555,16 +48473,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3868 int - var yyb3868 bool - var yyhl3868 bool = l >= 0 - yyj3868++ - if yyhl3868 { - yyb3868 = yyj3868 > l + var yyj3859 int + var yyb3859 bool + var yyhl3859 bool = l >= 0 + yyj3859++ + if yyhl3859 { + yyb3859 = yyj3859 > l } else { - yyb3868 = r.CheckBreak() + yyb3859 = r.CheckBreak() } - if yyb3868 { + if yyb3859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48574,13 +48492,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3868++ - if yyhl3868 { - yyb3868 = yyj3868 > l + yyj3859++ + if yyhl3859 { + yyb3859 = yyj3859 > l } else { - yyb3868 = r.CheckBreak() + yyb3859 = r.CheckBreak() } - if yyb3868 { + if yyb3859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48590,13 +48508,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3868++ - if yyhl3868 { - yyb3868 = yyj3868 > l + yyj3859++ + if yyhl3859 { + yyb3859 = yyj3859 > l } else { - yyb3868 = r.CheckBreak() + yyb3859 = r.CheckBreak() } - if yyb3868 { + if yyb3859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48604,21 +48522,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3871 := &x.Reference - yyv3871.CodecDecodeSelf(d) + yyv3862 := &x.Reference + yyv3862.CodecDecodeSelf(d) } for { - yyj3868++ - if yyhl3868 { - yyb3868 = yyj3868 > l + yyj3859++ + if yyhl3859 { + yyb3859 = yyj3859 > l } else { - yyb3868 = r.CheckBreak() + yyb3859 = r.CheckBreak() } - if yyb3868 { + if yyb3859 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3868-1, "") + z.DecStructFieldNotFound(yyj3859-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48630,36 +48548,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3872 := z.EncBinary() - _ = yym3872 + yym3863 := z.EncBinary() + _ = yym3863 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3873 := !z.EncBinary() - yy2arr3873 := z.EncBasicHandle().StructToArray - var yyq3873 [2]bool - _, _, _ = yysep3873, yyq3873, yy2arr3873 - const yyr3873 bool = false - yyq3873[0] = x.Component != "" - yyq3873[1] = x.Host != "" - var yynn3873 int - if yyr3873 || yy2arr3873 { + yysep3864 := !z.EncBinary() + yy2arr3864 := z.EncBasicHandle().StructToArray + var yyq3864 [2]bool + _, _, _ = yysep3864, yyq3864, yy2arr3864 + const yyr3864 bool = false + yyq3864[0] = x.Component != "" + yyq3864[1] = x.Host != "" + var yynn3864 int + if yyr3864 || yy2arr3864 { r.EncodeArrayStart(2) } else { - yynn3873 = 0 - for _, b := range yyq3873 { + yynn3864 = 0 + for _, b := range yyq3864 { if b { - yynn3873++ + yynn3864++ } } - r.EncodeMapStart(yynn3873) - yynn3873 = 0 + r.EncodeMapStart(yynn3864) + yynn3864 = 0 } - if yyr3873 || yy2arr3873 { + if yyr3864 || yy2arr3864 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3873[0] { - yym3875 := z.EncBinary() - _ = yym3875 + if yyq3864[0] { + yym3866 := z.EncBinary() + _ = yym3866 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -48668,23 +48586,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3873[0] { + if yyq3864[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3876 := z.EncBinary() - _ = yym3876 + yym3867 := z.EncBinary() + _ = yym3867 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr3873 || yy2arr3873 { + if yyr3864 || yy2arr3864 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3873[1] { - yym3878 := z.EncBinary() - _ = yym3878 + if yyq3864[1] { + yym3869 := z.EncBinary() + _ = yym3869 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -48693,19 +48611,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3873[1] { + if yyq3864[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3879 := z.EncBinary() - _ = yym3879 + yym3870 := z.EncBinary() + _ = yym3870 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr3873 || yy2arr3873 { + if yyr3864 || yy2arr3864 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48718,25 +48636,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3880 := z.DecBinary() - _ = yym3880 + yym3871 := z.DecBinary() + _ = yym3871 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3881 := r.ContainerType() - if yyct3881 == codecSelferValueTypeMap1234 { - yyl3881 := r.ReadMapStart() - if yyl3881 == 0 { + yyct3872 := r.ContainerType() + if yyct3872 == codecSelferValueTypeMap1234 { + yyl3872 := r.ReadMapStart() + if yyl3872 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3881, d) + x.codecDecodeSelfFromMap(yyl3872, d) } - } else if yyct3881 == codecSelferValueTypeArray1234 { - yyl3881 := r.ReadArrayStart() - if yyl3881 == 0 { + } else if yyct3872 == codecSelferValueTypeArray1234 { + yyl3872 := r.ReadArrayStart() + if yyl3872 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3881, d) + x.codecDecodeSelfFromArray(yyl3872, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48748,12 +48666,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3882Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3882Slc - var yyhl3882 bool = l >= 0 - for yyj3882 := 0; ; yyj3882++ { - if yyhl3882 { - if yyj3882 >= l { + var yys3873Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3873Slc + var yyhl3873 bool = l >= 0 + for yyj3873 := 0; ; yyj3873++ { + if yyhl3873 { + if yyj3873 >= l { break } } else { @@ -48762,10 +48680,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3882Slc = r.DecodeBytes(yys3882Slc, true, true) - yys3882 := string(yys3882Slc) + yys3873Slc = r.DecodeBytes(yys3873Slc, true, true) + yys3873 := string(yys3873Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3882 { + switch yys3873 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -48779,9 +48697,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3882) - } // end switch yys3882 - } // end for yyj3882 + z.DecStructFieldNotFound(-1, yys3873) + } // end switch yys3873 + } // end for yyj3873 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48789,16 +48707,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3885 int - var yyb3885 bool - var yyhl3885 bool = l >= 0 - yyj3885++ - if yyhl3885 { - yyb3885 = yyj3885 > l + var yyj3876 int + var yyb3876 bool + var yyhl3876 bool = l >= 0 + yyj3876++ + if yyhl3876 { + yyb3876 = yyj3876 > l } else { - yyb3885 = r.CheckBreak() + yyb3876 = r.CheckBreak() } - if yyb3885 { + if yyb3876 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48808,13 +48726,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj3885++ - if yyhl3885 { - yyb3885 = yyj3885 > l + yyj3876++ + if yyhl3876 { + yyb3876 = yyj3876 > l } else { - yyb3885 = r.CheckBreak() + yyb3876 = r.CheckBreak() } - if yyb3885 { + if yyb3876 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48825,17 +48743,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj3885++ - if yyhl3885 { - yyb3885 = yyj3885 > l + yyj3876++ + if yyhl3876 { + yyb3876 = yyj3876 > l } else { - yyb3885 = r.CheckBreak() + yyb3876 = r.CheckBreak() } - if yyb3885 { + if yyb3876 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3885-1, "") + z.DecStructFieldNotFound(yyj3876-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48847,43 +48765,43 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3888 := z.EncBinary() - _ = yym3888 + yym3879 := z.EncBinary() + _ = yym3879 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3889 := !z.EncBinary() - yy2arr3889 := z.EncBasicHandle().StructToArray - var yyq3889 [11]bool - _, _, _ = yysep3889, yyq3889, yy2arr3889 - const yyr3889 bool = false - yyq3889[0] = x.Kind != "" - yyq3889[1] = x.APIVersion != "" - yyq3889[4] = x.Reason != "" - yyq3889[5] = x.Message != "" - yyq3889[6] = true - yyq3889[7] = true - yyq3889[8] = true - yyq3889[9] = x.Count != 0 - yyq3889[10] = x.Type != "" - var yynn3889 int - if yyr3889 || yy2arr3889 { + yysep3880 := !z.EncBinary() + yy2arr3880 := z.EncBasicHandle().StructToArray + var yyq3880 [11]bool + _, _, _ = yysep3880, yyq3880, yy2arr3880 + const yyr3880 bool = false + yyq3880[0] = x.Kind != "" + yyq3880[1] = x.APIVersion != "" + yyq3880[4] = x.Reason != "" + yyq3880[5] = x.Message != "" + yyq3880[6] = true + yyq3880[7] = true + yyq3880[8] = true + yyq3880[9] = x.Count != 0 + yyq3880[10] = x.Type != "" + var yynn3880 int + if yyr3880 || yy2arr3880 { r.EncodeArrayStart(11) } else { - yynn3889 = 2 - for _, b := range yyq3889 { + yynn3880 = 2 + for _, b := range yyq3880 { if b { - yynn3889++ + yynn3880++ } } - r.EncodeMapStart(yynn3889) - yynn3889 = 0 + r.EncodeMapStart(yynn3880) + yynn3880 = 0 } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[0] { - yym3891 := z.EncBinary() - _ = yym3891 + if yyq3880[0] { + yym3882 := z.EncBinary() + _ = yym3882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48892,23 +48810,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3889[0] { + if yyq3880[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3892 := z.EncBinary() - _ = yym3892 + yym3883 := z.EncBinary() + _ = yym3883 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[1] { - yym3894 := z.EncBinary() - _ = yym3894 + if yyq3880[1] { + yym3885 := z.EncBinary() + _ = yym3885 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48917,70 +48835,70 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3889[1] { + if yyq3880[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3886 := z.EncBinary() + _ = yym3886 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3880 || yy2arr3880 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3888 := &x.ObjectMeta + yy3888.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3889 := &x.ObjectMeta + yy3889.CodecEncodeSelf(e) + } + if yyr3880 || yy2arr3880 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3891 := &x.InvolvedObject + yy3891.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3892 := &x.InvolvedObject + yy3892.CodecEncodeSelf(e) + } + if yyr3880 || yy2arr3880 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3880[4] { + yym3894 := z.EncBinary() + _ = yym3894 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3880[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3895 := z.EncBinary() _ = yym3895 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3889 || yy2arr3889 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3897 := &x.ObjectMeta - yy3897.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3898 := &x.ObjectMeta - yy3898.CodecEncodeSelf(e) - } - if yyr3889 || yy2arr3889 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3900 := &x.InvolvedObject - yy3900.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3901 := &x.InvolvedObject - yy3901.CodecEncodeSelf(e) - } - if yyr3889 || yy2arr3889 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[4] { - yym3903 := z.EncBinary() - _ = yym3903 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3889[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3904 := z.EncBinary() - _ = yym3904 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[5] { - yym3906 := z.EncBinary() - _ = yym3906 + if yyq3880[5] { + yym3897 := z.EncBinary() + _ = yym3897 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -48989,114 +48907,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3889[5] { + if yyq3880[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3907 := z.EncBinary() - _ = yym3907 + yym3898 := z.EncBinary() + _ = yym3898 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[6] { - yy3909 := &x.Source - yy3909.CodecEncodeSelf(e) + if yyq3880[6] { + yy3900 := &x.Source + yy3900.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3889[6] { + if yyq3880[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3910 := &x.Source - yy3910.CodecEncodeSelf(e) + yy3901 := &x.Source + yy3901.CodecEncodeSelf(e) } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[7] { - yy3912 := &x.FirstTimestamp - yym3913 := z.EncBinary() - _ = yym3913 + if yyq3880[7] { + yy3903 := &x.FirstTimestamp + yym3904 := z.EncBinary() + _ = yym3904 if false { - } else if z.HasExtensions() && z.EncExt(yy3912) { - } else if yym3913 { - z.EncBinaryMarshal(yy3912) - } else if !yym3913 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3912) + } else if z.HasExtensions() && z.EncExt(yy3903) { + } else if yym3904 { + z.EncBinaryMarshal(yy3903) + } else if !yym3904 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3903) } else { - z.EncFallback(yy3912) + z.EncFallback(yy3903) } } else { r.EncodeNil() } } else { - if yyq3889[7] { + if yyq3880[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3914 := &x.FirstTimestamp - yym3915 := z.EncBinary() - _ = yym3915 + yy3905 := &x.FirstTimestamp + yym3906 := z.EncBinary() + _ = yym3906 if false { - } else if z.HasExtensions() && z.EncExt(yy3914) { - } else if yym3915 { - z.EncBinaryMarshal(yy3914) - } else if !yym3915 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3914) + } else if z.HasExtensions() && z.EncExt(yy3905) { + } else if yym3906 { + z.EncBinaryMarshal(yy3905) + } else if !yym3906 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3905) } else { - z.EncFallback(yy3914) + z.EncFallback(yy3905) } } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[8] { - yy3917 := &x.LastTimestamp - yym3918 := z.EncBinary() - _ = yym3918 + if yyq3880[8] { + yy3908 := &x.LastTimestamp + yym3909 := z.EncBinary() + _ = yym3909 if false { - } else if z.HasExtensions() && z.EncExt(yy3917) { - } else if yym3918 { - z.EncBinaryMarshal(yy3917) - } else if !yym3918 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3917) + } else if z.HasExtensions() && z.EncExt(yy3908) { + } else if yym3909 { + z.EncBinaryMarshal(yy3908) + } else if !yym3909 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3908) } else { - z.EncFallback(yy3917) + z.EncFallback(yy3908) } } else { r.EncodeNil() } } else { - if yyq3889[8] { + if yyq3880[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3919 := &x.LastTimestamp - yym3920 := z.EncBinary() - _ = yym3920 + yy3910 := &x.LastTimestamp + yym3911 := z.EncBinary() + _ = yym3911 if false { - } else if z.HasExtensions() && z.EncExt(yy3919) { - } else if yym3920 { - z.EncBinaryMarshal(yy3919) - } else if !yym3920 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3919) + } else if z.HasExtensions() && z.EncExt(yy3910) { + } else if yym3911 { + z.EncBinaryMarshal(yy3910) + } else if !yym3911 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3910) } else { - z.EncFallback(yy3919) + z.EncFallback(yy3910) } } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[9] { - yym3922 := z.EncBinary() - _ = yym3922 + if yyq3880[9] { + yym3913 := z.EncBinary() + _ = yym3913 if false { } else { r.EncodeInt(int64(x.Count)) @@ -49105,23 +49023,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3889[9] { + if yyq3880[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3923 := z.EncBinary() - _ = yym3923 + yym3914 := z.EncBinary() + _ = yym3914 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3889[10] { - yym3925 := z.EncBinary() - _ = yym3925 + if yyq3880[10] { + yym3916 := z.EncBinary() + _ = yym3916 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -49130,19 +49048,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3889[10] { + if yyq3880[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3926 := z.EncBinary() - _ = yym3926 + yym3917 := z.EncBinary() + _ = yym3917 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3889 || yy2arr3889 { + if yyr3880 || yy2arr3880 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49155,25 +49073,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3927 := z.DecBinary() - _ = yym3927 + yym3918 := z.DecBinary() + _ = yym3918 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3928 := r.ContainerType() - if yyct3928 == codecSelferValueTypeMap1234 { - yyl3928 := r.ReadMapStart() - if yyl3928 == 0 { + yyct3919 := r.ContainerType() + if yyct3919 == codecSelferValueTypeMap1234 { + yyl3919 := r.ReadMapStart() + if yyl3919 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3928, d) + x.codecDecodeSelfFromMap(yyl3919, d) } - } else if yyct3928 == codecSelferValueTypeArray1234 { - yyl3928 := r.ReadArrayStart() - if yyl3928 == 0 { + } else if yyct3919 == codecSelferValueTypeArray1234 { + yyl3919 := r.ReadArrayStart() + if yyl3919 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3928, d) + x.codecDecodeSelfFromArray(yyl3919, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49185,12 +49103,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3929Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3929Slc - var yyhl3929 bool = l >= 0 - for yyj3929 := 0; ; yyj3929++ { - if yyhl3929 { - if yyj3929 >= l { + var yys3920Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3920Slc + var yyhl3920 bool = l >= 0 + for yyj3920 := 0; ; yyj3920++ { + if yyhl3920 { + if yyj3920 >= l { break } } else { @@ -49199,10 +49117,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3929Slc = r.DecodeBytes(yys3929Slc, true, true) - yys3929 := string(yys3929Slc) + yys3920Slc = r.DecodeBytes(yys3920Slc, true, true) + yys3920 := string(yys3920Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3929 { + switch yys3920 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49219,15 +49137,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3932 := &x.ObjectMeta - yyv3932.CodecDecodeSelf(d) + yyv3923 := &x.ObjectMeta + yyv3923.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3933 := &x.InvolvedObject - yyv3933.CodecDecodeSelf(d) + yyv3924 := &x.InvolvedObject + yyv3924.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -49245,41 +49163,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3936 := &x.Source - yyv3936.CodecDecodeSelf(d) + yyv3927 := &x.Source + yyv3927.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3937 := &x.FirstTimestamp - yym3938 := z.DecBinary() - _ = yym3938 + yyv3928 := &x.FirstTimestamp + yym3929 := z.DecBinary() + _ = yym3929 if false { - } else if z.HasExtensions() && z.DecExt(yyv3937) { - } else if yym3938 { - z.DecBinaryUnmarshal(yyv3937) - } else if !yym3938 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3937) + } else if z.HasExtensions() && z.DecExt(yyv3928) { + } else if yym3929 { + z.DecBinaryUnmarshal(yyv3928) + } else if !yym3929 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3928) } else { - z.DecFallback(yyv3937, false) + z.DecFallback(yyv3928, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3939 := &x.LastTimestamp - yym3940 := z.DecBinary() - _ = yym3940 + yyv3930 := &x.LastTimestamp + yym3931 := z.DecBinary() + _ = yym3931 if false { - } else if z.HasExtensions() && z.DecExt(yyv3939) { - } else if yym3940 { - z.DecBinaryUnmarshal(yyv3939) - } else if !yym3940 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3939) + } else if z.HasExtensions() && z.DecExt(yyv3930) { + } else if yym3931 { + z.DecBinaryUnmarshal(yyv3930) + } else if !yym3931 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3930) } else { - z.DecFallback(yyv3939, false) + z.DecFallback(yyv3930, false) } } case "count": @@ -49295,9 +49213,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3929) - } // end switch yys3929 - } // end for yyj3929 + z.DecStructFieldNotFound(-1, yys3920) + } // end switch yys3920 + } // end for yyj3920 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49305,16 +49223,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3943 int - var yyb3943 bool - var yyhl3943 bool = l >= 0 - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + var yyj3934 int + var yyb3934 bool + var yyhl3934 bool = l >= 0 + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49324,13 +49242,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49340,13 +49258,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49354,16 +49272,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3946 := &x.ObjectMeta - yyv3946.CodecDecodeSelf(d) + yyv3937 := &x.ObjectMeta + yyv3937.CodecDecodeSelf(d) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49371,16 +49289,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3947 := &x.InvolvedObject - yyv3947.CodecDecodeSelf(d) + yyv3938 := &x.InvolvedObject + yyv3938.CodecDecodeSelf(d) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49390,13 +49308,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49406,13 +49324,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49420,16 +49338,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3950 := &x.Source - yyv3950.CodecDecodeSelf(d) + yyv3941 := &x.Source + yyv3941.CodecDecodeSelf(d) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49437,26 +49355,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3951 := &x.FirstTimestamp - yym3952 := z.DecBinary() - _ = yym3952 + yyv3942 := &x.FirstTimestamp + yym3943 := z.DecBinary() + _ = yym3943 if false { - } else if z.HasExtensions() && z.DecExt(yyv3951) { - } else if yym3952 { - z.DecBinaryUnmarshal(yyv3951) - } else if !yym3952 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3951) + } else if z.HasExtensions() && z.DecExt(yyv3942) { + } else if yym3943 { + z.DecBinaryUnmarshal(yyv3942) + } else if !yym3943 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3942) } else { - z.DecFallback(yyv3951, false) + z.DecFallback(yyv3942, false) } } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49464,26 +49382,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3953 := &x.LastTimestamp - yym3954 := z.DecBinary() - _ = yym3954 + yyv3944 := &x.LastTimestamp + yym3945 := z.DecBinary() + _ = yym3945 if false { - } else if z.HasExtensions() && z.DecExt(yyv3953) { - } else if yym3954 { - z.DecBinaryUnmarshal(yyv3953) - } else if !yym3954 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3953) + } else if z.HasExtensions() && z.DecExt(yyv3944) { + } else if yym3945 { + z.DecBinaryUnmarshal(yyv3944) + } else if !yym3945 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3944) } else { - z.DecFallback(yyv3953, false) + z.DecFallback(yyv3944, false) } } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49493,13 +49411,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int32(r.DecodeInt(32)) } - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49510,17 +49428,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj3943++ - if yyhl3943 { - yyb3943 = yyj3943 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb3943 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb3943 { + if yyb3934 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3943-1, "") + z.DecStructFieldNotFound(yyj3934-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49532,37 +49450,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3957 := z.EncBinary() - _ = yym3957 + yym3948 := z.EncBinary() + _ = yym3948 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3958 := !z.EncBinary() - yy2arr3958 := z.EncBasicHandle().StructToArray - var yyq3958 [4]bool - _, _, _ = yysep3958, yyq3958, yy2arr3958 - const yyr3958 bool = false - yyq3958[0] = x.Kind != "" - yyq3958[1] = x.APIVersion != "" - yyq3958[2] = true - var yynn3958 int - if yyr3958 || yy2arr3958 { + yysep3949 := !z.EncBinary() + yy2arr3949 := z.EncBasicHandle().StructToArray + var yyq3949 [4]bool + _, _, _ = yysep3949, yyq3949, yy2arr3949 + const yyr3949 bool = false + yyq3949[0] = x.Kind != "" + yyq3949[1] = x.APIVersion != "" + yyq3949[2] = true + var yynn3949 int + if yyr3949 || yy2arr3949 { r.EncodeArrayStart(4) } else { - yynn3958 = 1 - for _, b := range yyq3958 { + yynn3949 = 1 + for _, b := range yyq3949 { if b { - yynn3958++ + yynn3949++ } } - r.EncodeMapStart(yynn3958) - yynn3958 = 0 + r.EncodeMapStart(yynn3949) + yynn3949 = 0 } - if yyr3958 || yy2arr3958 { + if yyr3949 || yy2arr3949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3958[0] { - yym3960 := z.EncBinary() - _ = yym3960 + if yyq3949[0] { + yym3951 := z.EncBinary() + _ = yym3951 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49571,23 +49489,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3958[0] { + if yyq3949[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3961 := z.EncBinary() - _ = yym3961 + yym3952 := z.EncBinary() + _ = yym3952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3958 || yy2arr3958 { + if yyr3949 || yy2arr3949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3958[1] { - yym3963 := z.EncBinary() - _ = yym3963 + if yyq3949[1] { + yym3954 := z.EncBinary() + _ = yym3954 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49596,54 +49514,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3958[1] { + if yyq3949[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3964 := z.EncBinary() - _ = yym3964 + yym3955 := z.EncBinary() + _ = yym3955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3958 || yy2arr3958 { + if yyr3949 || yy2arr3949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3958[2] { - yy3966 := &x.ListMeta - yym3967 := z.EncBinary() - _ = yym3967 + if yyq3949[2] { + yy3957 := &x.ListMeta + yym3958 := z.EncBinary() + _ = yym3958 if false { - } else if z.HasExtensions() && z.EncExt(yy3966) { + } else if z.HasExtensions() && z.EncExt(yy3957) { } else { - z.EncFallback(yy3966) + z.EncFallback(yy3957) } } else { r.EncodeNil() } } else { - if yyq3958[2] { + if yyq3949[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3968 := &x.ListMeta - yym3969 := z.EncBinary() - _ = yym3969 + yy3959 := &x.ListMeta + yym3960 := z.EncBinary() + _ = yym3960 if false { - } else if z.HasExtensions() && z.EncExt(yy3968) { + } else if z.HasExtensions() && z.EncExt(yy3959) { } else { - z.EncFallback(yy3968) + z.EncFallback(yy3959) } } } - if yyr3958 || yy2arr3958 { + if yyr3949 || yy2arr3949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3971 := z.EncBinary() - _ = yym3971 + yym3962 := z.EncBinary() + _ = yym3962 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -49656,15 +49574,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3972 := z.EncBinary() - _ = yym3972 + yym3963 := z.EncBinary() + _ = yym3963 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3958 || yy2arr3958 { + if yyr3949 || yy2arr3949 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49677,25 +49595,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3973 := z.DecBinary() - _ = yym3973 + yym3964 := z.DecBinary() + _ = yym3964 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3974 := r.ContainerType() - if yyct3974 == codecSelferValueTypeMap1234 { - yyl3974 := r.ReadMapStart() - if yyl3974 == 0 { + yyct3965 := r.ContainerType() + if yyct3965 == codecSelferValueTypeMap1234 { + yyl3965 := r.ReadMapStart() + if yyl3965 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3974, d) + x.codecDecodeSelfFromMap(yyl3965, d) } - } else if yyct3974 == codecSelferValueTypeArray1234 { - yyl3974 := r.ReadArrayStart() - if yyl3974 == 0 { + } else if yyct3965 == codecSelferValueTypeArray1234 { + yyl3965 := r.ReadArrayStart() + if yyl3965 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3974, d) + x.codecDecodeSelfFromArray(yyl3965, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49707,12 +49625,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3975Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3975Slc - var yyhl3975 bool = l >= 0 - for yyj3975 := 0; ; yyj3975++ { - if yyhl3975 { - if yyj3975 >= l { + var yys3966Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3966Slc + var yyhl3966 bool = l >= 0 + for yyj3966 := 0; ; yyj3966++ { + if yyhl3966 { + if yyj3966 >= l { break } } else { @@ -49721,10 +49639,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3975Slc = r.DecodeBytes(yys3975Slc, true, true) - yys3975 := string(yys3975Slc) + yys3966Slc = r.DecodeBytes(yys3966Slc, true, true) + yys3966 := string(yys3966Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3975 { + switch yys3966 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49741,31 +49659,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3978 := &x.ListMeta - yym3979 := z.DecBinary() - _ = yym3979 + yyv3969 := &x.ListMeta + yym3970 := z.DecBinary() + _ = yym3970 if false { - } else if z.HasExtensions() && z.DecExt(yyv3978) { + } else if z.HasExtensions() && z.DecExt(yyv3969) { } else { - z.DecFallback(yyv3978, false) + z.DecFallback(yyv3969, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3980 := &x.Items - yym3981 := z.DecBinary() - _ = yym3981 + yyv3971 := &x.Items + yym3972 := z.DecBinary() + _ = yym3972 if false { } else { - h.decSliceEvent((*[]Event)(yyv3980), d) + h.decSliceEvent((*[]Event)(yyv3971), d) } } default: - z.DecStructFieldNotFound(-1, yys3975) - } // end switch yys3975 - } // end for yyj3975 + z.DecStructFieldNotFound(-1, yys3966) + } // end switch yys3966 + } // end for yyj3966 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49773,16 +49691,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3982 int - var yyb3982 bool - var yyhl3982 bool = l >= 0 - yyj3982++ - if yyhl3982 { - yyb3982 = yyj3982 > l + var yyj3973 int + var yyb3973 bool + var yyhl3973 bool = l >= 0 + yyj3973++ + if yyhl3973 { + yyb3973 = yyj3973 > l } else { - yyb3982 = r.CheckBreak() + yyb3973 = r.CheckBreak() } - if yyb3982 { + if yyb3973 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49792,13 +49710,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3982++ - if yyhl3982 { - yyb3982 = yyj3982 > l + yyj3973++ + if yyhl3973 { + yyb3973 = yyj3973 > l } else { - yyb3982 = r.CheckBreak() + yyb3973 = r.CheckBreak() } - if yyb3982 { + if yyb3973 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49808,13 +49726,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3982++ - if yyhl3982 { - yyb3982 = yyj3982 > l + yyj3973++ + if yyhl3973 { + yyb3973 = yyj3973 > l } else { - yyb3982 = r.CheckBreak() + yyb3973 = r.CheckBreak() } - if yyb3982 { + if yyb3973 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49822,22 +49740,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3985 := &x.ListMeta - yym3986 := z.DecBinary() - _ = yym3986 + yyv3976 := &x.ListMeta + yym3977 := z.DecBinary() + _ = yym3977 if false { - } else if z.HasExtensions() && z.DecExt(yyv3985) { + } else if z.HasExtensions() && z.DecExt(yyv3976) { } else { - z.DecFallback(yyv3985, false) + z.DecFallback(yyv3976, false) } } - yyj3982++ - if yyhl3982 { - yyb3982 = yyj3982 > l + yyj3973++ + if yyhl3973 { + yyb3973 = yyj3973 > l } else { - yyb3982 = r.CheckBreak() + yyb3973 = r.CheckBreak() } - if yyb3982 { + if yyb3973 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49845,26 +49763,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3987 := &x.Items - yym3988 := z.DecBinary() - _ = yym3988 + yyv3978 := &x.Items + yym3979 := z.DecBinary() + _ = yym3979 if false { } else { - h.decSliceEvent((*[]Event)(yyv3987), d) + h.decSliceEvent((*[]Event)(yyv3978), d) } } for { - yyj3982++ - if yyhl3982 { - yyb3982 = yyj3982 > l + yyj3973++ + if yyhl3973 { + yyb3973 = yyj3973 > l } else { - yyb3982 = r.CheckBreak() + yyb3973 = r.CheckBreak() } - if yyb3982 { + if yyb3973 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3982-1, "") + z.DecStructFieldNotFound(yyj3973-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49876,37 +49794,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3989 := z.EncBinary() - _ = yym3989 + yym3980 := z.EncBinary() + _ = yym3980 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3990 := !z.EncBinary() - yy2arr3990 := z.EncBasicHandle().StructToArray - var yyq3990 [4]bool - _, _, _ = yysep3990, yyq3990, yy2arr3990 - const yyr3990 bool = false - yyq3990[0] = x.Kind != "" - yyq3990[1] = x.APIVersion != "" - yyq3990[2] = true - var yynn3990 int - if yyr3990 || yy2arr3990 { + yysep3981 := !z.EncBinary() + yy2arr3981 := z.EncBasicHandle().StructToArray + var yyq3981 [4]bool + _, _, _ = yysep3981, yyq3981, yy2arr3981 + const yyr3981 bool = false + yyq3981[0] = x.Kind != "" + yyq3981[1] = x.APIVersion != "" + yyq3981[2] = true + var yynn3981 int + if yyr3981 || yy2arr3981 { r.EncodeArrayStart(4) } else { - yynn3990 = 1 - for _, b := range yyq3990 { + yynn3981 = 1 + for _, b := range yyq3981 { if b { - yynn3990++ + yynn3981++ } } - r.EncodeMapStart(yynn3990) - yynn3990 = 0 + r.EncodeMapStart(yynn3981) + yynn3981 = 0 } - if yyr3990 || yy2arr3990 { + if yyr3981 || yy2arr3981 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3990[0] { - yym3992 := z.EncBinary() - _ = yym3992 + if yyq3981[0] { + yym3983 := z.EncBinary() + _ = yym3983 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49915,23 +49833,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3990[0] { + if yyq3981[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3993 := z.EncBinary() - _ = yym3993 + yym3984 := z.EncBinary() + _ = yym3984 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3990 || yy2arr3990 { + if yyr3981 || yy2arr3981 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3990[1] { - yym3995 := z.EncBinary() - _ = yym3995 + if yyq3981[1] { + yym3986 := z.EncBinary() + _ = yym3986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49940,54 +49858,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3990[1] { + if yyq3981[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3996 := z.EncBinary() - _ = yym3996 + yym3987 := z.EncBinary() + _ = yym3987 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3990 || yy2arr3990 { + if yyr3981 || yy2arr3981 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3990[2] { - yy3998 := &x.ListMeta - yym3999 := z.EncBinary() - _ = yym3999 + if yyq3981[2] { + yy3989 := &x.ListMeta + yym3990 := z.EncBinary() + _ = yym3990 if false { - } else if z.HasExtensions() && z.EncExt(yy3998) { + } else if z.HasExtensions() && z.EncExt(yy3989) { } else { - z.EncFallback(yy3998) + z.EncFallback(yy3989) } } else { r.EncodeNil() } } else { - if yyq3990[2] { + if yyq3981[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4000 := &x.ListMeta - yym4001 := z.EncBinary() - _ = yym4001 + yy3991 := &x.ListMeta + yym3992 := z.EncBinary() + _ = yym3992 if false { - } else if z.HasExtensions() && z.EncExt(yy4000) { + } else if z.HasExtensions() && z.EncExt(yy3991) { } else { - z.EncFallback(yy4000) + z.EncFallback(yy3991) } } } - if yyr3990 || yy2arr3990 { + if yyr3981 || yy2arr3981 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4003 := z.EncBinary() - _ = yym4003 + yym3994 := z.EncBinary() + _ = yym3994 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) @@ -50000,15 +49918,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4004 := z.EncBinary() - _ = yym4004 + yym3995 := z.EncBinary() + _ = yym3995 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) } } } - if yyr3990 || yy2arr3990 { + if yyr3981 || yy2arr3981 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50021,25 +49939,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4005 := z.DecBinary() - _ = yym4005 + yym3996 := z.DecBinary() + _ = yym3996 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4006 := r.ContainerType() - if yyct4006 == codecSelferValueTypeMap1234 { - yyl4006 := r.ReadMapStart() - if yyl4006 == 0 { + yyct3997 := r.ContainerType() + if yyct3997 == codecSelferValueTypeMap1234 { + yyl3997 := r.ReadMapStart() + if yyl3997 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4006, d) + x.codecDecodeSelfFromMap(yyl3997, d) } - } else if yyct4006 == codecSelferValueTypeArray1234 { - yyl4006 := r.ReadArrayStart() - if yyl4006 == 0 { + } else if yyct3997 == codecSelferValueTypeArray1234 { + yyl3997 := r.ReadArrayStart() + if yyl3997 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4006, d) + x.codecDecodeSelfFromArray(yyl3997, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50051,12 +49969,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4007Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4007Slc - var yyhl4007 bool = l >= 0 - for yyj4007 := 0; ; yyj4007++ { - if yyhl4007 { - if yyj4007 >= l { + var yys3998Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3998Slc + var yyhl3998 bool = l >= 0 + for yyj3998 := 0; ; yyj3998++ { + if yyhl3998 { + if yyj3998 >= l { break } } else { @@ -50065,10 +49983,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4007Slc = r.DecodeBytes(yys4007Slc, true, true) - yys4007 := string(yys4007Slc) + yys3998Slc = r.DecodeBytes(yys3998Slc, true, true) + yys3998 := string(yys3998Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4007 { + switch yys3998 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50085,31 +50003,31 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4010 := &x.ListMeta - yym4011 := z.DecBinary() - _ = yym4011 + yyv4001 := &x.ListMeta + yym4002 := z.DecBinary() + _ = yym4002 if false { - } else if z.HasExtensions() && z.DecExt(yyv4010) { + } else if z.HasExtensions() && z.DecExt(yyv4001) { } else { - z.DecFallback(yyv4010, false) + z.DecFallback(yyv4001, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4012 := &x.Items - yym4013 := z.DecBinary() - _ = yym4013 + yyv4003 := &x.Items + yym4004 := z.DecBinary() + _ = yym4004 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv4012), d) + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv4003), d) } } default: - z.DecStructFieldNotFound(-1, yys4007) - } // end switch yys4007 - } // end for yyj4007 + z.DecStructFieldNotFound(-1, yys3998) + } // end switch yys3998 + } // end for yyj3998 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50117,16 +50035,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4014 int - var yyb4014 bool - var yyhl4014 bool = l >= 0 - yyj4014++ - if yyhl4014 { - yyb4014 = yyj4014 > l + var yyj4005 int + var yyb4005 bool + var yyhl4005 bool = l >= 0 + yyj4005++ + if yyhl4005 { + yyb4005 = yyj4005 > l } else { - yyb4014 = r.CheckBreak() + yyb4005 = r.CheckBreak() } - if yyb4014 { + if yyb4005 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50136,13 +50054,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4014++ - if yyhl4014 { - yyb4014 = yyj4014 > l + yyj4005++ + if yyhl4005 { + yyb4005 = yyj4005 > l } else { - yyb4014 = r.CheckBreak() + yyb4005 = r.CheckBreak() } - if yyb4014 { + if yyb4005 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50152,13 +50070,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4014++ - if yyhl4014 { - yyb4014 = yyj4014 > l + yyj4005++ + if yyhl4005 { + yyb4005 = yyj4005 > l } else { - yyb4014 = r.CheckBreak() + yyb4005 = r.CheckBreak() } - if yyb4014 { + if yyb4005 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50166,22 +50084,22 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4017 := &x.ListMeta - yym4018 := z.DecBinary() - _ = yym4018 + yyv4008 := &x.ListMeta + yym4009 := z.DecBinary() + _ = yym4009 if false { - } else if z.HasExtensions() && z.DecExt(yyv4017) { + } else if z.HasExtensions() && z.DecExt(yyv4008) { } else { - z.DecFallback(yyv4017, false) + z.DecFallback(yyv4008, false) } } - yyj4014++ - if yyhl4014 { - yyb4014 = yyj4014 > l + yyj4005++ + if yyhl4005 { + yyb4005 = yyj4005 > l } else { - yyb4014 = r.CheckBreak() + yyb4005 = r.CheckBreak() } - if yyb4014 { + if yyb4005 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50189,26 +50107,26 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4019 := &x.Items - yym4020 := z.DecBinary() - _ = yym4020 + yyv4010 := &x.Items + yym4011 := z.DecBinary() + _ = yym4011 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv4019), d) + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv4010), d) } } for { - yyj4014++ - if yyhl4014 { - yyb4014 = yyj4014 > l + yyj4005++ + if yyhl4005 { + yyb4005 = yyj4005 > l } else { - yyb4014 = r.CheckBreak() + yyb4005 = r.CheckBreak() } - if yyb4014 { + if yyb4005 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4014-1, "") + z.DecStructFieldNotFound(yyj4005-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50217,8 +50135,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4021 := z.EncBinary() - _ = yym4021 + yym4012 := z.EncBinary() + _ = yym4012 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -50230,8 +50148,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4022 := z.DecBinary() - _ = yym4022 + yym4013 := z.DecBinary() + _ = yym4013 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -50246,53 +50164,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4023 := z.EncBinary() - _ = yym4023 + yym4014 := z.EncBinary() + _ = yym4014 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4024 := !z.EncBinary() - yy2arr4024 := z.EncBasicHandle().StructToArray - var yyq4024 [6]bool - _, _, _ = yysep4024, yyq4024, yy2arr4024 - const yyr4024 bool = false - yyq4024[0] = x.Type != "" - yyq4024[1] = len(x.Max) != 0 - yyq4024[2] = len(x.Min) != 0 - yyq4024[3] = len(x.Default) != 0 - yyq4024[4] = len(x.DefaultRequest) != 0 - yyq4024[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn4024 int - if yyr4024 || yy2arr4024 { + yysep4015 := !z.EncBinary() + yy2arr4015 := z.EncBasicHandle().StructToArray + var yyq4015 [6]bool + _, _, _ = yysep4015, yyq4015, yy2arr4015 + const yyr4015 bool = false + yyq4015[0] = x.Type != "" + yyq4015[1] = len(x.Max) != 0 + yyq4015[2] = len(x.Min) != 0 + yyq4015[3] = len(x.Default) != 0 + yyq4015[4] = len(x.DefaultRequest) != 0 + yyq4015[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn4015 int + if yyr4015 || yy2arr4015 { r.EncodeArrayStart(6) } else { - yynn4024 = 0 - for _, b := range yyq4024 { + yynn4015 = 0 + for _, b := range yyq4015 { if b { - yynn4024++ + yynn4015++ } } - r.EncodeMapStart(yynn4024) - yynn4024 = 0 + r.EncodeMapStart(yynn4015) + yynn4015 = 0 } - if yyr4024 || yy2arr4024 { + if yyr4015 || yy2arr4015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4024[0] { + if yyq4015[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4024[0] { + if yyq4015[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr4024 || yy2arr4024 { + if yyr4015 || yy2arr4015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4024[1] { + if yyq4015[1] { if x.Max == nil { r.EncodeNil() } else { @@ -50302,7 +50220,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4024[1] { + if yyq4015[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50313,9 +50231,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4024 || yy2arr4024 { + if yyr4015 || yy2arr4015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4024[2] { + if yyq4015[2] { if x.Min == nil { r.EncodeNil() } else { @@ -50325,7 +50243,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4024[2] { + if yyq4015[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50336,9 +50254,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4024 || yy2arr4024 { + if yyr4015 || yy2arr4015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4024[3] { + if yyq4015[3] { if x.Default == nil { r.EncodeNil() } else { @@ -50348,7 +50266,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4024[3] { + if yyq4015[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50359,9 +50277,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4024 || yy2arr4024 { + if yyr4015 || yy2arr4015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4024[4] { + if yyq4015[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -50371,7 +50289,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4024[4] { + if yyq4015[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50382,9 +50300,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4024 || yy2arr4024 { + if yyr4015 || yy2arr4015 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4024[5] { + if yyq4015[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -50394,7 +50312,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4024[5] { + if yyq4015[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50405,7 +50323,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4024 || yy2arr4024 { + if yyr4015 || yy2arr4015 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50418,25 +50336,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4031 := z.DecBinary() - _ = yym4031 + yym4022 := z.DecBinary() + _ = yym4022 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4032 := r.ContainerType() - if yyct4032 == codecSelferValueTypeMap1234 { - yyl4032 := r.ReadMapStart() - if yyl4032 == 0 { + yyct4023 := r.ContainerType() + if yyct4023 == codecSelferValueTypeMap1234 { + yyl4023 := r.ReadMapStart() + if yyl4023 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4032, d) + x.codecDecodeSelfFromMap(yyl4023, d) } - } else if yyct4032 == codecSelferValueTypeArray1234 { - yyl4032 := r.ReadArrayStart() - if yyl4032 == 0 { + } else if yyct4023 == codecSelferValueTypeArray1234 { + yyl4023 := r.ReadArrayStart() + if yyl4023 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4032, d) + x.codecDecodeSelfFromArray(yyl4023, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50448,12 +50366,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4033Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4033Slc - var yyhl4033 bool = l >= 0 - for yyj4033 := 0; ; yyj4033++ { - if yyhl4033 { - if yyj4033 >= l { + var yys4024Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4024Slc + var yyhl4024 bool = l >= 0 + for yyj4024 := 0; ; yyj4024++ { + if yyhl4024 { + if yyj4024 >= l { break } } else { @@ -50462,10 +50380,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4033Slc = r.DecodeBytes(yys4033Slc, true, true) - yys4033 := string(yys4033Slc) + yys4024Slc = r.DecodeBytes(yys4024Slc, true, true) + yys4024 := string(yys4024Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4033 { + switch yys4024 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -50476,41 +50394,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4035 := &x.Max - yyv4035.CodecDecodeSelf(d) + yyv4026 := &x.Max + yyv4026.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4036 := &x.Min - yyv4036.CodecDecodeSelf(d) + yyv4027 := &x.Min + yyv4027.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4037 := &x.Default - yyv4037.CodecDecodeSelf(d) + yyv4028 := &x.Default + yyv4028.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4038 := &x.DefaultRequest - yyv4038.CodecDecodeSelf(d) + yyv4029 := &x.DefaultRequest + yyv4029.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4039 := &x.MaxLimitRequestRatio - yyv4039.CodecDecodeSelf(d) + yyv4030 := &x.MaxLimitRequestRatio + yyv4030.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4033) - } // end switch yys4033 - } // end for yyj4033 + z.DecStructFieldNotFound(-1, yys4024) + } // end switch yys4024 + } // end for yyj4024 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50518,16 +50436,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4040 int - var yyb4040 bool - var yyhl4040 bool = l >= 0 - yyj4040++ - if yyhl4040 { - yyb4040 = yyj4040 > l + var yyj4031 int + var yyb4031 bool + var yyhl4031 bool = l >= 0 + yyj4031++ + if yyhl4031 { + yyb4031 = yyj4031 > l } else { - yyb4040 = r.CheckBreak() + yyb4031 = r.CheckBreak() } - if yyb4040 { + if yyb4031 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50537,13 +50455,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj4040++ - if yyhl4040 { - yyb4040 = yyj4040 > l + yyj4031++ + if yyhl4031 { + yyb4031 = yyj4031 > l } else { - yyb4040 = r.CheckBreak() + yyb4031 = r.CheckBreak() } - if yyb4040 { + if yyb4031 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50551,16 +50469,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4042 := &x.Max - yyv4042.CodecDecodeSelf(d) + yyv4033 := &x.Max + yyv4033.CodecDecodeSelf(d) } - yyj4040++ - if yyhl4040 { - yyb4040 = yyj4040 > l + yyj4031++ + if yyhl4031 { + yyb4031 = yyj4031 > l } else { - yyb4040 = r.CheckBreak() + yyb4031 = r.CheckBreak() } - if yyb4040 { + if yyb4031 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50568,16 +50486,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4043 := &x.Min - yyv4043.CodecDecodeSelf(d) + yyv4034 := &x.Min + yyv4034.CodecDecodeSelf(d) } - yyj4040++ - if yyhl4040 { - yyb4040 = yyj4040 > l + yyj4031++ + if yyhl4031 { + yyb4031 = yyj4031 > l } else { - yyb4040 = r.CheckBreak() + yyb4031 = r.CheckBreak() } - if yyb4040 { + if yyb4031 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50585,16 +50503,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4044 := &x.Default - yyv4044.CodecDecodeSelf(d) + yyv4035 := &x.Default + yyv4035.CodecDecodeSelf(d) } - yyj4040++ - if yyhl4040 { - yyb4040 = yyj4040 > l + yyj4031++ + if yyhl4031 { + yyb4031 = yyj4031 > l } else { - yyb4040 = r.CheckBreak() + yyb4031 = r.CheckBreak() } - if yyb4040 { + if yyb4031 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50602,16 +50520,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4045 := &x.DefaultRequest - yyv4045.CodecDecodeSelf(d) + yyv4036 := &x.DefaultRequest + yyv4036.CodecDecodeSelf(d) } - yyj4040++ - if yyhl4040 { - yyb4040 = yyj4040 > l + yyj4031++ + if yyhl4031 { + yyb4031 = yyj4031 > l } else { - yyb4040 = r.CheckBreak() + yyb4031 = r.CheckBreak() } - if yyb4040 { + if yyb4031 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50619,21 +50537,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4046 := &x.MaxLimitRequestRatio - yyv4046.CodecDecodeSelf(d) + yyv4037 := &x.MaxLimitRequestRatio + yyv4037.CodecDecodeSelf(d) } for { - yyj4040++ - if yyhl4040 { - yyb4040 = yyj4040 > l + yyj4031++ + if yyhl4031 { + yyb4031 = yyj4031 > l } else { - yyb4040 = r.CheckBreak() + yyb4031 = r.CheckBreak() } - if yyb4040 { + if yyb4031 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4040-1, "") + z.DecStructFieldNotFound(yyj4031-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50645,36 +50563,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4047 := z.EncBinary() - _ = yym4047 + yym4038 := z.EncBinary() + _ = yym4038 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4048 := !z.EncBinary() - yy2arr4048 := z.EncBasicHandle().StructToArray - var yyq4048 [1]bool - _, _, _ = yysep4048, yyq4048, yy2arr4048 - const yyr4048 bool = false - var yynn4048 int - if yyr4048 || yy2arr4048 { + yysep4039 := !z.EncBinary() + yy2arr4039 := z.EncBasicHandle().StructToArray + var yyq4039 [1]bool + _, _, _ = yysep4039, yyq4039, yy2arr4039 + const yyr4039 bool = false + var yynn4039 int + if yyr4039 || yy2arr4039 { r.EncodeArrayStart(1) } else { - yynn4048 = 1 - for _, b := range yyq4048 { + yynn4039 = 1 + for _, b := range yyq4039 { if b { - yynn4048++ + yynn4039++ } } - r.EncodeMapStart(yynn4048) - yynn4048 = 0 + r.EncodeMapStart(yynn4039) + yynn4039 = 0 } - if yyr4048 || yy2arr4048 { + if yyr4039 || yy2arr4039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym4050 := z.EncBinary() - _ = yym4050 + yym4041 := z.EncBinary() + _ = yym4041 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -50687,15 +50605,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym4051 := z.EncBinary() - _ = yym4051 + yym4042 := z.EncBinary() + _ = yym4042 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr4048 || yy2arr4048 { + if yyr4039 || yy2arr4039 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50708,25 +50626,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4052 := z.DecBinary() - _ = yym4052 + yym4043 := z.DecBinary() + _ = yym4043 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4053 := r.ContainerType() - if yyct4053 == codecSelferValueTypeMap1234 { - yyl4053 := r.ReadMapStart() - if yyl4053 == 0 { + yyct4044 := r.ContainerType() + if yyct4044 == codecSelferValueTypeMap1234 { + yyl4044 := r.ReadMapStart() + if yyl4044 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4053, d) + x.codecDecodeSelfFromMap(yyl4044, d) } - } else if yyct4053 == codecSelferValueTypeArray1234 { - yyl4053 := r.ReadArrayStart() - if yyl4053 == 0 { + } else if yyct4044 == codecSelferValueTypeArray1234 { + yyl4044 := r.ReadArrayStart() + if yyl4044 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4053, d) + x.codecDecodeSelfFromArray(yyl4044, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50738,12 +50656,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4054Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4054Slc - var yyhl4054 bool = l >= 0 - for yyj4054 := 0; ; yyj4054++ { - if yyhl4054 { - if yyj4054 >= l { + var yys4045Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4045Slc + var yyhl4045 bool = l >= 0 + for yyj4045 := 0; ; yyj4045++ { + if yyhl4045 { + if yyj4045 >= l { break } } else { @@ -50752,26 +50670,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4054Slc = r.DecodeBytes(yys4054Slc, true, true) - yys4054 := string(yys4054Slc) + yys4045Slc = r.DecodeBytes(yys4045Slc, true, true) + yys4045 := string(yys4045Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4054 { + switch yys4045 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4055 := &x.Limits - yym4056 := z.DecBinary() - _ = yym4056 + yyv4046 := &x.Limits + yym4047 := z.DecBinary() + _ = yym4047 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4055), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4046), d) } } default: - z.DecStructFieldNotFound(-1, yys4054) - } // end switch yys4054 - } // end for yyj4054 + z.DecStructFieldNotFound(-1, yys4045) + } // end switch yys4045 + } // end for yyj4045 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50779,16 +50697,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4057 int - var yyb4057 bool - var yyhl4057 bool = l >= 0 - yyj4057++ - if yyhl4057 { - yyb4057 = yyj4057 > l + var yyj4048 int + var yyb4048 bool + var yyhl4048 bool = l >= 0 + yyj4048++ + if yyhl4048 { + yyb4048 = yyj4048 > l } else { - yyb4057 = r.CheckBreak() + yyb4048 = r.CheckBreak() } - if yyb4057 { + if yyb4048 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50796,26 +50714,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4058 := &x.Limits - yym4059 := z.DecBinary() - _ = yym4059 + yyv4049 := &x.Limits + yym4050 := z.DecBinary() + _ = yym4050 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4058), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4049), d) } } for { - yyj4057++ - if yyhl4057 { - yyb4057 = yyj4057 > l + yyj4048++ + if yyhl4048 { + yyb4048 = yyj4048 > l } else { - yyb4057 = r.CheckBreak() + yyb4048 = r.CheckBreak() } - if yyb4057 { + if yyb4048 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4057-1, "") + z.DecStructFieldNotFound(yyj4048-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50827,38 +50745,38 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4060 := z.EncBinary() - _ = yym4060 + yym4051 := z.EncBinary() + _ = yym4051 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4061 := !z.EncBinary() - yy2arr4061 := z.EncBasicHandle().StructToArray - var yyq4061 [4]bool - _, _, _ = yysep4061, yyq4061, yy2arr4061 - const yyr4061 bool = false - yyq4061[0] = x.Kind != "" - yyq4061[1] = x.APIVersion != "" - yyq4061[2] = true - yyq4061[3] = true - var yynn4061 int - if yyr4061 || yy2arr4061 { + yysep4052 := !z.EncBinary() + yy2arr4052 := z.EncBasicHandle().StructToArray + var yyq4052 [4]bool + _, _, _ = yysep4052, yyq4052, yy2arr4052 + const yyr4052 bool = false + yyq4052[0] = x.Kind != "" + yyq4052[1] = x.APIVersion != "" + yyq4052[2] = true + yyq4052[3] = true + var yynn4052 int + if yyr4052 || yy2arr4052 { r.EncodeArrayStart(4) } else { - yynn4061 = 0 - for _, b := range yyq4061 { + yynn4052 = 0 + for _, b := range yyq4052 { if b { - yynn4061++ + yynn4052++ } } - r.EncodeMapStart(yynn4061) - yynn4061 = 0 + r.EncodeMapStart(yynn4052) + yynn4052 = 0 } - if yyr4061 || yy2arr4061 { + if yyr4052 || yy2arr4052 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4061[0] { - yym4063 := z.EncBinary() - _ = yym4063 + if yyq4052[0] { + yym4054 := z.EncBinary() + _ = yym4054 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -50867,23 +50785,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4061[0] { + if yyq4052[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4064 := z.EncBinary() - _ = yym4064 + yym4055 := z.EncBinary() + _ = yym4055 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4061 || yy2arr4061 { + if yyr4052 || yy2arr4052 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4061[1] { - yym4066 := z.EncBinary() - _ = yym4066 + if yyq4052[1] { + yym4057 := z.EncBinary() + _ = yym4057 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -50892,53 +50810,53 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4061[1] { + if yyq4052[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4067 := z.EncBinary() - _ = yym4067 + yym4058 := z.EncBinary() + _ = yym4058 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4061 || yy2arr4061 { + if yyr4052 || yy2arr4052 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4061[2] { - yy4069 := &x.ObjectMeta - yy4069.CodecEncodeSelf(e) + if yyq4052[2] { + yy4060 := &x.ObjectMeta + yy4060.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4061[2] { + if yyq4052[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4070 := &x.ObjectMeta - yy4070.CodecEncodeSelf(e) + yy4061 := &x.ObjectMeta + yy4061.CodecEncodeSelf(e) } } - if yyr4061 || yy2arr4061 { + if yyr4052 || yy2arr4052 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4061[3] { - yy4072 := &x.Spec - yy4072.CodecEncodeSelf(e) + if yyq4052[3] { + yy4063 := &x.Spec + yy4063.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4061[3] { + if yyq4052[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4073 := &x.Spec - yy4073.CodecEncodeSelf(e) + yy4064 := &x.Spec + yy4064.CodecEncodeSelf(e) } } - if yyr4061 || yy2arr4061 { + if yyr4052 || yy2arr4052 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50951,25 +50869,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4074 := z.DecBinary() - _ = yym4074 + yym4065 := z.DecBinary() + _ = yym4065 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4075 := r.ContainerType() - if yyct4075 == codecSelferValueTypeMap1234 { - yyl4075 := r.ReadMapStart() - if yyl4075 == 0 { + yyct4066 := r.ContainerType() + if yyct4066 == codecSelferValueTypeMap1234 { + yyl4066 := r.ReadMapStart() + if yyl4066 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4075, d) + x.codecDecodeSelfFromMap(yyl4066, d) } - } else if yyct4075 == codecSelferValueTypeArray1234 { - yyl4075 := r.ReadArrayStart() - if yyl4075 == 0 { + } else if yyct4066 == codecSelferValueTypeArray1234 { + yyl4066 := r.ReadArrayStart() + if yyl4066 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4075, d) + x.codecDecodeSelfFromArray(yyl4066, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50981,12 +50899,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4076Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4076Slc - var yyhl4076 bool = l >= 0 - for yyj4076 := 0; ; yyj4076++ { - if yyhl4076 { - if yyj4076 >= l { + var yys4067Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4067Slc + var yyhl4067 bool = l >= 0 + for yyj4067 := 0; ; yyj4067++ { + if yyhl4067 { + if yyj4067 >= l { break } } else { @@ -50995,10 +50913,10 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4076Slc = r.DecodeBytes(yys4076Slc, true, true) - yys4076 := string(yys4076Slc) + yys4067Slc = r.DecodeBytes(yys4067Slc, true, true) + yys4067 := string(yys4067Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4076 { + switch yys4067 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51015,20 +50933,20 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4079 := &x.ObjectMeta - yyv4079.CodecDecodeSelf(d) + yyv4070 := &x.ObjectMeta + yyv4070.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4080 := &x.Spec - yyv4080.CodecDecodeSelf(d) + yyv4071 := &x.Spec + yyv4071.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4076) - } // end switch yys4076 - } // end for yyj4076 + z.DecStructFieldNotFound(-1, yys4067) + } // end switch yys4067 + } // end for yyj4067 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51036,16 +50954,16 @@ func (x *LimitRange) 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 yyj4072 int + var yyb4072 bool + var yyhl4072 bool = l >= 0 + yyj4072++ + if yyhl4072 { + yyb4072 = yyj4072 > l } else { - yyb4081 = r.CheckBreak() + yyb4072 = r.CheckBreak() } - if yyb4081 { + if yyb4072 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51055,13 +50973,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj4072++ + if yyhl4072 { + yyb4072 = yyj4072 > l } else { - yyb4081 = r.CheckBreak() + yyb4072 = r.CheckBreak() } - if yyb4081 { + if yyb4072 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51071,13 +50989,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj4072++ + if yyhl4072 { + yyb4072 = yyj4072 > l } else { - yyb4081 = r.CheckBreak() + yyb4072 = r.CheckBreak() } - if yyb4081 { + if yyb4072 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51085,16 +51003,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4084 := &x.ObjectMeta - yyv4084.CodecDecodeSelf(d) + yyv4075 := &x.ObjectMeta + yyv4075.CodecDecodeSelf(d) } - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj4072++ + if yyhl4072 { + yyb4072 = yyj4072 > l } else { - yyb4081 = r.CheckBreak() + yyb4072 = r.CheckBreak() } - if yyb4081 { + if yyb4072 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51102,21 +51020,21 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4085 := &x.Spec - yyv4085.CodecDecodeSelf(d) + yyv4076 := &x.Spec + yyv4076.CodecDecodeSelf(d) } for { - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj4072++ + if yyhl4072 { + yyb4072 = yyj4072 > l } else { - yyb4081 = r.CheckBreak() + yyb4072 = r.CheckBreak() } - if yyb4081 { + if yyb4072 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4081-1, "") + z.DecStructFieldNotFound(yyj4072-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51128,37 +51046,37 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4086 := z.EncBinary() - _ = yym4086 + yym4077 := z.EncBinary() + _ = yym4077 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4087 := !z.EncBinary() - yy2arr4087 := z.EncBasicHandle().StructToArray - var yyq4087 [4]bool - _, _, _ = yysep4087, yyq4087, yy2arr4087 - const yyr4087 bool = false - yyq4087[0] = x.Kind != "" - yyq4087[1] = x.APIVersion != "" - yyq4087[2] = true - var yynn4087 int - if yyr4087 || yy2arr4087 { + yysep4078 := !z.EncBinary() + yy2arr4078 := z.EncBasicHandle().StructToArray + var yyq4078 [4]bool + _, _, _ = yysep4078, yyq4078, yy2arr4078 + const yyr4078 bool = false + yyq4078[0] = x.Kind != "" + yyq4078[1] = x.APIVersion != "" + yyq4078[2] = true + var yynn4078 int + if yyr4078 || yy2arr4078 { r.EncodeArrayStart(4) } else { - yynn4087 = 1 - for _, b := range yyq4087 { + yynn4078 = 1 + for _, b := range yyq4078 { if b { - yynn4087++ + yynn4078++ } } - r.EncodeMapStart(yynn4087) - yynn4087 = 0 + r.EncodeMapStart(yynn4078) + yynn4078 = 0 } - if yyr4087 || yy2arr4087 { + if yyr4078 || yy2arr4078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4087[0] { - yym4089 := z.EncBinary() - _ = yym4089 + if yyq4078[0] { + yym4080 := z.EncBinary() + _ = yym4080 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51167,23 +51085,23 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4087[0] { + if yyq4078[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4090 := z.EncBinary() - _ = yym4090 + yym4081 := z.EncBinary() + _ = yym4081 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4087 || yy2arr4087 { + if yyr4078 || yy2arr4078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4087[1] { - yym4092 := z.EncBinary() - _ = yym4092 + if yyq4078[1] { + yym4083 := z.EncBinary() + _ = yym4083 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -51192,54 +51110,54 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4087[1] { + if yyq4078[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4093 := z.EncBinary() - _ = yym4093 + yym4084 := z.EncBinary() + _ = yym4084 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4087 || yy2arr4087 { + if yyr4078 || yy2arr4078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4087[2] { - yy4095 := &x.ListMeta - yym4096 := z.EncBinary() - _ = yym4096 + if yyq4078[2] { + yy4086 := &x.ListMeta + yym4087 := z.EncBinary() + _ = yym4087 if false { - } else if z.HasExtensions() && z.EncExt(yy4095) { + } else if z.HasExtensions() && z.EncExt(yy4086) { } else { - z.EncFallback(yy4095) + z.EncFallback(yy4086) } } else { r.EncodeNil() } } else { - if yyq4087[2] { + if yyq4078[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4097 := &x.ListMeta - yym4098 := z.EncBinary() - _ = yym4098 + yy4088 := &x.ListMeta + yym4089 := z.EncBinary() + _ = yym4089 if false { - } else if z.HasExtensions() && z.EncExt(yy4097) { + } else if z.HasExtensions() && z.EncExt(yy4088) { } else { - z.EncFallback(yy4097) + z.EncFallback(yy4088) } } } - if yyr4087 || yy2arr4087 { + if yyr4078 || yy2arr4078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4100 := z.EncBinary() - _ = yym4100 + yym4091 := z.EncBinary() + _ = yym4091 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -51252,15 +51170,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4101 := z.EncBinary() - _ = yym4101 + yym4092 := z.EncBinary() + _ = yym4092 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr4087 || yy2arr4087 { + if yyr4078 || yy2arr4078 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51273,25 +51191,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4102 := z.DecBinary() - _ = yym4102 + yym4093 := z.DecBinary() + _ = yym4093 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4103 := r.ContainerType() - if yyct4103 == codecSelferValueTypeMap1234 { - yyl4103 := r.ReadMapStart() - if yyl4103 == 0 { + yyct4094 := r.ContainerType() + if yyct4094 == codecSelferValueTypeMap1234 { + yyl4094 := r.ReadMapStart() + if yyl4094 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4103, d) + x.codecDecodeSelfFromMap(yyl4094, d) } - } else if yyct4103 == codecSelferValueTypeArray1234 { - yyl4103 := r.ReadArrayStart() - if yyl4103 == 0 { + } else if yyct4094 == codecSelferValueTypeArray1234 { + yyl4094 := r.ReadArrayStart() + if yyl4094 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4103, d) + x.codecDecodeSelfFromArray(yyl4094, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51303,12 +51221,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4104Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4104Slc - var yyhl4104 bool = l >= 0 - for yyj4104 := 0; ; yyj4104++ { - if yyhl4104 { - if yyj4104 >= l { + var yys4095Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4095Slc + var yyhl4095 bool = l >= 0 + for yyj4095 := 0; ; yyj4095++ { + if yyhl4095 { + if yyj4095 >= l { break } } else { @@ -51317,10 +51235,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4104Slc = r.DecodeBytes(yys4104Slc, true, true) - yys4104 := string(yys4104Slc) + yys4095Slc = r.DecodeBytes(yys4095Slc, true, true) + yys4095 := string(yys4095Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4104 { + switch yys4095 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51337,31 +51255,31 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4107 := &x.ListMeta - yym4108 := z.DecBinary() - _ = yym4108 + yyv4098 := &x.ListMeta + yym4099 := z.DecBinary() + _ = yym4099 if false { - } else if z.HasExtensions() && z.DecExt(yyv4107) { + } else if z.HasExtensions() && z.DecExt(yyv4098) { } else { - z.DecFallback(yyv4107, false) + z.DecFallback(yyv4098, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4109 := &x.Items - yym4110 := z.DecBinary() - _ = yym4110 + yyv4100 := &x.Items + yym4101 := z.DecBinary() + _ = yym4101 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4109), d) + h.decSliceLimitRange((*[]LimitRange)(yyv4100), d) } } default: - z.DecStructFieldNotFound(-1, yys4104) - } // end switch yys4104 - } // end for yyj4104 + z.DecStructFieldNotFound(-1, yys4095) + } // end switch yys4095 + } // end for yyj4095 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51369,16 +51287,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4111 int - var yyb4111 bool - var yyhl4111 bool = l >= 0 - yyj4111++ - if yyhl4111 { - yyb4111 = yyj4111 > l + var yyj4102 int + var yyb4102 bool + var yyhl4102 bool = l >= 0 + yyj4102++ + if yyhl4102 { + yyb4102 = yyj4102 > l } else { - yyb4111 = r.CheckBreak() + yyb4102 = r.CheckBreak() } - if yyb4111 { + if yyb4102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51388,13 +51306,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4111++ - if yyhl4111 { - yyb4111 = yyj4111 > l + yyj4102++ + if yyhl4102 { + yyb4102 = yyj4102 > l } else { - yyb4111 = r.CheckBreak() + yyb4102 = r.CheckBreak() } - if yyb4111 { + if yyb4102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51404,13 +51322,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4111++ - if yyhl4111 { - yyb4111 = yyj4111 > l + yyj4102++ + if yyhl4102 { + yyb4102 = yyj4102 > l } else { - yyb4111 = r.CheckBreak() + yyb4102 = r.CheckBreak() } - if yyb4111 { + if yyb4102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51418,22 +51336,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4114 := &x.ListMeta - yym4115 := z.DecBinary() - _ = yym4115 + yyv4105 := &x.ListMeta + yym4106 := z.DecBinary() + _ = yym4106 if false { - } else if z.HasExtensions() && z.DecExt(yyv4114) { + } else if z.HasExtensions() && z.DecExt(yyv4105) { } else { - z.DecFallback(yyv4114, false) + z.DecFallback(yyv4105, false) } } - yyj4111++ - if yyhl4111 { - yyb4111 = yyj4111 > l + yyj4102++ + if yyhl4102 { + yyb4102 = yyj4102 > l } else { - yyb4111 = r.CheckBreak() + yyb4102 = r.CheckBreak() } - if yyb4111 { + if yyb4102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51441,26 +51359,26 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4116 := &x.Items - yym4117 := z.DecBinary() - _ = yym4117 + yyv4107 := &x.Items + yym4108 := z.DecBinary() + _ = yym4108 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4116), d) + h.decSliceLimitRange((*[]LimitRange)(yyv4107), d) } } for { - yyj4111++ - if yyhl4111 { - yyb4111 = yyj4111 > l + yyj4102++ + if yyhl4102 { + yyb4102 = yyj4102 > l } else { - yyb4111 = r.CheckBreak() + yyb4102 = r.CheckBreak() } - if yyb4111 { + if yyb4102 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4111-1, "") + z.DecStructFieldNotFound(yyj4102-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51469,8 +51387,8 @@ func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4118 := z.EncBinary() - _ = yym4118 + yym4109 := z.EncBinary() + _ = yym4109 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -51482,8 +51400,8 @@ func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4119 := z.DecBinary() - _ = yym4119 + yym4110 := z.DecBinary() + _ = yym4110 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -51498,34 +51416,34 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4120 := z.EncBinary() - _ = yym4120 + yym4111 := z.EncBinary() + _ = yym4111 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4121 := !z.EncBinary() - yy2arr4121 := z.EncBasicHandle().StructToArray - var yyq4121 [2]bool - _, _, _ = yysep4121, yyq4121, yy2arr4121 - const yyr4121 bool = false - yyq4121[0] = len(x.Hard) != 0 - yyq4121[1] = len(x.Scopes) != 0 - var yynn4121 int - if yyr4121 || yy2arr4121 { + yysep4112 := !z.EncBinary() + yy2arr4112 := z.EncBasicHandle().StructToArray + var yyq4112 [2]bool + _, _, _ = yysep4112, yyq4112, yy2arr4112 + const yyr4112 bool = false + yyq4112[0] = len(x.Hard) != 0 + yyq4112[1] = len(x.Scopes) != 0 + var yynn4112 int + if yyr4112 || yy2arr4112 { r.EncodeArrayStart(2) } else { - yynn4121 = 0 - for _, b := range yyq4121 { + yynn4112 = 0 + for _, b := range yyq4112 { if b { - yynn4121++ + yynn4112++ } } - r.EncodeMapStart(yynn4121) - yynn4121 = 0 + r.EncodeMapStart(yynn4112) + yynn4112 = 0 } - if yyr4121 || yy2arr4121 { + if yyr4112 || yy2arr4112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4121[0] { + if yyq4112[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -51535,7 +51453,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4121[0] { + if yyq4112[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -51546,14 +51464,14 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4121 || yy2arr4121 { + if yyr4112 || yy2arr4112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4121[1] { + if yyq4112[1] { if x.Scopes == nil { r.EncodeNil() } else { - yym4124 := z.EncBinary() - _ = yym4124 + yym4115 := z.EncBinary() + _ = yym4115 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -51563,15 +51481,15 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4121[1] { + if yyq4112[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scopes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Scopes == nil { r.EncodeNil() } else { - yym4125 := z.EncBinary() - _ = yym4125 + yym4116 := z.EncBinary() + _ = yym4116 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -51579,7 +51497,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4121 || yy2arr4121 { + if yyr4112 || yy2arr4112 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51592,25 +51510,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4126 := z.DecBinary() - _ = yym4126 + yym4117 := z.DecBinary() + _ = yym4117 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4127 := r.ContainerType() - if yyct4127 == codecSelferValueTypeMap1234 { - yyl4127 := r.ReadMapStart() - if yyl4127 == 0 { + yyct4118 := r.ContainerType() + if yyct4118 == codecSelferValueTypeMap1234 { + yyl4118 := r.ReadMapStart() + if yyl4118 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4127, d) + x.codecDecodeSelfFromMap(yyl4118, d) } - } else if yyct4127 == codecSelferValueTypeArray1234 { - yyl4127 := r.ReadArrayStart() - if yyl4127 == 0 { + } else if yyct4118 == codecSelferValueTypeArray1234 { + yyl4118 := r.ReadArrayStart() + if yyl4118 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4127, d) + x.codecDecodeSelfFromArray(yyl4118, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51622,12 +51540,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4128Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4128Slc - var yyhl4128 bool = l >= 0 - for yyj4128 := 0; ; yyj4128++ { - if yyhl4128 { - if yyj4128 >= l { + var yys4119Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4119Slc + var yyhl4119 bool = l >= 0 + for yyj4119 := 0; ; yyj4119++ { + if yyhl4119 { + if yyj4119 >= l { break } } else { @@ -51636,33 +51554,33 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4128Slc = r.DecodeBytes(yys4128Slc, true, true) - yys4128 := string(yys4128Slc) + yys4119Slc = r.DecodeBytes(yys4119Slc, true, true) + yys4119 := string(yys4119Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4128 { + switch yys4119 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4129 := &x.Hard - yyv4129.CodecDecodeSelf(d) + yyv4120 := &x.Hard + yyv4120.CodecDecodeSelf(d) } case "scopes": if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv4130 := &x.Scopes - yym4131 := z.DecBinary() - _ = yym4131 + yyv4121 := &x.Scopes + yym4122 := z.DecBinary() + _ = yym4122 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4130), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4121), d) } } default: - z.DecStructFieldNotFound(-1, yys4128) - } // end switch yys4128 - } // end for yyj4128 + z.DecStructFieldNotFound(-1, yys4119) + } // end switch yys4119 + } // end for yyj4119 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51670,16 +51588,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4132 int - var yyb4132 bool - var yyhl4132 bool = l >= 0 - yyj4132++ - if yyhl4132 { - yyb4132 = yyj4132 > l + var yyj4123 int + var yyb4123 bool + var yyhl4123 bool = l >= 0 + yyj4123++ + if yyhl4123 { + yyb4123 = yyj4123 > l } else { - yyb4132 = r.CheckBreak() + yyb4123 = r.CheckBreak() } - if yyb4132 { + if yyb4123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51687,16 +51605,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4133 := &x.Hard - yyv4133.CodecDecodeSelf(d) + yyv4124 := &x.Hard + yyv4124.CodecDecodeSelf(d) } - yyj4132++ - if yyhl4132 { - yyb4132 = yyj4132 > l + yyj4123++ + if yyhl4123 { + yyb4123 = yyj4123 > l } else { - yyb4132 = r.CheckBreak() + yyb4123 = r.CheckBreak() } - if yyb4132 { + if yyb4123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51704,26 +51622,26 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv4134 := &x.Scopes - yym4135 := z.DecBinary() - _ = yym4135 + yyv4125 := &x.Scopes + yym4126 := z.DecBinary() + _ = yym4126 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4134), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4125), d) } } for { - yyj4132++ - if yyhl4132 { - yyb4132 = yyj4132 > l + yyj4123++ + if yyhl4123 { + yyb4123 = yyj4123 > l } else { - yyb4132 = r.CheckBreak() + yyb4123 = r.CheckBreak() } - if yyb4132 { + if yyb4123 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4132-1, "") + z.DecStructFieldNotFound(yyj4123-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51735,34 +51653,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4136 := z.EncBinary() - _ = yym4136 + yym4127 := z.EncBinary() + _ = yym4127 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4137 := !z.EncBinary() - yy2arr4137 := z.EncBasicHandle().StructToArray - var yyq4137 [2]bool - _, _, _ = yysep4137, yyq4137, yy2arr4137 - const yyr4137 bool = false - yyq4137[0] = len(x.Hard) != 0 - yyq4137[1] = len(x.Used) != 0 - var yynn4137 int - if yyr4137 || yy2arr4137 { + yysep4128 := !z.EncBinary() + yy2arr4128 := z.EncBasicHandle().StructToArray + var yyq4128 [2]bool + _, _, _ = yysep4128, yyq4128, yy2arr4128 + const yyr4128 bool = false + yyq4128[0] = len(x.Hard) != 0 + yyq4128[1] = len(x.Used) != 0 + var yynn4128 int + if yyr4128 || yy2arr4128 { r.EncodeArrayStart(2) } else { - yynn4137 = 0 - for _, b := range yyq4137 { + yynn4128 = 0 + for _, b := range yyq4128 { if b { - yynn4137++ + yynn4128++ } } - r.EncodeMapStart(yynn4137) - yynn4137 = 0 + r.EncodeMapStart(yynn4128) + yynn4128 = 0 } - if yyr4137 || yy2arr4137 { + if yyr4128 || yy2arr4128 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4137[0] { + if yyq4128[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -51772,7 +51690,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4137[0] { + if yyq4128[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -51783,9 +51701,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4137 || yy2arr4137 { + if yyr4128 || yy2arr4128 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4137[1] { + if yyq4128[1] { if x.Used == nil { r.EncodeNil() } else { @@ -51795,7 +51713,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4137[1] { + if yyq4128[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -51806,7 +51724,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4137 || yy2arr4137 { + if yyr4128 || yy2arr4128 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51819,25 +51737,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4140 := z.DecBinary() - _ = yym4140 + yym4131 := z.DecBinary() + _ = yym4131 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4141 := r.ContainerType() - if yyct4141 == codecSelferValueTypeMap1234 { - yyl4141 := r.ReadMapStart() - if yyl4141 == 0 { + yyct4132 := r.ContainerType() + if yyct4132 == codecSelferValueTypeMap1234 { + yyl4132 := r.ReadMapStart() + if yyl4132 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4141, d) + x.codecDecodeSelfFromMap(yyl4132, d) } - } else if yyct4141 == codecSelferValueTypeArray1234 { - yyl4141 := r.ReadArrayStart() - if yyl4141 == 0 { + } else if yyct4132 == codecSelferValueTypeArray1234 { + yyl4132 := r.ReadArrayStart() + if yyl4132 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4141, d) + x.codecDecodeSelfFromArray(yyl4132, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51849,12 +51767,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4142Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4142Slc - var yyhl4142 bool = l >= 0 - for yyj4142 := 0; ; yyj4142++ { - if yyhl4142 { - if yyj4142 >= l { + var yys4133Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4133Slc + var yyhl4133 bool = l >= 0 + for yyj4133 := 0; ; yyj4133++ { + if yyhl4133 { + if yyj4133 >= l { break } } else { @@ -51863,28 +51781,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4142Slc = r.DecodeBytes(yys4142Slc, true, true) - yys4142 := string(yys4142Slc) + yys4133Slc = r.DecodeBytes(yys4133Slc, true, true) + yys4133 := string(yys4133Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4142 { + switch yys4133 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4143 := &x.Hard - yyv4143.CodecDecodeSelf(d) + yyv4134 := &x.Hard + yyv4134.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv4144 := &x.Used - yyv4144.CodecDecodeSelf(d) + yyv4135 := &x.Used + yyv4135.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4142) - } // end switch yys4142 - } // end for yyj4142 + z.DecStructFieldNotFound(-1, yys4133) + } // end switch yys4133 + } // end for yyj4133 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51892,16 +51810,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4145 int - var yyb4145 bool - var yyhl4145 bool = l >= 0 - yyj4145++ - if yyhl4145 { - yyb4145 = yyj4145 > l + var yyj4136 int + var yyb4136 bool + var yyhl4136 bool = l >= 0 + yyj4136++ + if yyhl4136 { + yyb4136 = yyj4136 > l } else { - yyb4145 = r.CheckBreak() + yyb4136 = r.CheckBreak() } - if yyb4145 { + if yyb4136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51909,16 +51827,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4146 := &x.Hard - yyv4146.CodecDecodeSelf(d) + yyv4137 := &x.Hard + yyv4137.CodecDecodeSelf(d) } - yyj4145++ - if yyhl4145 { - yyb4145 = yyj4145 > l + yyj4136++ + if yyhl4136 { + yyb4136 = yyj4136 > l } else { - yyb4145 = r.CheckBreak() + yyb4136 = r.CheckBreak() } - if yyb4145 { + if yyb4136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51926,21 +51844,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv4147 := &x.Used - yyv4147.CodecDecodeSelf(d) + yyv4138 := &x.Used + yyv4138.CodecDecodeSelf(d) } for { - yyj4145++ - if yyhl4145 { - yyb4145 = yyj4145 > l + yyj4136++ + if yyhl4136 { + yyb4136 = yyj4136 > l } else { - yyb4145 = r.CheckBreak() + yyb4136 = r.CheckBreak() } - if yyb4145 { + if yyb4136 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4145-1, "") + z.DecStructFieldNotFound(yyj4136-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51952,39 +51870,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4148 := z.EncBinary() - _ = yym4148 + yym4139 := z.EncBinary() + _ = yym4139 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4149 := !z.EncBinary() - yy2arr4149 := z.EncBasicHandle().StructToArray - var yyq4149 [5]bool - _, _, _ = yysep4149, yyq4149, yy2arr4149 - const yyr4149 bool = false - yyq4149[0] = x.Kind != "" - yyq4149[1] = x.APIVersion != "" - yyq4149[2] = true - yyq4149[3] = true - yyq4149[4] = true - var yynn4149 int - if yyr4149 || yy2arr4149 { + yysep4140 := !z.EncBinary() + yy2arr4140 := z.EncBasicHandle().StructToArray + var yyq4140 [5]bool + _, _, _ = yysep4140, yyq4140, yy2arr4140 + const yyr4140 bool = false + yyq4140[0] = x.Kind != "" + yyq4140[1] = x.APIVersion != "" + yyq4140[2] = true + yyq4140[3] = true + yyq4140[4] = true + var yynn4140 int + if yyr4140 || yy2arr4140 { r.EncodeArrayStart(5) } else { - yynn4149 = 0 - for _, b := range yyq4149 { + yynn4140 = 0 + for _, b := range yyq4140 { if b { - yynn4149++ + yynn4140++ } } - r.EncodeMapStart(yynn4149) - yynn4149 = 0 + r.EncodeMapStart(yynn4140) + yynn4140 = 0 } - if yyr4149 || yy2arr4149 { + if yyr4140 || yy2arr4140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4149[0] { - yym4151 := z.EncBinary() - _ = yym4151 + if yyq4140[0] { + yym4142 := z.EncBinary() + _ = yym4142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51993,23 +51911,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4149[0] { + if yyq4140[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4152 := z.EncBinary() - _ = yym4152 + yym4143 := z.EncBinary() + _ = yym4143 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4149 || yy2arr4149 { + if yyr4140 || yy2arr4140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4149[1] { - yym4154 := z.EncBinary() - _ = yym4154 + if yyq4140[1] { + yym4145 := z.EncBinary() + _ = yym4145 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52018,70 +51936,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4149[1] { + if yyq4140[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4155 := z.EncBinary() - _ = yym4155 + yym4146 := z.EncBinary() + _ = yym4146 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4149 || yy2arr4149 { + if yyr4140 || yy2arr4140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4149[2] { - yy4157 := &x.ObjectMeta - yy4157.CodecEncodeSelf(e) + if yyq4140[2] { + yy4148 := &x.ObjectMeta + yy4148.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4149[2] { + if yyq4140[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4158 := &x.ObjectMeta - yy4158.CodecEncodeSelf(e) + yy4149 := &x.ObjectMeta + yy4149.CodecEncodeSelf(e) } } - if yyr4149 || yy2arr4149 { + if yyr4140 || yy2arr4140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4149[3] { - yy4160 := &x.Spec - yy4160.CodecEncodeSelf(e) + if yyq4140[3] { + yy4151 := &x.Spec + yy4151.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4149[3] { + if yyq4140[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4161 := &x.Spec - yy4161.CodecEncodeSelf(e) + yy4152 := &x.Spec + yy4152.CodecEncodeSelf(e) } } - if yyr4149 || yy2arr4149 { + if yyr4140 || yy2arr4140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4149[4] { - yy4163 := &x.Status - yy4163.CodecEncodeSelf(e) + if yyq4140[4] { + yy4154 := &x.Status + yy4154.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4149[4] { + if yyq4140[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4164 := &x.Status - yy4164.CodecEncodeSelf(e) + yy4155 := &x.Status + yy4155.CodecEncodeSelf(e) } } - if yyr4149 || yy2arr4149 { + if yyr4140 || yy2arr4140 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52094,25 +52012,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4165 := z.DecBinary() - _ = yym4165 + yym4156 := z.DecBinary() + _ = yym4156 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4166 := r.ContainerType() - if yyct4166 == codecSelferValueTypeMap1234 { - yyl4166 := r.ReadMapStart() - if yyl4166 == 0 { + yyct4157 := r.ContainerType() + if yyct4157 == codecSelferValueTypeMap1234 { + yyl4157 := r.ReadMapStart() + if yyl4157 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4166, d) + x.codecDecodeSelfFromMap(yyl4157, d) } - } else if yyct4166 == codecSelferValueTypeArray1234 { - yyl4166 := r.ReadArrayStart() - if yyl4166 == 0 { + } else if yyct4157 == codecSelferValueTypeArray1234 { + yyl4157 := r.ReadArrayStart() + if yyl4157 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4166, d) + x.codecDecodeSelfFromArray(yyl4157, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52124,12 +52042,12 @@ func (x *ResourceQuota) 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 yys4158Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4158Slc + var yyhl4158 bool = l >= 0 + for yyj4158 := 0; ; yyj4158++ { + if yyhl4158 { + if yyj4158 >= l { break } } else { @@ -52138,10 +52056,10 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4167Slc = r.DecodeBytes(yys4167Slc, true, true) - yys4167 := string(yys4167Slc) + yys4158Slc = r.DecodeBytes(yys4158Slc, true, true) + yys4158 := string(yys4158Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4167 { + switch yys4158 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52158,27 +52076,27 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4170 := &x.ObjectMeta - yyv4170.CodecDecodeSelf(d) + yyv4161 := &x.ObjectMeta + yyv4161.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4171 := &x.Spec - yyv4171.CodecDecodeSelf(d) + yyv4162 := &x.Spec + yyv4162.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4172 := &x.Status - yyv4172.CodecDecodeSelf(d) + yyv4163 := &x.Status + yyv4163.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4167) - } // end switch yys4167 - } // end for yyj4167 + z.DecStructFieldNotFound(-1, yys4158) + } // end switch yys4158 + } // end for yyj4158 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52186,16 +52104,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4173 int - var yyb4173 bool - var yyhl4173 bool = l >= 0 - yyj4173++ - if yyhl4173 { - yyb4173 = yyj4173 > l + var yyj4164 int + var yyb4164 bool + var yyhl4164 bool = l >= 0 + yyj4164++ + if yyhl4164 { + yyb4164 = yyj4164 > l } else { - yyb4173 = r.CheckBreak() + yyb4164 = r.CheckBreak() } - if yyb4173 { + if yyb4164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52205,13 +52123,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4173++ - if yyhl4173 { - yyb4173 = yyj4173 > l + yyj4164++ + if yyhl4164 { + yyb4164 = yyj4164 > l } else { - yyb4173 = r.CheckBreak() + yyb4164 = r.CheckBreak() } - if yyb4173 { + if yyb4164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52221,13 +52139,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4173++ - if yyhl4173 { - yyb4173 = yyj4173 > l + yyj4164++ + if yyhl4164 { + yyb4164 = yyj4164 > l } else { - yyb4173 = r.CheckBreak() + yyb4164 = r.CheckBreak() } - if yyb4173 { + if yyb4164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52235,16 +52153,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4176 := &x.ObjectMeta - yyv4176.CodecDecodeSelf(d) + yyv4167 := &x.ObjectMeta + yyv4167.CodecDecodeSelf(d) } - yyj4173++ - if yyhl4173 { - yyb4173 = yyj4173 > l + yyj4164++ + if yyhl4164 { + yyb4164 = yyj4164 > l } else { - yyb4173 = r.CheckBreak() + yyb4164 = r.CheckBreak() } - if yyb4173 { + if yyb4164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52252,16 +52170,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4177 := &x.Spec - yyv4177.CodecDecodeSelf(d) + yyv4168 := &x.Spec + yyv4168.CodecDecodeSelf(d) } - yyj4173++ - if yyhl4173 { - yyb4173 = yyj4173 > l + yyj4164++ + if yyhl4164 { + yyb4164 = yyj4164 > l } else { - yyb4173 = r.CheckBreak() + yyb4164 = r.CheckBreak() } - if yyb4173 { + if yyb4164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52269,21 +52187,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4178 := &x.Status - yyv4178.CodecDecodeSelf(d) + yyv4169 := &x.Status + yyv4169.CodecDecodeSelf(d) } for { - yyj4173++ - if yyhl4173 { - yyb4173 = yyj4173 > l + yyj4164++ + if yyhl4164 { + yyb4164 = yyj4164 > l } else { - yyb4173 = r.CheckBreak() + yyb4164 = r.CheckBreak() } - if yyb4173 { + if yyb4164 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4173-1, "") + z.DecStructFieldNotFound(yyj4164-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52295,37 +52213,37 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4179 := z.EncBinary() - _ = yym4179 + yym4170 := z.EncBinary() + _ = yym4170 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4180 := !z.EncBinary() - yy2arr4180 := z.EncBasicHandle().StructToArray - var yyq4180 [4]bool - _, _, _ = yysep4180, yyq4180, yy2arr4180 - const yyr4180 bool = false - yyq4180[0] = x.Kind != "" - yyq4180[1] = x.APIVersion != "" - yyq4180[2] = true - var yynn4180 int - if yyr4180 || yy2arr4180 { + yysep4171 := !z.EncBinary() + yy2arr4171 := z.EncBasicHandle().StructToArray + var yyq4171 [4]bool + _, _, _ = yysep4171, yyq4171, yy2arr4171 + const yyr4171 bool = false + yyq4171[0] = x.Kind != "" + yyq4171[1] = x.APIVersion != "" + yyq4171[2] = true + var yynn4171 int + if yyr4171 || yy2arr4171 { r.EncodeArrayStart(4) } else { - yynn4180 = 1 - for _, b := range yyq4180 { + yynn4171 = 1 + for _, b := range yyq4171 { if b { - yynn4180++ + yynn4171++ } } - r.EncodeMapStart(yynn4180) - yynn4180 = 0 + r.EncodeMapStart(yynn4171) + yynn4171 = 0 } - if yyr4180 || yy2arr4180 { + if yyr4171 || yy2arr4171 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4180[0] { - yym4182 := z.EncBinary() - _ = yym4182 + if yyq4171[0] { + yym4173 := z.EncBinary() + _ = yym4173 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52334,23 +52252,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4180[0] { + if yyq4171[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4183 := z.EncBinary() - _ = yym4183 + yym4174 := z.EncBinary() + _ = yym4174 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4180 || yy2arr4180 { + if yyr4171 || yy2arr4171 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4180[1] { - yym4185 := z.EncBinary() - _ = yym4185 + if yyq4171[1] { + yym4176 := z.EncBinary() + _ = yym4176 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52359,54 +52277,54 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4180[1] { + if yyq4171[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4186 := z.EncBinary() - _ = yym4186 + yym4177 := z.EncBinary() + _ = yym4177 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4180 || yy2arr4180 { + if yyr4171 || yy2arr4171 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4180[2] { - yy4188 := &x.ListMeta - yym4189 := z.EncBinary() - _ = yym4189 + if yyq4171[2] { + yy4179 := &x.ListMeta + yym4180 := z.EncBinary() + _ = yym4180 if false { - } else if z.HasExtensions() && z.EncExt(yy4188) { + } else if z.HasExtensions() && z.EncExt(yy4179) { } else { - z.EncFallback(yy4188) + z.EncFallback(yy4179) } } else { r.EncodeNil() } } else { - if yyq4180[2] { + if yyq4171[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4190 := &x.ListMeta - yym4191 := z.EncBinary() - _ = yym4191 + yy4181 := &x.ListMeta + yym4182 := z.EncBinary() + _ = yym4182 if false { - } else if z.HasExtensions() && z.EncExt(yy4190) { + } else if z.HasExtensions() && z.EncExt(yy4181) { } else { - z.EncFallback(yy4190) + z.EncFallback(yy4181) } } } - if yyr4180 || yy2arr4180 { + if yyr4171 || yy2arr4171 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4193 := z.EncBinary() - _ = yym4193 + yym4184 := z.EncBinary() + _ = yym4184 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -52419,15 +52337,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4194 := z.EncBinary() - _ = yym4194 + yym4185 := z.EncBinary() + _ = yym4185 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr4180 || yy2arr4180 { + if yyr4171 || yy2arr4171 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52440,25 +52358,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4195 := z.DecBinary() - _ = yym4195 + yym4186 := z.DecBinary() + _ = yym4186 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4196 := r.ContainerType() - if yyct4196 == codecSelferValueTypeMap1234 { - yyl4196 := r.ReadMapStart() - if yyl4196 == 0 { + yyct4187 := r.ContainerType() + if yyct4187 == codecSelferValueTypeMap1234 { + yyl4187 := r.ReadMapStart() + if yyl4187 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4196, d) + x.codecDecodeSelfFromMap(yyl4187, d) } - } else if yyct4196 == codecSelferValueTypeArray1234 { - yyl4196 := r.ReadArrayStart() - if yyl4196 == 0 { + } else if yyct4187 == codecSelferValueTypeArray1234 { + yyl4187 := r.ReadArrayStart() + if yyl4187 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4196, d) + x.codecDecodeSelfFromArray(yyl4187, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52470,12 +52388,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4197Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4197Slc - var yyhl4197 bool = l >= 0 - for yyj4197 := 0; ; yyj4197++ { - if yyhl4197 { - if yyj4197 >= l { + var yys4188Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4188Slc + var yyhl4188 bool = l >= 0 + for yyj4188 := 0; ; yyj4188++ { + if yyhl4188 { + if yyj4188 >= l { break } } else { @@ -52484,10 +52402,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4197Slc = r.DecodeBytes(yys4197Slc, true, true) - yys4197 := string(yys4197Slc) + yys4188Slc = r.DecodeBytes(yys4188Slc, true, true) + yys4188 := string(yys4188Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4197 { + switch yys4188 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52504,31 +52422,31 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4200 := &x.ListMeta - yym4201 := z.DecBinary() - _ = yym4201 + yyv4191 := &x.ListMeta + yym4192 := z.DecBinary() + _ = yym4192 if false { - } else if z.HasExtensions() && z.DecExt(yyv4200) { + } else if z.HasExtensions() && z.DecExt(yyv4191) { } else { - z.DecFallback(yyv4200, false) + z.DecFallback(yyv4191, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4202 := &x.Items - yym4203 := z.DecBinary() - _ = yym4203 + yyv4193 := &x.Items + yym4194 := z.DecBinary() + _ = yym4194 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4202), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4193), d) } } default: - z.DecStructFieldNotFound(-1, yys4197) - } // end switch yys4197 - } // end for yyj4197 + z.DecStructFieldNotFound(-1, yys4188) + } // end switch yys4188 + } // end for yyj4188 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52536,16 +52454,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4204 int - var yyb4204 bool - var yyhl4204 bool = l >= 0 - yyj4204++ - if yyhl4204 { - yyb4204 = yyj4204 > l + var yyj4195 int + var yyb4195 bool + var yyhl4195 bool = l >= 0 + yyj4195++ + if yyhl4195 { + yyb4195 = yyj4195 > l } else { - yyb4204 = r.CheckBreak() + yyb4195 = r.CheckBreak() } - if yyb4204 { + if yyb4195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52555,13 +52473,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj4204++ - if yyhl4204 { - yyb4204 = yyj4204 > l + yyj4195++ + if yyhl4195 { + yyb4195 = yyj4195 > l } else { - yyb4204 = r.CheckBreak() + yyb4195 = r.CheckBreak() } - if yyb4204 { + if yyb4195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52571,13 +52489,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj4204++ - if yyhl4204 { - yyb4204 = yyj4204 > l + yyj4195++ + if yyhl4195 { + yyb4195 = yyj4195 > l } else { - yyb4204 = r.CheckBreak() + yyb4195 = r.CheckBreak() } - if yyb4204 { + if yyb4195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52585,22 +52503,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4207 := &x.ListMeta - yym4208 := z.DecBinary() - _ = yym4208 + yyv4198 := &x.ListMeta + yym4199 := z.DecBinary() + _ = yym4199 if false { - } else if z.HasExtensions() && z.DecExt(yyv4207) { + } else if z.HasExtensions() && z.DecExt(yyv4198) { } else { - z.DecFallback(yyv4207, false) + z.DecFallback(yyv4198, false) } } - yyj4204++ - if yyhl4204 { - yyb4204 = yyj4204 > l + yyj4195++ + if yyhl4195 { + yyb4195 = yyj4195 > l } else { - yyb4204 = r.CheckBreak() + yyb4195 = r.CheckBreak() } - if yyb4204 { + if yyb4195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52608,26 +52526,26 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4209 := &x.Items - yym4210 := z.DecBinary() - _ = yym4210 + yyv4200 := &x.Items + yym4201 := z.DecBinary() + _ = yym4201 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4209), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4200), d) } } for { - yyj4204++ - if yyhl4204 { - yyb4204 = yyj4204 > l + yyj4195++ + if yyhl4195 { + yyb4195 = yyj4195 > l } else { - yyb4204 = r.CheckBreak() + yyb4195 = r.CheckBreak() } - if yyb4204 { + if yyb4195 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4204-1, "") + z.DecStructFieldNotFound(yyj4195-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52639,40 +52557,40 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4211 := z.EncBinary() - _ = yym4211 + yym4202 := z.EncBinary() + _ = yym4202 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4212 := !z.EncBinary() - yy2arr4212 := z.EncBasicHandle().StructToArray - var yyq4212 [6]bool - _, _, _ = yysep4212, yyq4212, yy2arr4212 - const yyr4212 bool = false - yyq4212[0] = x.Kind != "" - yyq4212[1] = x.APIVersion != "" - yyq4212[2] = true - yyq4212[3] = len(x.Data) != 0 - yyq4212[4] = len(x.StringData) != 0 - yyq4212[5] = x.Type != "" - var yynn4212 int - if yyr4212 || yy2arr4212 { + yysep4203 := !z.EncBinary() + yy2arr4203 := z.EncBasicHandle().StructToArray + var yyq4203 [6]bool + _, _, _ = yysep4203, yyq4203, yy2arr4203 + const yyr4203 bool = false + yyq4203[0] = x.Kind != "" + yyq4203[1] = x.APIVersion != "" + yyq4203[2] = true + yyq4203[3] = len(x.Data) != 0 + yyq4203[4] = len(x.StringData) != 0 + yyq4203[5] = x.Type != "" + var yynn4203 int + if yyr4203 || yy2arr4203 { r.EncodeArrayStart(6) } else { - yynn4212 = 0 - for _, b := range yyq4212 { + yynn4203 = 0 + for _, b := range yyq4203 { if b { - yynn4212++ + yynn4203++ } } - r.EncodeMapStart(yynn4212) - yynn4212 = 0 + r.EncodeMapStart(yynn4203) + yynn4203 = 0 } - if yyr4212 || yy2arr4212 { + if yyr4203 || yy2arr4203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4212[0] { - yym4214 := z.EncBinary() - _ = yym4214 + if yyq4203[0] { + yym4205 := z.EncBinary() + _ = yym4205 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52681,23 +52599,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4212[0] { + if yyq4203[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4215 := z.EncBinary() - _ = yym4215 + yym4206 := z.EncBinary() + _ = yym4206 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4212 || yy2arr4212 { + if yyr4203 || yy2arr4203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4212[1] { - yym4217 := z.EncBinary() - _ = yym4217 + if yyq4203[1] { + yym4208 := z.EncBinary() + _ = yym4208 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52706,43 +52624,43 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4212[1] { + if yyq4203[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4218 := z.EncBinary() - _ = yym4218 + yym4209 := z.EncBinary() + _ = yym4209 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4212 || yy2arr4212 { + if yyr4203 || yy2arr4203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4212[2] { - yy4220 := &x.ObjectMeta - yy4220.CodecEncodeSelf(e) + if yyq4203[2] { + yy4211 := &x.ObjectMeta + yy4211.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4212[2] { + if yyq4203[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4221 := &x.ObjectMeta - yy4221.CodecEncodeSelf(e) + yy4212 := &x.ObjectMeta + yy4212.CodecEncodeSelf(e) } } - if yyr4212 || yy2arr4212 { + if yyr4203 || yy2arr4203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4212[3] { + if yyq4203[3] { if x.Data == nil { r.EncodeNil() } else { - yym4223 := z.EncBinary() - _ = yym4223 + yym4214 := z.EncBinary() + _ = yym4214 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -52752,15 +52670,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4212[3] { + if yyq4203[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4224 := z.EncBinary() - _ = yym4224 + yym4215 := z.EncBinary() + _ = yym4215 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -52768,14 +52686,14 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4212 || yy2arr4212 { + if yyr4203 || yy2arr4203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4212[4] { + if yyq4203[4] { if x.StringData == nil { r.EncodeNil() } else { - yym4226 := z.EncBinary() - _ = yym4226 + yym4217 := z.EncBinary() + _ = yym4217 if false { } else { z.F.EncMapStringStringV(x.StringData, false, e) @@ -52785,15 +52703,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4212[4] { + if yyq4203[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stringData")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StringData == nil { r.EncodeNil() } else { - yym4227 := z.EncBinary() - _ = yym4227 + yym4218 := z.EncBinary() + _ = yym4218 if false { } else { z.F.EncMapStringStringV(x.StringData, false, e) @@ -52801,22 +52719,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4212 || yy2arr4212 { + if yyr4203 || yy2arr4203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4212[5] { + if yyq4203[5] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4212[5] { + if yyq4203[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr4212 || yy2arr4212 { + if yyr4203 || yy2arr4203 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52829,25 +52747,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4229 := z.DecBinary() - _ = yym4229 + yym4220 := z.DecBinary() + _ = yym4220 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4230 := r.ContainerType() - if yyct4230 == codecSelferValueTypeMap1234 { - yyl4230 := r.ReadMapStart() - if yyl4230 == 0 { + yyct4221 := r.ContainerType() + if yyct4221 == codecSelferValueTypeMap1234 { + yyl4221 := r.ReadMapStart() + if yyl4221 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4230, d) + x.codecDecodeSelfFromMap(yyl4221, d) } - } else if yyct4230 == codecSelferValueTypeArray1234 { - yyl4230 := r.ReadArrayStart() - if yyl4230 == 0 { + } else if yyct4221 == codecSelferValueTypeArray1234 { + yyl4221 := r.ReadArrayStart() + if yyl4221 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4230, d) + x.codecDecodeSelfFromArray(yyl4221, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52859,12 +52777,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4231Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4231Slc - var yyhl4231 bool = l >= 0 - for yyj4231 := 0; ; yyj4231++ { - if yyhl4231 { - if yyj4231 >= l { + var yys4222Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4222Slc + var yyhl4222 bool = l >= 0 + for yyj4222 := 0; ; yyj4222++ { + if yyhl4222 { + if yyj4222 >= l { break } } else { @@ -52873,10 +52791,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4231Slc = r.DecodeBytes(yys4231Slc, true, true) - yys4231 := string(yys4231Slc) + yys4222Slc = r.DecodeBytes(yys4222Slc, true, true) + yys4222 := string(yys4222Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4231 { + switch yys4222 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52893,31 +52811,31 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4234 := &x.ObjectMeta - yyv4234.CodecDecodeSelf(d) + yyv4225 := &x.ObjectMeta + yyv4225.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4235 := &x.Data - yym4236 := z.DecBinary() - _ = yym4236 + yyv4226 := &x.Data + yym4227 := z.DecBinary() + _ = yym4227 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4235), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4226), d) } } case "stringData": if r.TryDecodeAsNil() { x.StringData = nil } else { - yyv4237 := &x.StringData - yym4238 := z.DecBinary() - _ = yym4238 + yyv4228 := &x.StringData + yym4229 := z.DecBinary() + _ = yym4229 if false { } else { - z.F.DecMapStringStringX(yyv4237, false, d) + z.F.DecMapStringStringX(yyv4228, false, d) } } case "type": @@ -52927,9 +52845,9 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4231) - } // end switch yys4231 - } // end for yyj4231 + z.DecStructFieldNotFound(-1, yys4222) + } // end switch yys4222 + } // end for yyj4222 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52937,16 +52855,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4240 int - var yyb4240 bool - var yyhl4240 bool = l >= 0 - yyj4240++ - if yyhl4240 { - yyb4240 = yyj4240 > l + var yyj4231 int + var yyb4231 bool + var yyhl4231 bool = l >= 0 + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb4240 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb4240 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52956,13 +52874,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4240++ - if yyhl4240 { - yyb4240 = yyj4240 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb4240 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb4240 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52972,13 +52890,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4240++ - if yyhl4240 { - yyb4240 = yyj4240 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb4240 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb4240 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52986,16 +52904,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4243 := &x.ObjectMeta - yyv4243.CodecDecodeSelf(d) + yyv4234 := &x.ObjectMeta + yyv4234.CodecDecodeSelf(d) } - yyj4240++ - if yyhl4240 { - yyb4240 = yyj4240 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb4240 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb4240 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53003,21 +52921,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4244 := &x.Data - yym4245 := z.DecBinary() - _ = yym4245 + yyv4235 := &x.Data + yym4236 := z.DecBinary() + _ = yym4236 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4244), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4235), d) } } - yyj4240++ - if yyhl4240 { - yyb4240 = yyj4240 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb4240 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb4240 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53025,21 +52943,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.StringData = nil } else { - yyv4246 := &x.StringData - yym4247 := z.DecBinary() - _ = yym4247 + yyv4237 := &x.StringData + yym4238 := z.DecBinary() + _ = yym4238 if false { } else { - z.F.DecMapStringStringX(yyv4246, false, d) + z.F.DecMapStringStringX(yyv4237, false, d) } } - yyj4240++ - if yyhl4240 { - yyb4240 = yyj4240 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb4240 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb4240 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53050,17 +52968,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } for { - yyj4240++ - if yyhl4240 { - yyb4240 = yyj4240 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb4240 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb4240 { + if yyb4231 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4240-1, "") + z.DecStructFieldNotFound(yyj4231-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53069,8 +52987,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4249 := z.EncBinary() - _ = yym4249 + yym4240 := z.EncBinary() + _ = yym4240 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -53082,8 +53000,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4250 := z.DecBinary() - _ = yym4250 + yym4241 := z.DecBinary() + _ = yym4241 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -53098,37 +53016,37 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4251 := z.EncBinary() - _ = yym4251 + yym4242 := z.EncBinary() + _ = yym4242 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4252 := !z.EncBinary() - yy2arr4252 := z.EncBasicHandle().StructToArray - var yyq4252 [4]bool - _, _, _ = yysep4252, yyq4252, yy2arr4252 - const yyr4252 bool = false - yyq4252[0] = x.Kind != "" - yyq4252[1] = x.APIVersion != "" - yyq4252[2] = true - var yynn4252 int - if yyr4252 || yy2arr4252 { + yysep4243 := !z.EncBinary() + yy2arr4243 := z.EncBasicHandle().StructToArray + var yyq4243 [4]bool + _, _, _ = yysep4243, yyq4243, yy2arr4243 + const yyr4243 bool = false + yyq4243[0] = x.Kind != "" + yyq4243[1] = x.APIVersion != "" + yyq4243[2] = true + var yynn4243 int + if yyr4243 || yy2arr4243 { r.EncodeArrayStart(4) } else { - yynn4252 = 1 - for _, b := range yyq4252 { + yynn4243 = 1 + for _, b := range yyq4243 { if b { - yynn4252++ + yynn4243++ } } - r.EncodeMapStart(yynn4252) - yynn4252 = 0 + r.EncodeMapStart(yynn4243) + yynn4243 = 0 } - if yyr4252 || yy2arr4252 { + if yyr4243 || yy2arr4243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4252[0] { - yym4254 := z.EncBinary() - _ = yym4254 + if yyq4243[0] { + yym4245 := z.EncBinary() + _ = yym4245 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53137,23 +53055,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4252[0] { + if yyq4243[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4255 := z.EncBinary() - _ = yym4255 + yym4246 := z.EncBinary() + _ = yym4246 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4252 || yy2arr4252 { + if yyr4243 || yy2arr4243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4252[1] { - yym4257 := z.EncBinary() - _ = yym4257 + if yyq4243[1] { + yym4248 := z.EncBinary() + _ = yym4248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53162,54 +53080,54 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4252[1] { + if yyq4243[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4258 := z.EncBinary() - _ = yym4258 + yym4249 := z.EncBinary() + _ = yym4249 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4252 || yy2arr4252 { + if yyr4243 || yy2arr4243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4252[2] { - yy4260 := &x.ListMeta - yym4261 := z.EncBinary() - _ = yym4261 + if yyq4243[2] { + yy4251 := &x.ListMeta + yym4252 := z.EncBinary() + _ = yym4252 if false { - } else if z.HasExtensions() && z.EncExt(yy4260) { + } else if z.HasExtensions() && z.EncExt(yy4251) { } else { - z.EncFallback(yy4260) + z.EncFallback(yy4251) } } else { r.EncodeNil() } } else { - if yyq4252[2] { + if yyq4243[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4262 := &x.ListMeta - yym4263 := z.EncBinary() - _ = yym4263 + yy4253 := &x.ListMeta + yym4254 := z.EncBinary() + _ = yym4254 if false { - } else if z.HasExtensions() && z.EncExt(yy4262) { + } else if z.HasExtensions() && z.EncExt(yy4253) { } else { - z.EncFallback(yy4262) + z.EncFallback(yy4253) } } } - if yyr4252 || yy2arr4252 { + if yyr4243 || yy2arr4243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4265 := z.EncBinary() - _ = yym4265 + yym4256 := z.EncBinary() + _ = yym4256 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -53222,15 +53140,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4266 := z.EncBinary() - _ = yym4266 + yym4257 := z.EncBinary() + _ = yym4257 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr4252 || yy2arr4252 { + if yyr4243 || yy2arr4243 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53243,25 +53161,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4267 := z.DecBinary() - _ = yym4267 + yym4258 := z.DecBinary() + _ = yym4258 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4268 := r.ContainerType() - if yyct4268 == codecSelferValueTypeMap1234 { - yyl4268 := r.ReadMapStart() - if yyl4268 == 0 { + yyct4259 := r.ContainerType() + if yyct4259 == codecSelferValueTypeMap1234 { + yyl4259 := r.ReadMapStart() + if yyl4259 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4268, d) + x.codecDecodeSelfFromMap(yyl4259, d) } - } else if yyct4268 == codecSelferValueTypeArray1234 { - yyl4268 := r.ReadArrayStart() - if yyl4268 == 0 { + } else if yyct4259 == codecSelferValueTypeArray1234 { + yyl4259 := r.ReadArrayStart() + if yyl4259 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4268, d) + x.codecDecodeSelfFromArray(yyl4259, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53273,12 +53191,12 @@ func (x *SecretList) 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 yys4260Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4260Slc + var yyhl4260 bool = l >= 0 + for yyj4260 := 0; ; yyj4260++ { + if yyhl4260 { + if yyj4260 >= l { break } } else { @@ -53287,10 +53205,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4269Slc = r.DecodeBytes(yys4269Slc, true, true) - yys4269 := string(yys4269Slc) + yys4260Slc = r.DecodeBytes(yys4260Slc, true, true) + yys4260 := string(yys4260Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4269 { + switch yys4260 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53307,31 +53225,31 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4272 := &x.ListMeta - yym4273 := z.DecBinary() - _ = yym4273 + yyv4263 := &x.ListMeta + yym4264 := z.DecBinary() + _ = yym4264 if false { - } else if z.HasExtensions() && z.DecExt(yyv4272) { + } else if z.HasExtensions() && z.DecExt(yyv4263) { } else { - z.DecFallback(yyv4272, false) + z.DecFallback(yyv4263, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4274 := &x.Items - yym4275 := z.DecBinary() - _ = yym4275 + yyv4265 := &x.Items + yym4266 := z.DecBinary() + _ = yym4266 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4274), d) + h.decSliceSecret((*[]Secret)(yyv4265), d) } } default: - z.DecStructFieldNotFound(-1, yys4269) - } // end switch yys4269 - } // end for yyj4269 + z.DecStructFieldNotFound(-1, yys4260) + } // end switch yys4260 + } // end for yyj4260 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53339,16 +53257,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4276 int - var yyb4276 bool - var yyhl4276 bool = l >= 0 - yyj4276++ - if yyhl4276 { - yyb4276 = yyj4276 > l + var yyj4267 int + var yyb4267 bool + var yyhl4267 bool = l >= 0 + yyj4267++ + if yyhl4267 { + yyb4267 = yyj4267 > l } else { - yyb4276 = r.CheckBreak() + yyb4267 = r.CheckBreak() } - if yyb4276 { + if yyb4267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53358,13 +53276,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4276++ - if yyhl4276 { - yyb4276 = yyj4276 > l + yyj4267++ + if yyhl4267 { + yyb4267 = yyj4267 > l } else { - yyb4276 = r.CheckBreak() + yyb4267 = r.CheckBreak() } - if yyb4276 { + if yyb4267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53374,13 +53292,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4276++ - if yyhl4276 { - yyb4276 = yyj4276 > l + yyj4267++ + if yyhl4267 { + yyb4267 = yyj4267 > l } else { - yyb4276 = r.CheckBreak() + yyb4267 = r.CheckBreak() } - if yyb4276 { + if yyb4267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53388,22 +53306,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4279 := &x.ListMeta - yym4280 := z.DecBinary() - _ = yym4280 + yyv4270 := &x.ListMeta + yym4271 := z.DecBinary() + _ = yym4271 if false { - } else if z.HasExtensions() && z.DecExt(yyv4279) { + } else if z.HasExtensions() && z.DecExt(yyv4270) { } else { - z.DecFallback(yyv4279, false) + z.DecFallback(yyv4270, false) } } - yyj4276++ - if yyhl4276 { - yyb4276 = yyj4276 > l + yyj4267++ + if yyhl4267 { + yyb4267 = yyj4267 > l } else { - yyb4276 = r.CheckBreak() + yyb4267 = r.CheckBreak() } - if yyb4276 { + if yyb4267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53411,26 +53329,26 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4281 := &x.Items - yym4282 := z.DecBinary() - _ = yym4282 + yyv4272 := &x.Items + yym4273 := z.DecBinary() + _ = yym4273 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4281), d) + h.decSliceSecret((*[]Secret)(yyv4272), d) } } for { - yyj4276++ - if yyhl4276 { - yyb4276 = yyj4276 > l + yyj4267++ + if yyhl4267 { + yyb4267 = yyj4267 > l } else { - yyb4276 = r.CheckBreak() + yyb4267 = r.CheckBreak() } - if yyb4276 { + if yyb4267 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4276-1, "") + z.DecStructFieldNotFound(yyj4267-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53442,38 +53360,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4283 := z.EncBinary() - _ = yym4283 + yym4274 := z.EncBinary() + _ = yym4274 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4284 := !z.EncBinary() - yy2arr4284 := z.EncBasicHandle().StructToArray - var yyq4284 [4]bool - _, _, _ = yysep4284, yyq4284, yy2arr4284 - const yyr4284 bool = false - yyq4284[0] = x.Kind != "" - yyq4284[1] = x.APIVersion != "" - yyq4284[2] = true - yyq4284[3] = len(x.Data) != 0 - var yynn4284 int - if yyr4284 || yy2arr4284 { + yysep4275 := !z.EncBinary() + yy2arr4275 := z.EncBasicHandle().StructToArray + var yyq4275 [4]bool + _, _, _ = yysep4275, yyq4275, yy2arr4275 + const yyr4275 bool = false + yyq4275[0] = x.Kind != "" + yyq4275[1] = x.APIVersion != "" + yyq4275[2] = true + yyq4275[3] = len(x.Data) != 0 + var yynn4275 int + if yyr4275 || yy2arr4275 { r.EncodeArrayStart(4) } else { - yynn4284 = 0 - for _, b := range yyq4284 { + yynn4275 = 0 + for _, b := range yyq4275 { if b { - yynn4284++ + yynn4275++ } } - r.EncodeMapStart(yynn4284) - yynn4284 = 0 + r.EncodeMapStart(yynn4275) + yynn4275 = 0 } - if yyr4284 || yy2arr4284 { + if yyr4275 || yy2arr4275 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4284[0] { - yym4286 := z.EncBinary() - _ = yym4286 + if yyq4275[0] { + yym4277 := z.EncBinary() + _ = yym4277 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53482,23 +53400,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4284[0] { + if yyq4275[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4287 := z.EncBinary() - _ = yym4287 + yym4278 := z.EncBinary() + _ = yym4278 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4284 || yy2arr4284 { + if yyr4275 || yy2arr4275 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4284[1] { - yym4289 := z.EncBinary() - _ = yym4289 + if yyq4275[1] { + yym4280 := z.EncBinary() + _ = yym4280 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53507,43 +53425,43 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4284[1] { + if yyq4275[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4290 := z.EncBinary() - _ = yym4290 + yym4281 := z.EncBinary() + _ = yym4281 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4284 || yy2arr4284 { + if yyr4275 || yy2arr4275 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4284[2] { - yy4292 := &x.ObjectMeta - yy4292.CodecEncodeSelf(e) + if yyq4275[2] { + yy4283 := &x.ObjectMeta + yy4283.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4284[2] { + if yyq4275[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4293 := &x.ObjectMeta - yy4293.CodecEncodeSelf(e) + yy4284 := &x.ObjectMeta + yy4284.CodecEncodeSelf(e) } } - if yyr4284 || yy2arr4284 { + if yyr4275 || yy2arr4275 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4284[3] { + if yyq4275[3] { if x.Data == nil { r.EncodeNil() } else { - yym4295 := z.EncBinary() - _ = yym4295 + yym4286 := z.EncBinary() + _ = yym4286 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -53553,15 +53471,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4284[3] { + if yyq4275[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4296 := z.EncBinary() - _ = yym4296 + yym4287 := z.EncBinary() + _ = yym4287 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -53569,7 +53487,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4284 || yy2arr4284 { + if yyr4275 || yy2arr4275 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53582,25 +53500,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4297 := z.DecBinary() - _ = yym4297 + yym4288 := z.DecBinary() + _ = yym4288 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4298 := r.ContainerType() - if yyct4298 == codecSelferValueTypeMap1234 { - yyl4298 := r.ReadMapStart() - if yyl4298 == 0 { + yyct4289 := r.ContainerType() + if yyct4289 == codecSelferValueTypeMap1234 { + yyl4289 := r.ReadMapStart() + if yyl4289 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4298, d) + x.codecDecodeSelfFromMap(yyl4289, d) } - } else if yyct4298 == codecSelferValueTypeArray1234 { - yyl4298 := r.ReadArrayStart() - if yyl4298 == 0 { + } else if yyct4289 == codecSelferValueTypeArray1234 { + yyl4289 := r.ReadArrayStart() + if yyl4289 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4298, d) + x.codecDecodeSelfFromArray(yyl4289, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53612,12 +53530,12 @@ func (x *ConfigMap) 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 yys4290Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4290Slc + var yyhl4290 bool = l >= 0 + for yyj4290 := 0; ; yyj4290++ { + if yyhl4290 { + if yyj4290 >= l { break } } else { @@ -53626,10 +53544,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4299Slc = r.DecodeBytes(yys4299Slc, true, true) - yys4299 := string(yys4299Slc) + yys4290Slc = r.DecodeBytes(yys4290Slc, true, true) + yys4290 := string(yys4290Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4299 { + switch yys4290 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53646,25 +53564,25 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4302 := &x.ObjectMeta - yyv4302.CodecDecodeSelf(d) + yyv4293 := &x.ObjectMeta + yyv4293.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4303 := &x.Data - yym4304 := z.DecBinary() - _ = yym4304 + yyv4294 := &x.Data + yym4295 := z.DecBinary() + _ = yym4295 if false { } else { - z.F.DecMapStringStringX(yyv4303, false, d) + z.F.DecMapStringStringX(yyv4294, false, d) } } default: - z.DecStructFieldNotFound(-1, yys4299) - } // end switch yys4299 - } // end for yyj4299 + z.DecStructFieldNotFound(-1, yys4290) + } // end switch yys4290 + } // end for yyj4290 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53672,16 +53590,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4305 int - var yyb4305 bool - var yyhl4305 bool = l >= 0 - yyj4305++ - if yyhl4305 { - yyb4305 = yyj4305 > l + var yyj4296 int + var yyb4296 bool + var yyhl4296 bool = l >= 0 + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4305 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4305 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53691,13 +53609,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4305++ - if yyhl4305 { - yyb4305 = yyj4305 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4305 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4305 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53707,13 +53625,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4305++ - if yyhl4305 { - yyb4305 = yyj4305 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4305 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4305 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53721,16 +53639,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4308 := &x.ObjectMeta - yyv4308.CodecDecodeSelf(d) + yyv4299 := &x.ObjectMeta + yyv4299.CodecDecodeSelf(d) } - yyj4305++ - if yyhl4305 { - yyb4305 = yyj4305 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4305 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4305 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53738,26 +53656,26 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4309 := &x.Data - yym4310 := z.DecBinary() - _ = yym4310 + yyv4300 := &x.Data + yym4301 := z.DecBinary() + _ = yym4301 if false { } else { - z.F.DecMapStringStringX(yyv4309, false, d) + z.F.DecMapStringStringX(yyv4300, false, d) } } for { - yyj4305++ - if yyhl4305 { - yyb4305 = yyj4305 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4305 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4305 { + if yyb4296 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4305-1, "") + z.DecStructFieldNotFound(yyj4296-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53769,37 +53687,37 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4311 := z.EncBinary() - _ = yym4311 + yym4302 := z.EncBinary() + _ = yym4302 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4312 := !z.EncBinary() - yy2arr4312 := z.EncBasicHandle().StructToArray - var yyq4312 [4]bool - _, _, _ = yysep4312, yyq4312, yy2arr4312 - const yyr4312 bool = false - yyq4312[0] = x.Kind != "" - yyq4312[1] = x.APIVersion != "" - yyq4312[2] = true - var yynn4312 int - if yyr4312 || yy2arr4312 { + yysep4303 := !z.EncBinary() + yy2arr4303 := z.EncBasicHandle().StructToArray + var yyq4303 [4]bool + _, _, _ = yysep4303, yyq4303, yy2arr4303 + const yyr4303 bool = false + yyq4303[0] = x.Kind != "" + yyq4303[1] = x.APIVersion != "" + yyq4303[2] = true + var yynn4303 int + if yyr4303 || yy2arr4303 { r.EncodeArrayStart(4) } else { - yynn4312 = 1 - for _, b := range yyq4312 { + yynn4303 = 1 + for _, b := range yyq4303 { if b { - yynn4312++ + yynn4303++ } } - r.EncodeMapStart(yynn4312) - yynn4312 = 0 + r.EncodeMapStart(yynn4303) + yynn4303 = 0 } - if yyr4312 || yy2arr4312 { + if yyr4303 || yy2arr4303 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4312[0] { - yym4314 := z.EncBinary() - _ = yym4314 + if yyq4303[0] { + yym4305 := z.EncBinary() + _ = yym4305 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53808,23 +53726,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4312[0] { + if yyq4303[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4315 := z.EncBinary() - _ = yym4315 + yym4306 := z.EncBinary() + _ = yym4306 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4312 || yy2arr4312 { + if yyr4303 || yy2arr4303 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4312[1] { - yym4317 := z.EncBinary() - _ = yym4317 + if yyq4303[1] { + yym4308 := z.EncBinary() + _ = yym4308 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53833,54 +53751,54 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4312[1] { + if yyq4303[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4318 := z.EncBinary() - _ = yym4318 + yym4309 := z.EncBinary() + _ = yym4309 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4312 || yy2arr4312 { + if yyr4303 || yy2arr4303 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4312[2] { - yy4320 := &x.ListMeta - yym4321 := z.EncBinary() - _ = yym4321 + if yyq4303[2] { + yy4311 := &x.ListMeta + yym4312 := z.EncBinary() + _ = yym4312 if false { - } else if z.HasExtensions() && z.EncExt(yy4320) { + } else if z.HasExtensions() && z.EncExt(yy4311) { } else { - z.EncFallback(yy4320) + z.EncFallback(yy4311) } } else { r.EncodeNil() } } else { - if yyq4312[2] { + if yyq4303[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4322 := &x.ListMeta - yym4323 := z.EncBinary() - _ = yym4323 + yy4313 := &x.ListMeta + yym4314 := z.EncBinary() + _ = yym4314 if false { - } else if z.HasExtensions() && z.EncExt(yy4322) { + } else if z.HasExtensions() && z.EncExt(yy4313) { } else { - z.EncFallback(yy4322) + z.EncFallback(yy4313) } } } - if yyr4312 || yy2arr4312 { + if yyr4303 || yy2arr4303 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4325 := z.EncBinary() - _ = yym4325 + yym4316 := z.EncBinary() + _ = yym4316 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -53893,15 +53811,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4326 := z.EncBinary() - _ = yym4326 + yym4317 := z.EncBinary() + _ = yym4317 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) } } } - if yyr4312 || yy2arr4312 { + if yyr4303 || yy2arr4303 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53914,25 +53832,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4327 := z.DecBinary() - _ = yym4327 + yym4318 := z.DecBinary() + _ = yym4318 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4328 := r.ContainerType() - if yyct4328 == codecSelferValueTypeMap1234 { - yyl4328 := r.ReadMapStart() - if yyl4328 == 0 { + yyct4319 := r.ContainerType() + if yyct4319 == codecSelferValueTypeMap1234 { + yyl4319 := r.ReadMapStart() + if yyl4319 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4328, d) + x.codecDecodeSelfFromMap(yyl4319, d) } - } else if yyct4328 == codecSelferValueTypeArray1234 { - yyl4328 := r.ReadArrayStart() - if yyl4328 == 0 { + } else if yyct4319 == codecSelferValueTypeArray1234 { + yyl4319 := r.ReadArrayStart() + if yyl4319 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4328, d) + x.codecDecodeSelfFromArray(yyl4319, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53944,12 +53862,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4329Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4329Slc - var yyhl4329 bool = l >= 0 - for yyj4329 := 0; ; yyj4329++ { - if yyhl4329 { - if yyj4329 >= l { + var yys4320Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4320Slc + var yyhl4320 bool = l >= 0 + for yyj4320 := 0; ; yyj4320++ { + if yyhl4320 { + if yyj4320 >= l { break } } else { @@ -53958,10 +53876,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4329Slc = r.DecodeBytes(yys4329Slc, true, true) - yys4329 := string(yys4329Slc) + yys4320Slc = r.DecodeBytes(yys4320Slc, true, true) + yys4320 := string(yys4320Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4329 { + switch yys4320 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53978,31 +53896,31 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4332 := &x.ListMeta - yym4333 := z.DecBinary() - _ = yym4333 + yyv4323 := &x.ListMeta + yym4324 := z.DecBinary() + _ = yym4324 if false { - } else if z.HasExtensions() && z.DecExt(yyv4332) { + } else if z.HasExtensions() && z.DecExt(yyv4323) { } else { - z.DecFallback(yyv4332, false) + z.DecFallback(yyv4323, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4334 := &x.Items - yym4335 := z.DecBinary() - _ = yym4335 + yyv4325 := &x.Items + yym4326 := z.DecBinary() + _ = yym4326 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4334), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv4325), d) } } default: - z.DecStructFieldNotFound(-1, yys4329) - } // end switch yys4329 - } // end for yyj4329 + z.DecStructFieldNotFound(-1, yys4320) + } // end switch yys4320 + } // end for yyj4320 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54010,16 +53928,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4336 int - var yyb4336 bool - var yyhl4336 bool = l >= 0 - yyj4336++ - if yyhl4336 { - yyb4336 = yyj4336 > l + var yyj4327 int + var yyb4327 bool + var yyhl4327 bool = l >= 0 + yyj4327++ + if yyhl4327 { + yyb4327 = yyj4327 > l } else { - yyb4336 = r.CheckBreak() + yyb4327 = r.CheckBreak() } - if yyb4336 { + if yyb4327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54029,13 +53947,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4336++ - if yyhl4336 { - yyb4336 = yyj4336 > l + yyj4327++ + if yyhl4327 { + yyb4327 = yyj4327 > l } else { - yyb4336 = r.CheckBreak() + yyb4327 = r.CheckBreak() } - if yyb4336 { + if yyb4327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54045,13 +53963,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4336++ - if yyhl4336 { - yyb4336 = yyj4336 > l + yyj4327++ + if yyhl4327 { + yyb4327 = yyj4327 > l } else { - yyb4336 = r.CheckBreak() + yyb4327 = r.CheckBreak() } - if yyb4336 { + if yyb4327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54059,22 +53977,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4339 := &x.ListMeta - yym4340 := z.DecBinary() - _ = yym4340 + yyv4330 := &x.ListMeta + yym4331 := z.DecBinary() + _ = yym4331 if false { - } else if z.HasExtensions() && z.DecExt(yyv4339) { + } else if z.HasExtensions() && z.DecExt(yyv4330) { } else { - z.DecFallback(yyv4339, false) + z.DecFallback(yyv4330, false) } } - yyj4336++ - if yyhl4336 { - yyb4336 = yyj4336 > l + yyj4327++ + if yyhl4327 { + yyb4327 = yyj4327 > l } else { - yyb4336 = r.CheckBreak() + yyb4327 = r.CheckBreak() } - if yyb4336 { + if yyb4327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54082,26 +54000,26 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4341 := &x.Items - yym4342 := z.DecBinary() - _ = yym4342 + yyv4332 := &x.Items + yym4333 := z.DecBinary() + _ = yym4333 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4341), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv4332), d) } } for { - yyj4336++ - if yyhl4336 { - yyb4336 = yyj4336 > l + yyj4327++ + if yyhl4327 { + yyb4327 = yyj4327 > l } else { - yyb4336 = r.CheckBreak() + yyb4327 = r.CheckBreak() } - if yyb4336 { + if yyb4327 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4336-1, "") + z.DecStructFieldNotFound(yyj4327-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54110,8 +54028,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4343 := z.EncBinary() - _ = yym4343 + yym4334 := z.EncBinary() + _ = yym4334 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -54123,8 +54041,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4344 := z.DecBinary() - _ = yym4344 + yym4335 := z.DecBinary() + _ = yym4335 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -54139,32 +54057,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4345 := z.EncBinary() - _ = yym4345 + yym4336 := z.EncBinary() + _ = yym4336 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4346 := !z.EncBinary() - yy2arr4346 := z.EncBasicHandle().StructToArray - var yyq4346 [4]bool - _, _, _ = yysep4346, yyq4346, yy2arr4346 - const yyr4346 bool = false - yyq4346[2] = x.Message != "" - yyq4346[3] = x.Error != "" - var yynn4346 int - if yyr4346 || yy2arr4346 { + yysep4337 := !z.EncBinary() + yy2arr4337 := z.EncBasicHandle().StructToArray + var yyq4337 [4]bool + _, _, _ = yysep4337, yyq4337, yy2arr4337 + const yyr4337 bool = false + yyq4337[2] = x.Message != "" + yyq4337[3] = x.Error != "" + var yynn4337 int + if yyr4337 || yy2arr4337 { r.EncodeArrayStart(4) } else { - yynn4346 = 2 - for _, b := range yyq4346 { + yynn4337 = 2 + for _, b := range yyq4337 { if b { - yynn4346++ + yynn4337++ } } - r.EncodeMapStart(yynn4346) - yynn4346 = 0 + r.EncodeMapStart(yynn4337) + yynn4337 = 0 } - if yyr4346 || yy2arr4346 { + if yyr4337 || yy2arr4337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -54173,7 +54091,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr4346 || yy2arr4346 { + if yyr4337 || yy2arr4337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -54182,11 +54100,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr4346 || yy2arr4346 { + if yyr4337 || yy2arr4337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4346[2] { - yym4350 := z.EncBinary() - _ = yym4350 + if yyq4337[2] { + yym4341 := z.EncBinary() + _ = yym4341 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -54195,23 +54113,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4346[2] { + if yyq4337[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4351 := z.EncBinary() - _ = yym4351 + yym4342 := z.EncBinary() + _ = yym4342 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr4346 || yy2arr4346 { + if yyr4337 || yy2arr4337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4346[3] { - yym4353 := z.EncBinary() - _ = yym4353 + if yyq4337[3] { + yym4344 := z.EncBinary() + _ = yym4344 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -54220,19 +54138,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4346[3] { + if yyq4337[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4354 := z.EncBinary() - _ = yym4354 + yym4345 := z.EncBinary() + _ = yym4345 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr4346 || yy2arr4346 { + if yyr4337 || yy2arr4337 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54245,25 +54163,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4355 := z.DecBinary() - _ = yym4355 + yym4346 := z.DecBinary() + _ = yym4346 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4356 := r.ContainerType() - if yyct4356 == codecSelferValueTypeMap1234 { - yyl4356 := r.ReadMapStart() - if yyl4356 == 0 { + yyct4347 := r.ContainerType() + if yyct4347 == codecSelferValueTypeMap1234 { + yyl4347 := r.ReadMapStart() + if yyl4347 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4356, d) + x.codecDecodeSelfFromMap(yyl4347, d) } - } else if yyct4356 == codecSelferValueTypeArray1234 { - yyl4356 := r.ReadArrayStart() - if yyl4356 == 0 { + } else if yyct4347 == codecSelferValueTypeArray1234 { + yyl4347 := r.ReadArrayStart() + if yyl4347 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4356, d) + x.codecDecodeSelfFromArray(yyl4347, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54275,12 +54193,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4357Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4357Slc - var yyhl4357 bool = l >= 0 - for yyj4357 := 0; ; yyj4357++ { - if yyhl4357 { - if yyj4357 >= l { + var yys4348Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4348Slc + var yyhl4348 bool = l >= 0 + for yyj4348 := 0; ; yyj4348++ { + if yyhl4348 { + if yyj4348 >= l { break } } else { @@ -54289,10 +54207,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4357Slc = r.DecodeBytes(yys4357Slc, true, true) - yys4357 := string(yys4357Slc) + yys4348Slc = r.DecodeBytes(yys4348Slc, true, true) + yys4348 := string(yys4348Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4357 { + switch yys4348 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -54318,9 +54236,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4357) - } // end switch yys4357 - } // end for yyj4357 + z.DecStructFieldNotFound(-1, yys4348) + } // end switch yys4348 + } // end for yyj4348 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54328,16 +54246,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4362 int - var yyb4362 bool - var yyhl4362 bool = l >= 0 - yyj4362++ - if yyhl4362 { - yyb4362 = yyj4362 > l + var yyj4353 int + var yyb4353 bool + var yyhl4353 bool = l >= 0 + yyj4353++ + if yyhl4353 { + yyb4353 = yyj4353 > l } else { - yyb4362 = r.CheckBreak() + yyb4353 = r.CheckBreak() } - if yyb4362 { + if yyb4353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54347,13 +54265,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj4362++ - if yyhl4362 { - yyb4362 = yyj4362 > l + yyj4353++ + if yyhl4353 { + yyb4353 = yyj4353 > l } else { - yyb4362 = r.CheckBreak() + yyb4353 = r.CheckBreak() } - if yyb4362 { + if yyb4353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54363,13 +54281,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj4362++ - if yyhl4362 { - yyb4362 = yyj4362 > l + yyj4353++ + if yyhl4353 { + yyb4353 = yyj4353 > l } else { - yyb4362 = r.CheckBreak() + yyb4353 = r.CheckBreak() } - if yyb4362 { + if yyb4353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54379,13 +54297,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj4362++ - if yyhl4362 { - yyb4362 = yyj4362 > l + yyj4353++ + if yyhl4353 { + yyb4353 = yyj4353 > l } else { - yyb4362 = r.CheckBreak() + yyb4353 = r.CheckBreak() } - if yyb4362 { + if yyb4353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54396,17 +54314,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj4362++ - if yyhl4362 { - yyb4362 = yyj4362 > l + yyj4353++ + if yyhl4353 { + yyb4353 = yyj4353 > l } else { - yyb4362 = r.CheckBreak() + yyb4353 = r.CheckBreak() } - if yyb4362 { + if yyb4353 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4362-1, "") + z.DecStructFieldNotFound(yyj4353-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54418,38 +54336,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4367 := z.EncBinary() - _ = yym4367 + yym4358 := z.EncBinary() + _ = yym4358 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4368 := !z.EncBinary() - yy2arr4368 := z.EncBasicHandle().StructToArray - var yyq4368 [4]bool - _, _, _ = yysep4368, yyq4368, yy2arr4368 - const yyr4368 bool = false - yyq4368[0] = x.Kind != "" - yyq4368[1] = x.APIVersion != "" - yyq4368[2] = true - yyq4368[3] = len(x.Conditions) != 0 - var yynn4368 int - if yyr4368 || yy2arr4368 { + yysep4359 := !z.EncBinary() + yy2arr4359 := z.EncBasicHandle().StructToArray + var yyq4359 [4]bool + _, _, _ = yysep4359, yyq4359, yy2arr4359 + const yyr4359 bool = false + yyq4359[0] = x.Kind != "" + yyq4359[1] = x.APIVersion != "" + yyq4359[2] = true + yyq4359[3] = len(x.Conditions) != 0 + var yynn4359 int + if yyr4359 || yy2arr4359 { r.EncodeArrayStart(4) } else { - yynn4368 = 0 - for _, b := range yyq4368 { + yynn4359 = 0 + for _, b := range yyq4359 { if b { - yynn4368++ + yynn4359++ } } - r.EncodeMapStart(yynn4368) - yynn4368 = 0 + r.EncodeMapStart(yynn4359) + yynn4359 = 0 } - if yyr4368 || yy2arr4368 { + if yyr4359 || yy2arr4359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4368[0] { - yym4370 := z.EncBinary() - _ = yym4370 + if yyq4359[0] { + yym4361 := z.EncBinary() + _ = yym4361 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54458,23 +54376,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4368[0] { + if yyq4359[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4371 := z.EncBinary() - _ = yym4371 + yym4362 := z.EncBinary() + _ = yym4362 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4368 || yy2arr4368 { + if yyr4359 || yy2arr4359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4368[1] { - yym4373 := z.EncBinary() - _ = yym4373 + if yyq4359[1] { + yym4364 := z.EncBinary() + _ = yym4364 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54483,43 +54401,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4368[1] { + if yyq4359[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4374 := z.EncBinary() - _ = yym4374 + yym4365 := z.EncBinary() + _ = yym4365 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4368 || yy2arr4368 { + if yyr4359 || yy2arr4359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4368[2] { - yy4376 := &x.ObjectMeta - yy4376.CodecEncodeSelf(e) + if yyq4359[2] { + yy4367 := &x.ObjectMeta + yy4367.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4368[2] { + if yyq4359[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4377 := &x.ObjectMeta - yy4377.CodecEncodeSelf(e) + yy4368 := &x.ObjectMeta + yy4368.CodecEncodeSelf(e) } } - if yyr4368 || yy2arr4368 { + if yyr4359 || yy2arr4359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4368[3] { + if yyq4359[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym4379 := z.EncBinary() - _ = yym4379 + yym4370 := z.EncBinary() + _ = yym4370 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -54529,15 +54447,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4368[3] { + if yyq4359[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym4380 := z.EncBinary() - _ = yym4380 + yym4371 := z.EncBinary() + _ = yym4371 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -54545,7 +54463,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4368 || yy2arr4368 { + if yyr4359 || yy2arr4359 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54558,25 +54476,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4381 := z.DecBinary() - _ = yym4381 + yym4372 := z.DecBinary() + _ = yym4372 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4382 := r.ContainerType() - if yyct4382 == codecSelferValueTypeMap1234 { - yyl4382 := r.ReadMapStart() - if yyl4382 == 0 { + yyct4373 := r.ContainerType() + if yyct4373 == codecSelferValueTypeMap1234 { + yyl4373 := r.ReadMapStart() + if yyl4373 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4382, d) + x.codecDecodeSelfFromMap(yyl4373, d) } - } else if yyct4382 == codecSelferValueTypeArray1234 { - yyl4382 := r.ReadArrayStart() - if yyl4382 == 0 { + } else if yyct4373 == codecSelferValueTypeArray1234 { + yyl4373 := r.ReadArrayStart() + if yyl4373 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4382, d) + x.codecDecodeSelfFromArray(yyl4373, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54588,12 +54506,12 @@ func (x *ComponentStatus) 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 yys4374Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4374Slc + var yyhl4374 bool = l >= 0 + for yyj4374 := 0; ; yyj4374++ { + if yyhl4374 { + if yyj4374 >= l { break } } else { @@ -54602,10 +54520,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4383Slc = r.DecodeBytes(yys4383Slc, true, true) - yys4383 := string(yys4383Slc) + yys4374Slc = r.DecodeBytes(yys4374Slc, true, true) + yys4374 := string(yys4374Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4383 { + switch yys4374 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54622,25 +54540,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4386 := &x.ObjectMeta - yyv4386.CodecDecodeSelf(d) + yyv4377 := &x.ObjectMeta + yyv4377.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4387 := &x.Conditions - yym4388 := z.DecBinary() - _ = yym4388 + yyv4378 := &x.Conditions + yym4379 := z.DecBinary() + _ = yym4379 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4387), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4378), d) } } default: - z.DecStructFieldNotFound(-1, yys4383) - } // end switch yys4383 - } // end for yyj4383 + z.DecStructFieldNotFound(-1, yys4374) + } // end switch yys4374 + } // end for yyj4374 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54648,16 +54566,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4389 int - var yyb4389 bool - var yyhl4389 bool = l >= 0 - yyj4389++ - if yyhl4389 { - yyb4389 = yyj4389 > l + var yyj4380 int + var yyb4380 bool + var yyhl4380 bool = l >= 0 + yyj4380++ + if yyhl4380 { + yyb4380 = yyj4380 > l } else { - yyb4389 = r.CheckBreak() + yyb4380 = r.CheckBreak() } - if yyb4389 { + if yyb4380 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54667,13 +54585,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4389++ - if yyhl4389 { - yyb4389 = yyj4389 > l + yyj4380++ + if yyhl4380 { + yyb4380 = yyj4380 > l } else { - yyb4389 = r.CheckBreak() + yyb4380 = r.CheckBreak() } - if yyb4389 { + if yyb4380 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54683,13 +54601,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4389++ - if yyhl4389 { - yyb4389 = yyj4389 > l + yyj4380++ + if yyhl4380 { + yyb4380 = yyj4380 > l } else { - yyb4389 = r.CheckBreak() + yyb4380 = r.CheckBreak() } - if yyb4389 { + if yyb4380 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54697,16 +54615,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4392 := &x.ObjectMeta - yyv4392.CodecDecodeSelf(d) + yyv4383 := &x.ObjectMeta + yyv4383.CodecDecodeSelf(d) } - yyj4389++ - if yyhl4389 { - yyb4389 = yyj4389 > l + yyj4380++ + if yyhl4380 { + yyb4380 = yyj4380 > l } else { - yyb4389 = r.CheckBreak() + yyb4380 = r.CheckBreak() } - if yyb4389 { + if yyb4380 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54714,26 +54632,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4393 := &x.Conditions - yym4394 := z.DecBinary() - _ = yym4394 + yyv4384 := &x.Conditions + yym4385 := z.DecBinary() + _ = yym4385 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4393), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4384), d) } } for { - yyj4389++ - if yyhl4389 { - yyb4389 = yyj4389 > l + yyj4380++ + if yyhl4380 { + yyb4380 = yyj4380 > l } else { - yyb4389 = r.CheckBreak() + yyb4380 = r.CheckBreak() } - if yyb4389 { + if yyb4380 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4389-1, "") + z.DecStructFieldNotFound(yyj4380-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54745,37 +54663,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4395 := z.EncBinary() - _ = yym4395 + yym4386 := z.EncBinary() + _ = yym4386 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4396 := !z.EncBinary() - yy2arr4396 := z.EncBasicHandle().StructToArray - var yyq4396 [4]bool - _, _, _ = yysep4396, yyq4396, yy2arr4396 - const yyr4396 bool = false - yyq4396[0] = x.Kind != "" - yyq4396[1] = x.APIVersion != "" - yyq4396[2] = true - var yynn4396 int - if yyr4396 || yy2arr4396 { + yysep4387 := !z.EncBinary() + yy2arr4387 := z.EncBasicHandle().StructToArray + var yyq4387 [4]bool + _, _, _ = yysep4387, yyq4387, yy2arr4387 + const yyr4387 bool = false + yyq4387[0] = x.Kind != "" + yyq4387[1] = x.APIVersion != "" + yyq4387[2] = true + var yynn4387 int + if yyr4387 || yy2arr4387 { r.EncodeArrayStart(4) } else { - yynn4396 = 1 - for _, b := range yyq4396 { + yynn4387 = 1 + for _, b := range yyq4387 { if b { - yynn4396++ + yynn4387++ } } - r.EncodeMapStart(yynn4396) - yynn4396 = 0 + r.EncodeMapStart(yynn4387) + yynn4387 = 0 } - if yyr4396 || yy2arr4396 { + if yyr4387 || yy2arr4387 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4396[0] { - yym4398 := z.EncBinary() - _ = yym4398 + if yyq4387[0] { + yym4389 := z.EncBinary() + _ = yym4389 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54784,23 +54702,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4396[0] { + if yyq4387[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4399 := z.EncBinary() - _ = yym4399 + yym4390 := z.EncBinary() + _ = yym4390 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4396 || yy2arr4396 { + if yyr4387 || yy2arr4387 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4396[1] { - yym4401 := z.EncBinary() - _ = yym4401 + if yyq4387[1] { + yym4392 := z.EncBinary() + _ = yym4392 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54809,54 +54727,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4396[1] { + if yyq4387[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4402 := z.EncBinary() - _ = yym4402 + yym4393 := z.EncBinary() + _ = yym4393 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4396 || yy2arr4396 { + if yyr4387 || yy2arr4387 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4396[2] { - yy4404 := &x.ListMeta - yym4405 := z.EncBinary() - _ = yym4405 + if yyq4387[2] { + yy4395 := &x.ListMeta + yym4396 := z.EncBinary() + _ = yym4396 if false { - } else if z.HasExtensions() && z.EncExt(yy4404) { + } else if z.HasExtensions() && z.EncExt(yy4395) { } else { - z.EncFallback(yy4404) + z.EncFallback(yy4395) } } else { r.EncodeNil() } } else { - if yyq4396[2] { + if yyq4387[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4406 := &x.ListMeta - yym4407 := z.EncBinary() - _ = yym4407 + yy4397 := &x.ListMeta + yym4398 := z.EncBinary() + _ = yym4398 if false { - } else if z.HasExtensions() && z.EncExt(yy4406) { + } else if z.HasExtensions() && z.EncExt(yy4397) { } else { - z.EncFallback(yy4406) + z.EncFallback(yy4397) } } } - if yyr4396 || yy2arr4396 { + if yyr4387 || yy2arr4387 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4409 := z.EncBinary() - _ = yym4409 + yym4400 := z.EncBinary() + _ = yym4400 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -54869,15 +54787,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4410 := z.EncBinary() - _ = yym4410 + yym4401 := z.EncBinary() + _ = yym4401 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr4396 || yy2arr4396 { + if yyr4387 || yy2arr4387 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54890,25 +54808,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4411 := z.DecBinary() - _ = yym4411 + yym4402 := z.DecBinary() + _ = yym4402 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4412 := r.ContainerType() - if yyct4412 == codecSelferValueTypeMap1234 { - yyl4412 := r.ReadMapStart() - if yyl4412 == 0 { + yyct4403 := r.ContainerType() + if yyct4403 == codecSelferValueTypeMap1234 { + yyl4403 := r.ReadMapStart() + if yyl4403 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4412, d) + x.codecDecodeSelfFromMap(yyl4403, d) } - } else if yyct4412 == codecSelferValueTypeArray1234 { - yyl4412 := r.ReadArrayStart() - if yyl4412 == 0 { + } else if yyct4403 == codecSelferValueTypeArray1234 { + yyl4403 := r.ReadArrayStart() + if yyl4403 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4412, d) + x.codecDecodeSelfFromArray(yyl4403, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54920,12 +54838,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4413Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4413Slc - var yyhl4413 bool = l >= 0 - for yyj4413 := 0; ; yyj4413++ { - if yyhl4413 { - if yyj4413 >= l { + var yys4404Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4404Slc + var yyhl4404 bool = l >= 0 + for yyj4404 := 0; ; yyj4404++ { + if yyhl4404 { + if yyj4404 >= l { break } } else { @@ -54934,10 +54852,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4413Slc = r.DecodeBytes(yys4413Slc, true, true) - yys4413 := string(yys4413Slc) + yys4404Slc = r.DecodeBytes(yys4404Slc, true, true) + yys4404 := string(yys4404Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4413 { + switch yys4404 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54954,31 +54872,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4416 := &x.ListMeta - yym4417 := z.DecBinary() - _ = yym4417 + yyv4407 := &x.ListMeta + yym4408 := z.DecBinary() + _ = yym4408 if false { - } else if z.HasExtensions() && z.DecExt(yyv4416) { + } else if z.HasExtensions() && z.DecExt(yyv4407) { } else { - z.DecFallback(yyv4416, false) + z.DecFallback(yyv4407, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4418 := &x.Items - yym4419 := z.DecBinary() - _ = yym4419 + yyv4409 := &x.Items + yym4410 := z.DecBinary() + _ = yym4410 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4418), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4409), d) } } default: - z.DecStructFieldNotFound(-1, yys4413) - } // end switch yys4413 - } // end for yyj4413 + z.DecStructFieldNotFound(-1, yys4404) + } // end switch yys4404 + } // end for yyj4404 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54986,16 +54904,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4420 int - var yyb4420 bool - var yyhl4420 bool = l >= 0 - yyj4420++ - if yyhl4420 { - yyb4420 = yyj4420 > l + var yyj4411 int + var yyb4411 bool + var yyhl4411 bool = l >= 0 + yyj4411++ + if yyhl4411 { + yyb4411 = yyj4411 > l } else { - yyb4420 = r.CheckBreak() + yyb4411 = r.CheckBreak() } - if yyb4420 { + if yyb4411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55005,13 +54923,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj4420++ - if yyhl4420 { - yyb4420 = yyj4420 > l + yyj4411++ + if yyhl4411 { + yyb4411 = yyj4411 > l } else { - yyb4420 = r.CheckBreak() + yyb4411 = r.CheckBreak() } - if yyb4420 { + if yyb4411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55021,13 +54939,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj4420++ - if yyhl4420 { - yyb4420 = yyj4420 > l + yyj4411++ + if yyhl4411 { + yyb4411 = yyj4411 > l } else { - yyb4420 = r.CheckBreak() + yyb4411 = r.CheckBreak() } - if yyb4420 { + if yyb4411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55035,22 +54953,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4423 := &x.ListMeta - yym4424 := z.DecBinary() - _ = yym4424 + yyv4414 := &x.ListMeta + yym4415 := z.DecBinary() + _ = yym4415 if false { - } else if z.HasExtensions() && z.DecExt(yyv4423) { + } else if z.HasExtensions() && z.DecExt(yyv4414) { } else { - z.DecFallback(yyv4423, false) + z.DecFallback(yyv4414, false) } } - yyj4420++ - if yyhl4420 { - yyb4420 = yyj4420 > l + yyj4411++ + if yyhl4411 { + yyb4411 = yyj4411 > l } else { - yyb4420 = r.CheckBreak() + yyb4411 = r.CheckBreak() } - if yyb4420 { + if yyb4411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55058,26 +54976,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4425 := &x.Items - yym4426 := z.DecBinary() - _ = yym4426 + yyv4416 := &x.Items + yym4417 := z.DecBinary() + _ = yym4417 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4425), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4416), d) } } for { - yyj4420++ - if yyhl4420 { - yyb4420 = yyj4420 > l + yyj4411++ + if yyhl4411 { + yyb4411 = yyj4411 > l } else { - yyb4420 = r.CheckBreak() + yyb4411 = r.CheckBreak() } - if yyb4420 { + if yyb4411 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4420-1, "") + z.DecStructFieldNotFound(yyj4411-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55089,39 +55007,39 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4427 := z.EncBinary() - _ = yym4427 + yym4418 := z.EncBinary() + _ = yym4418 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4428 := !z.EncBinary() - yy2arr4428 := z.EncBasicHandle().StructToArray - var yyq4428 [2]bool - _, _, _ = yysep4428, yyq4428, yy2arr4428 - const yyr4428 bool = false - yyq4428[0] = len(x.Items) != 0 - yyq4428[1] = x.DefaultMode != nil - var yynn4428 int - if yyr4428 || yy2arr4428 { + yysep4419 := !z.EncBinary() + yy2arr4419 := z.EncBasicHandle().StructToArray + var yyq4419 [2]bool + _, _, _ = yysep4419, yyq4419, yy2arr4419 + const yyr4419 bool = false + yyq4419[0] = len(x.Items) != 0 + yyq4419[1] = x.DefaultMode != nil + var yynn4419 int + if yyr4419 || yy2arr4419 { r.EncodeArrayStart(2) } else { - yynn4428 = 0 - for _, b := range yyq4428 { + yynn4419 = 0 + for _, b := range yyq4419 { if b { - yynn4428++ + yynn4419++ } } - r.EncodeMapStart(yynn4428) - yynn4428 = 0 + r.EncodeMapStart(yynn4419) + yynn4419 = 0 } - if yyr4428 || yy2arr4428 { + if yyr4419 || yy2arr4419 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4428[0] { + if yyq4419[0] { if x.Items == nil { r.EncodeNil() } else { - yym4430 := z.EncBinary() - _ = yym4430 + yym4421 := z.EncBinary() + _ = yym4421 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -55131,15 +55049,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4428[0] { + if yyq4419[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym4431 := z.EncBinary() - _ = yym4431 + yym4422 := z.EncBinary() + _ = yym4422 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -55147,42 +55065,42 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4428 || yy2arr4428 { + if yyr4419 || yy2arr4419 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4428[1] { + if yyq4419[1] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy4433 := *x.DefaultMode - yym4434 := z.EncBinary() - _ = yym4434 + yy4424 := *x.DefaultMode + yym4425 := z.EncBinary() + _ = yym4425 if false { } else { - r.EncodeInt(int64(yy4433)) + r.EncodeInt(int64(yy4424)) } } } else { r.EncodeNil() } } else { - if yyq4428[1] { + if yyq4419[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy4435 := *x.DefaultMode - yym4436 := z.EncBinary() - _ = yym4436 + yy4426 := *x.DefaultMode + yym4427 := z.EncBinary() + _ = yym4427 if false { } else { - r.EncodeInt(int64(yy4435)) + r.EncodeInt(int64(yy4426)) } } } } - if yyr4428 || yy2arr4428 { + if yyr4419 || yy2arr4419 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55195,25 +55113,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4437 := z.DecBinary() - _ = yym4437 + yym4428 := z.DecBinary() + _ = yym4428 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4438 := r.ContainerType() - if yyct4438 == codecSelferValueTypeMap1234 { - yyl4438 := r.ReadMapStart() - if yyl4438 == 0 { + yyct4429 := r.ContainerType() + if yyct4429 == codecSelferValueTypeMap1234 { + yyl4429 := r.ReadMapStart() + if yyl4429 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4438, d) + x.codecDecodeSelfFromMap(yyl4429, d) } - } else if yyct4438 == codecSelferValueTypeArray1234 { - yyl4438 := r.ReadArrayStart() - if yyl4438 == 0 { + } else if yyct4429 == codecSelferValueTypeArray1234 { + yyl4429 := r.ReadArrayStart() + if yyl4429 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4438, d) + x.codecDecodeSelfFromArray(yyl4429, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55225,12 +55143,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4439Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4439Slc - var yyhl4439 bool = l >= 0 - for yyj4439 := 0; ; yyj4439++ { - if yyhl4439 { - if yyj4439 >= l { + var yys4430Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4430Slc + var yyhl4430 bool = l >= 0 + for yyj4430 := 0; ; yyj4430++ { + if yyhl4430 { + if yyj4430 >= l { break } } else { @@ -55239,20 +55157,20 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4439Slc = r.DecodeBytes(yys4439Slc, true, true) - yys4439 := string(yys4439Slc) + yys4430Slc = r.DecodeBytes(yys4430Slc, true, true) + yys4430 := string(yys4430Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4439 { + switch yys4430 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4440 := &x.Items - yym4441 := z.DecBinary() - _ = yym4441 + yyv4431 := &x.Items + yym4432 := z.DecBinary() + _ = yym4432 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4440), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4431), d) } } case "defaultMode": @@ -55264,17 +55182,17 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym4443 := z.DecBinary() - _ = yym4443 + yym4434 := z.DecBinary() + _ = yym4434 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys4439) - } // end switch yys4439 - } // end for yyj4439 + z.DecStructFieldNotFound(-1, yys4430) + } // end switch yys4430 + } // end for yyj4430 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55282,16 +55200,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4444 int - var yyb4444 bool - var yyhl4444 bool = l >= 0 - yyj4444++ - if yyhl4444 { - yyb4444 = yyj4444 > l + var yyj4435 int + var yyb4435 bool + var yyhl4435 bool = l >= 0 + yyj4435++ + if yyhl4435 { + yyb4435 = yyj4435 > l } else { - yyb4444 = r.CheckBreak() + yyb4435 = r.CheckBreak() } - if yyb4444 { + if yyb4435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55299,21 +55217,21 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4445 := &x.Items - yym4446 := z.DecBinary() - _ = yym4446 + yyv4436 := &x.Items + yym4437 := z.DecBinary() + _ = yym4437 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4445), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4436), d) } } - yyj4444++ - if yyhl4444 { - yyb4444 = yyj4444 > l + yyj4435++ + if yyhl4435 { + yyb4435 = yyj4435 > l } else { - yyb4444 = r.CheckBreak() + yyb4435 = r.CheckBreak() } - if yyb4444 { + if yyb4435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55326,25 +55244,25 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym4448 := z.DecBinary() - _ = yym4448 + yym4439 := z.DecBinary() + _ = yym4439 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj4444++ - if yyhl4444 { - yyb4444 = yyj4444 > l + yyj4435++ + if yyhl4435 { + yyb4435 = yyj4435 > l } else { - yyb4444 = r.CheckBreak() + yyb4435 = r.CheckBreak() } - if yyb4444 { + if yyb4435 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4444-1, "") + z.DecStructFieldNotFound(yyj4435-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55356,36 +55274,36 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4449 := z.EncBinary() - _ = yym4449 + yym4440 := z.EncBinary() + _ = yym4440 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4450 := !z.EncBinary() - yy2arr4450 := z.EncBasicHandle().StructToArray - var yyq4450 [4]bool - _, _, _ = yysep4450, yyq4450, yy2arr4450 - const yyr4450 bool = false - yyq4450[1] = x.FieldRef != nil - yyq4450[2] = x.ResourceFieldRef != nil - yyq4450[3] = x.Mode != nil - var yynn4450 int - if yyr4450 || yy2arr4450 { + yysep4441 := !z.EncBinary() + yy2arr4441 := z.EncBasicHandle().StructToArray + var yyq4441 [4]bool + _, _, _ = yysep4441, yyq4441, yy2arr4441 + const yyr4441 bool = false + yyq4441[1] = x.FieldRef != nil + yyq4441[2] = x.ResourceFieldRef != nil + yyq4441[3] = x.Mode != nil + var yynn4441 int + if yyr4441 || yy2arr4441 { r.EncodeArrayStart(4) } else { - yynn4450 = 1 - for _, b := range yyq4450 { + yynn4441 = 1 + for _, b := range yyq4441 { if b { - yynn4450++ + yynn4441++ } } - r.EncodeMapStart(yynn4450) - yynn4450 = 0 + r.EncodeMapStart(yynn4441) + yynn4441 = 0 } - if yyr4450 || yy2arr4450 { + if yyr4441 || yy2arr4441 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4452 := z.EncBinary() - _ = yym4452 + yym4443 := z.EncBinary() + _ = yym4443 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -55394,16 +55312,16 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4453 := z.EncBinary() - _ = yym4453 + yym4444 := z.EncBinary() + _ = yym4444 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr4450 || yy2arr4450 { + if yyr4441 || yy2arr4441 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4450[1] { + if yyq4441[1] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -55413,7 +55331,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4450[1] { + if yyq4441[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55424,9 +55342,9 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4450 || yy2arr4450 { + if yyr4441 || yy2arr4441 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4450[2] { + if yyq4441[2] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -55436,7 +55354,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4450[2] { + if yyq4441[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55447,42 +55365,42 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4450 || yy2arr4450 { + if yyr4441 || yy2arr4441 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4450[3] { + if yyq4441[3] { if x.Mode == nil { r.EncodeNil() } else { - yy4457 := *x.Mode - yym4458 := z.EncBinary() - _ = yym4458 + yy4448 := *x.Mode + yym4449 := z.EncBinary() + _ = yym4449 if false { } else { - r.EncodeInt(int64(yy4457)) + r.EncodeInt(int64(yy4448)) } } } else { r.EncodeNil() } } else { - if yyq4450[3] { + if yyq4441[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Mode == nil { r.EncodeNil() } else { - yy4459 := *x.Mode - yym4460 := z.EncBinary() - _ = yym4460 + yy4450 := *x.Mode + yym4451 := z.EncBinary() + _ = yym4451 if false { } else { - r.EncodeInt(int64(yy4459)) + r.EncodeInt(int64(yy4450)) } } } } - if yyr4450 || yy2arr4450 { + if yyr4441 || yy2arr4441 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55495,25 +55413,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4461 := z.DecBinary() - _ = yym4461 + yym4452 := z.DecBinary() + _ = yym4452 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4462 := r.ContainerType() - if yyct4462 == codecSelferValueTypeMap1234 { - yyl4462 := r.ReadMapStart() - if yyl4462 == 0 { + yyct4453 := r.ContainerType() + if yyct4453 == codecSelferValueTypeMap1234 { + yyl4453 := r.ReadMapStart() + if yyl4453 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4462, d) + x.codecDecodeSelfFromMap(yyl4453, d) } - } else if yyct4462 == codecSelferValueTypeArray1234 { - yyl4462 := r.ReadArrayStart() - if yyl4462 == 0 { + } else if yyct4453 == codecSelferValueTypeArray1234 { + yyl4453 := r.ReadArrayStart() + if yyl4453 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4462, d) + x.codecDecodeSelfFromArray(yyl4453, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55525,12 +55443,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4463Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4463Slc - var yyhl4463 bool = l >= 0 - for yyj4463 := 0; ; yyj4463++ { - if yyhl4463 { - if yyj4463 >= l { + var yys4454Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4454Slc + var yyhl4454 bool = l >= 0 + for yyj4454 := 0; ; yyj4454++ { + if yyhl4454 { + if yyj4454 >= l { break } } else { @@ -55539,10 +55457,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4463Slc = r.DecodeBytes(yys4463Slc, true, true) - yys4463 := string(yys4463Slc) + yys4454Slc = r.DecodeBytes(yys4454Slc, true, true) + yys4454 := string(yys4454Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4463 { + switch yys4454 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -55580,17 +55498,17 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.Mode == nil { x.Mode = new(int32) } - yym4468 := z.DecBinary() - _ = yym4468 + yym4459 := z.DecBinary() + _ = yym4459 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys4463) - } // end switch yys4463 - } // end for yyj4463 + z.DecStructFieldNotFound(-1, yys4454) + } // end switch yys4454 + } // end for yyj4454 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55598,16 +55516,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4469 int - var yyb4469 bool - var yyhl4469 bool = l >= 0 - yyj4469++ - if yyhl4469 { - yyb4469 = yyj4469 > l + var yyj4460 int + var yyb4460 bool + var yyhl4460 bool = l >= 0 + yyj4460++ + if yyhl4460 { + yyb4460 = yyj4460 > l } else { - yyb4469 = r.CheckBreak() + yyb4460 = r.CheckBreak() } - if yyb4469 { + if yyb4460 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55617,13 +55535,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj4469++ - if yyhl4469 { - yyb4469 = yyj4469 > l + yyj4460++ + if yyhl4460 { + yyb4460 = yyj4460 > l } else { - yyb4469 = r.CheckBreak() + yyb4460 = r.CheckBreak() } - if yyb4469 { + if yyb4460 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55638,13 +55556,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.FieldRef.CodecDecodeSelf(d) } - yyj4469++ - if yyhl4469 { - yyb4469 = yyj4469 > l + yyj4460++ + if yyhl4460 { + yyb4460 = yyj4460 > l } else { - yyb4469 = r.CheckBreak() + yyb4460 = r.CheckBreak() } - if yyb4469 { + if yyb4460 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55659,13 +55577,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj4469++ - if yyhl4469 { - yyb4469 = yyj4469 > l + yyj4460++ + if yyhl4460 { + yyb4460 = yyj4460 > l } else { - yyb4469 = r.CheckBreak() + yyb4460 = r.CheckBreak() } - if yyb4469 { + if yyb4460 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55678,25 +55596,25 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.Mode == nil { x.Mode = new(int32) } - yym4474 := z.DecBinary() - _ = yym4474 + yym4465 := z.DecBinary() + _ = yym4465 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } for { - yyj4469++ - if yyhl4469 { - yyb4469 = yyj4469 > l + yyj4460++ + if yyhl4460 { + yyb4460 = yyj4460 > l } else { - yyb4469 = r.CheckBreak() + yyb4460 = r.CheckBreak() } - if yyb4469 { + if yyb4460 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4469-1, "") + z.DecStructFieldNotFound(yyj4460-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55708,38 +55626,38 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4475 := z.EncBinary() - _ = yym4475 + yym4466 := z.EncBinary() + _ = yym4466 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4476 := !z.EncBinary() - yy2arr4476 := z.EncBasicHandle().StructToArray - var yyq4476 [6]bool - _, _, _ = yysep4476, yyq4476, yy2arr4476 - const yyr4476 bool = false - yyq4476[0] = x.Capabilities != nil - yyq4476[1] = x.Privileged != nil - yyq4476[2] = x.SELinuxOptions != nil - yyq4476[3] = x.RunAsUser != nil - yyq4476[4] = x.RunAsNonRoot != nil - yyq4476[5] = x.ReadOnlyRootFilesystem != nil - var yynn4476 int - if yyr4476 || yy2arr4476 { + yysep4467 := !z.EncBinary() + yy2arr4467 := z.EncBasicHandle().StructToArray + var yyq4467 [6]bool + _, _, _ = yysep4467, yyq4467, yy2arr4467 + const yyr4467 bool = false + yyq4467[0] = x.Capabilities != nil + yyq4467[1] = x.Privileged != nil + yyq4467[2] = x.SELinuxOptions != nil + yyq4467[3] = x.RunAsUser != nil + yyq4467[4] = x.RunAsNonRoot != nil + yyq4467[5] = x.ReadOnlyRootFilesystem != nil + var yynn4467 int + if yyr4467 || yy2arr4467 { r.EncodeArrayStart(6) } else { - yynn4476 = 0 - for _, b := range yyq4476 { + yynn4467 = 0 + for _, b := range yyq4467 { if b { - yynn4476++ + yynn4467++ } } - r.EncodeMapStart(yynn4476) - yynn4476 = 0 + r.EncodeMapStart(yynn4467) + yynn4467 = 0 } - if yyr4476 || yy2arr4476 { + if yyr4467 || yy2arr4467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4476[0] { + if yyq4467[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -55749,7 +55667,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4476[0] { + if yyq4467[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55760,44 +55678,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4476 || yy2arr4476 { + if yyr4467 || yy2arr4467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4476[1] { + if yyq4467[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy4479 := *x.Privileged - yym4480 := z.EncBinary() - _ = yym4480 + yy4470 := *x.Privileged + yym4471 := z.EncBinary() + _ = yym4471 if false { } else { - r.EncodeBool(bool(yy4479)) + r.EncodeBool(bool(yy4470)) } } } else { r.EncodeNil() } } else { - if yyq4476[1] { + if yyq4467[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy4481 := *x.Privileged - yym4482 := z.EncBinary() - _ = yym4482 + yy4472 := *x.Privileged + yym4473 := z.EncBinary() + _ = yym4473 if false { } else { - r.EncodeBool(bool(yy4481)) + r.EncodeBool(bool(yy4472)) } } } } - if yyr4476 || yy2arr4476 { + if yyr4467 || yy2arr4467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4476[2] { + if yyq4467[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -55807,7 +55725,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4476[2] { + if yyq4467[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55818,112 +55736,112 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4476 || yy2arr4476 { + if yyr4467 || yy2arr4467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4476[3] { + if yyq4467[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy4485 := *x.RunAsUser - yym4486 := z.EncBinary() - _ = yym4486 + yy4476 := *x.RunAsUser + yym4477 := z.EncBinary() + _ = yym4477 if false { } else { - r.EncodeInt(int64(yy4485)) + r.EncodeInt(int64(yy4476)) } } } else { r.EncodeNil() } } else { - if yyq4476[3] { + if yyq4467[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy4487 := *x.RunAsUser - yym4488 := z.EncBinary() - _ = yym4488 + yy4478 := *x.RunAsUser + yym4479 := z.EncBinary() + _ = yym4479 if false { } else { - r.EncodeInt(int64(yy4487)) + r.EncodeInt(int64(yy4478)) } } } } - if yyr4476 || yy2arr4476 { + if yyr4467 || yy2arr4467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4476[4] { + if yyq4467[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4490 := *x.RunAsNonRoot - yym4491 := z.EncBinary() - _ = yym4491 + yy4481 := *x.RunAsNonRoot + yym4482 := z.EncBinary() + _ = yym4482 if false { } else { - r.EncodeBool(bool(yy4490)) + r.EncodeBool(bool(yy4481)) } } } else { r.EncodeNil() } } else { - if yyq4476[4] { + if yyq4467[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4492 := *x.RunAsNonRoot - yym4493 := z.EncBinary() - _ = yym4493 + yy4483 := *x.RunAsNonRoot + yym4484 := z.EncBinary() + _ = yym4484 if false { } else { - r.EncodeBool(bool(yy4492)) + r.EncodeBool(bool(yy4483)) } } } } - if yyr4476 || yy2arr4476 { + if yyr4467 || yy2arr4467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4476[5] { + if yyq4467[5] { if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4495 := *x.ReadOnlyRootFilesystem - yym4496 := z.EncBinary() - _ = yym4496 + yy4486 := *x.ReadOnlyRootFilesystem + yym4487 := z.EncBinary() + _ = yym4487 if false { } else { - r.EncodeBool(bool(yy4495)) + r.EncodeBool(bool(yy4486)) } } } else { r.EncodeNil() } } else { - if yyq4476[5] { + if yyq4467[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4497 := *x.ReadOnlyRootFilesystem - yym4498 := z.EncBinary() - _ = yym4498 + yy4488 := *x.ReadOnlyRootFilesystem + yym4489 := z.EncBinary() + _ = yym4489 if false { } else { - r.EncodeBool(bool(yy4497)) + r.EncodeBool(bool(yy4488)) } } } } - if yyr4476 || yy2arr4476 { + if yyr4467 || yy2arr4467 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55936,25 +55854,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4499 := z.DecBinary() - _ = yym4499 + yym4490 := z.DecBinary() + _ = yym4490 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4500 := r.ContainerType() - if yyct4500 == codecSelferValueTypeMap1234 { - yyl4500 := r.ReadMapStart() - if yyl4500 == 0 { + yyct4491 := r.ContainerType() + if yyct4491 == codecSelferValueTypeMap1234 { + yyl4491 := r.ReadMapStart() + if yyl4491 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4500, d) + x.codecDecodeSelfFromMap(yyl4491, d) } - } else if yyct4500 == codecSelferValueTypeArray1234 { - yyl4500 := r.ReadArrayStart() - if yyl4500 == 0 { + } else if yyct4491 == codecSelferValueTypeArray1234 { + yyl4491 := r.ReadArrayStart() + if yyl4491 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4500, d) + x.codecDecodeSelfFromArray(yyl4491, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55966,12 +55884,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4501Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4501Slc - var yyhl4501 bool = l >= 0 - for yyj4501 := 0; ; yyj4501++ { - if yyhl4501 { - if yyj4501 >= l { + var yys4492Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4492Slc + var yyhl4492 bool = l >= 0 + for yyj4492 := 0; ; yyj4492++ { + if yyhl4492 { + if yyj4492 >= l { break } } else { @@ -55980,10 +55898,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4501Slc = r.DecodeBytes(yys4501Slc, true, true) - yys4501 := string(yys4501Slc) + yys4492Slc = r.DecodeBytes(yys4492Slc, true, true) + yys4492 := string(yys4492Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4501 { + switch yys4492 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -56004,8 +55922,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym4504 := z.DecBinary() - _ = yym4504 + yym4495 := z.DecBinary() + _ = yym4495 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -56031,8 +55949,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4507 := z.DecBinary() - _ = yym4507 + yym4498 := z.DecBinary() + _ = yym4498 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -56047,8 +55965,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4509 := z.DecBinary() - _ = yym4509 + yym4500 := z.DecBinary() + _ = yym4500 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -56063,17 +55981,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4511 := z.DecBinary() - _ = yym4511 + yym4502 := z.DecBinary() + _ = yym4502 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys4501) - } // end switch yys4501 - } // end for yyj4501 + z.DecStructFieldNotFound(-1, yys4492) + } // end switch yys4492 + } // end for yyj4492 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56081,16 +55999,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4512 int - var yyb4512 bool - var yyhl4512 bool = l >= 0 - yyj4512++ - if yyhl4512 { - yyb4512 = yyj4512 > l + var yyj4503 int + var yyb4503 bool + var yyhl4503 bool = l >= 0 + yyj4503++ + if yyhl4503 { + yyb4503 = yyj4503 > l } else { - yyb4512 = r.CheckBreak() + yyb4503 = r.CheckBreak() } - if yyb4512 { + if yyb4503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56105,13 +56023,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj4512++ - if yyhl4512 { - yyb4512 = yyj4512 > l + yyj4503++ + if yyhl4503 { + yyb4503 = yyj4503 > l } else { - yyb4512 = r.CheckBreak() + yyb4503 = r.CheckBreak() } - if yyb4512 { + if yyb4503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56124,20 +56042,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym4515 := z.DecBinary() - _ = yym4515 + yym4506 := z.DecBinary() + _ = yym4506 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj4512++ - if yyhl4512 { - yyb4512 = yyj4512 > l + yyj4503++ + if yyhl4503 { + yyb4503 = yyj4503 > l } else { - yyb4512 = r.CheckBreak() + yyb4503 = r.CheckBreak() } - if yyb4512 { + if yyb4503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56152,13 +56070,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj4512++ - if yyhl4512 { - yyb4512 = yyj4512 > l + yyj4503++ + if yyhl4503 { + yyb4503 = yyj4503 > l } else { - yyb4512 = r.CheckBreak() + yyb4503 = r.CheckBreak() } - if yyb4512 { + if yyb4503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56171,20 +56089,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4518 := z.DecBinary() - _ = yym4518 + yym4509 := z.DecBinary() + _ = yym4509 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj4512++ - if yyhl4512 { - yyb4512 = yyj4512 > l + yyj4503++ + if yyhl4503 { + yyb4503 = yyj4503 > l } else { - yyb4512 = r.CheckBreak() + yyb4503 = r.CheckBreak() } - if yyb4512 { + if yyb4503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56197,20 +56115,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4520 := z.DecBinary() - _ = yym4520 + yym4511 := z.DecBinary() + _ = yym4511 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj4512++ - if yyhl4512 { - yyb4512 = yyj4512 > l + yyj4503++ + if yyhl4503 { + yyb4503 = yyj4503 > l } else { - yyb4512 = r.CheckBreak() + yyb4503 = r.CheckBreak() } - if yyb4512 { + if yyb4503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56223,25 +56141,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4522 := z.DecBinary() - _ = yym4522 + yym4513 := z.DecBinary() + _ = yym4513 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } for { - yyj4512++ - if yyhl4512 { - yyb4512 = yyj4512 > l + yyj4503++ + if yyhl4503 { + yyb4503 = yyj4503 > l } else { - yyb4512 = r.CheckBreak() + yyb4503 = r.CheckBreak() } - if yyb4512 { + if yyb4503 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4512-1, "") + z.DecStructFieldNotFound(yyj4503-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56253,38 +56171,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4523 := z.EncBinary() - _ = yym4523 + yym4514 := z.EncBinary() + _ = yym4514 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4524 := !z.EncBinary() - yy2arr4524 := z.EncBasicHandle().StructToArray - var yyq4524 [4]bool - _, _, _ = yysep4524, yyq4524, yy2arr4524 - const yyr4524 bool = false - yyq4524[0] = x.User != "" - yyq4524[1] = x.Role != "" - yyq4524[2] = x.Type != "" - yyq4524[3] = x.Level != "" - var yynn4524 int - if yyr4524 || yy2arr4524 { + yysep4515 := !z.EncBinary() + yy2arr4515 := z.EncBasicHandle().StructToArray + var yyq4515 [4]bool + _, _, _ = yysep4515, yyq4515, yy2arr4515 + const yyr4515 bool = false + yyq4515[0] = x.User != "" + yyq4515[1] = x.Role != "" + yyq4515[2] = x.Type != "" + yyq4515[3] = x.Level != "" + var yynn4515 int + if yyr4515 || yy2arr4515 { r.EncodeArrayStart(4) } else { - yynn4524 = 0 - for _, b := range yyq4524 { + yynn4515 = 0 + for _, b := range yyq4515 { if b { - yynn4524++ + yynn4515++ } } - r.EncodeMapStart(yynn4524) - yynn4524 = 0 + r.EncodeMapStart(yynn4515) + yynn4515 = 0 } - if yyr4524 || yy2arr4524 { + if yyr4515 || yy2arr4515 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4524[0] { - yym4526 := z.EncBinary() - _ = yym4526 + if yyq4515[0] { + yym4517 := z.EncBinary() + _ = yym4517 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -56293,94 +56211,94 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4524[0] { + if yyq4515[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4518 := z.EncBinary() + _ = yym4518 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.User)) + } + } + } + if yyr4515 || yy2arr4515 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4515[1] { + yym4520 := z.EncBinary() + _ = yym4520 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Role)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4515[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("role")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4521 := z.EncBinary() + _ = yym4521 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Role)) + } + } + } + if yyr4515 || yy2arr4515 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4515[2] { + yym4523 := z.EncBinary() + _ = yym4523 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Type)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4515[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4524 := z.EncBinary() + _ = yym4524 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Type)) + } + } + } + if yyr4515 || yy2arr4515 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4515[3] { + yym4526 := z.EncBinary() + _ = yym4526 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Level)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4515[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("level")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym4527 := z.EncBinary() _ = yym4527 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.User)) - } - } - } - if yyr4524 || yy2arr4524 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4524[1] { - yym4529 := z.EncBinary() - _ = yym4529 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Role)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4524[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("role")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4530 := z.EncBinary() - _ = yym4530 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Role)) - } - } - } - if yyr4524 || yy2arr4524 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4524[2] { - yym4532 := z.EncBinary() - _ = yym4532 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Type)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4524[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4533 := z.EncBinary() - _ = yym4533 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Type)) - } - } - } - if yyr4524 || yy2arr4524 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4524[3] { - yym4535 := z.EncBinary() - _ = yym4535 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Level)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4524[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("level")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4536 := z.EncBinary() - _ = yym4536 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr4524 || yy2arr4524 { + if yyr4515 || yy2arr4515 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -56393,25 +56311,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4537 := z.DecBinary() - _ = yym4537 + yym4528 := z.DecBinary() + _ = yym4528 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4538 := r.ContainerType() - if yyct4538 == codecSelferValueTypeMap1234 { - yyl4538 := r.ReadMapStart() - if yyl4538 == 0 { + yyct4529 := r.ContainerType() + if yyct4529 == codecSelferValueTypeMap1234 { + yyl4529 := r.ReadMapStart() + if yyl4529 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4538, d) + x.codecDecodeSelfFromMap(yyl4529, d) } - } else if yyct4538 == codecSelferValueTypeArray1234 { - yyl4538 := r.ReadArrayStart() - if yyl4538 == 0 { + } else if yyct4529 == codecSelferValueTypeArray1234 { + yyl4529 := r.ReadArrayStart() + if yyl4529 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4538, d) + x.codecDecodeSelfFromArray(yyl4529, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56423,12 +56341,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4539Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4539Slc - var yyhl4539 bool = l >= 0 - for yyj4539 := 0; ; yyj4539++ { - if yyhl4539 { - if yyj4539 >= l { + var yys4530Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4530Slc + var yyhl4530 bool = l >= 0 + for yyj4530 := 0; ; yyj4530++ { + if yyhl4530 { + if yyj4530 >= l { break } } else { @@ -56437,10 +56355,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4539Slc = r.DecodeBytes(yys4539Slc, true, true) - yys4539 := string(yys4539Slc) + yys4530Slc = r.DecodeBytes(yys4530Slc, true, true) + yys4530 := string(yys4530Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4539 { + switch yys4530 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -56466,9 +56384,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4539) - } // end switch yys4539 - } // end for yyj4539 + z.DecStructFieldNotFound(-1, yys4530) + } // end switch yys4530 + } // end for yyj4530 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56476,16 +56394,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4544 int - var yyb4544 bool - var yyhl4544 bool = l >= 0 - yyj4544++ - if yyhl4544 { - yyb4544 = yyj4544 > l + var yyj4535 int + var yyb4535 bool + var yyhl4535 bool = l >= 0 + yyj4535++ + if yyhl4535 { + yyb4535 = yyj4535 > l } else { - yyb4544 = r.CheckBreak() + yyb4535 = r.CheckBreak() } - if yyb4544 { + if yyb4535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56495,13 +56413,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj4544++ - if yyhl4544 { - yyb4544 = yyj4544 > l + yyj4535++ + if yyhl4535 { + yyb4535 = yyj4535 > l } else { - yyb4544 = r.CheckBreak() + yyb4535 = r.CheckBreak() } - if yyb4544 { + if yyb4535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56511,13 +56429,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj4544++ - if yyhl4544 { - yyb4544 = yyj4544 > l + yyj4535++ + if yyhl4535 { + yyb4535 = yyj4535 > l } else { - yyb4544 = r.CheckBreak() + yyb4535 = r.CheckBreak() } - if yyb4544 { + if yyb4535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56527,13 +56445,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj4544++ - if yyhl4544 { - yyb4544 = yyj4544 > l + yyj4535++ + if yyhl4535 { + yyb4535 = yyj4535 > l } else { - yyb4544 = r.CheckBreak() + yyb4535 = r.CheckBreak() } - if yyb4544 { + if yyb4535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56544,17 +56462,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj4544++ - if yyhl4544 { - yyb4544 = yyj4544 > l + yyj4535++ + if yyhl4535 { + yyb4535 = yyj4535 > l } else { - yyb4544 = r.CheckBreak() + yyb4535 = r.CheckBreak() } - if yyb4544 { + if yyb4535 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4544-1, "") + z.DecStructFieldNotFound(yyj4535-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56566,37 +56484,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4549 := z.EncBinary() - _ = yym4549 + yym4540 := z.EncBinary() + _ = yym4540 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4550 := !z.EncBinary() - yy2arr4550 := z.EncBasicHandle().StructToArray - var yyq4550 [5]bool - _, _, _ = yysep4550, yyq4550, yy2arr4550 - const yyr4550 bool = false - yyq4550[0] = x.Kind != "" - yyq4550[1] = x.APIVersion != "" - yyq4550[2] = true - var yynn4550 int - if yyr4550 || yy2arr4550 { + yysep4541 := !z.EncBinary() + yy2arr4541 := z.EncBasicHandle().StructToArray + var yyq4541 [5]bool + _, _, _ = yysep4541, yyq4541, yy2arr4541 + const yyr4541 bool = false + yyq4541[0] = x.Kind != "" + yyq4541[1] = x.APIVersion != "" + yyq4541[2] = true + var yynn4541 int + if yyr4541 || yy2arr4541 { r.EncodeArrayStart(5) } else { - yynn4550 = 2 - for _, b := range yyq4550 { + yynn4541 = 2 + for _, b := range yyq4541 { if b { - yynn4550++ + yynn4541++ } } - r.EncodeMapStart(yynn4550) - yynn4550 = 0 + r.EncodeMapStart(yynn4541) + yynn4541 = 0 } - if yyr4550 || yy2arr4550 { + if yyr4541 || yy2arr4541 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4550[0] { - yym4552 := z.EncBinary() - _ = yym4552 + if yyq4541[0] { + yym4543 := z.EncBinary() + _ = yym4543 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -56605,23 +56523,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4550[0] { + if yyq4541[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4553 := z.EncBinary() - _ = yym4553 + yym4544 := z.EncBinary() + _ = yym4544 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4550 || yy2arr4550 { + if yyr4541 || yy2arr4541 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4550[1] { - yym4555 := z.EncBinary() - _ = yym4555 + if yyq4541[1] { + yym4546 := z.EncBinary() + _ = yym4546 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -56630,39 +56548,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4550[1] { + if yyq4541[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4556 := z.EncBinary() - _ = yym4556 + yym4547 := z.EncBinary() + _ = yym4547 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4550 || yy2arr4550 { + if yyr4541 || yy2arr4541 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4550[2] { - yy4558 := &x.ObjectMeta - yy4558.CodecEncodeSelf(e) + if yyq4541[2] { + yy4549 := &x.ObjectMeta + yy4549.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4550[2] { + if yyq4541[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4559 := &x.ObjectMeta - yy4559.CodecEncodeSelf(e) + yy4550 := &x.ObjectMeta + yy4550.CodecEncodeSelf(e) } } - if yyr4550 || yy2arr4550 { + if yyr4541 || yy2arr4541 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4561 := z.EncBinary() - _ = yym4561 + yym4552 := z.EncBinary() + _ = yym4552 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -56671,20 +56589,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4562 := z.EncBinary() - _ = yym4562 + yym4553 := z.EncBinary() + _ = yym4553 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr4550 || yy2arr4550 { + if yyr4541 || yy2arr4541 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym4564 := z.EncBinary() - _ = yym4564 + yym4555 := z.EncBinary() + _ = yym4555 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -56697,15 +56615,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym4565 := z.EncBinary() - _ = yym4565 + yym4556 := z.EncBinary() + _ = yym4556 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr4550 || yy2arr4550 { + if yyr4541 || yy2arr4541 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -56718,25 +56636,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4566 := z.DecBinary() - _ = yym4566 + yym4557 := z.DecBinary() + _ = yym4557 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4567 := r.ContainerType() - if yyct4567 == codecSelferValueTypeMap1234 { - yyl4567 := r.ReadMapStart() - if yyl4567 == 0 { + yyct4558 := r.ContainerType() + if yyct4558 == codecSelferValueTypeMap1234 { + yyl4558 := r.ReadMapStart() + if yyl4558 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4567, d) + x.codecDecodeSelfFromMap(yyl4558, d) } - } else if yyct4567 == codecSelferValueTypeArray1234 { - yyl4567 := r.ReadArrayStart() - if yyl4567 == 0 { + } else if yyct4558 == codecSelferValueTypeArray1234 { + yyl4558 := r.ReadArrayStart() + if yyl4558 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4567, d) + x.codecDecodeSelfFromArray(yyl4558, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56748,12 +56666,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4568Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4568Slc - var yyhl4568 bool = l >= 0 - for yyj4568 := 0; ; yyj4568++ { - if yyhl4568 { - if yyj4568 >= l { + var yys4559Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4559Slc + var yyhl4559 bool = l >= 0 + for yyj4559 := 0; ; yyj4559++ { + if yyhl4559 { + if yyj4559 >= l { break } } else { @@ -56762,10 +56680,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4568Slc = r.DecodeBytes(yys4568Slc, true, true) - yys4568 := string(yys4568Slc) + yys4559Slc = r.DecodeBytes(yys4559Slc, true, true) + yys4559 := string(yys4559Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4568 { + switch yys4559 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -56782,8 +56700,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4571 := &x.ObjectMeta - yyv4571.CodecDecodeSelf(d) + yyv4562 := &x.ObjectMeta + yyv4562.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -56795,18 +56713,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4573 := &x.Data - yym4574 := z.DecBinary() - _ = yym4574 + yyv4564 := &x.Data + yym4565 := z.DecBinary() + _ = yym4565 if false { } else { - *yyv4573 = r.DecodeBytes(*(*[]byte)(yyv4573), false, false) + *yyv4564 = r.DecodeBytes(*(*[]byte)(yyv4564), false, false) } } default: - z.DecStructFieldNotFound(-1, yys4568) - } // end switch yys4568 - } // end for yyj4568 + z.DecStructFieldNotFound(-1, yys4559) + } // end switch yys4559 + } // end for yyj4559 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56814,16 +56732,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4575 int - var yyb4575 bool - var yyhl4575 bool = l >= 0 - yyj4575++ - if yyhl4575 { - yyb4575 = yyj4575 > l + var yyj4566 int + var yyb4566 bool + var yyhl4566 bool = l >= 0 + yyj4566++ + if yyhl4566 { + yyb4566 = yyj4566 > l } else { - yyb4575 = r.CheckBreak() + yyb4566 = r.CheckBreak() } - if yyb4575 { + if yyb4566 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56833,13 +56751,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4575++ - if yyhl4575 { - yyb4575 = yyj4575 > l + yyj4566++ + if yyhl4566 { + yyb4566 = yyj4566 > l } else { - yyb4575 = r.CheckBreak() + yyb4566 = r.CheckBreak() } - if yyb4575 { + if yyb4566 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56849,13 +56767,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4575++ - if yyhl4575 { - yyb4575 = yyj4575 > l + yyj4566++ + if yyhl4566 { + yyb4566 = yyj4566 > l } else { - yyb4575 = r.CheckBreak() + yyb4566 = r.CheckBreak() } - if yyb4575 { + if yyb4566 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56863,16 +56781,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4578 := &x.ObjectMeta - yyv4578.CodecDecodeSelf(d) + yyv4569 := &x.ObjectMeta + yyv4569.CodecDecodeSelf(d) } - yyj4575++ - if yyhl4575 { - yyb4575 = yyj4575 > l + yyj4566++ + if yyhl4566 { + yyb4566 = yyj4566 > l } else { - yyb4575 = r.CheckBreak() + yyb4566 = r.CheckBreak() } - if yyb4575 { + if yyb4566 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56882,13 +56800,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj4575++ - if yyhl4575 { - yyb4575 = yyj4575 > l + yyj4566++ + if yyhl4566 { + yyb4566 = yyj4566 > l } else { - yyb4575 = r.CheckBreak() + yyb4566 = r.CheckBreak() } - if yyb4575 { + if yyb4566 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56896,26 +56814,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4580 := &x.Data - yym4581 := z.DecBinary() - _ = yym4581 + yyv4571 := &x.Data + yym4572 := z.DecBinary() + _ = yym4572 if false { } else { - *yyv4580 = r.DecodeBytes(*(*[]byte)(yyv4580), false, false) + *yyv4571 = r.DecodeBytes(*(*[]byte)(yyv4571), false, false) } } for { - yyj4575++ - if yyhl4575 { - yyb4575 = yyj4575 > l + yyj4566++ + if yyhl4566 { + yyb4566 = yyj4566 > l } else { - yyb4575 = r.CheckBreak() + yyb4566 = r.CheckBreak() } - if yyb4575 { + if yyb4566 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4575-1, "") + z.DecStructFieldNotFound(yyj4566-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56925,10 +56843,10 @@ func (x codecSelfer1234) encSliceOwnerReference(v []OwnerReference, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4582 := range v { + for _, yyv4573 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4583 := &yyv4582 - yy4583.CodecEncodeSelf(e) + yy4574 := &yyv4573 + yy4574.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56938,83 +56856,83 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4584 := *v - yyh4584, yyl4584 := z.DecSliceHelperStart() - var yyc4584 bool - if yyl4584 == 0 { - if yyv4584 == nil { - yyv4584 = []OwnerReference{} - yyc4584 = true - } else if len(yyv4584) != 0 { - yyv4584 = yyv4584[:0] - yyc4584 = true + yyv4575 := *v + yyh4575, yyl4575 := z.DecSliceHelperStart() + var yyc4575 bool + if yyl4575 == 0 { + if yyv4575 == nil { + yyv4575 = []OwnerReference{} + yyc4575 = true + } else if len(yyv4575) != 0 { + yyv4575 = yyv4575[:0] + yyc4575 = true } - } else if yyl4584 > 0 { - var yyrr4584, yyrl4584 int - var yyrt4584 bool - if yyl4584 > cap(yyv4584) { + } else if yyl4575 > 0 { + var yyrr4575, yyrl4575 int + var yyrt4575 bool + if yyl4575 > cap(yyv4575) { - yyrg4584 := len(yyv4584) > 0 - yyv24584 := yyv4584 - yyrl4584, yyrt4584 = z.DecInferLen(yyl4584, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4584 { - if yyrl4584 <= cap(yyv4584) { - yyv4584 = yyv4584[:yyrl4584] + yyrg4575 := len(yyv4575) > 0 + yyv24575 := yyv4575 + yyrl4575, yyrt4575 = z.DecInferLen(yyl4575, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4575 { + if yyrl4575 <= cap(yyv4575) { + yyv4575 = yyv4575[:yyrl4575] } else { - yyv4584 = make([]OwnerReference, yyrl4584) + yyv4575 = make([]OwnerReference, yyrl4575) } } else { - yyv4584 = make([]OwnerReference, yyrl4584) + yyv4575 = make([]OwnerReference, yyrl4575) } - yyc4584 = true - yyrr4584 = len(yyv4584) - if yyrg4584 { - copy(yyv4584, yyv24584) + yyc4575 = true + yyrr4575 = len(yyv4575) + if yyrg4575 { + copy(yyv4575, yyv24575) } - } else if yyl4584 != len(yyv4584) { - yyv4584 = yyv4584[:yyl4584] - yyc4584 = true + } else if yyl4575 != len(yyv4575) { + yyv4575 = yyv4575[:yyl4575] + yyc4575 = true } - yyj4584 := 0 - for ; yyj4584 < yyrr4584; yyj4584++ { - yyh4584.ElemContainerState(yyj4584) + yyj4575 := 0 + for ; yyj4575 < yyrr4575; yyj4575++ { + yyh4575.ElemContainerState(yyj4575) if r.TryDecodeAsNil() { - yyv4584[yyj4584] = OwnerReference{} + yyv4575[yyj4575] = OwnerReference{} } else { - yyv4585 := &yyv4584[yyj4584] - yyv4585.CodecDecodeSelf(d) + yyv4576 := &yyv4575[yyj4575] + yyv4576.CodecDecodeSelf(d) } } - if yyrt4584 { - for ; yyj4584 < yyl4584; yyj4584++ { - yyv4584 = append(yyv4584, OwnerReference{}) - yyh4584.ElemContainerState(yyj4584) + if yyrt4575 { + for ; yyj4575 < yyl4575; yyj4575++ { + yyv4575 = append(yyv4575, OwnerReference{}) + yyh4575.ElemContainerState(yyj4575) if r.TryDecodeAsNil() { - yyv4584[yyj4584] = OwnerReference{} + yyv4575[yyj4575] = OwnerReference{} } else { - yyv4586 := &yyv4584[yyj4584] - yyv4586.CodecDecodeSelf(d) + yyv4577 := &yyv4575[yyj4575] + yyv4577.CodecDecodeSelf(d) } } } } else { - yyj4584 := 0 - for ; !r.CheckBreak(); yyj4584++ { + yyj4575 := 0 + for ; !r.CheckBreak(); yyj4575++ { - if yyj4584 >= len(yyv4584) { - yyv4584 = append(yyv4584, OwnerReference{}) // var yyz4584 OwnerReference - yyc4584 = true + if yyj4575 >= len(yyv4575) { + yyv4575 = append(yyv4575, OwnerReference{}) // var yyz4575 OwnerReference + yyc4575 = true } - yyh4584.ElemContainerState(yyj4584) - if yyj4584 < len(yyv4584) { + yyh4575.ElemContainerState(yyj4575) + if yyj4575 < len(yyv4575) { if r.TryDecodeAsNil() { - yyv4584[yyj4584] = OwnerReference{} + yyv4575[yyj4575] = OwnerReference{} } else { - yyv4587 := &yyv4584[yyj4584] - yyv4587.CodecDecodeSelf(d) + yyv4578 := &yyv4575[yyj4575] + yyv4578.CodecDecodeSelf(d) } } else { @@ -57022,17 +56940,17 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 } } - if yyj4584 < len(yyv4584) { - yyv4584 = yyv4584[:yyj4584] - yyc4584 = true - } else if yyj4584 == 0 && yyv4584 == nil { - yyv4584 = []OwnerReference{} - yyc4584 = true + if yyj4575 < len(yyv4575) { + yyv4575 = yyv4575[:yyj4575] + yyc4575 = true + } else if yyj4575 == 0 && yyv4575 == nil { + yyv4575 = []OwnerReference{} + yyc4575 = true } } - yyh4584.End() - if yyc4584 { - *v = yyv4584 + yyh4575.End() + if yyc4575 { + *v = yyv4575 } } @@ -57041,9 +56959,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4588 := range v { + for _, yyv4579 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4588.CodecEncodeSelf(e) + yyv4579.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57053,75 +56971,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4589 := *v - yyh4589, yyl4589 := z.DecSliceHelperStart() - var yyc4589 bool - if yyl4589 == 0 { - if yyv4589 == nil { - yyv4589 = []PersistentVolumeAccessMode{} - yyc4589 = true - } else if len(yyv4589) != 0 { - yyv4589 = yyv4589[:0] - yyc4589 = true + yyv4580 := *v + yyh4580, yyl4580 := z.DecSliceHelperStart() + var yyc4580 bool + if yyl4580 == 0 { + if yyv4580 == nil { + yyv4580 = []PersistentVolumeAccessMode{} + yyc4580 = true + } else if len(yyv4580) != 0 { + yyv4580 = yyv4580[:0] + yyc4580 = true } - } else if yyl4589 > 0 { - var yyrr4589, yyrl4589 int - var yyrt4589 bool - if yyl4589 > cap(yyv4589) { + } else if yyl4580 > 0 { + var yyrr4580, yyrl4580 int + var yyrt4580 bool + if yyl4580 > cap(yyv4580) { - yyrl4589, yyrt4589 = z.DecInferLen(yyl4589, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4589 { - if yyrl4589 <= cap(yyv4589) { - yyv4589 = yyv4589[:yyrl4589] + yyrl4580, yyrt4580 = z.DecInferLen(yyl4580, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4580 { + if yyrl4580 <= cap(yyv4580) { + yyv4580 = yyv4580[:yyrl4580] } else { - yyv4589 = make([]PersistentVolumeAccessMode, yyrl4589) + yyv4580 = make([]PersistentVolumeAccessMode, yyrl4580) } } else { - yyv4589 = make([]PersistentVolumeAccessMode, yyrl4589) + yyv4580 = make([]PersistentVolumeAccessMode, yyrl4580) } - yyc4589 = true - yyrr4589 = len(yyv4589) - } else if yyl4589 != len(yyv4589) { - yyv4589 = yyv4589[:yyl4589] - yyc4589 = true + yyc4580 = true + yyrr4580 = len(yyv4580) + } else if yyl4580 != len(yyv4580) { + yyv4580 = yyv4580[:yyl4580] + yyc4580 = true } - yyj4589 := 0 - for ; yyj4589 < yyrr4589; yyj4589++ { - yyh4589.ElemContainerState(yyj4589) + yyj4580 := 0 + for ; yyj4580 < yyrr4580; yyj4580++ { + yyh4580.ElemContainerState(yyj4580) if r.TryDecodeAsNil() { - yyv4589[yyj4589] = "" + yyv4580[yyj4580] = "" } else { - yyv4589[yyj4589] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4580[yyj4580] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt4589 { - for ; yyj4589 < yyl4589; yyj4589++ { - yyv4589 = append(yyv4589, "") - yyh4589.ElemContainerState(yyj4589) + if yyrt4580 { + for ; yyj4580 < yyl4580; yyj4580++ { + yyv4580 = append(yyv4580, "") + yyh4580.ElemContainerState(yyj4580) if r.TryDecodeAsNil() { - yyv4589[yyj4589] = "" + yyv4580[yyj4580] = "" } else { - yyv4589[yyj4589] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4580[yyj4580] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj4589 := 0 - for ; !r.CheckBreak(); yyj4589++ { + yyj4580 := 0 + for ; !r.CheckBreak(); yyj4580++ { - if yyj4589 >= len(yyv4589) { - yyv4589 = append(yyv4589, "") // var yyz4589 PersistentVolumeAccessMode - yyc4589 = true + if yyj4580 >= len(yyv4580) { + yyv4580 = append(yyv4580, "") // var yyz4580 PersistentVolumeAccessMode + yyc4580 = true } - yyh4589.ElemContainerState(yyj4589) - if yyj4589 < len(yyv4589) { + yyh4580.ElemContainerState(yyj4580) + if yyj4580 < len(yyv4580) { if r.TryDecodeAsNil() { - yyv4589[yyj4589] = "" + yyv4580[yyj4580] = "" } else { - yyv4589[yyj4589] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4580[yyj4580] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -57129,17 +57047,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj4589 < len(yyv4589) { - yyv4589 = yyv4589[:yyj4589] - yyc4589 = true - } else if yyj4589 == 0 && yyv4589 == nil { - yyv4589 = []PersistentVolumeAccessMode{} - yyc4589 = true + if yyj4580 < len(yyv4580) { + yyv4580 = yyv4580[:yyj4580] + yyc4580 = true + } else if yyj4580 == 0 && yyv4580 == nil { + yyv4580 = []PersistentVolumeAccessMode{} + yyc4580 = true } } - yyh4589.End() - if yyc4589 { - *v = yyv4589 + yyh4580.End() + if yyc4580 { + *v = yyv4580 } } @@ -57148,10 +57066,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4593 := range v { + for _, yyv4584 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4594 := &yyv4593 - yy4594.CodecEncodeSelf(e) + yy4585 := &yyv4584 + yy4585.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57161,83 +57079,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4595 := *v - yyh4595, yyl4595 := z.DecSliceHelperStart() - var yyc4595 bool - if yyl4595 == 0 { - if yyv4595 == nil { - yyv4595 = []PersistentVolume{} - yyc4595 = true - } else if len(yyv4595) != 0 { - yyv4595 = yyv4595[:0] - yyc4595 = true + yyv4586 := *v + yyh4586, yyl4586 := z.DecSliceHelperStart() + var yyc4586 bool + if yyl4586 == 0 { + if yyv4586 == nil { + yyv4586 = []PersistentVolume{} + yyc4586 = true + } else if len(yyv4586) != 0 { + yyv4586 = yyv4586[:0] + yyc4586 = true } - } else if yyl4595 > 0 { - var yyrr4595, yyrl4595 int - var yyrt4595 bool - if yyl4595 > cap(yyv4595) { + } else if yyl4586 > 0 { + var yyrr4586, yyrl4586 int + var yyrt4586 bool + if yyl4586 > cap(yyv4586) { - yyrg4595 := len(yyv4595) > 0 - yyv24595 := yyv4595 - yyrl4595, yyrt4595 = z.DecInferLen(yyl4595, z.DecBasicHandle().MaxInitLen, 488) - if yyrt4595 { - if yyrl4595 <= cap(yyv4595) { - yyv4595 = yyv4595[:yyrl4595] + yyrg4586 := len(yyv4586) > 0 + yyv24586 := yyv4586 + yyrl4586, yyrt4586 = z.DecInferLen(yyl4586, z.DecBasicHandle().MaxInitLen, 488) + if yyrt4586 { + if yyrl4586 <= cap(yyv4586) { + yyv4586 = yyv4586[:yyrl4586] } else { - yyv4595 = make([]PersistentVolume, yyrl4595) + yyv4586 = make([]PersistentVolume, yyrl4586) } } else { - yyv4595 = make([]PersistentVolume, yyrl4595) + yyv4586 = make([]PersistentVolume, yyrl4586) } - yyc4595 = true - yyrr4595 = len(yyv4595) - if yyrg4595 { - copy(yyv4595, yyv24595) + yyc4586 = true + yyrr4586 = len(yyv4586) + if yyrg4586 { + copy(yyv4586, yyv24586) } - } else if yyl4595 != len(yyv4595) { - yyv4595 = yyv4595[:yyl4595] - yyc4595 = true + } else if yyl4586 != len(yyv4586) { + yyv4586 = yyv4586[:yyl4586] + yyc4586 = true } - yyj4595 := 0 - for ; yyj4595 < yyrr4595; yyj4595++ { - yyh4595.ElemContainerState(yyj4595) + yyj4586 := 0 + for ; yyj4586 < yyrr4586; yyj4586++ { + yyh4586.ElemContainerState(yyj4586) if r.TryDecodeAsNil() { - yyv4595[yyj4595] = PersistentVolume{} + yyv4586[yyj4586] = PersistentVolume{} } else { - yyv4596 := &yyv4595[yyj4595] - yyv4596.CodecDecodeSelf(d) + yyv4587 := &yyv4586[yyj4586] + yyv4587.CodecDecodeSelf(d) } } - if yyrt4595 { - for ; yyj4595 < yyl4595; yyj4595++ { - yyv4595 = append(yyv4595, PersistentVolume{}) - yyh4595.ElemContainerState(yyj4595) + if yyrt4586 { + for ; yyj4586 < yyl4586; yyj4586++ { + yyv4586 = append(yyv4586, PersistentVolume{}) + yyh4586.ElemContainerState(yyj4586) if r.TryDecodeAsNil() { - yyv4595[yyj4595] = PersistentVolume{} + yyv4586[yyj4586] = PersistentVolume{} } else { - yyv4597 := &yyv4595[yyj4595] - yyv4597.CodecDecodeSelf(d) + yyv4588 := &yyv4586[yyj4586] + yyv4588.CodecDecodeSelf(d) } } } } else { - yyj4595 := 0 - for ; !r.CheckBreak(); yyj4595++ { + yyj4586 := 0 + for ; !r.CheckBreak(); yyj4586++ { - if yyj4595 >= len(yyv4595) { - yyv4595 = append(yyv4595, PersistentVolume{}) // var yyz4595 PersistentVolume - yyc4595 = true + if yyj4586 >= len(yyv4586) { + yyv4586 = append(yyv4586, PersistentVolume{}) // var yyz4586 PersistentVolume + yyc4586 = true } - yyh4595.ElemContainerState(yyj4595) - if yyj4595 < len(yyv4595) { + yyh4586.ElemContainerState(yyj4586) + if yyj4586 < len(yyv4586) { if r.TryDecodeAsNil() { - yyv4595[yyj4595] = PersistentVolume{} + yyv4586[yyj4586] = PersistentVolume{} } else { - yyv4598 := &yyv4595[yyj4595] - yyv4598.CodecDecodeSelf(d) + yyv4589 := &yyv4586[yyj4586] + yyv4589.CodecDecodeSelf(d) } } else { @@ -57245,17 +57163,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj4595 < len(yyv4595) { - yyv4595 = yyv4595[:yyj4595] - yyc4595 = true - } else if yyj4595 == 0 && yyv4595 == nil { - yyv4595 = []PersistentVolume{} - yyc4595 = true + if yyj4586 < len(yyv4586) { + yyv4586 = yyv4586[:yyj4586] + yyc4586 = true + } else if yyj4586 == 0 && yyv4586 == nil { + yyv4586 = []PersistentVolume{} + yyc4586 = true } } - yyh4595.End() - if yyc4595 { - *v = yyv4595 + yyh4586.End() + if yyc4586 { + *v = yyv4586 } } @@ -57264,10 +57182,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4599 := range v { + for _, yyv4590 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4600 := &yyv4599 - yy4600.CodecEncodeSelf(e) + yy4591 := &yyv4590 + yy4591.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57277,83 +57195,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4601 := *v - yyh4601, yyl4601 := z.DecSliceHelperStart() - var yyc4601 bool - if yyl4601 == 0 { - if yyv4601 == nil { - yyv4601 = []PersistentVolumeClaim{} - yyc4601 = true - } else if len(yyv4601) != 0 { - yyv4601 = yyv4601[:0] - yyc4601 = true + yyv4592 := *v + yyh4592, yyl4592 := z.DecSliceHelperStart() + var yyc4592 bool + if yyl4592 == 0 { + if yyv4592 == nil { + yyv4592 = []PersistentVolumeClaim{} + yyc4592 = true + } else if len(yyv4592) != 0 { + yyv4592 = yyv4592[:0] + yyc4592 = true } - } else if yyl4601 > 0 { - var yyrr4601, yyrl4601 int - var yyrt4601 bool - if yyl4601 > cap(yyv4601) { + } else if yyl4592 > 0 { + var yyrr4592, yyrl4592 int + var yyrt4592 bool + if yyl4592 > cap(yyv4592) { - yyrg4601 := len(yyv4601) > 0 - yyv24601 := yyv4601 - yyrl4601, yyrt4601 = z.DecInferLen(yyl4601, z.DecBasicHandle().MaxInitLen, 368) - if yyrt4601 { - if yyrl4601 <= cap(yyv4601) { - yyv4601 = yyv4601[:yyrl4601] + yyrg4592 := len(yyv4592) > 0 + yyv24592 := yyv4592 + yyrl4592, yyrt4592 = z.DecInferLen(yyl4592, z.DecBasicHandle().MaxInitLen, 368) + if yyrt4592 { + if yyrl4592 <= cap(yyv4592) { + yyv4592 = yyv4592[:yyrl4592] } else { - yyv4601 = make([]PersistentVolumeClaim, yyrl4601) + yyv4592 = make([]PersistentVolumeClaim, yyrl4592) } } else { - yyv4601 = make([]PersistentVolumeClaim, yyrl4601) + yyv4592 = make([]PersistentVolumeClaim, yyrl4592) } - yyc4601 = true - yyrr4601 = len(yyv4601) - if yyrg4601 { - copy(yyv4601, yyv24601) + yyc4592 = true + yyrr4592 = len(yyv4592) + if yyrg4592 { + copy(yyv4592, yyv24592) } - } else if yyl4601 != len(yyv4601) { - yyv4601 = yyv4601[:yyl4601] - yyc4601 = true + } else if yyl4592 != len(yyv4592) { + yyv4592 = yyv4592[:yyl4592] + yyc4592 = true } - yyj4601 := 0 - for ; yyj4601 < yyrr4601; yyj4601++ { - yyh4601.ElemContainerState(yyj4601) + yyj4592 := 0 + for ; yyj4592 < yyrr4592; yyj4592++ { + yyh4592.ElemContainerState(yyj4592) if r.TryDecodeAsNil() { - yyv4601[yyj4601] = PersistentVolumeClaim{} + yyv4592[yyj4592] = PersistentVolumeClaim{} } else { - yyv4602 := &yyv4601[yyj4601] - yyv4602.CodecDecodeSelf(d) + yyv4593 := &yyv4592[yyj4592] + yyv4593.CodecDecodeSelf(d) } } - if yyrt4601 { - for ; yyj4601 < yyl4601; yyj4601++ { - yyv4601 = append(yyv4601, PersistentVolumeClaim{}) - yyh4601.ElemContainerState(yyj4601) + if yyrt4592 { + for ; yyj4592 < yyl4592; yyj4592++ { + yyv4592 = append(yyv4592, PersistentVolumeClaim{}) + yyh4592.ElemContainerState(yyj4592) if r.TryDecodeAsNil() { - yyv4601[yyj4601] = PersistentVolumeClaim{} + yyv4592[yyj4592] = PersistentVolumeClaim{} } else { - yyv4603 := &yyv4601[yyj4601] - yyv4603.CodecDecodeSelf(d) + yyv4594 := &yyv4592[yyj4592] + yyv4594.CodecDecodeSelf(d) } } } } else { - yyj4601 := 0 - for ; !r.CheckBreak(); yyj4601++ { + yyj4592 := 0 + for ; !r.CheckBreak(); yyj4592++ { - if yyj4601 >= len(yyv4601) { - yyv4601 = append(yyv4601, PersistentVolumeClaim{}) // var yyz4601 PersistentVolumeClaim - yyc4601 = true + if yyj4592 >= len(yyv4592) { + yyv4592 = append(yyv4592, PersistentVolumeClaim{}) // var yyz4592 PersistentVolumeClaim + yyc4592 = true } - yyh4601.ElemContainerState(yyj4601) - if yyj4601 < len(yyv4601) { + yyh4592.ElemContainerState(yyj4592) + if yyj4592 < len(yyv4592) { if r.TryDecodeAsNil() { - yyv4601[yyj4601] = PersistentVolumeClaim{} + yyv4592[yyj4592] = PersistentVolumeClaim{} } else { - yyv4604 := &yyv4601[yyj4601] - yyv4604.CodecDecodeSelf(d) + yyv4595 := &yyv4592[yyj4592] + yyv4595.CodecDecodeSelf(d) } } else { @@ -57361,17 +57279,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj4601 < len(yyv4601) { - yyv4601 = yyv4601[:yyj4601] - yyc4601 = true - } else if yyj4601 == 0 && yyv4601 == nil { - yyv4601 = []PersistentVolumeClaim{} - yyc4601 = true + if yyj4592 < len(yyv4592) { + yyv4592 = yyv4592[:yyj4592] + yyc4592 = true + } else if yyj4592 == 0 && yyv4592 == nil { + yyv4592 = []PersistentVolumeClaim{} + yyc4592 = true } } - yyh4601.End() - if yyc4601 { - *v = yyv4601 + yyh4592.End() + if yyc4592 { + *v = yyv4592 } } @@ -57380,10 +57298,10 @@ func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4605 := range v { + for _, yyv4596 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4606 := &yyv4605 - yy4606.CodecEncodeSelf(e) + yy4597 := &yyv4596 + yy4597.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57393,83 +57311,83 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4607 := *v - yyh4607, yyl4607 := z.DecSliceHelperStart() - var yyc4607 bool - if yyl4607 == 0 { - if yyv4607 == nil { - yyv4607 = []KeyToPath{} - yyc4607 = true - } else if len(yyv4607) != 0 { - yyv4607 = yyv4607[:0] - yyc4607 = true + yyv4598 := *v + yyh4598, yyl4598 := z.DecSliceHelperStart() + var yyc4598 bool + if yyl4598 == 0 { + if yyv4598 == nil { + yyv4598 = []KeyToPath{} + yyc4598 = true + } else if len(yyv4598) != 0 { + yyv4598 = yyv4598[:0] + yyc4598 = true } - } else if yyl4607 > 0 { - var yyrr4607, yyrl4607 int - var yyrt4607 bool - if yyl4607 > cap(yyv4607) { + } else if yyl4598 > 0 { + var yyrr4598, yyrl4598 int + var yyrt4598 bool + if yyl4598 > cap(yyv4598) { - yyrg4607 := len(yyv4607) > 0 - yyv24607 := yyv4607 - yyrl4607, yyrt4607 = z.DecInferLen(yyl4607, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4607 { - if yyrl4607 <= cap(yyv4607) { - yyv4607 = yyv4607[:yyrl4607] + yyrg4598 := len(yyv4598) > 0 + yyv24598 := yyv4598 + yyrl4598, yyrt4598 = z.DecInferLen(yyl4598, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4598 { + if yyrl4598 <= cap(yyv4598) { + yyv4598 = yyv4598[:yyrl4598] } else { - yyv4607 = make([]KeyToPath, yyrl4607) + yyv4598 = make([]KeyToPath, yyrl4598) } } else { - yyv4607 = make([]KeyToPath, yyrl4607) + yyv4598 = make([]KeyToPath, yyrl4598) } - yyc4607 = true - yyrr4607 = len(yyv4607) - if yyrg4607 { - copy(yyv4607, yyv24607) + yyc4598 = true + yyrr4598 = len(yyv4598) + if yyrg4598 { + copy(yyv4598, yyv24598) } - } else if yyl4607 != len(yyv4607) { - yyv4607 = yyv4607[:yyl4607] - yyc4607 = true + } else if yyl4598 != len(yyv4598) { + yyv4598 = yyv4598[:yyl4598] + yyc4598 = true } - yyj4607 := 0 - for ; yyj4607 < yyrr4607; yyj4607++ { - yyh4607.ElemContainerState(yyj4607) + yyj4598 := 0 + for ; yyj4598 < yyrr4598; yyj4598++ { + yyh4598.ElemContainerState(yyj4598) if r.TryDecodeAsNil() { - yyv4607[yyj4607] = KeyToPath{} + yyv4598[yyj4598] = KeyToPath{} } else { - yyv4608 := &yyv4607[yyj4607] - yyv4608.CodecDecodeSelf(d) + yyv4599 := &yyv4598[yyj4598] + yyv4599.CodecDecodeSelf(d) } } - if yyrt4607 { - for ; yyj4607 < yyl4607; yyj4607++ { - yyv4607 = append(yyv4607, KeyToPath{}) - yyh4607.ElemContainerState(yyj4607) + if yyrt4598 { + for ; yyj4598 < yyl4598; yyj4598++ { + yyv4598 = append(yyv4598, KeyToPath{}) + yyh4598.ElemContainerState(yyj4598) if r.TryDecodeAsNil() { - yyv4607[yyj4607] = KeyToPath{} + yyv4598[yyj4598] = KeyToPath{} } else { - yyv4609 := &yyv4607[yyj4607] - yyv4609.CodecDecodeSelf(d) + yyv4600 := &yyv4598[yyj4598] + yyv4600.CodecDecodeSelf(d) } } } } else { - yyj4607 := 0 - for ; !r.CheckBreak(); yyj4607++ { + yyj4598 := 0 + for ; !r.CheckBreak(); yyj4598++ { - if yyj4607 >= len(yyv4607) { - yyv4607 = append(yyv4607, KeyToPath{}) // var yyz4607 KeyToPath - yyc4607 = true + if yyj4598 >= len(yyv4598) { + yyv4598 = append(yyv4598, KeyToPath{}) // var yyz4598 KeyToPath + yyc4598 = true } - yyh4607.ElemContainerState(yyj4607) - if yyj4607 < len(yyv4607) { + yyh4598.ElemContainerState(yyj4598) + if yyj4598 < len(yyv4598) { if r.TryDecodeAsNil() { - yyv4607[yyj4607] = KeyToPath{} + yyv4598[yyj4598] = KeyToPath{} } else { - yyv4610 := &yyv4607[yyj4607] - yyv4610.CodecDecodeSelf(d) + yyv4601 := &yyv4598[yyj4598] + yyv4601.CodecDecodeSelf(d) } } else { @@ -57477,17 +57395,17 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) } } - if yyj4607 < len(yyv4607) { - yyv4607 = yyv4607[:yyj4607] - yyc4607 = true - } else if yyj4607 == 0 && yyv4607 == nil { - yyv4607 = []KeyToPath{} - yyc4607 = true + if yyj4598 < len(yyv4598) { + yyv4598 = yyv4598[:yyj4598] + yyc4598 = true + } else if yyj4598 == 0 && yyv4598 == nil { + yyv4598 = []KeyToPath{} + yyc4598 = true } } - yyh4607.End() - if yyc4607 { - *v = yyv4607 + yyh4598.End() + if yyc4598 { + *v = yyv4598 } } @@ -57496,10 +57414,10 @@ func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4611 := range v { + for _, yyv4602 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4612 := &yyv4611 - yy4612.CodecEncodeSelf(e) + yy4603 := &yyv4602 + yy4603.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57509,83 +57427,83 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4613 := *v - yyh4613, yyl4613 := z.DecSliceHelperStart() - var yyc4613 bool - if yyl4613 == 0 { - if yyv4613 == nil { - yyv4613 = []HTTPHeader{} - yyc4613 = true - } else if len(yyv4613) != 0 { - yyv4613 = yyv4613[:0] - yyc4613 = true + yyv4604 := *v + yyh4604, yyl4604 := z.DecSliceHelperStart() + var yyc4604 bool + if yyl4604 == 0 { + if yyv4604 == nil { + yyv4604 = []HTTPHeader{} + yyc4604 = true + } else if len(yyv4604) != 0 { + yyv4604 = yyv4604[:0] + yyc4604 = true } - } else if yyl4613 > 0 { - var yyrr4613, yyrl4613 int - var yyrt4613 bool - if yyl4613 > cap(yyv4613) { + } else if yyl4604 > 0 { + var yyrr4604, yyrl4604 int + var yyrt4604 bool + if yyl4604 > cap(yyv4604) { - yyrg4613 := len(yyv4613) > 0 - yyv24613 := yyv4613 - yyrl4613, yyrt4613 = z.DecInferLen(yyl4613, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4613 { - if yyrl4613 <= cap(yyv4613) { - yyv4613 = yyv4613[:yyrl4613] + yyrg4604 := len(yyv4604) > 0 + yyv24604 := yyv4604 + yyrl4604, yyrt4604 = z.DecInferLen(yyl4604, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4604 { + if yyrl4604 <= cap(yyv4604) { + yyv4604 = yyv4604[:yyrl4604] } else { - yyv4613 = make([]HTTPHeader, yyrl4613) + yyv4604 = make([]HTTPHeader, yyrl4604) } } else { - yyv4613 = make([]HTTPHeader, yyrl4613) + yyv4604 = make([]HTTPHeader, yyrl4604) } - yyc4613 = true - yyrr4613 = len(yyv4613) - if yyrg4613 { - copy(yyv4613, yyv24613) + yyc4604 = true + yyrr4604 = len(yyv4604) + if yyrg4604 { + copy(yyv4604, yyv24604) } - } else if yyl4613 != len(yyv4613) { - yyv4613 = yyv4613[:yyl4613] - yyc4613 = true + } else if yyl4604 != len(yyv4604) { + yyv4604 = yyv4604[:yyl4604] + yyc4604 = true } - yyj4613 := 0 - for ; yyj4613 < yyrr4613; yyj4613++ { - yyh4613.ElemContainerState(yyj4613) + yyj4604 := 0 + for ; yyj4604 < yyrr4604; yyj4604++ { + yyh4604.ElemContainerState(yyj4604) if r.TryDecodeAsNil() { - yyv4613[yyj4613] = HTTPHeader{} + yyv4604[yyj4604] = HTTPHeader{} } else { - yyv4614 := &yyv4613[yyj4613] - yyv4614.CodecDecodeSelf(d) + yyv4605 := &yyv4604[yyj4604] + yyv4605.CodecDecodeSelf(d) } } - if yyrt4613 { - for ; yyj4613 < yyl4613; yyj4613++ { - yyv4613 = append(yyv4613, HTTPHeader{}) - yyh4613.ElemContainerState(yyj4613) + if yyrt4604 { + for ; yyj4604 < yyl4604; yyj4604++ { + yyv4604 = append(yyv4604, HTTPHeader{}) + yyh4604.ElemContainerState(yyj4604) if r.TryDecodeAsNil() { - yyv4613[yyj4613] = HTTPHeader{} + yyv4604[yyj4604] = HTTPHeader{} } else { - yyv4615 := &yyv4613[yyj4613] - yyv4615.CodecDecodeSelf(d) + yyv4606 := &yyv4604[yyj4604] + yyv4606.CodecDecodeSelf(d) } } } } else { - yyj4613 := 0 - for ; !r.CheckBreak(); yyj4613++ { + yyj4604 := 0 + for ; !r.CheckBreak(); yyj4604++ { - if yyj4613 >= len(yyv4613) { - yyv4613 = append(yyv4613, HTTPHeader{}) // var yyz4613 HTTPHeader - yyc4613 = true + if yyj4604 >= len(yyv4604) { + yyv4604 = append(yyv4604, HTTPHeader{}) // var yyz4604 HTTPHeader + yyc4604 = true } - yyh4613.ElemContainerState(yyj4613) - if yyj4613 < len(yyv4613) { + yyh4604.ElemContainerState(yyj4604) + if yyj4604 < len(yyv4604) { if r.TryDecodeAsNil() { - yyv4613[yyj4613] = HTTPHeader{} + yyv4604[yyj4604] = HTTPHeader{} } else { - yyv4616 := &yyv4613[yyj4613] - yyv4616.CodecDecodeSelf(d) + yyv4607 := &yyv4604[yyj4604] + yyv4607.CodecDecodeSelf(d) } } else { @@ -57593,17 +57511,17 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode } } - if yyj4613 < len(yyv4613) { - yyv4613 = yyv4613[:yyj4613] - yyc4613 = true - } else if yyj4613 == 0 && yyv4613 == nil { - yyv4613 = []HTTPHeader{} - yyc4613 = true + if yyj4604 < len(yyv4604) { + yyv4604 = yyv4604[:yyj4604] + yyc4604 = true + } else if yyj4604 == 0 && yyv4604 == nil { + yyv4604 = []HTTPHeader{} + yyc4604 = true } } - yyh4613.End() - if yyc4613 { - *v = yyv4613 + yyh4604.End() + if yyc4604 { + *v = yyv4604 } } @@ -57612,9 +57530,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4617 := range v { + for _, yyv4608 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4617.CodecEncodeSelf(e) + yyv4608.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57624,75 +57542,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4618 := *v - yyh4618, yyl4618 := z.DecSliceHelperStart() - var yyc4618 bool - if yyl4618 == 0 { - if yyv4618 == nil { - yyv4618 = []Capability{} - yyc4618 = true - } else if len(yyv4618) != 0 { - yyv4618 = yyv4618[:0] - yyc4618 = true + yyv4609 := *v + yyh4609, yyl4609 := z.DecSliceHelperStart() + var yyc4609 bool + if yyl4609 == 0 { + if yyv4609 == nil { + yyv4609 = []Capability{} + yyc4609 = true + } else if len(yyv4609) != 0 { + yyv4609 = yyv4609[:0] + yyc4609 = true } - } else if yyl4618 > 0 { - var yyrr4618, yyrl4618 int - var yyrt4618 bool - if yyl4618 > cap(yyv4618) { + } else if yyl4609 > 0 { + var yyrr4609, yyrl4609 int + var yyrt4609 bool + if yyl4609 > cap(yyv4609) { - yyrl4618, yyrt4618 = z.DecInferLen(yyl4618, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4618 { - if yyrl4618 <= cap(yyv4618) { - yyv4618 = yyv4618[:yyrl4618] + yyrl4609, yyrt4609 = z.DecInferLen(yyl4609, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4609 { + if yyrl4609 <= cap(yyv4609) { + yyv4609 = yyv4609[:yyrl4609] } else { - yyv4618 = make([]Capability, yyrl4618) + yyv4609 = make([]Capability, yyrl4609) } } else { - yyv4618 = make([]Capability, yyrl4618) + yyv4609 = make([]Capability, yyrl4609) } - yyc4618 = true - yyrr4618 = len(yyv4618) - } else if yyl4618 != len(yyv4618) { - yyv4618 = yyv4618[:yyl4618] - yyc4618 = true + yyc4609 = true + yyrr4609 = len(yyv4609) + } else if yyl4609 != len(yyv4609) { + yyv4609 = yyv4609[:yyl4609] + yyc4609 = true } - yyj4618 := 0 - for ; yyj4618 < yyrr4618; yyj4618++ { - yyh4618.ElemContainerState(yyj4618) + yyj4609 := 0 + for ; yyj4609 < yyrr4609; yyj4609++ { + yyh4609.ElemContainerState(yyj4609) if r.TryDecodeAsNil() { - yyv4618[yyj4618] = "" + yyv4609[yyj4609] = "" } else { - yyv4618[yyj4618] = Capability(r.DecodeString()) + yyv4609[yyj4609] = Capability(r.DecodeString()) } } - if yyrt4618 { - for ; yyj4618 < yyl4618; yyj4618++ { - yyv4618 = append(yyv4618, "") - yyh4618.ElemContainerState(yyj4618) + if yyrt4609 { + for ; yyj4609 < yyl4609; yyj4609++ { + yyv4609 = append(yyv4609, "") + yyh4609.ElemContainerState(yyj4609) if r.TryDecodeAsNil() { - yyv4618[yyj4618] = "" + yyv4609[yyj4609] = "" } else { - yyv4618[yyj4618] = Capability(r.DecodeString()) + yyv4609[yyj4609] = Capability(r.DecodeString()) } } } } else { - yyj4618 := 0 - for ; !r.CheckBreak(); yyj4618++ { + yyj4609 := 0 + for ; !r.CheckBreak(); yyj4609++ { - if yyj4618 >= len(yyv4618) { - yyv4618 = append(yyv4618, "") // var yyz4618 Capability - yyc4618 = true + if yyj4609 >= len(yyv4609) { + yyv4609 = append(yyv4609, "") // var yyz4609 Capability + yyc4609 = true } - yyh4618.ElemContainerState(yyj4618) - if yyj4618 < len(yyv4618) { + yyh4609.ElemContainerState(yyj4609) + if yyj4609 < len(yyv4609) { if r.TryDecodeAsNil() { - yyv4618[yyj4618] = "" + yyv4609[yyj4609] = "" } else { - yyv4618[yyj4618] = Capability(r.DecodeString()) + yyv4609[yyj4609] = Capability(r.DecodeString()) } } else { @@ -57700,17 +57618,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj4618 < len(yyv4618) { - yyv4618 = yyv4618[:yyj4618] - yyc4618 = true - } else if yyj4618 == 0 && yyv4618 == nil { - yyv4618 = []Capability{} - yyc4618 = true + if yyj4609 < len(yyv4609) { + yyv4609 = yyv4609[:yyj4609] + yyc4609 = true + } else if yyj4609 == 0 && yyv4609 == nil { + yyv4609 = []Capability{} + yyc4609 = true } } - yyh4618.End() - if yyc4618 { - *v = yyv4618 + yyh4609.End() + if yyc4609 { + *v = yyv4609 } } @@ -57719,10 +57637,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4622 := range v { + for _, yyv4613 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4623 := &yyv4622 - yy4623.CodecEncodeSelf(e) + yy4614 := &yyv4613 + yy4614.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57732,83 +57650,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4624 := *v - yyh4624, yyl4624 := z.DecSliceHelperStart() - var yyc4624 bool - if yyl4624 == 0 { - if yyv4624 == nil { - yyv4624 = []ContainerPort{} - yyc4624 = true - } else if len(yyv4624) != 0 { - yyv4624 = yyv4624[:0] - yyc4624 = true + yyv4615 := *v + yyh4615, yyl4615 := z.DecSliceHelperStart() + var yyc4615 bool + if yyl4615 == 0 { + if yyv4615 == nil { + yyv4615 = []ContainerPort{} + yyc4615 = true + } else if len(yyv4615) != 0 { + yyv4615 = yyv4615[:0] + yyc4615 = true } - } else if yyl4624 > 0 { - var yyrr4624, yyrl4624 int - var yyrt4624 bool - if yyl4624 > cap(yyv4624) { + } else if yyl4615 > 0 { + var yyrr4615, yyrl4615 int + var yyrt4615 bool + if yyl4615 > cap(yyv4615) { - yyrg4624 := len(yyv4624) > 0 - yyv24624 := yyv4624 - yyrl4624, yyrt4624 = z.DecInferLen(yyl4624, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4624 { - if yyrl4624 <= cap(yyv4624) { - yyv4624 = yyv4624[:yyrl4624] + yyrg4615 := len(yyv4615) > 0 + yyv24615 := yyv4615 + yyrl4615, yyrt4615 = z.DecInferLen(yyl4615, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4615 { + if yyrl4615 <= cap(yyv4615) { + yyv4615 = yyv4615[:yyrl4615] } else { - yyv4624 = make([]ContainerPort, yyrl4624) + yyv4615 = make([]ContainerPort, yyrl4615) } } else { - yyv4624 = make([]ContainerPort, yyrl4624) + yyv4615 = make([]ContainerPort, yyrl4615) } - yyc4624 = true - yyrr4624 = len(yyv4624) - if yyrg4624 { - copy(yyv4624, yyv24624) + yyc4615 = true + yyrr4615 = len(yyv4615) + if yyrg4615 { + copy(yyv4615, yyv24615) } - } else if yyl4624 != len(yyv4624) { - yyv4624 = yyv4624[:yyl4624] - yyc4624 = true + } else if yyl4615 != len(yyv4615) { + yyv4615 = yyv4615[:yyl4615] + yyc4615 = true } - yyj4624 := 0 - for ; yyj4624 < yyrr4624; yyj4624++ { - yyh4624.ElemContainerState(yyj4624) + yyj4615 := 0 + for ; yyj4615 < yyrr4615; yyj4615++ { + yyh4615.ElemContainerState(yyj4615) if r.TryDecodeAsNil() { - yyv4624[yyj4624] = ContainerPort{} + yyv4615[yyj4615] = ContainerPort{} } else { - yyv4625 := &yyv4624[yyj4624] - yyv4625.CodecDecodeSelf(d) + yyv4616 := &yyv4615[yyj4615] + yyv4616.CodecDecodeSelf(d) } } - if yyrt4624 { - for ; yyj4624 < yyl4624; yyj4624++ { - yyv4624 = append(yyv4624, ContainerPort{}) - yyh4624.ElemContainerState(yyj4624) + if yyrt4615 { + for ; yyj4615 < yyl4615; yyj4615++ { + yyv4615 = append(yyv4615, ContainerPort{}) + yyh4615.ElemContainerState(yyj4615) if r.TryDecodeAsNil() { - yyv4624[yyj4624] = ContainerPort{} + yyv4615[yyj4615] = ContainerPort{} } else { - yyv4626 := &yyv4624[yyj4624] - yyv4626.CodecDecodeSelf(d) + yyv4617 := &yyv4615[yyj4615] + yyv4617.CodecDecodeSelf(d) } } } } else { - yyj4624 := 0 - for ; !r.CheckBreak(); yyj4624++ { + yyj4615 := 0 + for ; !r.CheckBreak(); yyj4615++ { - if yyj4624 >= len(yyv4624) { - yyv4624 = append(yyv4624, ContainerPort{}) // var yyz4624 ContainerPort - yyc4624 = true + if yyj4615 >= len(yyv4615) { + yyv4615 = append(yyv4615, ContainerPort{}) // var yyz4615 ContainerPort + yyc4615 = true } - yyh4624.ElemContainerState(yyj4624) - if yyj4624 < len(yyv4624) { + yyh4615.ElemContainerState(yyj4615) + if yyj4615 < len(yyv4615) { if r.TryDecodeAsNil() { - yyv4624[yyj4624] = ContainerPort{} + yyv4615[yyj4615] = ContainerPort{} } else { - yyv4627 := &yyv4624[yyj4624] - yyv4627.CodecDecodeSelf(d) + yyv4618 := &yyv4615[yyj4615] + yyv4618.CodecDecodeSelf(d) } } else { @@ -57816,17 +57734,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj4624 < len(yyv4624) { - yyv4624 = yyv4624[:yyj4624] - yyc4624 = true - } else if yyj4624 == 0 && yyv4624 == nil { - yyv4624 = []ContainerPort{} - yyc4624 = true + if yyj4615 < len(yyv4615) { + yyv4615 = yyv4615[:yyj4615] + yyc4615 = true + } else if yyj4615 == 0 && yyv4615 == nil { + yyv4615 = []ContainerPort{} + yyc4615 = true } } - yyh4624.End() - if yyc4624 { - *v = yyv4624 + yyh4615.End() + if yyc4615 { + *v = yyv4615 } } @@ -57835,10 +57753,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4628 := range v { + for _, yyv4619 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4629 := &yyv4628 - yy4629.CodecEncodeSelf(e) + yy4620 := &yyv4619 + yy4620.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57848,83 +57766,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4630 := *v - yyh4630, yyl4630 := z.DecSliceHelperStart() - var yyc4630 bool - if yyl4630 == 0 { - if yyv4630 == nil { - yyv4630 = []EnvVar{} - yyc4630 = true - } else if len(yyv4630) != 0 { - yyv4630 = yyv4630[:0] - yyc4630 = true + yyv4621 := *v + yyh4621, yyl4621 := z.DecSliceHelperStart() + var yyc4621 bool + if yyl4621 == 0 { + if yyv4621 == nil { + yyv4621 = []EnvVar{} + yyc4621 = true + } else if len(yyv4621) != 0 { + yyv4621 = yyv4621[:0] + yyc4621 = true } - } else if yyl4630 > 0 { - var yyrr4630, yyrl4630 int - var yyrt4630 bool - if yyl4630 > cap(yyv4630) { + } else if yyl4621 > 0 { + var yyrr4621, yyrl4621 int + var yyrt4621 bool + if yyl4621 > cap(yyv4621) { - yyrg4630 := len(yyv4630) > 0 - yyv24630 := yyv4630 - yyrl4630, yyrt4630 = z.DecInferLen(yyl4630, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4630 { - if yyrl4630 <= cap(yyv4630) { - yyv4630 = yyv4630[:yyrl4630] + yyrg4621 := len(yyv4621) > 0 + yyv24621 := yyv4621 + yyrl4621, yyrt4621 = z.DecInferLen(yyl4621, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4621 { + if yyrl4621 <= cap(yyv4621) { + yyv4621 = yyv4621[:yyrl4621] } else { - yyv4630 = make([]EnvVar, yyrl4630) + yyv4621 = make([]EnvVar, yyrl4621) } } else { - yyv4630 = make([]EnvVar, yyrl4630) + yyv4621 = make([]EnvVar, yyrl4621) } - yyc4630 = true - yyrr4630 = len(yyv4630) - if yyrg4630 { - copy(yyv4630, yyv24630) + yyc4621 = true + yyrr4621 = len(yyv4621) + if yyrg4621 { + copy(yyv4621, yyv24621) } - } else if yyl4630 != len(yyv4630) { - yyv4630 = yyv4630[:yyl4630] - yyc4630 = true + } else if yyl4621 != len(yyv4621) { + yyv4621 = yyv4621[:yyl4621] + yyc4621 = true } - yyj4630 := 0 - for ; yyj4630 < yyrr4630; yyj4630++ { - yyh4630.ElemContainerState(yyj4630) + yyj4621 := 0 + for ; yyj4621 < yyrr4621; yyj4621++ { + yyh4621.ElemContainerState(yyj4621) if r.TryDecodeAsNil() { - yyv4630[yyj4630] = EnvVar{} + yyv4621[yyj4621] = EnvVar{} } else { - yyv4631 := &yyv4630[yyj4630] - yyv4631.CodecDecodeSelf(d) + yyv4622 := &yyv4621[yyj4621] + yyv4622.CodecDecodeSelf(d) } } - if yyrt4630 { - for ; yyj4630 < yyl4630; yyj4630++ { - yyv4630 = append(yyv4630, EnvVar{}) - yyh4630.ElemContainerState(yyj4630) + if yyrt4621 { + for ; yyj4621 < yyl4621; yyj4621++ { + yyv4621 = append(yyv4621, EnvVar{}) + yyh4621.ElemContainerState(yyj4621) if r.TryDecodeAsNil() { - yyv4630[yyj4630] = EnvVar{} + yyv4621[yyj4621] = EnvVar{} } else { - yyv4632 := &yyv4630[yyj4630] - yyv4632.CodecDecodeSelf(d) + yyv4623 := &yyv4621[yyj4621] + yyv4623.CodecDecodeSelf(d) } } } } else { - yyj4630 := 0 - for ; !r.CheckBreak(); yyj4630++ { + yyj4621 := 0 + for ; !r.CheckBreak(); yyj4621++ { - if yyj4630 >= len(yyv4630) { - yyv4630 = append(yyv4630, EnvVar{}) // var yyz4630 EnvVar - yyc4630 = true + if yyj4621 >= len(yyv4621) { + yyv4621 = append(yyv4621, EnvVar{}) // var yyz4621 EnvVar + yyc4621 = true } - yyh4630.ElemContainerState(yyj4630) - if yyj4630 < len(yyv4630) { + yyh4621.ElemContainerState(yyj4621) + if yyj4621 < len(yyv4621) { if r.TryDecodeAsNil() { - yyv4630[yyj4630] = EnvVar{} + yyv4621[yyj4621] = EnvVar{} } else { - yyv4633 := &yyv4630[yyj4630] - yyv4633.CodecDecodeSelf(d) + yyv4624 := &yyv4621[yyj4621] + yyv4624.CodecDecodeSelf(d) } } else { @@ -57932,17 +57850,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj4630 < len(yyv4630) { - yyv4630 = yyv4630[:yyj4630] - yyc4630 = true - } else if yyj4630 == 0 && yyv4630 == nil { - yyv4630 = []EnvVar{} - yyc4630 = true + if yyj4621 < len(yyv4621) { + yyv4621 = yyv4621[:yyj4621] + yyc4621 = true + } else if yyj4621 == 0 && yyv4621 == nil { + yyv4621 = []EnvVar{} + yyc4621 = true } } - yyh4630.End() - if yyc4630 { - *v = yyv4630 + yyh4621.End() + if yyc4621 { + *v = yyv4621 } } @@ -57951,10 +57869,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4634 := range v { + for _, yyv4625 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4635 := &yyv4634 - yy4635.CodecEncodeSelf(e) + yy4626 := &yyv4625 + yy4626.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57964,83 +57882,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4636 := *v - yyh4636, yyl4636 := z.DecSliceHelperStart() - var yyc4636 bool - if yyl4636 == 0 { - if yyv4636 == nil { - yyv4636 = []VolumeMount{} - yyc4636 = true - } else if len(yyv4636) != 0 { - yyv4636 = yyv4636[:0] - yyc4636 = true + yyv4627 := *v + yyh4627, yyl4627 := z.DecSliceHelperStart() + var yyc4627 bool + if yyl4627 == 0 { + if yyv4627 == nil { + yyv4627 = []VolumeMount{} + yyc4627 = true + } else if len(yyv4627) != 0 { + yyv4627 = yyv4627[:0] + yyc4627 = true } - } else if yyl4636 > 0 { - var yyrr4636, yyrl4636 int - var yyrt4636 bool - if yyl4636 > cap(yyv4636) { + } else if yyl4627 > 0 { + var yyrr4627, yyrl4627 int + var yyrt4627 bool + if yyl4627 > cap(yyv4627) { - yyrg4636 := len(yyv4636) > 0 - yyv24636 := yyv4636 - yyrl4636, yyrt4636 = z.DecInferLen(yyl4636, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4636 { - if yyrl4636 <= cap(yyv4636) { - yyv4636 = yyv4636[:yyrl4636] + yyrg4627 := len(yyv4627) > 0 + yyv24627 := yyv4627 + yyrl4627, yyrt4627 = z.DecInferLen(yyl4627, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4627 { + if yyrl4627 <= cap(yyv4627) { + yyv4627 = yyv4627[:yyrl4627] } else { - yyv4636 = make([]VolumeMount, yyrl4636) + yyv4627 = make([]VolumeMount, yyrl4627) } } else { - yyv4636 = make([]VolumeMount, yyrl4636) + yyv4627 = make([]VolumeMount, yyrl4627) } - yyc4636 = true - yyrr4636 = len(yyv4636) - if yyrg4636 { - copy(yyv4636, yyv24636) + yyc4627 = true + yyrr4627 = len(yyv4627) + if yyrg4627 { + copy(yyv4627, yyv24627) } - } else if yyl4636 != len(yyv4636) { - yyv4636 = yyv4636[:yyl4636] - yyc4636 = true + } else if yyl4627 != len(yyv4627) { + yyv4627 = yyv4627[:yyl4627] + yyc4627 = true } - yyj4636 := 0 - for ; yyj4636 < yyrr4636; yyj4636++ { - yyh4636.ElemContainerState(yyj4636) + yyj4627 := 0 + for ; yyj4627 < yyrr4627; yyj4627++ { + yyh4627.ElemContainerState(yyj4627) if r.TryDecodeAsNil() { - yyv4636[yyj4636] = VolumeMount{} + yyv4627[yyj4627] = VolumeMount{} } else { - yyv4637 := &yyv4636[yyj4636] - yyv4637.CodecDecodeSelf(d) + yyv4628 := &yyv4627[yyj4627] + yyv4628.CodecDecodeSelf(d) } } - if yyrt4636 { - for ; yyj4636 < yyl4636; yyj4636++ { - yyv4636 = append(yyv4636, VolumeMount{}) - yyh4636.ElemContainerState(yyj4636) + if yyrt4627 { + for ; yyj4627 < yyl4627; yyj4627++ { + yyv4627 = append(yyv4627, VolumeMount{}) + yyh4627.ElemContainerState(yyj4627) if r.TryDecodeAsNil() { - yyv4636[yyj4636] = VolumeMount{} + yyv4627[yyj4627] = VolumeMount{} } else { - yyv4638 := &yyv4636[yyj4636] - yyv4638.CodecDecodeSelf(d) + yyv4629 := &yyv4627[yyj4627] + yyv4629.CodecDecodeSelf(d) } } } } else { - yyj4636 := 0 - for ; !r.CheckBreak(); yyj4636++ { + yyj4627 := 0 + for ; !r.CheckBreak(); yyj4627++ { - if yyj4636 >= len(yyv4636) { - yyv4636 = append(yyv4636, VolumeMount{}) // var yyz4636 VolumeMount - yyc4636 = true + if yyj4627 >= len(yyv4627) { + yyv4627 = append(yyv4627, VolumeMount{}) // var yyz4627 VolumeMount + yyc4627 = true } - yyh4636.ElemContainerState(yyj4636) - if yyj4636 < len(yyv4636) { + yyh4627.ElemContainerState(yyj4627) + if yyj4627 < len(yyv4627) { if r.TryDecodeAsNil() { - yyv4636[yyj4636] = VolumeMount{} + yyv4627[yyj4627] = VolumeMount{} } else { - yyv4639 := &yyv4636[yyj4636] - yyv4639.CodecDecodeSelf(d) + yyv4630 := &yyv4627[yyj4627] + yyv4630.CodecDecodeSelf(d) } } else { @@ -58048,17 +57966,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj4636 < len(yyv4636) { - yyv4636 = yyv4636[:yyj4636] - yyc4636 = true - } else if yyj4636 == 0 && yyv4636 == nil { - yyv4636 = []VolumeMount{} - yyc4636 = true + if yyj4627 < len(yyv4627) { + yyv4627 = yyv4627[:yyj4627] + yyc4627 = true + } else if yyj4627 == 0 && yyv4627 == nil { + yyv4627 = []VolumeMount{} + yyc4627 = true } } - yyh4636.End() - if yyc4636 { - *v = yyv4636 + yyh4627.End() + if yyc4627 { + *v = yyv4627 } } @@ -58067,10 +57985,10 @@ func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4640 := range v { + for _, yyv4631 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4641 := &yyv4640 - yy4641.CodecEncodeSelf(e) + yy4632 := &yyv4631 + yy4632.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58080,83 +57998,83 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4642 := *v - yyh4642, yyl4642 := z.DecSliceHelperStart() - var yyc4642 bool - if yyl4642 == 0 { - if yyv4642 == nil { - yyv4642 = []NodeSelectorTerm{} - yyc4642 = true - } else if len(yyv4642) != 0 { - yyv4642 = yyv4642[:0] - yyc4642 = true + yyv4633 := *v + yyh4633, yyl4633 := z.DecSliceHelperStart() + var yyc4633 bool + if yyl4633 == 0 { + if yyv4633 == nil { + yyv4633 = []NodeSelectorTerm{} + yyc4633 = true + } else if len(yyv4633) != 0 { + yyv4633 = yyv4633[:0] + yyc4633 = true } - } else if yyl4642 > 0 { - var yyrr4642, yyrl4642 int - var yyrt4642 bool - if yyl4642 > cap(yyv4642) { + } else if yyl4633 > 0 { + var yyrr4633, yyrl4633 int + var yyrt4633 bool + if yyl4633 > cap(yyv4633) { - yyrg4642 := len(yyv4642) > 0 - yyv24642 := yyv4642 - yyrl4642, yyrt4642 = z.DecInferLen(yyl4642, z.DecBasicHandle().MaxInitLen, 24) - if yyrt4642 { - if yyrl4642 <= cap(yyv4642) { - yyv4642 = yyv4642[:yyrl4642] + yyrg4633 := len(yyv4633) > 0 + yyv24633 := yyv4633 + yyrl4633, yyrt4633 = z.DecInferLen(yyl4633, z.DecBasicHandle().MaxInitLen, 24) + if yyrt4633 { + if yyrl4633 <= cap(yyv4633) { + yyv4633 = yyv4633[:yyrl4633] } else { - yyv4642 = make([]NodeSelectorTerm, yyrl4642) + yyv4633 = make([]NodeSelectorTerm, yyrl4633) } } else { - yyv4642 = make([]NodeSelectorTerm, yyrl4642) + yyv4633 = make([]NodeSelectorTerm, yyrl4633) } - yyc4642 = true - yyrr4642 = len(yyv4642) - if yyrg4642 { - copy(yyv4642, yyv24642) + yyc4633 = true + yyrr4633 = len(yyv4633) + if yyrg4633 { + copy(yyv4633, yyv24633) } - } else if yyl4642 != len(yyv4642) { - yyv4642 = yyv4642[:yyl4642] - yyc4642 = true + } else if yyl4633 != len(yyv4633) { + yyv4633 = yyv4633[:yyl4633] + yyc4633 = true } - yyj4642 := 0 - for ; yyj4642 < yyrr4642; yyj4642++ { - yyh4642.ElemContainerState(yyj4642) + yyj4633 := 0 + for ; yyj4633 < yyrr4633; yyj4633++ { + yyh4633.ElemContainerState(yyj4633) if r.TryDecodeAsNil() { - yyv4642[yyj4642] = NodeSelectorTerm{} + yyv4633[yyj4633] = NodeSelectorTerm{} } else { - yyv4643 := &yyv4642[yyj4642] - yyv4643.CodecDecodeSelf(d) + yyv4634 := &yyv4633[yyj4633] + yyv4634.CodecDecodeSelf(d) } } - if yyrt4642 { - for ; yyj4642 < yyl4642; yyj4642++ { - yyv4642 = append(yyv4642, NodeSelectorTerm{}) - yyh4642.ElemContainerState(yyj4642) + if yyrt4633 { + for ; yyj4633 < yyl4633; yyj4633++ { + yyv4633 = append(yyv4633, NodeSelectorTerm{}) + yyh4633.ElemContainerState(yyj4633) if r.TryDecodeAsNil() { - yyv4642[yyj4642] = NodeSelectorTerm{} + yyv4633[yyj4633] = NodeSelectorTerm{} } else { - yyv4644 := &yyv4642[yyj4642] - yyv4644.CodecDecodeSelf(d) + yyv4635 := &yyv4633[yyj4633] + yyv4635.CodecDecodeSelf(d) } } } } else { - yyj4642 := 0 - for ; !r.CheckBreak(); yyj4642++ { + yyj4633 := 0 + for ; !r.CheckBreak(); yyj4633++ { - if yyj4642 >= len(yyv4642) { - yyv4642 = append(yyv4642, NodeSelectorTerm{}) // var yyz4642 NodeSelectorTerm - yyc4642 = true + if yyj4633 >= len(yyv4633) { + yyv4633 = append(yyv4633, NodeSelectorTerm{}) // var yyz4633 NodeSelectorTerm + yyc4633 = true } - yyh4642.ElemContainerState(yyj4642) - if yyj4642 < len(yyv4642) { + yyh4633.ElemContainerState(yyj4633) + if yyj4633 < len(yyv4633) { if r.TryDecodeAsNil() { - yyv4642[yyj4642] = NodeSelectorTerm{} + yyv4633[yyj4633] = NodeSelectorTerm{} } else { - yyv4645 := &yyv4642[yyj4642] - yyv4645.CodecDecodeSelf(d) + yyv4636 := &yyv4633[yyj4633] + yyv4636.CodecDecodeSelf(d) } } else { @@ -58164,17 +58082,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj4642 < len(yyv4642) { - yyv4642 = yyv4642[:yyj4642] - yyc4642 = true - } else if yyj4642 == 0 && yyv4642 == nil { - yyv4642 = []NodeSelectorTerm{} - yyc4642 = true + if yyj4633 < len(yyv4633) { + yyv4633 = yyv4633[:yyj4633] + yyc4633 = true + } else if yyj4633 == 0 && yyv4633 == nil { + yyv4633 = []NodeSelectorTerm{} + yyc4633 = true } } - yyh4642.End() - if yyc4642 { - *v = yyv4642 + yyh4633.End() + if yyc4633 { + *v = yyv4633 } } @@ -58183,10 +58101,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4646 := range v { + for _, yyv4637 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4647 := &yyv4646 - yy4647.CodecEncodeSelf(e) + yy4638 := &yyv4637 + yy4638.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58196,83 +58114,83 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4648 := *v - yyh4648, yyl4648 := z.DecSliceHelperStart() - var yyc4648 bool - if yyl4648 == 0 { - if yyv4648 == nil { - yyv4648 = []NodeSelectorRequirement{} - yyc4648 = true - } else if len(yyv4648) != 0 { - yyv4648 = yyv4648[:0] - yyc4648 = true + yyv4639 := *v + yyh4639, yyl4639 := z.DecSliceHelperStart() + var yyc4639 bool + if yyl4639 == 0 { + if yyv4639 == nil { + yyv4639 = []NodeSelectorRequirement{} + yyc4639 = true + } else if len(yyv4639) != 0 { + yyv4639 = yyv4639[:0] + yyc4639 = true } - } else if yyl4648 > 0 { - var yyrr4648, yyrl4648 int - var yyrt4648 bool - if yyl4648 > cap(yyv4648) { + } else if yyl4639 > 0 { + var yyrr4639, yyrl4639 int + var yyrt4639 bool + if yyl4639 > cap(yyv4639) { - yyrg4648 := len(yyv4648) > 0 - yyv24648 := yyv4648 - yyrl4648, yyrt4648 = z.DecInferLen(yyl4648, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4648 { - if yyrl4648 <= cap(yyv4648) { - yyv4648 = yyv4648[:yyrl4648] + yyrg4639 := len(yyv4639) > 0 + yyv24639 := yyv4639 + yyrl4639, yyrt4639 = z.DecInferLen(yyl4639, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4639 { + if yyrl4639 <= cap(yyv4639) { + yyv4639 = yyv4639[:yyrl4639] } else { - yyv4648 = make([]NodeSelectorRequirement, yyrl4648) + yyv4639 = make([]NodeSelectorRequirement, yyrl4639) } } else { - yyv4648 = make([]NodeSelectorRequirement, yyrl4648) + yyv4639 = make([]NodeSelectorRequirement, yyrl4639) } - yyc4648 = true - yyrr4648 = len(yyv4648) - if yyrg4648 { - copy(yyv4648, yyv24648) + yyc4639 = true + yyrr4639 = len(yyv4639) + if yyrg4639 { + copy(yyv4639, yyv24639) } - } else if yyl4648 != len(yyv4648) { - yyv4648 = yyv4648[:yyl4648] - yyc4648 = true + } else if yyl4639 != len(yyv4639) { + yyv4639 = yyv4639[:yyl4639] + yyc4639 = true } - yyj4648 := 0 - for ; yyj4648 < yyrr4648; yyj4648++ { - yyh4648.ElemContainerState(yyj4648) + yyj4639 := 0 + for ; yyj4639 < yyrr4639; yyj4639++ { + yyh4639.ElemContainerState(yyj4639) if r.TryDecodeAsNil() { - yyv4648[yyj4648] = NodeSelectorRequirement{} + yyv4639[yyj4639] = NodeSelectorRequirement{} } else { - yyv4649 := &yyv4648[yyj4648] - yyv4649.CodecDecodeSelf(d) + yyv4640 := &yyv4639[yyj4639] + yyv4640.CodecDecodeSelf(d) } } - if yyrt4648 { - for ; yyj4648 < yyl4648; yyj4648++ { - yyv4648 = append(yyv4648, NodeSelectorRequirement{}) - yyh4648.ElemContainerState(yyj4648) + if yyrt4639 { + for ; yyj4639 < yyl4639; yyj4639++ { + yyv4639 = append(yyv4639, NodeSelectorRequirement{}) + yyh4639.ElemContainerState(yyj4639) if r.TryDecodeAsNil() { - yyv4648[yyj4648] = NodeSelectorRequirement{} + yyv4639[yyj4639] = NodeSelectorRequirement{} } else { - yyv4650 := &yyv4648[yyj4648] - yyv4650.CodecDecodeSelf(d) + yyv4641 := &yyv4639[yyj4639] + yyv4641.CodecDecodeSelf(d) } } } } else { - yyj4648 := 0 - for ; !r.CheckBreak(); yyj4648++ { + yyj4639 := 0 + for ; !r.CheckBreak(); yyj4639++ { - if yyj4648 >= len(yyv4648) { - yyv4648 = append(yyv4648, NodeSelectorRequirement{}) // var yyz4648 NodeSelectorRequirement - yyc4648 = true + if yyj4639 >= len(yyv4639) { + yyv4639 = append(yyv4639, NodeSelectorRequirement{}) // var yyz4639 NodeSelectorRequirement + yyc4639 = true } - yyh4648.ElemContainerState(yyj4648) - if yyj4648 < len(yyv4648) { + yyh4639.ElemContainerState(yyj4639) + if yyj4639 < len(yyv4639) { if r.TryDecodeAsNil() { - yyv4648[yyj4648] = NodeSelectorRequirement{} + yyv4639[yyj4639] = NodeSelectorRequirement{} } else { - yyv4651 := &yyv4648[yyj4648] - yyv4651.CodecDecodeSelf(d) + yyv4642 := &yyv4639[yyj4639] + yyv4642.CodecDecodeSelf(d) } } else { @@ -58280,17 +58198,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj4648 < len(yyv4648) { - yyv4648 = yyv4648[:yyj4648] - yyc4648 = true - } else if yyj4648 == 0 && yyv4648 == nil { - yyv4648 = []NodeSelectorRequirement{} - yyc4648 = true + if yyj4639 < len(yyv4639) { + yyv4639 = yyv4639[:yyj4639] + yyc4639 = true + } else if yyj4639 == 0 && yyv4639 == nil { + yyv4639 = []NodeSelectorRequirement{} + yyc4639 = true } } - yyh4648.End() - if yyc4648 { - *v = yyv4648 + yyh4639.End() + if yyc4639 { + *v = yyv4639 } } @@ -58299,10 +58217,10 @@ func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4652 := range v { + for _, yyv4643 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4653 := &yyv4652 - yy4653.CodecEncodeSelf(e) + yy4644 := &yyv4643 + yy4644.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58312,83 +58230,83 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4654 := *v - yyh4654, yyl4654 := z.DecSliceHelperStart() - var yyc4654 bool - if yyl4654 == 0 { - if yyv4654 == nil { - yyv4654 = []PodAffinityTerm{} - yyc4654 = true - } else if len(yyv4654) != 0 { - yyv4654 = yyv4654[:0] - yyc4654 = true + yyv4645 := *v + yyh4645, yyl4645 := z.DecSliceHelperStart() + var yyc4645 bool + if yyl4645 == 0 { + if yyv4645 == nil { + yyv4645 = []PodAffinityTerm{} + yyc4645 = true + } else if len(yyv4645) != 0 { + yyv4645 = yyv4645[:0] + yyc4645 = true } - } else if yyl4654 > 0 { - var yyrr4654, yyrl4654 int - var yyrt4654 bool - if yyl4654 > cap(yyv4654) { + } else if yyl4645 > 0 { + var yyrr4645, yyrl4645 int + var yyrt4645 bool + if yyl4645 > cap(yyv4645) { - yyrg4654 := len(yyv4654) > 0 - yyv24654 := yyv4654 - yyrl4654, yyrt4654 = z.DecInferLen(yyl4654, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4654 { - if yyrl4654 <= cap(yyv4654) { - yyv4654 = yyv4654[:yyrl4654] + yyrg4645 := len(yyv4645) > 0 + yyv24645 := yyv4645 + yyrl4645, yyrt4645 = z.DecInferLen(yyl4645, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4645 { + if yyrl4645 <= cap(yyv4645) { + yyv4645 = yyv4645[:yyrl4645] } else { - yyv4654 = make([]PodAffinityTerm, yyrl4654) + yyv4645 = make([]PodAffinityTerm, yyrl4645) } } else { - yyv4654 = make([]PodAffinityTerm, yyrl4654) + yyv4645 = make([]PodAffinityTerm, yyrl4645) } - yyc4654 = true - yyrr4654 = len(yyv4654) - if yyrg4654 { - copy(yyv4654, yyv24654) + yyc4645 = true + yyrr4645 = len(yyv4645) + if yyrg4645 { + copy(yyv4645, yyv24645) } - } else if yyl4654 != len(yyv4654) { - yyv4654 = yyv4654[:yyl4654] - yyc4654 = true + } else if yyl4645 != len(yyv4645) { + yyv4645 = yyv4645[:yyl4645] + yyc4645 = true } - yyj4654 := 0 - for ; yyj4654 < yyrr4654; yyj4654++ { - yyh4654.ElemContainerState(yyj4654) + yyj4645 := 0 + for ; yyj4645 < yyrr4645; yyj4645++ { + yyh4645.ElemContainerState(yyj4645) if r.TryDecodeAsNil() { - yyv4654[yyj4654] = PodAffinityTerm{} + yyv4645[yyj4645] = PodAffinityTerm{} } else { - yyv4655 := &yyv4654[yyj4654] - yyv4655.CodecDecodeSelf(d) + yyv4646 := &yyv4645[yyj4645] + yyv4646.CodecDecodeSelf(d) } } - if yyrt4654 { - for ; yyj4654 < yyl4654; yyj4654++ { - yyv4654 = append(yyv4654, PodAffinityTerm{}) - yyh4654.ElemContainerState(yyj4654) + if yyrt4645 { + for ; yyj4645 < yyl4645; yyj4645++ { + yyv4645 = append(yyv4645, PodAffinityTerm{}) + yyh4645.ElemContainerState(yyj4645) if r.TryDecodeAsNil() { - yyv4654[yyj4654] = PodAffinityTerm{} + yyv4645[yyj4645] = PodAffinityTerm{} } else { - yyv4656 := &yyv4654[yyj4654] - yyv4656.CodecDecodeSelf(d) + yyv4647 := &yyv4645[yyj4645] + yyv4647.CodecDecodeSelf(d) } } } } else { - yyj4654 := 0 - for ; !r.CheckBreak(); yyj4654++ { + yyj4645 := 0 + for ; !r.CheckBreak(); yyj4645++ { - if yyj4654 >= len(yyv4654) { - yyv4654 = append(yyv4654, PodAffinityTerm{}) // var yyz4654 PodAffinityTerm - yyc4654 = true + if yyj4645 >= len(yyv4645) { + yyv4645 = append(yyv4645, PodAffinityTerm{}) // var yyz4645 PodAffinityTerm + yyc4645 = true } - yyh4654.ElemContainerState(yyj4654) - if yyj4654 < len(yyv4654) { + yyh4645.ElemContainerState(yyj4645) + if yyj4645 < len(yyv4645) { if r.TryDecodeAsNil() { - yyv4654[yyj4654] = PodAffinityTerm{} + yyv4645[yyj4645] = PodAffinityTerm{} } else { - yyv4657 := &yyv4654[yyj4654] - yyv4657.CodecDecodeSelf(d) + yyv4648 := &yyv4645[yyj4645] + yyv4648.CodecDecodeSelf(d) } } else { @@ -58396,17 +58314,17 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 } } - if yyj4654 < len(yyv4654) { - yyv4654 = yyv4654[:yyj4654] - yyc4654 = true - } else if yyj4654 == 0 && yyv4654 == nil { - yyv4654 = []PodAffinityTerm{} - yyc4654 = true + if yyj4645 < len(yyv4645) { + yyv4645 = yyv4645[:yyj4645] + yyc4645 = true + } else if yyj4645 == 0 && yyv4645 == nil { + yyv4645 = []PodAffinityTerm{} + yyc4645 = true } } - yyh4654.End() - if yyc4654 { - *v = yyv4654 + yyh4645.End() + if yyc4645 { + *v = yyv4645 } } @@ -58415,10 +58333,10 @@ func (x codecSelfer1234) encSliceWeightedPodAffinityTerm(v []WeightedPodAffinity z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4658 := range v { + for _, yyv4649 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4659 := &yyv4658 - yy4659.CodecEncodeSelf(e) + yy4650 := &yyv4649 + yy4650.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58428,83 +58346,83 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4660 := *v - yyh4660, yyl4660 := z.DecSliceHelperStart() - var yyc4660 bool - if yyl4660 == 0 { - if yyv4660 == nil { - yyv4660 = []WeightedPodAffinityTerm{} - yyc4660 = true - } else if len(yyv4660) != 0 { - yyv4660 = yyv4660[:0] - yyc4660 = true + yyv4651 := *v + yyh4651, yyl4651 := z.DecSliceHelperStart() + var yyc4651 bool + if yyl4651 == 0 { + if yyv4651 == nil { + yyv4651 = []WeightedPodAffinityTerm{} + yyc4651 = true + } else if len(yyv4651) != 0 { + yyv4651 = yyv4651[:0] + yyc4651 = true } - } else if yyl4660 > 0 { - var yyrr4660, yyrl4660 int - var yyrt4660 bool - if yyl4660 > cap(yyv4660) { + } else if yyl4651 > 0 { + var yyrr4651, yyrl4651 int + var yyrt4651 bool + if yyl4651 > cap(yyv4651) { - yyrg4660 := len(yyv4660) > 0 - yyv24660 := yyv4660 - yyrl4660, yyrt4660 = z.DecInferLen(yyl4660, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4660 { - if yyrl4660 <= cap(yyv4660) { - yyv4660 = yyv4660[:yyrl4660] + yyrg4651 := len(yyv4651) > 0 + yyv24651 := yyv4651 + yyrl4651, yyrt4651 = z.DecInferLen(yyl4651, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4651 { + if yyrl4651 <= cap(yyv4651) { + yyv4651 = yyv4651[:yyrl4651] } else { - yyv4660 = make([]WeightedPodAffinityTerm, yyrl4660) + yyv4651 = make([]WeightedPodAffinityTerm, yyrl4651) } } else { - yyv4660 = make([]WeightedPodAffinityTerm, yyrl4660) + yyv4651 = make([]WeightedPodAffinityTerm, yyrl4651) } - yyc4660 = true - yyrr4660 = len(yyv4660) - if yyrg4660 { - copy(yyv4660, yyv24660) + yyc4651 = true + yyrr4651 = len(yyv4651) + if yyrg4651 { + copy(yyv4651, yyv24651) } - } else if yyl4660 != len(yyv4660) { - yyv4660 = yyv4660[:yyl4660] - yyc4660 = true + } else if yyl4651 != len(yyv4651) { + yyv4651 = yyv4651[:yyl4651] + yyc4651 = true } - yyj4660 := 0 - for ; yyj4660 < yyrr4660; yyj4660++ { - yyh4660.ElemContainerState(yyj4660) + yyj4651 := 0 + for ; yyj4651 < yyrr4651; yyj4651++ { + yyh4651.ElemContainerState(yyj4651) if r.TryDecodeAsNil() { - yyv4660[yyj4660] = WeightedPodAffinityTerm{} + yyv4651[yyj4651] = WeightedPodAffinityTerm{} } else { - yyv4661 := &yyv4660[yyj4660] - yyv4661.CodecDecodeSelf(d) + yyv4652 := &yyv4651[yyj4651] + yyv4652.CodecDecodeSelf(d) } } - if yyrt4660 { - for ; yyj4660 < yyl4660; yyj4660++ { - yyv4660 = append(yyv4660, WeightedPodAffinityTerm{}) - yyh4660.ElemContainerState(yyj4660) + if yyrt4651 { + for ; yyj4651 < yyl4651; yyj4651++ { + yyv4651 = append(yyv4651, WeightedPodAffinityTerm{}) + yyh4651.ElemContainerState(yyj4651) if r.TryDecodeAsNil() { - yyv4660[yyj4660] = WeightedPodAffinityTerm{} + yyv4651[yyj4651] = WeightedPodAffinityTerm{} } else { - yyv4662 := &yyv4660[yyj4660] - yyv4662.CodecDecodeSelf(d) + yyv4653 := &yyv4651[yyj4651] + yyv4653.CodecDecodeSelf(d) } } } } else { - yyj4660 := 0 - for ; !r.CheckBreak(); yyj4660++ { + yyj4651 := 0 + for ; !r.CheckBreak(); yyj4651++ { - if yyj4660 >= len(yyv4660) { - yyv4660 = append(yyv4660, WeightedPodAffinityTerm{}) // var yyz4660 WeightedPodAffinityTerm - yyc4660 = true + if yyj4651 >= len(yyv4651) { + yyv4651 = append(yyv4651, WeightedPodAffinityTerm{}) // var yyz4651 WeightedPodAffinityTerm + yyc4651 = true } - yyh4660.ElemContainerState(yyj4660) - if yyj4660 < len(yyv4660) { + yyh4651.ElemContainerState(yyj4651) + if yyj4651 < len(yyv4651) { if r.TryDecodeAsNil() { - yyv4660[yyj4660] = WeightedPodAffinityTerm{} + yyv4651[yyj4651] = WeightedPodAffinityTerm{} } else { - yyv4663 := &yyv4660[yyj4660] - yyv4663.CodecDecodeSelf(d) + yyv4654 := &yyv4651[yyj4651] + yyv4654.CodecDecodeSelf(d) } } else { @@ -58512,17 +58430,17 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit } } - if yyj4660 < len(yyv4660) { - yyv4660 = yyv4660[:yyj4660] - yyc4660 = true - } else if yyj4660 == 0 && yyv4660 == nil { - yyv4660 = []WeightedPodAffinityTerm{} - yyc4660 = true + if yyj4651 < len(yyv4651) { + yyv4651 = yyv4651[:yyj4651] + yyc4651 = true + } else if yyj4651 == 0 && yyv4651 == nil { + yyv4651 = []WeightedPodAffinityTerm{} + yyc4651 = true } } - yyh4660.End() - if yyc4660 { - *v = yyv4660 + yyh4651.End() + if yyc4651 { + *v = yyv4651 } } @@ -58531,10 +58449,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4664 := range v { + for _, yyv4655 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4665 := &yyv4664 - yy4665.CodecEncodeSelf(e) + yy4656 := &yyv4655 + yy4656.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58544,83 +58462,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4666 := *v - yyh4666, yyl4666 := z.DecSliceHelperStart() - var yyc4666 bool - if yyl4666 == 0 { - if yyv4666 == nil { - yyv4666 = []PreferredSchedulingTerm{} - yyc4666 = true - } else if len(yyv4666) != 0 { - yyv4666 = yyv4666[:0] - yyc4666 = true + yyv4657 := *v + yyh4657, yyl4657 := z.DecSliceHelperStart() + var yyc4657 bool + if yyl4657 == 0 { + if yyv4657 == nil { + yyv4657 = []PreferredSchedulingTerm{} + yyc4657 = true + } else if len(yyv4657) != 0 { + yyv4657 = yyv4657[:0] + yyc4657 = true } - } else if yyl4666 > 0 { - var yyrr4666, yyrl4666 int - var yyrt4666 bool - if yyl4666 > cap(yyv4666) { + } else if yyl4657 > 0 { + var yyrr4657, yyrl4657 int + var yyrt4657 bool + if yyl4657 > cap(yyv4657) { - yyrg4666 := len(yyv4666) > 0 - yyv24666 := yyv4666 - yyrl4666, yyrt4666 = z.DecInferLen(yyl4666, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4666 { - if yyrl4666 <= cap(yyv4666) { - yyv4666 = yyv4666[:yyrl4666] + yyrg4657 := len(yyv4657) > 0 + yyv24657 := yyv4657 + yyrl4657, yyrt4657 = z.DecInferLen(yyl4657, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4657 { + if yyrl4657 <= cap(yyv4657) { + yyv4657 = yyv4657[:yyrl4657] } else { - yyv4666 = make([]PreferredSchedulingTerm, yyrl4666) + yyv4657 = make([]PreferredSchedulingTerm, yyrl4657) } } else { - yyv4666 = make([]PreferredSchedulingTerm, yyrl4666) + yyv4657 = make([]PreferredSchedulingTerm, yyrl4657) } - yyc4666 = true - yyrr4666 = len(yyv4666) - if yyrg4666 { - copy(yyv4666, yyv24666) + yyc4657 = true + yyrr4657 = len(yyv4657) + if yyrg4657 { + copy(yyv4657, yyv24657) } - } else if yyl4666 != len(yyv4666) { - yyv4666 = yyv4666[:yyl4666] - yyc4666 = true + } else if yyl4657 != len(yyv4657) { + yyv4657 = yyv4657[:yyl4657] + yyc4657 = true } - yyj4666 := 0 - for ; yyj4666 < yyrr4666; yyj4666++ { - yyh4666.ElemContainerState(yyj4666) + yyj4657 := 0 + for ; yyj4657 < yyrr4657; yyj4657++ { + yyh4657.ElemContainerState(yyj4657) if r.TryDecodeAsNil() { - yyv4666[yyj4666] = PreferredSchedulingTerm{} + yyv4657[yyj4657] = PreferredSchedulingTerm{} } else { - yyv4667 := &yyv4666[yyj4666] - yyv4667.CodecDecodeSelf(d) + yyv4658 := &yyv4657[yyj4657] + yyv4658.CodecDecodeSelf(d) } } - if yyrt4666 { - for ; yyj4666 < yyl4666; yyj4666++ { - yyv4666 = append(yyv4666, PreferredSchedulingTerm{}) - yyh4666.ElemContainerState(yyj4666) + if yyrt4657 { + for ; yyj4657 < yyl4657; yyj4657++ { + yyv4657 = append(yyv4657, PreferredSchedulingTerm{}) + yyh4657.ElemContainerState(yyj4657) if r.TryDecodeAsNil() { - yyv4666[yyj4666] = PreferredSchedulingTerm{} + yyv4657[yyj4657] = PreferredSchedulingTerm{} } else { - yyv4668 := &yyv4666[yyj4666] - yyv4668.CodecDecodeSelf(d) + yyv4659 := &yyv4657[yyj4657] + yyv4659.CodecDecodeSelf(d) } } } } else { - yyj4666 := 0 - for ; !r.CheckBreak(); yyj4666++ { + yyj4657 := 0 + for ; !r.CheckBreak(); yyj4657++ { - if yyj4666 >= len(yyv4666) { - yyv4666 = append(yyv4666, PreferredSchedulingTerm{}) // var yyz4666 PreferredSchedulingTerm - yyc4666 = true + if yyj4657 >= len(yyv4657) { + yyv4657 = append(yyv4657, PreferredSchedulingTerm{}) // var yyz4657 PreferredSchedulingTerm + yyc4657 = true } - yyh4666.ElemContainerState(yyj4666) - if yyj4666 < len(yyv4666) { + yyh4657.ElemContainerState(yyj4657) + if yyj4657 < len(yyv4657) { if r.TryDecodeAsNil() { - yyv4666[yyj4666] = PreferredSchedulingTerm{} + yyv4657[yyj4657] = PreferredSchedulingTerm{} } else { - yyv4669 := &yyv4666[yyj4666] - yyv4669.CodecDecodeSelf(d) + yyv4660 := &yyv4657[yyj4657] + yyv4660.CodecDecodeSelf(d) } } else { @@ -58628,17 +58546,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj4666 < len(yyv4666) { - yyv4666 = yyv4666[:yyj4666] - yyc4666 = true - } else if yyj4666 == 0 && yyv4666 == nil { - yyv4666 = []PreferredSchedulingTerm{} - yyc4666 = true + if yyj4657 < len(yyv4657) { + yyv4657 = yyv4657[:yyj4657] + yyc4657 = true + } else if yyj4657 == 0 && yyv4657 == nil { + yyv4657 = []PreferredSchedulingTerm{} + yyc4657 = true } } - yyh4666.End() - if yyc4666 { - *v = yyv4666 + yyh4657.End() + if yyc4657 { + *v = yyv4657 } } @@ -58647,10 +58565,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4670 := range v { + for _, yyv4661 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4671 := &yyv4670 - yy4671.CodecEncodeSelf(e) + yy4662 := &yyv4661 + yy4662.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58660,83 +58578,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4672 := *v - yyh4672, yyl4672 := z.DecSliceHelperStart() - var yyc4672 bool - if yyl4672 == 0 { - if yyv4672 == nil { - yyv4672 = []Volume{} - yyc4672 = true - } else if len(yyv4672) != 0 { - yyv4672 = yyv4672[:0] - yyc4672 = true + yyv4663 := *v + yyh4663, yyl4663 := z.DecSliceHelperStart() + var yyc4663 bool + if yyl4663 == 0 { + if yyv4663 == nil { + yyv4663 = []Volume{} + yyc4663 = true + } else if len(yyv4663) != 0 { + yyv4663 = yyv4663[:0] + yyc4663 = true } - } else if yyl4672 > 0 { - var yyrr4672, yyrl4672 int - var yyrt4672 bool - if yyl4672 > cap(yyv4672) { + } else if yyl4663 > 0 { + var yyrr4663, yyrl4663 int + var yyrt4663 bool + if yyl4663 > cap(yyv4663) { - yyrg4672 := len(yyv4672) > 0 - yyv24672 := yyv4672 - yyrl4672, yyrt4672 = z.DecInferLen(yyl4672, z.DecBasicHandle().MaxInitLen, 192) - if yyrt4672 { - if yyrl4672 <= cap(yyv4672) { - yyv4672 = yyv4672[:yyrl4672] + yyrg4663 := len(yyv4663) > 0 + yyv24663 := yyv4663 + yyrl4663, yyrt4663 = z.DecInferLen(yyl4663, z.DecBasicHandle().MaxInitLen, 192) + if yyrt4663 { + if yyrl4663 <= cap(yyv4663) { + yyv4663 = yyv4663[:yyrl4663] } else { - yyv4672 = make([]Volume, yyrl4672) + yyv4663 = make([]Volume, yyrl4663) } } else { - yyv4672 = make([]Volume, yyrl4672) + yyv4663 = make([]Volume, yyrl4663) } - yyc4672 = true - yyrr4672 = len(yyv4672) - if yyrg4672 { - copy(yyv4672, yyv24672) + yyc4663 = true + yyrr4663 = len(yyv4663) + if yyrg4663 { + copy(yyv4663, yyv24663) } - } else if yyl4672 != len(yyv4672) { - yyv4672 = yyv4672[:yyl4672] - yyc4672 = true + } else if yyl4663 != len(yyv4663) { + yyv4663 = yyv4663[:yyl4663] + yyc4663 = true } - yyj4672 := 0 - for ; yyj4672 < yyrr4672; yyj4672++ { - yyh4672.ElemContainerState(yyj4672) + yyj4663 := 0 + for ; yyj4663 < yyrr4663; yyj4663++ { + yyh4663.ElemContainerState(yyj4663) if r.TryDecodeAsNil() { - yyv4672[yyj4672] = Volume{} + yyv4663[yyj4663] = Volume{} } else { - yyv4673 := &yyv4672[yyj4672] - yyv4673.CodecDecodeSelf(d) + yyv4664 := &yyv4663[yyj4663] + yyv4664.CodecDecodeSelf(d) } } - if yyrt4672 { - for ; yyj4672 < yyl4672; yyj4672++ { - yyv4672 = append(yyv4672, Volume{}) - yyh4672.ElemContainerState(yyj4672) + if yyrt4663 { + for ; yyj4663 < yyl4663; yyj4663++ { + yyv4663 = append(yyv4663, Volume{}) + yyh4663.ElemContainerState(yyj4663) if r.TryDecodeAsNil() { - yyv4672[yyj4672] = Volume{} + yyv4663[yyj4663] = Volume{} } else { - yyv4674 := &yyv4672[yyj4672] - yyv4674.CodecDecodeSelf(d) + yyv4665 := &yyv4663[yyj4663] + yyv4665.CodecDecodeSelf(d) } } } } else { - yyj4672 := 0 - for ; !r.CheckBreak(); yyj4672++ { + yyj4663 := 0 + for ; !r.CheckBreak(); yyj4663++ { - if yyj4672 >= len(yyv4672) { - yyv4672 = append(yyv4672, Volume{}) // var yyz4672 Volume - yyc4672 = true + if yyj4663 >= len(yyv4663) { + yyv4663 = append(yyv4663, Volume{}) // var yyz4663 Volume + yyc4663 = true } - yyh4672.ElemContainerState(yyj4672) - if yyj4672 < len(yyv4672) { + yyh4663.ElemContainerState(yyj4663) + if yyj4663 < len(yyv4663) { if r.TryDecodeAsNil() { - yyv4672[yyj4672] = Volume{} + yyv4663[yyj4663] = Volume{} } else { - yyv4675 := &yyv4672[yyj4672] - yyv4675.CodecDecodeSelf(d) + yyv4666 := &yyv4663[yyj4663] + yyv4666.CodecDecodeSelf(d) } } else { @@ -58744,17 +58662,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj4672 < len(yyv4672) { - yyv4672 = yyv4672[:yyj4672] - yyc4672 = true - } else if yyj4672 == 0 && yyv4672 == nil { - yyv4672 = []Volume{} - yyc4672 = true + if yyj4663 < len(yyv4663) { + yyv4663 = yyv4663[:yyj4663] + yyc4663 = true + } else if yyj4663 == 0 && yyv4663 == nil { + yyv4663 = []Volume{} + yyc4663 = true } } - yyh4672.End() - if yyc4672 { - *v = yyv4672 + yyh4663.End() + if yyc4663 { + *v = yyv4663 } } @@ -58763,10 +58681,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4676 := range v { + for _, yyv4667 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4677 := &yyv4676 - yy4677.CodecEncodeSelf(e) + yy4668 := &yyv4667 + yy4668.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58776,83 +58694,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4678 := *v - yyh4678, yyl4678 := z.DecSliceHelperStart() - var yyc4678 bool - if yyl4678 == 0 { - if yyv4678 == nil { - yyv4678 = []Container{} - yyc4678 = true - } else if len(yyv4678) != 0 { - yyv4678 = yyv4678[:0] - yyc4678 = true + yyv4669 := *v + yyh4669, yyl4669 := z.DecSliceHelperStart() + var yyc4669 bool + if yyl4669 == 0 { + if yyv4669 == nil { + yyv4669 = []Container{} + yyc4669 = true + } else if len(yyv4669) != 0 { + yyv4669 = yyv4669[:0] + yyc4669 = true } - } else if yyl4678 > 0 { - var yyrr4678, yyrl4678 int - var yyrt4678 bool - if yyl4678 > cap(yyv4678) { + } else if yyl4669 > 0 { + var yyrr4669, yyrl4669 int + var yyrt4669 bool + if yyl4669 > cap(yyv4669) { - yyrg4678 := len(yyv4678) > 0 - yyv24678 := yyv4678 - yyrl4678, yyrt4678 = z.DecInferLen(yyl4678, z.DecBasicHandle().MaxInitLen, 256) - if yyrt4678 { - if yyrl4678 <= cap(yyv4678) { - yyv4678 = yyv4678[:yyrl4678] + yyrg4669 := len(yyv4669) > 0 + yyv24669 := yyv4669 + yyrl4669, yyrt4669 = z.DecInferLen(yyl4669, z.DecBasicHandle().MaxInitLen, 256) + if yyrt4669 { + if yyrl4669 <= cap(yyv4669) { + yyv4669 = yyv4669[:yyrl4669] } else { - yyv4678 = make([]Container, yyrl4678) + yyv4669 = make([]Container, yyrl4669) } } else { - yyv4678 = make([]Container, yyrl4678) + yyv4669 = make([]Container, yyrl4669) } - yyc4678 = true - yyrr4678 = len(yyv4678) - if yyrg4678 { - copy(yyv4678, yyv24678) + yyc4669 = true + yyrr4669 = len(yyv4669) + if yyrg4669 { + copy(yyv4669, yyv24669) } - } else if yyl4678 != len(yyv4678) { - yyv4678 = yyv4678[:yyl4678] - yyc4678 = true + } else if yyl4669 != len(yyv4669) { + yyv4669 = yyv4669[:yyl4669] + yyc4669 = true } - yyj4678 := 0 - for ; yyj4678 < yyrr4678; yyj4678++ { - yyh4678.ElemContainerState(yyj4678) + yyj4669 := 0 + for ; yyj4669 < yyrr4669; yyj4669++ { + yyh4669.ElemContainerState(yyj4669) if r.TryDecodeAsNil() { - yyv4678[yyj4678] = Container{} + yyv4669[yyj4669] = Container{} } else { - yyv4679 := &yyv4678[yyj4678] - yyv4679.CodecDecodeSelf(d) + yyv4670 := &yyv4669[yyj4669] + yyv4670.CodecDecodeSelf(d) } } - if yyrt4678 { - for ; yyj4678 < yyl4678; yyj4678++ { - yyv4678 = append(yyv4678, Container{}) - yyh4678.ElemContainerState(yyj4678) + if yyrt4669 { + for ; yyj4669 < yyl4669; yyj4669++ { + yyv4669 = append(yyv4669, Container{}) + yyh4669.ElemContainerState(yyj4669) if r.TryDecodeAsNil() { - yyv4678[yyj4678] = Container{} + yyv4669[yyj4669] = Container{} } else { - yyv4680 := &yyv4678[yyj4678] - yyv4680.CodecDecodeSelf(d) + yyv4671 := &yyv4669[yyj4669] + yyv4671.CodecDecodeSelf(d) } } } } else { - yyj4678 := 0 - for ; !r.CheckBreak(); yyj4678++ { + yyj4669 := 0 + for ; !r.CheckBreak(); yyj4669++ { - if yyj4678 >= len(yyv4678) { - yyv4678 = append(yyv4678, Container{}) // var yyz4678 Container - yyc4678 = true + if yyj4669 >= len(yyv4669) { + yyv4669 = append(yyv4669, Container{}) // var yyz4669 Container + yyc4669 = true } - yyh4678.ElemContainerState(yyj4678) - if yyj4678 < len(yyv4678) { + yyh4669.ElemContainerState(yyj4669) + if yyj4669 < len(yyv4669) { if r.TryDecodeAsNil() { - yyv4678[yyj4678] = Container{} + yyv4669[yyj4669] = Container{} } else { - yyv4681 := &yyv4678[yyj4678] - yyv4681.CodecDecodeSelf(d) + yyv4672 := &yyv4669[yyj4669] + yyv4672.CodecDecodeSelf(d) } } else { @@ -58860,17 +58778,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj4678 < len(yyv4678) { - yyv4678 = yyv4678[:yyj4678] - yyc4678 = true - } else if yyj4678 == 0 && yyv4678 == nil { - yyv4678 = []Container{} - yyc4678 = true + if yyj4669 < len(yyv4669) { + yyv4669 = yyv4669[:yyj4669] + yyc4669 = true + } else if yyj4669 == 0 && yyv4669 == nil { + yyv4669 = []Container{} + yyc4669 = true } } - yyh4678.End() - if yyc4678 { - *v = yyv4678 + yyh4669.End() + if yyc4669 { + *v = yyv4669 } } @@ -58879,10 +58797,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4682 := range v { + for _, yyv4673 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4683 := &yyv4682 - yy4683.CodecEncodeSelf(e) + yy4674 := &yyv4673 + yy4674.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58892,83 +58810,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4684 := *v - yyh4684, yyl4684 := z.DecSliceHelperStart() - var yyc4684 bool - if yyl4684 == 0 { - if yyv4684 == nil { - yyv4684 = []LocalObjectReference{} - yyc4684 = true - } else if len(yyv4684) != 0 { - yyv4684 = yyv4684[:0] - yyc4684 = true + yyv4675 := *v + yyh4675, yyl4675 := z.DecSliceHelperStart() + var yyc4675 bool + if yyl4675 == 0 { + if yyv4675 == nil { + yyv4675 = []LocalObjectReference{} + yyc4675 = true + } else if len(yyv4675) != 0 { + yyv4675 = yyv4675[:0] + yyc4675 = true } - } else if yyl4684 > 0 { - var yyrr4684, yyrl4684 int - var yyrt4684 bool - if yyl4684 > cap(yyv4684) { + } else if yyl4675 > 0 { + var yyrr4675, yyrl4675 int + var yyrt4675 bool + if yyl4675 > cap(yyv4675) { - yyrg4684 := len(yyv4684) > 0 - yyv24684 := yyv4684 - yyrl4684, yyrt4684 = z.DecInferLen(yyl4684, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4684 { - if yyrl4684 <= cap(yyv4684) { - yyv4684 = yyv4684[:yyrl4684] + yyrg4675 := len(yyv4675) > 0 + yyv24675 := yyv4675 + yyrl4675, yyrt4675 = z.DecInferLen(yyl4675, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4675 { + if yyrl4675 <= cap(yyv4675) { + yyv4675 = yyv4675[:yyrl4675] } else { - yyv4684 = make([]LocalObjectReference, yyrl4684) + yyv4675 = make([]LocalObjectReference, yyrl4675) } } else { - yyv4684 = make([]LocalObjectReference, yyrl4684) + yyv4675 = make([]LocalObjectReference, yyrl4675) } - yyc4684 = true - yyrr4684 = len(yyv4684) - if yyrg4684 { - copy(yyv4684, yyv24684) + yyc4675 = true + yyrr4675 = len(yyv4675) + if yyrg4675 { + copy(yyv4675, yyv24675) } - } else if yyl4684 != len(yyv4684) { - yyv4684 = yyv4684[:yyl4684] - yyc4684 = true + } else if yyl4675 != len(yyv4675) { + yyv4675 = yyv4675[:yyl4675] + yyc4675 = true } - yyj4684 := 0 - for ; yyj4684 < yyrr4684; yyj4684++ { - yyh4684.ElemContainerState(yyj4684) + yyj4675 := 0 + for ; yyj4675 < yyrr4675; yyj4675++ { + yyh4675.ElemContainerState(yyj4675) if r.TryDecodeAsNil() { - yyv4684[yyj4684] = LocalObjectReference{} + yyv4675[yyj4675] = LocalObjectReference{} } else { - yyv4685 := &yyv4684[yyj4684] - yyv4685.CodecDecodeSelf(d) + yyv4676 := &yyv4675[yyj4675] + yyv4676.CodecDecodeSelf(d) } } - if yyrt4684 { - for ; yyj4684 < yyl4684; yyj4684++ { - yyv4684 = append(yyv4684, LocalObjectReference{}) - yyh4684.ElemContainerState(yyj4684) + if yyrt4675 { + for ; yyj4675 < yyl4675; yyj4675++ { + yyv4675 = append(yyv4675, LocalObjectReference{}) + yyh4675.ElemContainerState(yyj4675) if r.TryDecodeAsNil() { - yyv4684[yyj4684] = LocalObjectReference{} + yyv4675[yyj4675] = LocalObjectReference{} } else { - yyv4686 := &yyv4684[yyj4684] - yyv4686.CodecDecodeSelf(d) + yyv4677 := &yyv4675[yyj4675] + yyv4677.CodecDecodeSelf(d) } } } } else { - yyj4684 := 0 - for ; !r.CheckBreak(); yyj4684++ { + yyj4675 := 0 + for ; !r.CheckBreak(); yyj4675++ { - if yyj4684 >= len(yyv4684) { - yyv4684 = append(yyv4684, LocalObjectReference{}) // var yyz4684 LocalObjectReference - yyc4684 = true + if yyj4675 >= len(yyv4675) { + yyv4675 = append(yyv4675, LocalObjectReference{}) // var yyz4675 LocalObjectReference + yyc4675 = true } - yyh4684.ElemContainerState(yyj4684) - if yyj4684 < len(yyv4684) { + yyh4675.ElemContainerState(yyj4675) + if yyj4675 < len(yyv4675) { if r.TryDecodeAsNil() { - yyv4684[yyj4684] = LocalObjectReference{} + yyv4675[yyj4675] = LocalObjectReference{} } else { - yyv4687 := &yyv4684[yyj4684] - yyv4687.CodecDecodeSelf(d) + yyv4678 := &yyv4675[yyj4675] + yyv4678.CodecDecodeSelf(d) } } else { @@ -58976,17 +58894,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj4684 < len(yyv4684) { - yyv4684 = yyv4684[:yyj4684] - yyc4684 = true - } else if yyj4684 == 0 && yyv4684 == nil { - yyv4684 = []LocalObjectReference{} - yyc4684 = true + if yyj4675 < len(yyv4675) { + yyv4675 = yyv4675[:yyj4675] + yyc4675 = true + } else if yyj4675 == 0 && yyv4675 == nil { + yyv4675 = []LocalObjectReference{} + yyc4675 = true } } - yyh4684.End() - if yyc4684 { - *v = yyv4684 + yyh4675.End() + if yyc4675 { + *v = yyv4675 } } @@ -58995,10 +58913,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4688 := range v { + for _, yyv4679 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4689 := &yyv4688 - yy4689.CodecEncodeSelf(e) + yy4680 := &yyv4679 + yy4680.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59008,83 +58926,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4690 := *v - yyh4690, yyl4690 := z.DecSliceHelperStart() - var yyc4690 bool - if yyl4690 == 0 { - if yyv4690 == nil { - yyv4690 = []PodCondition{} - yyc4690 = true - } else if len(yyv4690) != 0 { - yyv4690 = yyv4690[:0] - yyc4690 = true + yyv4681 := *v + yyh4681, yyl4681 := z.DecSliceHelperStart() + var yyc4681 bool + if yyl4681 == 0 { + if yyv4681 == nil { + yyv4681 = []PodCondition{} + yyc4681 = true + } else if len(yyv4681) != 0 { + yyv4681 = yyv4681[:0] + yyc4681 = true } - } else if yyl4690 > 0 { - var yyrr4690, yyrl4690 int - var yyrt4690 bool - if yyl4690 > cap(yyv4690) { + } else if yyl4681 > 0 { + var yyrr4681, yyrl4681 int + var yyrt4681 bool + if yyl4681 > cap(yyv4681) { - yyrg4690 := len(yyv4690) > 0 - yyv24690 := yyv4690 - yyrl4690, yyrt4690 = z.DecInferLen(yyl4690, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4690 { - if yyrl4690 <= cap(yyv4690) { - yyv4690 = yyv4690[:yyrl4690] + yyrg4681 := len(yyv4681) > 0 + yyv24681 := yyv4681 + yyrl4681, yyrt4681 = z.DecInferLen(yyl4681, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4681 { + if yyrl4681 <= cap(yyv4681) { + yyv4681 = yyv4681[:yyrl4681] } else { - yyv4690 = make([]PodCondition, yyrl4690) + yyv4681 = make([]PodCondition, yyrl4681) } } else { - yyv4690 = make([]PodCondition, yyrl4690) + yyv4681 = make([]PodCondition, yyrl4681) } - yyc4690 = true - yyrr4690 = len(yyv4690) - if yyrg4690 { - copy(yyv4690, yyv24690) + yyc4681 = true + yyrr4681 = len(yyv4681) + if yyrg4681 { + copy(yyv4681, yyv24681) } - } else if yyl4690 != len(yyv4690) { - yyv4690 = yyv4690[:yyl4690] - yyc4690 = true + } else if yyl4681 != len(yyv4681) { + yyv4681 = yyv4681[:yyl4681] + yyc4681 = true } - yyj4690 := 0 - for ; yyj4690 < yyrr4690; yyj4690++ { - yyh4690.ElemContainerState(yyj4690) + yyj4681 := 0 + for ; yyj4681 < yyrr4681; yyj4681++ { + yyh4681.ElemContainerState(yyj4681) if r.TryDecodeAsNil() { - yyv4690[yyj4690] = PodCondition{} + yyv4681[yyj4681] = PodCondition{} } else { - yyv4691 := &yyv4690[yyj4690] - yyv4691.CodecDecodeSelf(d) + yyv4682 := &yyv4681[yyj4681] + yyv4682.CodecDecodeSelf(d) } } - if yyrt4690 { - for ; yyj4690 < yyl4690; yyj4690++ { - yyv4690 = append(yyv4690, PodCondition{}) - yyh4690.ElemContainerState(yyj4690) + if yyrt4681 { + for ; yyj4681 < yyl4681; yyj4681++ { + yyv4681 = append(yyv4681, PodCondition{}) + yyh4681.ElemContainerState(yyj4681) if r.TryDecodeAsNil() { - yyv4690[yyj4690] = PodCondition{} + yyv4681[yyj4681] = PodCondition{} } else { - yyv4692 := &yyv4690[yyj4690] - yyv4692.CodecDecodeSelf(d) + yyv4683 := &yyv4681[yyj4681] + yyv4683.CodecDecodeSelf(d) } } } } else { - yyj4690 := 0 - for ; !r.CheckBreak(); yyj4690++ { + yyj4681 := 0 + for ; !r.CheckBreak(); yyj4681++ { - if yyj4690 >= len(yyv4690) { - yyv4690 = append(yyv4690, PodCondition{}) // var yyz4690 PodCondition - yyc4690 = true + if yyj4681 >= len(yyv4681) { + yyv4681 = append(yyv4681, PodCondition{}) // var yyz4681 PodCondition + yyc4681 = true } - yyh4690.ElemContainerState(yyj4690) - if yyj4690 < len(yyv4690) { + yyh4681.ElemContainerState(yyj4681) + if yyj4681 < len(yyv4681) { if r.TryDecodeAsNil() { - yyv4690[yyj4690] = PodCondition{} + yyv4681[yyj4681] = PodCondition{} } else { - yyv4693 := &yyv4690[yyj4690] - yyv4693.CodecDecodeSelf(d) + yyv4684 := &yyv4681[yyj4681] + yyv4684.CodecDecodeSelf(d) } } else { @@ -59092,17 +59010,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj4690 < len(yyv4690) { - yyv4690 = yyv4690[:yyj4690] - yyc4690 = true - } else if yyj4690 == 0 && yyv4690 == nil { - yyv4690 = []PodCondition{} - yyc4690 = true + if yyj4681 < len(yyv4681) { + yyv4681 = yyv4681[:yyj4681] + yyc4681 = true + } else if yyj4681 == 0 && yyv4681 == nil { + yyv4681 = []PodCondition{} + yyc4681 = true } } - yyh4690.End() - if yyc4690 { - *v = yyv4690 + yyh4681.End() + if yyc4681 { + *v = yyv4681 } } @@ -59111,10 +59029,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4694 := range v { + for _, yyv4685 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4695 := &yyv4694 - yy4695.CodecEncodeSelf(e) + yy4686 := &yyv4685 + yy4686.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59124,83 +59042,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4696 := *v - yyh4696, yyl4696 := z.DecSliceHelperStart() - var yyc4696 bool - if yyl4696 == 0 { - if yyv4696 == nil { - yyv4696 = []ContainerStatus{} - yyc4696 = true - } else if len(yyv4696) != 0 { - yyv4696 = yyv4696[:0] - yyc4696 = true + yyv4687 := *v + yyh4687, yyl4687 := z.DecSliceHelperStart() + var yyc4687 bool + if yyl4687 == 0 { + if yyv4687 == nil { + yyv4687 = []ContainerStatus{} + yyc4687 = true + } else if len(yyv4687) != 0 { + yyv4687 = yyv4687[:0] + yyc4687 = true } - } else if yyl4696 > 0 { - var yyrr4696, yyrl4696 int - var yyrt4696 bool - if yyl4696 > cap(yyv4696) { + } else if yyl4687 > 0 { + var yyrr4687, yyrl4687 int + var yyrt4687 bool + if yyl4687 > cap(yyv4687) { - yyrg4696 := len(yyv4696) > 0 - yyv24696 := yyv4696 - yyrl4696, yyrt4696 = z.DecInferLen(yyl4696, z.DecBasicHandle().MaxInitLen, 120) - if yyrt4696 { - if yyrl4696 <= cap(yyv4696) { - yyv4696 = yyv4696[:yyrl4696] + yyrg4687 := len(yyv4687) > 0 + yyv24687 := yyv4687 + yyrl4687, yyrt4687 = z.DecInferLen(yyl4687, z.DecBasicHandle().MaxInitLen, 120) + if yyrt4687 { + if yyrl4687 <= cap(yyv4687) { + yyv4687 = yyv4687[:yyrl4687] } else { - yyv4696 = make([]ContainerStatus, yyrl4696) + yyv4687 = make([]ContainerStatus, yyrl4687) } } else { - yyv4696 = make([]ContainerStatus, yyrl4696) + yyv4687 = make([]ContainerStatus, yyrl4687) } - yyc4696 = true - yyrr4696 = len(yyv4696) - if yyrg4696 { - copy(yyv4696, yyv24696) + yyc4687 = true + yyrr4687 = len(yyv4687) + if yyrg4687 { + copy(yyv4687, yyv24687) } - } else if yyl4696 != len(yyv4696) { - yyv4696 = yyv4696[:yyl4696] - yyc4696 = true + } else if yyl4687 != len(yyv4687) { + yyv4687 = yyv4687[:yyl4687] + yyc4687 = true } - yyj4696 := 0 - for ; yyj4696 < yyrr4696; yyj4696++ { - yyh4696.ElemContainerState(yyj4696) + yyj4687 := 0 + for ; yyj4687 < yyrr4687; yyj4687++ { + yyh4687.ElemContainerState(yyj4687) if r.TryDecodeAsNil() { - yyv4696[yyj4696] = ContainerStatus{} + yyv4687[yyj4687] = ContainerStatus{} } else { - yyv4697 := &yyv4696[yyj4696] - yyv4697.CodecDecodeSelf(d) + yyv4688 := &yyv4687[yyj4687] + yyv4688.CodecDecodeSelf(d) } } - if yyrt4696 { - for ; yyj4696 < yyl4696; yyj4696++ { - yyv4696 = append(yyv4696, ContainerStatus{}) - yyh4696.ElemContainerState(yyj4696) + if yyrt4687 { + for ; yyj4687 < yyl4687; yyj4687++ { + yyv4687 = append(yyv4687, ContainerStatus{}) + yyh4687.ElemContainerState(yyj4687) if r.TryDecodeAsNil() { - yyv4696[yyj4696] = ContainerStatus{} + yyv4687[yyj4687] = ContainerStatus{} } else { - yyv4698 := &yyv4696[yyj4696] - yyv4698.CodecDecodeSelf(d) + yyv4689 := &yyv4687[yyj4687] + yyv4689.CodecDecodeSelf(d) } } } } else { - yyj4696 := 0 - for ; !r.CheckBreak(); yyj4696++ { + yyj4687 := 0 + for ; !r.CheckBreak(); yyj4687++ { - if yyj4696 >= len(yyv4696) { - yyv4696 = append(yyv4696, ContainerStatus{}) // var yyz4696 ContainerStatus - yyc4696 = true + if yyj4687 >= len(yyv4687) { + yyv4687 = append(yyv4687, ContainerStatus{}) // var yyz4687 ContainerStatus + yyc4687 = true } - yyh4696.ElemContainerState(yyj4696) - if yyj4696 < len(yyv4696) { + yyh4687.ElemContainerState(yyj4687) + if yyj4687 < len(yyv4687) { if r.TryDecodeAsNil() { - yyv4696[yyj4696] = ContainerStatus{} + yyv4687[yyj4687] = ContainerStatus{} } else { - yyv4699 := &yyv4696[yyj4696] - yyv4699.CodecDecodeSelf(d) + yyv4690 := &yyv4687[yyj4687] + yyv4690.CodecDecodeSelf(d) } } else { @@ -59208,17 +59126,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj4696 < len(yyv4696) { - yyv4696 = yyv4696[:yyj4696] - yyc4696 = true - } else if yyj4696 == 0 && yyv4696 == nil { - yyv4696 = []ContainerStatus{} - yyc4696 = true + if yyj4687 < len(yyv4687) { + yyv4687 = yyv4687[:yyj4687] + yyc4687 = true + } else if yyj4687 == 0 && yyv4687 == nil { + yyv4687 = []ContainerStatus{} + yyc4687 = true } } - yyh4696.End() - if yyc4696 { - *v = yyv4696 + yyh4687.End() + if yyc4687 { + *v = yyv4687 } } @@ -59227,10 +59145,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4700 := range v { + for _, yyv4691 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4701 := &yyv4700 - yy4701.CodecEncodeSelf(e) + yy4692 := &yyv4691 + yy4692.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59240,83 +59158,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4702 := *v - yyh4702, yyl4702 := z.DecSliceHelperStart() - var yyc4702 bool - if yyl4702 == 0 { - if yyv4702 == nil { - yyv4702 = []Pod{} - yyc4702 = true - } else if len(yyv4702) != 0 { - yyv4702 = yyv4702[:0] - yyc4702 = true + yyv4693 := *v + yyh4693, yyl4693 := z.DecSliceHelperStart() + var yyc4693 bool + if yyl4693 == 0 { + if yyv4693 == nil { + yyv4693 = []Pod{} + yyc4693 = true + } else if len(yyv4693) != 0 { + yyv4693 = yyv4693[:0] + yyc4693 = true } - } else if yyl4702 > 0 { - var yyrr4702, yyrl4702 int - var yyrt4702 bool - if yyl4702 > cap(yyv4702) { + } else if yyl4693 > 0 { + var yyrr4693, yyrl4693 int + var yyrt4693 bool + if yyl4693 > cap(yyv4693) { - yyrg4702 := len(yyv4702) > 0 - yyv24702 := yyv4702 - yyrl4702, yyrt4702 = z.DecInferLen(yyl4702, z.DecBasicHandle().MaxInitLen, 664) - if yyrt4702 { - if yyrl4702 <= cap(yyv4702) { - yyv4702 = yyv4702[:yyrl4702] + yyrg4693 := len(yyv4693) > 0 + yyv24693 := yyv4693 + yyrl4693, yyrt4693 = z.DecInferLen(yyl4693, z.DecBasicHandle().MaxInitLen, 664) + if yyrt4693 { + if yyrl4693 <= cap(yyv4693) { + yyv4693 = yyv4693[:yyrl4693] } else { - yyv4702 = make([]Pod, yyrl4702) + yyv4693 = make([]Pod, yyrl4693) } } else { - yyv4702 = make([]Pod, yyrl4702) + yyv4693 = make([]Pod, yyrl4693) } - yyc4702 = true - yyrr4702 = len(yyv4702) - if yyrg4702 { - copy(yyv4702, yyv24702) + yyc4693 = true + yyrr4693 = len(yyv4693) + if yyrg4693 { + copy(yyv4693, yyv24693) } - } else if yyl4702 != len(yyv4702) { - yyv4702 = yyv4702[:yyl4702] - yyc4702 = true + } else if yyl4693 != len(yyv4693) { + yyv4693 = yyv4693[:yyl4693] + yyc4693 = true } - yyj4702 := 0 - for ; yyj4702 < yyrr4702; yyj4702++ { - yyh4702.ElemContainerState(yyj4702) + yyj4693 := 0 + for ; yyj4693 < yyrr4693; yyj4693++ { + yyh4693.ElemContainerState(yyj4693) if r.TryDecodeAsNil() { - yyv4702[yyj4702] = Pod{} + yyv4693[yyj4693] = Pod{} } else { - yyv4703 := &yyv4702[yyj4702] - yyv4703.CodecDecodeSelf(d) + yyv4694 := &yyv4693[yyj4693] + yyv4694.CodecDecodeSelf(d) } } - if yyrt4702 { - for ; yyj4702 < yyl4702; yyj4702++ { - yyv4702 = append(yyv4702, Pod{}) - yyh4702.ElemContainerState(yyj4702) + if yyrt4693 { + for ; yyj4693 < yyl4693; yyj4693++ { + yyv4693 = append(yyv4693, Pod{}) + yyh4693.ElemContainerState(yyj4693) if r.TryDecodeAsNil() { - yyv4702[yyj4702] = Pod{} + yyv4693[yyj4693] = Pod{} } else { - yyv4704 := &yyv4702[yyj4702] - yyv4704.CodecDecodeSelf(d) + yyv4695 := &yyv4693[yyj4693] + yyv4695.CodecDecodeSelf(d) } } } } else { - yyj4702 := 0 - for ; !r.CheckBreak(); yyj4702++ { + yyj4693 := 0 + for ; !r.CheckBreak(); yyj4693++ { - if yyj4702 >= len(yyv4702) { - yyv4702 = append(yyv4702, Pod{}) // var yyz4702 Pod - yyc4702 = true + if yyj4693 >= len(yyv4693) { + yyv4693 = append(yyv4693, Pod{}) // var yyz4693 Pod + yyc4693 = true } - yyh4702.ElemContainerState(yyj4702) - if yyj4702 < len(yyv4702) { + yyh4693.ElemContainerState(yyj4693) + if yyj4693 < len(yyv4693) { if r.TryDecodeAsNil() { - yyv4702[yyj4702] = Pod{} + yyv4693[yyj4693] = Pod{} } else { - yyv4705 := &yyv4702[yyj4702] - yyv4705.CodecDecodeSelf(d) + yyv4696 := &yyv4693[yyj4693] + yyv4696.CodecDecodeSelf(d) } } else { @@ -59324,17 +59242,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj4702 < len(yyv4702) { - yyv4702 = yyv4702[:yyj4702] - yyc4702 = true - } else if yyj4702 == 0 && yyv4702 == nil { - yyv4702 = []Pod{} - yyc4702 = true + if yyj4693 < len(yyv4693) { + yyv4693 = yyv4693[:yyj4693] + yyc4693 = true + } else if yyj4693 == 0 && yyv4693 == nil { + yyv4693 = []Pod{} + yyc4693 = true } } - yyh4702.End() - if yyc4702 { - *v = yyv4702 + yyh4693.End() + if yyc4693 { + *v = yyv4693 } } @@ -59343,10 +59261,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4706 := range v { + for _, yyv4697 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4707 := &yyv4706 - yy4707.CodecEncodeSelf(e) + yy4698 := &yyv4697 + yy4698.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59356,83 +59274,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4708 := *v - yyh4708, yyl4708 := z.DecSliceHelperStart() - var yyc4708 bool - if yyl4708 == 0 { - if yyv4708 == nil { - yyv4708 = []PodTemplate{} - yyc4708 = true - } else if len(yyv4708) != 0 { - yyv4708 = yyv4708[:0] - yyc4708 = true + yyv4699 := *v + yyh4699, yyl4699 := z.DecSliceHelperStart() + var yyc4699 bool + if yyl4699 == 0 { + if yyv4699 == nil { + yyv4699 = []PodTemplate{} + yyc4699 = true + } else if len(yyv4699) != 0 { + yyv4699 = yyv4699[:0] + yyc4699 = true } - } else if yyl4708 > 0 { - var yyrr4708, yyrl4708 int - var yyrt4708 bool - if yyl4708 > cap(yyv4708) { + } else if yyl4699 > 0 { + var yyrr4699, yyrl4699 int + var yyrt4699 bool + if yyl4699 > cap(yyv4699) { - yyrg4708 := len(yyv4708) > 0 - yyv24708 := yyv4708 - yyrl4708, yyrt4708 = z.DecInferLen(yyl4708, z.DecBasicHandle().MaxInitLen, 728) - if yyrt4708 { - if yyrl4708 <= cap(yyv4708) { - yyv4708 = yyv4708[:yyrl4708] + yyrg4699 := len(yyv4699) > 0 + yyv24699 := yyv4699 + yyrl4699, yyrt4699 = z.DecInferLen(yyl4699, z.DecBasicHandle().MaxInitLen, 728) + if yyrt4699 { + if yyrl4699 <= cap(yyv4699) { + yyv4699 = yyv4699[:yyrl4699] } else { - yyv4708 = make([]PodTemplate, yyrl4708) + yyv4699 = make([]PodTemplate, yyrl4699) } } else { - yyv4708 = make([]PodTemplate, yyrl4708) + yyv4699 = make([]PodTemplate, yyrl4699) } - yyc4708 = true - yyrr4708 = len(yyv4708) - if yyrg4708 { - copy(yyv4708, yyv24708) + yyc4699 = true + yyrr4699 = len(yyv4699) + if yyrg4699 { + copy(yyv4699, yyv24699) } - } else if yyl4708 != len(yyv4708) { - yyv4708 = yyv4708[:yyl4708] - yyc4708 = true + } else if yyl4699 != len(yyv4699) { + yyv4699 = yyv4699[:yyl4699] + yyc4699 = true } - yyj4708 := 0 - for ; yyj4708 < yyrr4708; yyj4708++ { - yyh4708.ElemContainerState(yyj4708) + yyj4699 := 0 + for ; yyj4699 < yyrr4699; yyj4699++ { + yyh4699.ElemContainerState(yyj4699) if r.TryDecodeAsNil() { - yyv4708[yyj4708] = PodTemplate{} + yyv4699[yyj4699] = PodTemplate{} } else { - yyv4709 := &yyv4708[yyj4708] - yyv4709.CodecDecodeSelf(d) + yyv4700 := &yyv4699[yyj4699] + yyv4700.CodecDecodeSelf(d) } } - if yyrt4708 { - for ; yyj4708 < yyl4708; yyj4708++ { - yyv4708 = append(yyv4708, PodTemplate{}) - yyh4708.ElemContainerState(yyj4708) + if yyrt4699 { + for ; yyj4699 < yyl4699; yyj4699++ { + yyv4699 = append(yyv4699, PodTemplate{}) + yyh4699.ElemContainerState(yyj4699) if r.TryDecodeAsNil() { - yyv4708[yyj4708] = PodTemplate{} + yyv4699[yyj4699] = PodTemplate{} } else { - yyv4710 := &yyv4708[yyj4708] - yyv4710.CodecDecodeSelf(d) + yyv4701 := &yyv4699[yyj4699] + yyv4701.CodecDecodeSelf(d) } } } } else { - yyj4708 := 0 - for ; !r.CheckBreak(); yyj4708++ { + yyj4699 := 0 + for ; !r.CheckBreak(); yyj4699++ { - if yyj4708 >= len(yyv4708) { - yyv4708 = append(yyv4708, PodTemplate{}) // var yyz4708 PodTemplate - yyc4708 = true + if yyj4699 >= len(yyv4699) { + yyv4699 = append(yyv4699, PodTemplate{}) // var yyz4699 PodTemplate + yyc4699 = true } - yyh4708.ElemContainerState(yyj4708) - if yyj4708 < len(yyv4708) { + yyh4699.ElemContainerState(yyj4699) + if yyj4699 < len(yyv4699) { if r.TryDecodeAsNil() { - yyv4708[yyj4708] = PodTemplate{} + yyv4699[yyj4699] = PodTemplate{} } else { - yyv4711 := &yyv4708[yyj4708] - yyv4711.CodecDecodeSelf(d) + yyv4702 := &yyv4699[yyj4699] + yyv4702.CodecDecodeSelf(d) } } else { @@ -59440,17 +59358,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj4708 < len(yyv4708) { - yyv4708 = yyv4708[:yyj4708] - yyc4708 = true - } else if yyj4708 == 0 && yyv4708 == nil { - yyv4708 = []PodTemplate{} - yyc4708 = true + if yyj4699 < len(yyv4699) { + yyv4699 = yyv4699[:yyj4699] + yyc4699 = true + } else if yyj4699 == 0 && yyv4699 == nil { + yyv4699 = []PodTemplate{} + yyc4699 = true } } - yyh4708.End() - if yyc4708 { - *v = yyv4708 + yyh4699.End() + if yyc4699 { + *v = yyv4699 } } @@ -59459,10 +59377,10 @@ func (x codecSelfer1234) encSliceReplicationControllerCondition(v []ReplicationC z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4712 := range v { + for _, yyv4703 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4713 := &yyv4712 - yy4713.CodecEncodeSelf(e) + yy4704 := &yyv4703 + yy4704.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59472,83 +59390,83 @@ func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]Replication z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4714 := *v - yyh4714, yyl4714 := z.DecSliceHelperStart() - var yyc4714 bool - if yyl4714 == 0 { - if yyv4714 == nil { - yyv4714 = []ReplicationControllerCondition{} - yyc4714 = true - } else if len(yyv4714) != 0 { - yyv4714 = yyv4714[:0] - yyc4714 = true + yyv4705 := *v + yyh4705, yyl4705 := z.DecSliceHelperStart() + var yyc4705 bool + if yyl4705 == 0 { + if yyv4705 == nil { + yyv4705 = []ReplicationControllerCondition{} + yyc4705 = true + } else if len(yyv4705) != 0 { + yyv4705 = yyv4705[:0] + yyc4705 = true } - } else if yyl4714 > 0 { - var yyrr4714, yyrl4714 int - var yyrt4714 bool - if yyl4714 > cap(yyv4714) { + } else if yyl4705 > 0 { + var yyrr4705, yyrl4705 int + var yyrt4705 bool + if yyl4705 > cap(yyv4705) { - yyrg4714 := len(yyv4714) > 0 - yyv24714 := yyv4714 - yyrl4714, yyrt4714 = z.DecInferLen(yyl4714, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4714 { - if yyrl4714 <= cap(yyv4714) { - yyv4714 = yyv4714[:yyrl4714] + yyrg4705 := len(yyv4705) > 0 + yyv24705 := yyv4705 + yyrl4705, yyrt4705 = z.DecInferLen(yyl4705, z.DecBasicHandle().MaxInitLen, 88) + if yyrt4705 { + if yyrl4705 <= cap(yyv4705) { + yyv4705 = yyv4705[:yyrl4705] } else { - yyv4714 = make([]ReplicationControllerCondition, yyrl4714) + yyv4705 = make([]ReplicationControllerCondition, yyrl4705) } } else { - yyv4714 = make([]ReplicationControllerCondition, yyrl4714) + yyv4705 = make([]ReplicationControllerCondition, yyrl4705) } - yyc4714 = true - yyrr4714 = len(yyv4714) - if yyrg4714 { - copy(yyv4714, yyv24714) + yyc4705 = true + yyrr4705 = len(yyv4705) + if yyrg4705 { + copy(yyv4705, yyv24705) } - } else if yyl4714 != len(yyv4714) { - yyv4714 = yyv4714[:yyl4714] - yyc4714 = true + } else if yyl4705 != len(yyv4705) { + yyv4705 = yyv4705[:yyl4705] + yyc4705 = true } - yyj4714 := 0 - for ; yyj4714 < yyrr4714; yyj4714++ { - yyh4714.ElemContainerState(yyj4714) + yyj4705 := 0 + for ; yyj4705 < yyrr4705; yyj4705++ { + yyh4705.ElemContainerState(yyj4705) if r.TryDecodeAsNil() { - yyv4714[yyj4714] = ReplicationControllerCondition{} + yyv4705[yyj4705] = ReplicationControllerCondition{} } else { - yyv4715 := &yyv4714[yyj4714] - yyv4715.CodecDecodeSelf(d) + yyv4706 := &yyv4705[yyj4705] + yyv4706.CodecDecodeSelf(d) } } - if yyrt4714 { - for ; yyj4714 < yyl4714; yyj4714++ { - yyv4714 = append(yyv4714, ReplicationControllerCondition{}) - yyh4714.ElemContainerState(yyj4714) + if yyrt4705 { + for ; yyj4705 < yyl4705; yyj4705++ { + yyv4705 = append(yyv4705, ReplicationControllerCondition{}) + yyh4705.ElemContainerState(yyj4705) if r.TryDecodeAsNil() { - yyv4714[yyj4714] = ReplicationControllerCondition{} + yyv4705[yyj4705] = ReplicationControllerCondition{} } else { - yyv4716 := &yyv4714[yyj4714] - yyv4716.CodecDecodeSelf(d) + yyv4707 := &yyv4705[yyj4705] + yyv4707.CodecDecodeSelf(d) } } } } else { - yyj4714 := 0 - for ; !r.CheckBreak(); yyj4714++ { + yyj4705 := 0 + for ; !r.CheckBreak(); yyj4705++ { - if yyj4714 >= len(yyv4714) { - yyv4714 = append(yyv4714, ReplicationControllerCondition{}) // var yyz4714 ReplicationControllerCondition - yyc4714 = true + if yyj4705 >= len(yyv4705) { + yyv4705 = append(yyv4705, ReplicationControllerCondition{}) // var yyz4705 ReplicationControllerCondition + yyc4705 = true } - yyh4714.ElemContainerState(yyj4714) - if yyj4714 < len(yyv4714) { + yyh4705.ElemContainerState(yyj4705) + if yyj4705 < len(yyv4705) { if r.TryDecodeAsNil() { - yyv4714[yyj4714] = ReplicationControllerCondition{} + yyv4705[yyj4705] = ReplicationControllerCondition{} } else { - yyv4717 := &yyv4714[yyj4714] - yyv4717.CodecDecodeSelf(d) + yyv4708 := &yyv4705[yyj4705] + yyv4708.CodecDecodeSelf(d) } } else { @@ -59556,17 +59474,17 @@ func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]Replication } } - if yyj4714 < len(yyv4714) { - yyv4714 = yyv4714[:yyj4714] - yyc4714 = true - } else if yyj4714 == 0 && yyv4714 == nil { - yyv4714 = []ReplicationControllerCondition{} - yyc4714 = true + if yyj4705 < len(yyv4705) { + yyv4705 = yyv4705[:yyj4705] + yyc4705 = true + } else if yyj4705 == 0 && yyv4705 == nil { + yyv4705 = []ReplicationControllerCondition{} + yyc4705 = true } } - yyh4714.End() - if yyc4714 { - *v = yyv4714 + yyh4705.End() + if yyc4705 { + *v = yyv4705 } } @@ -59575,10 +59493,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4718 := range v { + for _, yyv4709 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4719 := &yyv4718 - yy4719.CodecEncodeSelf(e) + yy4710 := &yyv4709 + yy4710.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59588,83 +59506,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4720 := *v - yyh4720, yyl4720 := z.DecSliceHelperStart() - var yyc4720 bool - if yyl4720 == 0 { - if yyv4720 == nil { - yyv4720 = []ReplicationController{} - yyc4720 = true - } else if len(yyv4720) != 0 { - yyv4720 = yyv4720[:0] - yyc4720 = true + yyv4711 := *v + yyh4711, yyl4711 := z.DecSliceHelperStart() + var yyc4711 bool + if yyl4711 == 0 { + if yyv4711 == nil { + yyv4711 = []ReplicationController{} + yyc4711 = true + } else if len(yyv4711) != 0 { + yyv4711 = yyv4711[:0] + yyc4711 = true } - } else if yyl4720 > 0 { - var yyrr4720, yyrl4720 int - var yyrt4720 bool - if yyl4720 > cap(yyv4720) { + } else if yyl4711 > 0 { + var yyrr4711, yyrl4711 int + var yyrt4711 bool + if yyl4711 > cap(yyv4711) { - yyrg4720 := len(yyv4720) > 0 - yyv24720 := yyv4720 - yyrl4720, yyrt4720 = z.DecInferLen(yyl4720, z.DecBasicHandle().MaxInitLen, 336) - if yyrt4720 { - if yyrl4720 <= cap(yyv4720) { - yyv4720 = yyv4720[:yyrl4720] + yyrg4711 := len(yyv4711) > 0 + yyv24711 := yyv4711 + yyrl4711, yyrt4711 = z.DecInferLen(yyl4711, z.DecBasicHandle().MaxInitLen, 336) + if yyrt4711 { + if yyrl4711 <= cap(yyv4711) { + yyv4711 = yyv4711[:yyrl4711] } else { - yyv4720 = make([]ReplicationController, yyrl4720) + yyv4711 = make([]ReplicationController, yyrl4711) } } else { - yyv4720 = make([]ReplicationController, yyrl4720) + yyv4711 = make([]ReplicationController, yyrl4711) } - yyc4720 = true - yyrr4720 = len(yyv4720) - if yyrg4720 { - copy(yyv4720, yyv24720) + yyc4711 = true + yyrr4711 = len(yyv4711) + if yyrg4711 { + copy(yyv4711, yyv24711) } - } else if yyl4720 != len(yyv4720) { - yyv4720 = yyv4720[:yyl4720] - yyc4720 = true + } else if yyl4711 != len(yyv4711) { + yyv4711 = yyv4711[:yyl4711] + yyc4711 = true } - yyj4720 := 0 - for ; yyj4720 < yyrr4720; yyj4720++ { - yyh4720.ElemContainerState(yyj4720) + yyj4711 := 0 + for ; yyj4711 < yyrr4711; yyj4711++ { + yyh4711.ElemContainerState(yyj4711) if r.TryDecodeAsNil() { - yyv4720[yyj4720] = ReplicationController{} + yyv4711[yyj4711] = ReplicationController{} } else { - yyv4721 := &yyv4720[yyj4720] - yyv4721.CodecDecodeSelf(d) + yyv4712 := &yyv4711[yyj4711] + yyv4712.CodecDecodeSelf(d) } } - if yyrt4720 { - for ; yyj4720 < yyl4720; yyj4720++ { - yyv4720 = append(yyv4720, ReplicationController{}) - yyh4720.ElemContainerState(yyj4720) + if yyrt4711 { + for ; yyj4711 < yyl4711; yyj4711++ { + yyv4711 = append(yyv4711, ReplicationController{}) + yyh4711.ElemContainerState(yyj4711) if r.TryDecodeAsNil() { - yyv4720[yyj4720] = ReplicationController{} + yyv4711[yyj4711] = ReplicationController{} } else { - yyv4722 := &yyv4720[yyj4720] - yyv4722.CodecDecodeSelf(d) + yyv4713 := &yyv4711[yyj4711] + yyv4713.CodecDecodeSelf(d) } } } } else { - yyj4720 := 0 - for ; !r.CheckBreak(); yyj4720++ { + yyj4711 := 0 + for ; !r.CheckBreak(); yyj4711++ { - if yyj4720 >= len(yyv4720) { - yyv4720 = append(yyv4720, ReplicationController{}) // var yyz4720 ReplicationController - yyc4720 = true + if yyj4711 >= len(yyv4711) { + yyv4711 = append(yyv4711, ReplicationController{}) // var yyz4711 ReplicationController + yyc4711 = true } - yyh4720.ElemContainerState(yyj4720) - if yyj4720 < len(yyv4720) { + yyh4711.ElemContainerState(yyj4711) + if yyj4711 < len(yyv4711) { if r.TryDecodeAsNil() { - yyv4720[yyj4720] = ReplicationController{} + yyv4711[yyj4711] = ReplicationController{} } else { - yyv4723 := &yyv4720[yyj4720] - yyv4723.CodecDecodeSelf(d) + yyv4714 := &yyv4711[yyj4711] + yyv4714.CodecDecodeSelf(d) } } else { @@ -59672,17 +59590,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj4720 < len(yyv4720) { - yyv4720 = yyv4720[:yyj4720] - yyc4720 = true - } else if yyj4720 == 0 && yyv4720 == nil { - yyv4720 = []ReplicationController{} - yyc4720 = true + if yyj4711 < len(yyv4711) { + yyv4711 = yyv4711[:yyj4711] + yyc4711 = true + } else if yyj4711 == 0 && yyv4711 == nil { + yyv4711 = []ReplicationController{} + yyc4711 = true } } - yyh4720.End() - if yyc4720 { - *v = yyv4720 + yyh4711.End() + if yyc4711 { + *v = yyv4711 } } @@ -59691,10 +59609,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4724 := range v { + for _, yyv4715 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4725 := &yyv4724 - yy4725.CodecEncodeSelf(e) + yy4716 := &yyv4715 + yy4716.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59704,83 +59622,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4726 := *v - yyh4726, yyl4726 := z.DecSliceHelperStart() - var yyc4726 bool - if yyl4726 == 0 { - if yyv4726 == nil { - yyv4726 = []LoadBalancerIngress{} - yyc4726 = true - } else if len(yyv4726) != 0 { - yyv4726 = yyv4726[:0] - yyc4726 = true + yyv4717 := *v + yyh4717, yyl4717 := z.DecSliceHelperStart() + var yyc4717 bool + if yyl4717 == 0 { + if yyv4717 == nil { + yyv4717 = []LoadBalancerIngress{} + yyc4717 = true + } else if len(yyv4717) != 0 { + yyv4717 = yyv4717[:0] + yyc4717 = true } - } else if yyl4726 > 0 { - var yyrr4726, yyrl4726 int - var yyrt4726 bool - if yyl4726 > cap(yyv4726) { + } else if yyl4717 > 0 { + var yyrr4717, yyrl4717 int + var yyrt4717 bool + if yyl4717 > cap(yyv4717) { - yyrg4726 := len(yyv4726) > 0 - yyv24726 := yyv4726 - yyrl4726, yyrt4726 = z.DecInferLen(yyl4726, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4726 { - if yyrl4726 <= cap(yyv4726) { - yyv4726 = yyv4726[:yyrl4726] + yyrg4717 := len(yyv4717) > 0 + yyv24717 := yyv4717 + yyrl4717, yyrt4717 = z.DecInferLen(yyl4717, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4717 { + if yyrl4717 <= cap(yyv4717) { + yyv4717 = yyv4717[:yyrl4717] } else { - yyv4726 = make([]LoadBalancerIngress, yyrl4726) + yyv4717 = make([]LoadBalancerIngress, yyrl4717) } } else { - yyv4726 = make([]LoadBalancerIngress, yyrl4726) + yyv4717 = make([]LoadBalancerIngress, yyrl4717) } - yyc4726 = true - yyrr4726 = len(yyv4726) - if yyrg4726 { - copy(yyv4726, yyv24726) + yyc4717 = true + yyrr4717 = len(yyv4717) + if yyrg4717 { + copy(yyv4717, yyv24717) } - } else if yyl4726 != len(yyv4726) { - yyv4726 = yyv4726[:yyl4726] - yyc4726 = true + } else if yyl4717 != len(yyv4717) { + yyv4717 = yyv4717[:yyl4717] + yyc4717 = true } - yyj4726 := 0 - for ; yyj4726 < yyrr4726; yyj4726++ { - yyh4726.ElemContainerState(yyj4726) + yyj4717 := 0 + for ; yyj4717 < yyrr4717; yyj4717++ { + yyh4717.ElemContainerState(yyj4717) if r.TryDecodeAsNil() { - yyv4726[yyj4726] = LoadBalancerIngress{} + yyv4717[yyj4717] = LoadBalancerIngress{} } else { - yyv4727 := &yyv4726[yyj4726] - yyv4727.CodecDecodeSelf(d) + yyv4718 := &yyv4717[yyj4717] + yyv4718.CodecDecodeSelf(d) } } - if yyrt4726 { - for ; yyj4726 < yyl4726; yyj4726++ { - yyv4726 = append(yyv4726, LoadBalancerIngress{}) - yyh4726.ElemContainerState(yyj4726) + if yyrt4717 { + for ; yyj4717 < yyl4717; yyj4717++ { + yyv4717 = append(yyv4717, LoadBalancerIngress{}) + yyh4717.ElemContainerState(yyj4717) if r.TryDecodeAsNil() { - yyv4726[yyj4726] = LoadBalancerIngress{} + yyv4717[yyj4717] = LoadBalancerIngress{} } else { - yyv4728 := &yyv4726[yyj4726] - yyv4728.CodecDecodeSelf(d) + yyv4719 := &yyv4717[yyj4717] + yyv4719.CodecDecodeSelf(d) } } } } else { - yyj4726 := 0 - for ; !r.CheckBreak(); yyj4726++ { + yyj4717 := 0 + for ; !r.CheckBreak(); yyj4717++ { - if yyj4726 >= len(yyv4726) { - yyv4726 = append(yyv4726, LoadBalancerIngress{}) // var yyz4726 LoadBalancerIngress - yyc4726 = true + if yyj4717 >= len(yyv4717) { + yyv4717 = append(yyv4717, LoadBalancerIngress{}) // var yyz4717 LoadBalancerIngress + yyc4717 = true } - yyh4726.ElemContainerState(yyj4726) - if yyj4726 < len(yyv4726) { + yyh4717.ElemContainerState(yyj4717) + if yyj4717 < len(yyv4717) { if r.TryDecodeAsNil() { - yyv4726[yyj4726] = LoadBalancerIngress{} + yyv4717[yyj4717] = LoadBalancerIngress{} } else { - yyv4729 := &yyv4726[yyj4726] - yyv4729.CodecDecodeSelf(d) + yyv4720 := &yyv4717[yyj4717] + yyv4720.CodecDecodeSelf(d) } } else { @@ -59788,17 +59706,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj4726 < len(yyv4726) { - yyv4726 = yyv4726[:yyj4726] - yyc4726 = true - } else if yyj4726 == 0 && yyv4726 == nil { - yyv4726 = []LoadBalancerIngress{} - yyc4726 = true + if yyj4717 < len(yyv4717) { + yyv4717 = yyv4717[:yyj4717] + yyc4717 = true + } else if yyj4717 == 0 && yyv4717 == nil { + yyv4717 = []LoadBalancerIngress{} + yyc4717 = true } } - yyh4726.End() - if yyc4726 { - *v = yyv4726 + yyh4717.End() + if yyc4717 { + *v = yyv4717 } } @@ -59807,10 +59725,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4730 := range v { + for _, yyv4721 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4731 := &yyv4730 - yy4731.CodecEncodeSelf(e) + yy4722 := &yyv4721 + yy4722.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59820,83 +59738,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4732 := *v - yyh4732, yyl4732 := z.DecSliceHelperStart() - var yyc4732 bool - if yyl4732 == 0 { - if yyv4732 == nil { - yyv4732 = []ServicePort{} - yyc4732 = true - } else if len(yyv4732) != 0 { - yyv4732 = yyv4732[:0] - yyc4732 = true + yyv4723 := *v + yyh4723, yyl4723 := z.DecSliceHelperStart() + var yyc4723 bool + if yyl4723 == 0 { + if yyv4723 == nil { + yyv4723 = []ServicePort{} + yyc4723 = true + } else if len(yyv4723) != 0 { + yyv4723 = yyv4723[:0] + yyc4723 = true } - } else if yyl4732 > 0 { - var yyrr4732, yyrl4732 int - var yyrt4732 bool - if yyl4732 > cap(yyv4732) { + } else if yyl4723 > 0 { + var yyrr4723, yyrl4723 int + var yyrt4723 bool + if yyl4723 > cap(yyv4723) { - yyrg4732 := len(yyv4732) > 0 - yyv24732 := yyv4732 - yyrl4732, yyrt4732 = z.DecInferLen(yyl4732, z.DecBasicHandle().MaxInitLen, 80) - if yyrt4732 { - if yyrl4732 <= cap(yyv4732) { - yyv4732 = yyv4732[:yyrl4732] + yyrg4723 := len(yyv4723) > 0 + yyv24723 := yyv4723 + yyrl4723, yyrt4723 = z.DecInferLen(yyl4723, z.DecBasicHandle().MaxInitLen, 80) + if yyrt4723 { + if yyrl4723 <= cap(yyv4723) { + yyv4723 = yyv4723[:yyrl4723] } else { - yyv4732 = make([]ServicePort, yyrl4732) + yyv4723 = make([]ServicePort, yyrl4723) } } else { - yyv4732 = make([]ServicePort, yyrl4732) + yyv4723 = make([]ServicePort, yyrl4723) } - yyc4732 = true - yyrr4732 = len(yyv4732) - if yyrg4732 { - copy(yyv4732, yyv24732) + yyc4723 = true + yyrr4723 = len(yyv4723) + if yyrg4723 { + copy(yyv4723, yyv24723) } - } else if yyl4732 != len(yyv4732) { - yyv4732 = yyv4732[:yyl4732] - yyc4732 = true + } else if yyl4723 != len(yyv4723) { + yyv4723 = yyv4723[:yyl4723] + yyc4723 = true } - yyj4732 := 0 - for ; yyj4732 < yyrr4732; yyj4732++ { - yyh4732.ElemContainerState(yyj4732) + yyj4723 := 0 + for ; yyj4723 < yyrr4723; yyj4723++ { + yyh4723.ElemContainerState(yyj4723) if r.TryDecodeAsNil() { - yyv4732[yyj4732] = ServicePort{} + yyv4723[yyj4723] = ServicePort{} } else { - yyv4733 := &yyv4732[yyj4732] - yyv4733.CodecDecodeSelf(d) + yyv4724 := &yyv4723[yyj4723] + yyv4724.CodecDecodeSelf(d) } } - if yyrt4732 { - for ; yyj4732 < yyl4732; yyj4732++ { - yyv4732 = append(yyv4732, ServicePort{}) - yyh4732.ElemContainerState(yyj4732) + if yyrt4723 { + for ; yyj4723 < yyl4723; yyj4723++ { + yyv4723 = append(yyv4723, ServicePort{}) + yyh4723.ElemContainerState(yyj4723) if r.TryDecodeAsNil() { - yyv4732[yyj4732] = ServicePort{} + yyv4723[yyj4723] = ServicePort{} } else { - yyv4734 := &yyv4732[yyj4732] - yyv4734.CodecDecodeSelf(d) + yyv4725 := &yyv4723[yyj4723] + yyv4725.CodecDecodeSelf(d) } } } } else { - yyj4732 := 0 - for ; !r.CheckBreak(); yyj4732++ { + yyj4723 := 0 + for ; !r.CheckBreak(); yyj4723++ { - if yyj4732 >= len(yyv4732) { - yyv4732 = append(yyv4732, ServicePort{}) // var yyz4732 ServicePort - yyc4732 = true + if yyj4723 >= len(yyv4723) { + yyv4723 = append(yyv4723, ServicePort{}) // var yyz4723 ServicePort + yyc4723 = true } - yyh4732.ElemContainerState(yyj4732) - if yyj4732 < len(yyv4732) { + yyh4723.ElemContainerState(yyj4723) + if yyj4723 < len(yyv4723) { if r.TryDecodeAsNil() { - yyv4732[yyj4732] = ServicePort{} + yyv4723[yyj4723] = ServicePort{} } else { - yyv4735 := &yyv4732[yyj4732] - yyv4735.CodecDecodeSelf(d) + yyv4726 := &yyv4723[yyj4723] + yyv4726.CodecDecodeSelf(d) } } else { @@ -59904,17 +59822,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj4732 < len(yyv4732) { - yyv4732 = yyv4732[:yyj4732] - yyc4732 = true - } else if yyj4732 == 0 && yyv4732 == nil { - yyv4732 = []ServicePort{} - yyc4732 = true + if yyj4723 < len(yyv4723) { + yyv4723 = yyv4723[:yyj4723] + yyc4723 = true + } else if yyj4723 == 0 && yyv4723 == nil { + yyv4723 = []ServicePort{} + yyc4723 = true } } - yyh4732.End() - if yyc4732 { - *v = yyv4732 + yyh4723.End() + if yyc4723 { + *v = yyv4723 } } @@ -59923,10 +59841,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4736 := range v { + for _, yyv4727 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4737 := &yyv4736 - yy4737.CodecEncodeSelf(e) + yy4728 := &yyv4727 + yy4728.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59936,83 +59854,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4738 := *v - yyh4738, yyl4738 := z.DecSliceHelperStart() - var yyc4738 bool - if yyl4738 == 0 { - if yyv4738 == nil { - yyv4738 = []Service{} - yyc4738 = true - } else if len(yyv4738) != 0 { - yyv4738 = yyv4738[:0] - yyc4738 = true + yyv4729 := *v + yyh4729, yyl4729 := z.DecSliceHelperStart() + var yyc4729 bool + if yyl4729 == 0 { + if yyv4729 == nil { + yyv4729 = []Service{} + yyc4729 = true + } else if len(yyv4729) != 0 { + yyv4729 = yyv4729[:0] + yyc4729 = true } - } else if yyl4738 > 0 { - var yyrr4738, yyrl4738 int - var yyrt4738 bool - if yyl4738 > cap(yyv4738) { + } else if yyl4729 > 0 { + var yyrr4729, yyrl4729 int + var yyrt4729 bool + if yyl4729 > cap(yyv4729) { - yyrg4738 := len(yyv4738) > 0 - yyv24738 := yyv4738 - yyrl4738, yyrt4738 = z.DecInferLen(yyl4738, z.DecBasicHandle().MaxInitLen, 464) - if yyrt4738 { - if yyrl4738 <= cap(yyv4738) { - yyv4738 = yyv4738[:yyrl4738] + yyrg4729 := len(yyv4729) > 0 + yyv24729 := yyv4729 + yyrl4729, yyrt4729 = z.DecInferLen(yyl4729, z.DecBasicHandle().MaxInitLen, 464) + if yyrt4729 { + if yyrl4729 <= cap(yyv4729) { + yyv4729 = yyv4729[:yyrl4729] } else { - yyv4738 = make([]Service, yyrl4738) + yyv4729 = make([]Service, yyrl4729) } } else { - yyv4738 = make([]Service, yyrl4738) + yyv4729 = make([]Service, yyrl4729) } - yyc4738 = true - yyrr4738 = len(yyv4738) - if yyrg4738 { - copy(yyv4738, yyv24738) + yyc4729 = true + yyrr4729 = len(yyv4729) + if yyrg4729 { + copy(yyv4729, yyv24729) } - } else if yyl4738 != len(yyv4738) { - yyv4738 = yyv4738[:yyl4738] - yyc4738 = true + } else if yyl4729 != len(yyv4729) { + yyv4729 = yyv4729[:yyl4729] + yyc4729 = true } - yyj4738 := 0 - for ; yyj4738 < yyrr4738; yyj4738++ { - yyh4738.ElemContainerState(yyj4738) + yyj4729 := 0 + for ; yyj4729 < yyrr4729; yyj4729++ { + yyh4729.ElemContainerState(yyj4729) if r.TryDecodeAsNil() { - yyv4738[yyj4738] = Service{} + yyv4729[yyj4729] = Service{} } else { - yyv4739 := &yyv4738[yyj4738] - yyv4739.CodecDecodeSelf(d) + yyv4730 := &yyv4729[yyj4729] + yyv4730.CodecDecodeSelf(d) } } - if yyrt4738 { - for ; yyj4738 < yyl4738; yyj4738++ { - yyv4738 = append(yyv4738, Service{}) - yyh4738.ElemContainerState(yyj4738) + if yyrt4729 { + for ; yyj4729 < yyl4729; yyj4729++ { + yyv4729 = append(yyv4729, Service{}) + yyh4729.ElemContainerState(yyj4729) if r.TryDecodeAsNil() { - yyv4738[yyj4738] = Service{} + yyv4729[yyj4729] = Service{} } else { - yyv4740 := &yyv4738[yyj4738] - yyv4740.CodecDecodeSelf(d) + yyv4731 := &yyv4729[yyj4729] + yyv4731.CodecDecodeSelf(d) } } } } else { - yyj4738 := 0 - for ; !r.CheckBreak(); yyj4738++ { + yyj4729 := 0 + for ; !r.CheckBreak(); yyj4729++ { - if yyj4738 >= len(yyv4738) { - yyv4738 = append(yyv4738, Service{}) // var yyz4738 Service - yyc4738 = true + if yyj4729 >= len(yyv4729) { + yyv4729 = append(yyv4729, Service{}) // var yyz4729 Service + yyc4729 = true } - yyh4738.ElemContainerState(yyj4738) - if yyj4738 < len(yyv4738) { + yyh4729.ElemContainerState(yyj4729) + if yyj4729 < len(yyv4729) { if r.TryDecodeAsNil() { - yyv4738[yyj4738] = Service{} + yyv4729[yyj4729] = Service{} } else { - yyv4741 := &yyv4738[yyj4738] - yyv4741.CodecDecodeSelf(d) + yyv4732 := &yyv4729[yyj4729] + yyv4732.CodecDecodeSelf(d) } } else { @@ -60020,17 +59938,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj4738 < len(yyv4738) { - yyv4738 = yyv4738[:yyj4738] - yyc4738 = true - } else if yyj4738 == 0 && yyv4738 == nil { - yyv4738 = []Service{} - yyc4738 = true + if yyj4729 < len(yyv4729) { + yyv4729 = yyv4729[:yyj4729] + yyc4729 = true + } else if yyj4729 == 0 && yyv4729 == nil { + yyv4729 = []Service{} + yyc4729 = true } } - yyh4738.End() - if yyc4738 { - *v = yyv4738 + yyh4729.End() + if yyc4729 { + *v = yyv4729 } } @@ -60039,10 +59957,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4742 := range v { + for _, yyv4733 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4743 := &yyv4742 - yy4743.CodecEncodeSelf(e) + yy4734 := &yyv4733 + yy4734.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60052,83 +59970,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4744 := *v - yyh4744, yyl4744 := z.DecSliceHelperStart() - var yyc4744 bool - if yyl4744 == 0 { - if yyv4744 == nil { - yyv4744 = []ObjectReference{} - yyc4744 = true - } else if len(yyv4744) != 0 { - yyv4744 = yyv4744[:0] - yyc4744 = true + yyv4735 := *v + yyh4735, yyl4735 := z.DecSliceHelperStart() + var yyc4735 bool + if yyl4735 == 0 { + if yyv4735 == nil { + yyv4735 = []ObjectReference{} + yyc4735 = true + } else if len(yyv4735) != 0 { + yyv4735 = yyv4735[:0] + yyc4735 = true } - } else if yyl4744 > 0 { - var yyrr4744, yyrl4744 int - var yyrt4744 bool - if yyl4744 > cap(yyv4744) { + } else if yyl4735 > 0 { + var yyrr4735, yyrl4735 int + var yyrt4735 bool + if yyl4735 > cap(yyv4735) { - yyrg4744 := len(yyv4744) > 0 - yyv24744 := yyv4744 - yyrl4744, yyrt4744 = z.DecInferLen(yyl4744, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4744 { - if yyrl4744 <= cap(yyv4744) { - yyv4744 = yyv4744[:yyrl4744] + yyrg4735 := len(yyv4735) > 0 + yyv24735 := yyv4735 + yyrl4735, yyrt4735 = z.DecInferLen(yyl4735, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4735 { + if yyrl4735 <= cap(yyv4735) { + yyv4735 = yyv4735[:yyrl4735] } else { - yyv4744 = make([]ObjectReference, yyrl4744) + yyv4735 = make([]ObjectReference, yyrl4735) } } else { - yyv4744 = make([]ObjectReference, yyrl4744) + yyv4735 = make([]ObjectReference, yyrl4735) } - yyc4744 = true - yyrr4744 = len(yyv4744) - if yyrg4744 { - copy(yyv4744, yyv24744) + yyc4735 = true + yyrr4735 = len(yyv4735) + if yyrg4735 { + copy(yyv4735, yyv24735) } - } else if yyl4744 != len(yyv4744) { - yyv4744 = yyv4744[:yyl4744] - yyc4744 = true + } else if yyl4735 != len(yyv4735) { + yyv4735 = yyv4735[:yyl4735] + yyc4735 = true } - yyj4744 := 0 - for ; yyj4744 < yyrr4744; yyj4744++ { - yyh4744.ElemContainerState(yyj4744) + yyj4735 := 0 + for ; yyj4735 < yyrr4735; yyj4735++ { + yyh4735.ElemContainerState(yyj4735) if r.TryDecodeAsNil() { - yyv4744[yyj4744] = ObjectReference{} + yyv4735[yyj4735] = ObjectReference{} } else { - yyv4745 := &yyv4744[yyj4744] - yyv4745.CodecDecodeSelf(d) + yyv4736 := &yyv4735[yyj4735] + yyv4736.CodecDecodeSelf(d) } } - if yyrt4744 { - for ; yyj4744 < yyl4744; yyj4744++ { - yyv4744 = append(yyv4744, ObjectReference{}) - yyh4744.ElemContainerState(yyj4744) + if yyrt4735 { + for ; yyj4735 < yyl4735; yyj4735++ { + yyv4735 = append(yyv4735, ObjectReference{}) + yyh4735.ElemContainerState(yyj4735) if r.TryDecodeAsNil() { - yyv4744[yyj4744] = ObjectReference{} + yyv4735[yyj4735] = ObjectReference{} } else { - yyv4746 := &yyv4744[yyj4744] - yyv4746.CodecDecodeSelf(d) + yyv4737 := &yyv4735[yyj4735] + yyv4737.CodecDecodeSelf(d) } } } } else { - yyj4744 := 0 - for ; !r.CheckBreak(); yyj4744++ { + yyj4735 := 0 + for ; !r.CheckBreak(); yyj4735++ { - if yyj4744 >= len(yyv4744) { - yyv4744 = append(yyv4744, ObjectReference{}) // var yyz4744 ObjectReference - yyc4744 = true + if yyj4735 >= len(yyv4735) { + yyv4735 = append(yyv4735, ObjectReference{}) // var yyz4735 ObjectReference + yyc4735 = true } - yyh4744.ElemContainerState(yyj4744) - if yyj4744 < len(yyv4744) { + yyh4735.ElemContainerState(yyj4735) + if yyj4735 < len(yyv4735) { if r.TryDecodeAsNil() { - yyv4744[yyj4744] = ObjectReference{} + yyv4735[yyj4735] = ObjectReference{} } else { - yyv4747 := &yyv4744[yyj4744] - yyv4747.CodecDecodeSelf(d) + yyv4738 := &yyv4735[yyj4735] + yyv4738.CodecDecodeSelf(d) } } else { @@ -60136,17 +60054,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj4744 < len(yyv4744) { - yyv4744 = yyv4744[:yyj4744] - yyc4744 = true - } else if yyj4744 == 0 && yyv4744 == nil { - yyv4744 = []ObjectReference{} - yyc4744 = true + if yyj4735 < len(yyv4735) { + yyv4735 = yyv4735[:yyj4735] + yyc4735 = true + } else if yyj4735 == 0 && yyv4735 == nil { + yyv4735 = []ObjectReference{} + yyc4735 = true } } - yyh4744.End() - if yyc4744 { - *v = yyv4744 + yyh4735.End() + if yyc4735 { + *v = yyv4735 } } @@ -60155,10 +60073,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4748 := range v { + for _, yyv4739 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4749 := &yyv4748 - yy4749.CodecEncodeSelf(e) + yy4740 := &yyv4739 + yy4740.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60168,83 +60086,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4750 := *v - yyh4750, yyl4750 := z.DecSliceHelperStart() - var yyc4750 bool - if yyl4750 == 0 { - if yyv4750 == nil { - yyv4750 = []ServiceAccount{} - yyc4750 = true - } else if len(yyv4750) != 0 { - yyv4750 = yyv4750[:0] - yyc4750 = true + yyv4741 := *v + yyh4741, yyl4741 := z.DecSliceHelperStart() + var yyc4741 bool + if yyl4741 == 0 { + if yyv4741 == nil { + yyv4741 = []ServiceAccount{} + yyc4741 = true + } else if len(yyv4741) != 0 { + yyv4741 = yyv4741[:0] + yyc4741 = true } - } else if yyl4750 > 0 { - var yyrr4750, yyrl4750 int - var yyrt4750 bool - if yyl4750 > cap(yyv4750) { + } else if yyl4741 > 0 { + var yyrr4741, yyrl4741 int + var yyrt4741 bool + if yyl4741 > cap(yyv4741) { - yyrg4750 := len(yyv4750) > 0 - yyv24750 := yyv4750 - yyrl4750, yyrt4750 = z.DecInferLen(yyl4750, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4750 { - if yyrl4750 <= cap(yyv4750) { - yyv4750 = yyv4750[:yyrl4750] + yyrg4741 := len(yyv4741) > 0 + yyv24741 := yyv4741 + yyrl4741, yyrt4741 = z.DecInferLen(yyl4741, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4741 { + if yyrl4741 <= cap(yyv4741) { + yyv4741 = yyv4741[:yyrl4741] } else { - yyv4750 = make([]ServiceAccount, yyrl4750) + yyv4741 = make([]ServiceAccount, yyrl4741) } } else { - yyv4750 = make([]ServiceAccount, yyrl4750) + yyv4741 = make([]ServiceAccount, yyrl4741) } - yyc4750 = true - yyrr4750 = len(yyv4750) - if yyrg4750 { - copy(yyv4750, yyv24750) + yyc4741 = true + yyrr4741 = len(yyv4741) + if yyrg4741 { + copy(yyv4741, yyv24741) } - } else if yyl4750 != len(yyv4750) { - yyv4750 = yyv4750[:yyl4750] - yyc4750 = true + } else if yyl4741 != len(yyv4741) { + yyv4741 = yyv4741[:yyl4741] + yyc4741 = true } - yyj4750 := 0 - for ; yyj4750 < yyrr4750; yyj4750++ { - yyh4750.ElemContainerState(yyj4750) + yyj4741 := 0 + for ; yyj4741 < yyrr4741; yyj4741++ { + yyh4741.ElemContainerState(yyj4741) if r.TryDecodeAsNil() { - yyv4750[yyj4750] = ServiceAccount{} + yyv4741[yyj4741] = ServiceAccount{} } else { - yyv4751 := &yyv4750[yyj4750] - yyv4751.CodecDecodeSelf(d) + yyv4742 := &yyv4741[yyj4741] + yyv4742.CodecDecodeSelf(d) } } - if yyrt4750 { - for ; yyj4750 < yyl4750; yyj4750++ { - yyv4750 = append(yyv4750, ServiceAccount{}) - yyh4750.ElemContainerState(yyj4750) + if yyrt4741 { + for ; yyj4741 < yyl4741; yyj4741++ { + yyv4741 = append(yyv4741, ServiceAccount{}) + yyh4741.ElemContainerState(yyj4741) if r.TryDecodeAsNil() { - yyv4750[yyj4750] = ServiceAccount{} + yyv4741[yyj4741] = ServiceAccount{} } else { - yyv4752 := &yyv4750[yyj4750] - yyv4752.CodecDecodeSelf(d) + yyv4743 := &yyv4741[yyj4741] + yyv4743.CodecDecodeSelf(d) } } } } else { - yyj4750 := 0 - for ; !r.CheckBreak(); yyj4750++ { + yyj4741 := 0 + for ; !r.CheckBreak(); yyj4741++ { - if yyj4750 >= len(yyv4750) { - yyv4750 = append(yyv4750, ServiceAccount{}) // var yyz4750 ServiceAccount - yyc4750 = true + if yyj4741 >= len(yyv4741) { + yyv4741 = append(yyv4741, ServiceAccount{}) // var yyz4741 ServiceAccount + yyc4741 = true } - yyh4750.ElemContainerState(yyj4750) - if yyj4750 < len(yyv4750) { + yyh4741.ElemContainerState(yyj4741) + if yyj4741 < len(yyv4741) { if r.TryDecodeAsNil() { - yyv4750[yyj4750] = ServiceAccount{} + yyv4741[yyj4741] = ServiceAccount{} } else { - yyv4753 := &yyv4750[yyj4750] - yyv4753.CodecDecodeSelf(d) + yyv4744 := &yyv4741[yyj4741] + yyv4744.CodecDecodeSelf(d) } } else { @@ -60252,17 +60170,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj4750 < len(yyv4750) { - yyv4750 = yyv4750[:yyj4750] - yyc4750 = true - } else if yyj4750 == 0 && yyv4750 == nil { - yyv4750 = []ServiceAccount{} - yyc4750 = true + if yyj4741 < len(yyv4741) { + yyv4741 = yyv4741[:yyj4741] + yyc4741 = true + } else if yyj4741 == 0 && yyv4741 == nil { + yyv4741 = []ServiceAccount{} + yyc4741 = true } } - yyh4750.End() - if yyc4750 { - *v = yyv4750 + yyh4741.End() + if yyc4741 { + *v = yyv4741 } } @@ -60271,10 +60189,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4754 := range v { + for _, yyv4745 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4755 := &yyv4754 - yy4755.CodecEncodeSelf(e) + yy4746 := &yyv4745 + yy4746.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60284,83 +60202,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4756 := *v - yyh4756, yyl4756 := z.DecSliceHelperStart() - var yyc4756 bool - if yyl4756 == 0 { - if yyv4756 == nil { - yyv4756 = []EndpointSubset{} - yyc4756 = true - } else if len(yyv4756) != 0 { - yyv4756 = yyv4756[:0] - yyc4756 = true + yyv4747 := *v + yyh4747, yyl4747 := z.DecSliceHelperStart() + var yyc4747 bool + if yyl4747 == 0 { + if yyv4747 == nil { + yyv4747 = []EndpointSubset{} + yyc4747 = true + } else if len(yyv4747) != 0 { + yyv4747 = yyv4747[:0] + yyc4747 = true } - } else if yyl4756 > 0 { - var yyrr4756, yyrl4756 int - var yyrt4756 bool - if yyl4756 > cap(yyv4756) { + } else if yyl4747 > 0 { + var yyrr4747, yyrl4747 int + var yyrt4747 bool + if yyl4747 > cap(yyv4747) { - yyrg4756 := len(yyv4756) > 0 - yyv24756 := yyv4756 - yyrl4756, yyrt4756 = z.DecInferLen(yyl4756, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4756 { - if yyrl4756 <= cap(yyv4756) { - yyv4756 = yyv4756[:yyrl4756] + yyrg4747 := len(yyv4747) > 0 + yyv24747 := yyv4747 + yyrl4747, yyrt4747 = z.DecInferLen(yyl4747, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4747 { + if yyrl4747 <= cap(yyv4747) { + yyv4747 = yyv4747[:yyrl4747] } else { - yyv4756 = make([]EndpointSubset, yyrl4756) + yyv4747 = make([]EndpointSubset, yyrl4747) } } else { - yyv4756 = make([]EndpointSubset, yyrl4756) + yyv4747 = make([]EndpointSubset, yyrl4747) } - yyc4756 = true - yyrr4756 = len(yyv4756) - if yyrg4756 { - copy(yyv4756, yyv24756) + yyc4747 = true + yyrr4747 = len(yyv4747) + if yyrg4747 { + copy(yyv4747, yyv24747) } - } else if yyl4756 != len(yyv4756) { - yyv4756 = yyv4756[:yyl4756] - yyc4756 = true + } else if yyl4747 != len(yyv4747) { + yyv4747 = yyv4747[:yyl4747] + yyc4747 = true } - yyj4756 := 0 - for ; yyj4756 < yyrr4756; yyj4756++ { - yyh4756.ElemContainerState(yyj4756) + yyj4747 := 0 + for ; yyj4747 < yyrr4747; yyj4747++ { + yyh4747.ElemContainerState(yyj4747) if r.TryDecodeAsNil() { - yyv4756[yyj4756] = EndpointSubset{} + yyv4747[yyj4747] = EndpointSubset{} } else { - yyv4757 := &yyv4756[yyj4756] - yyv4757.CodecDecodeSelf(d) + yyv4748 := &yyv4747[yyj4747] + yyv4748.CodecDecodeSelf(d) } } - if yyrt4756 { - for ; yyj4756 < yyl4756; yyj4756++ { - yyv4756 = append(yyv4756, EndpointSubset{}) - yyh4756.ElemContainerState(yyj4756) + if yyrt4747 { + for ; yyj4747 < yyl4747; yyj4747++ { + yyv4747 = append(yyv4747, EndpointSubset{}) + yyh4747.ElemContainerState(yyj4747) if r.TryDecodeAsNil() { - yyv4756[yyj4756] = EndpointSubset{} + yyv4747[yyj4747] = EndpointSubset{} } else { - yyv4758 := &yyv4756[yyj4756] - yyv4758.CodecDecodeSelf(d) + yyv4749 := &yyv4747[yyj4747] + yyv4749.CodecDecodeSelf(d) } } } } else { - yyj4756 := 0 - for ; !r.CheckBreak(); yyj4756++ { + yyj4747 := 0 + for ; !r.CheckBreak(); yyj4747++ { - if yyj4756 >= len(yyv4756) { - yyv4756 = append(yyv4756, EndpointSubset{}) // var yyz4756 EndpointSubset - yyc4756 = true + if yyj4747 >= len(yyv4747) { + yyv4747 = append(yyv4747, EndpointSubset{}) // var yyz4747 EndpointSubset + yyc4747 = true } - yyh4756.ElemContainerState(yyj4756) - if yyj4756 < len(yyv4756) { + yyh4747.ElemContainerState(yyj4747) + if yyj4747 < len(yyv4747) { if r.TryDecodeAsNil() { - yyv4756[yyj4756] = EndpointSubset{} + yyv4747[yyj4747] = EndpointSubset{} } else { - yyv4759 := &yyv4756[yyj4756] - yyv4759.CodecDecodeSelf(d) + yyv4750 := &yyv4747[yyj4747] + yyv4750.CodecDecodeSelf(d) } } else { @@ -60368,17 +60286,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj4756 < len(yyv4756) { - yyv4756 = yyv4756[:yyj4756] - yyc4756 = true - } else if yyj4756 == 0 && yyv4756 == nil { - yyv4756 = []EndpointSubset{} - yyc4756 = true + if yyj4747 < len(yyv4747) { + yyv4747 = yyv4747[:yyj4747] + yyc4747 = true + } else if yyj4747 == 0 && yyv4747 == nil { + yyv4747 = []EndpointSubset{} + yyc4747 = true } } - yyh4756.End() - if yyc4756 { - *v = yyv4756 + yyh4747.End() + if yyc4747 { + *v = yyv4747 } } @@ -60387,10 +60305,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4760 := range v { + for _, yyv4751 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4761 := &yyv4760 - yy4761.CodecEncodeSelf(e) + yy4752 := &yyv4751 + yy4752.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60400,83 +60318,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4762 := *v - yyh4762, yyl4762 := z.DecSliceHelperStart() - var yyc4762 bool - if yyl4762 == 0 { - if yyv4762 == nil { - yyv4762 = []EndpointAddress{} - yyc4762 = true - } else if len(yyv4762) != 0 { - yyv4762 = yyv4762[:0] - yyc4762 = true + yyv4753 := *v + yyh4753, yyl4753 := z.DecSliceHelperStart() + var yyc4753 bool + if yyl4753 == 0 { + if yyv4753 == nil { + yyv4753 = []EndpointAddress{} + yyc4753 = true + } else if len(yyv4753) != 0 { + yyv4753 = yyv4753[:0] + yyc4753 = true } - } else if yyl4762 > 0 { - var yyrr4762, yyrl4762 int - var yyrt4762 bool - if yyl4762 > cap(yyv4762) { + } else if yyl4753 > 0 { + var yyrr4753, yyrl4753 int + var yyrt4753 bool + if yyl4753 > cap(yyv4753) { - yyrg4762 := len(yyv4762) > 0 - yyv24762 := yyv4762 - yyrl4762, yyrt4762 = z.DecInferLen(yyl4762, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4762 { - if yyrl4762 <= cap(yyv4762) { - yyv4762 = yyv4762[:yyrl4762] + yyrg4753 := len(yyv4753) > 0 + yyv24753 := yyv4753 + yyrl4753, yyrt4753 = z.DecInferLen(yyl4753, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4753 { + if yyrl4753 <= cap(yyv4753) { + yyv4753 = yyv4753[:yyrl4753] } else { - yyv4762 = make([]EndpointAddress, yyrl4762) + yyv4753 = make([]EndpointAddress, yyrl4753) } } else { - yyv4762 = make([]EndpointAddress, yyrl4762) + yyv4753 = make([]EndpointAddress, yyrl4753) } - yyc4762 = true - yyrr4762 = len(yyv4762) - if yyrg4762 { - copy(yyv4762, yyv24762) + yyc4753 = true + yyrr4753 = len(yyv4753) + if yyrg4753 { + copy(yyv4753, yyv24753) } - } else if yyl4762 != len(yyv4762) { - yyv4762 = yyv4762[:yyl4762] - yyc4762 = true + } else if yyl4753 != len(yyv4753) { + yyv4753 = yyv4753[:yyl4753] + yyc4753 = true } - yyj4762 := 0 - for ; yyj4762 < yyrr4762; yyj4762++ { - yyh4762.ElemContainerState(yyj4762) + yyj4753 := 0 + for ; yyj4753 < yyrr4753; yyj4753++ { + yyh4753.ElemContainerState(yyj4753) if r.TryDecodeAsNil() { - yyv4762[yyj4762] = EndpointAddress{} + yyv4753[yyj4753] = EndpointAddress{} } else { - yyv4763 := &yyv4762[yyj4762] - yyv4763.CodecDecodeSelf(d) + yyv4754 := &yyv4753[yyj4753] + yyv4754.CodecDecodeSelf(d) } } - if yyrt4762 { - for ; yyj4762 < yyl4762; yyj4762++ { - yyv4762 = append(yyv4762, EndpointAddress{}) - yyh4762.ElemContainerState(yyj4762) + if yyrt4753 { + for ; yyj4753 < yyl4753; yyj4753++ { + yyv4753 = append(yyv4753, EndpointAddress{}) + yyh4753.ElemContainerState(yyj4753) if r.TryDecodeAsNil() { - yyv4762[yyj4762] = EndpointAddress{} + yyv4753[yyj4753] = EndpointAddress{} } else { - yyv4764 := &yyv4762[yyj4762] - yyv4764.CodecDecodeSelf(d) + yyv4755 := &yyv4753[yyj4753] + yyv4755.CodecDecodeSelf(d) } } } } else { - yyj4762 := 0 - for ; !r.CheckBreak(); yyj4762++ { + yyj4753 := 0 + for ; !r.CheckBreak(); yyj4753++ { - if yyj4762 >= len(yyv4762) { - yyv4762 = append(yyv4762, EndpointAddress{}) // var yyz4762 EndpointAddress - yyc4762 = true + if yyj4753 >= len(yyv4753) { + yyv4753 = append(yyv4753, EndpointAddress{}) // var yyz4753 EndpointAddress + yyc4753 = true } - yyh4762.ElemContainerState(yyj4762) - if yyj4762 < len(yyv4762) { + yyh4753.ElemContainerState(yyj4753) + if yyj4753 < len(yyv4753) { if r.TryDecodeAsNil() { - yyv4762[yyj4762] = EndpointAddress{} + yyv4753[yyj4753] = EndpointAddress{} } else { - yyv4765 := &yyv4762[yyj4762] - yyv4765.CodecDecodeSelf(d) + yyv4756 := &yyv4753[yyj4753] + yyv4756.CodecDecodeSelf(d) } } else { @@ -60484,17 +60402,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj4762 < len(yyv4762) { - yyv4762 = yyv4762[:yyj4762] - yyc4762 = true - } else if yyj4762 == 0 && yyv4762 == nil { - yyv4762 = []EndpointAddress{} - yyc4762 = true + if yyj4753 < len(yyv4753) { + yyv4753 = yyv4753[:yyj4753] + yyc4753 = true + } else if yyj4753 == 0 && yyv4753 == nil { + yyv4753 = []EndpointAddress{} + yyc4753 = true } } - yyh4762.End() - if yyc4762 { - *v = yyv4762 + yyh4753.End() + if yyc4753 { + *v = yyv4753 } } @@ -60503,10 +60421,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4766 := range v { + for _, yyv4757 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4767 := &yyv4766 - yy4767.CodecEncodeSelf(e) + yy4758 := &yyv4757 + yy4758.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60516,83 +60434,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4768 := *v - yyh4768, yyl4768 := z.DecSliceHelperStart() - var yyc4768 bool - if yyl4768 == 0 { - if yyv4768 == nil { - yyv4768 = []EndpointPort{} - yyc4768 = true - } else if len(yyv4768) != 0 { - yyv4768 = yyv4768[:0] - yyc4768 = true + yyv4759 := *v + yyh4759, yyl4759 := z.DecSliceHelperStart() + var yyc4759 bool + if yyl4759 == 0 { + if yyv4759 == nil { + yyv4759 = []EndpointPort{} + yyc4759 = true + } else if len(yyv4759) != 0 { + yyv4759 = yyv4759[:0] + yyc4759 = true } - } else if yyl4768 > 0 { - var yyrr4768, yyrl4768 int - var yyrt4768 bool - if yyl4768 > cap(yyv4768) { + } else if yyl4759 > 0 { + var yyrr4759, yyrl4759 int + var yyrt4759 bool + if yyl4759 > cap(yyv4759) { - yyrg4768 := len(yyv4768) > 0 - yyv24768 := yyv4768 - yyrl4768, yyrt4768 = z.DecInferLen(yyl4768, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4768 { - if yyrl4768 <= cap(yyv4768) { - yyv4768 = yyv4768[:yyrl4768] + yyrg4759 := len(yyv4759) > 0 + yyv24759 := yyv4759 + yyrl4759, yyrt4759 = z.DecInferLen(yyl4759, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4759 { + if yyrl4759 <= cap(yyv4759) { + yyv4759 = yyv4759[:yyrl4759] } else { - yyv4768 = make([]EndpointPort, yyrl4768) + yyv4759 = make([]EndpointPort, yyrl4759) } } else { - yyv4768 = make([]EndpointPort, yyrl4768) + yyv4759 = make([]EndpointPort, yyrl4759) } - yyc4768 = true - yyrr4768 = len(yyv4768) - if yyrg4768 { - copy(yyv4768, yyv24768) + yyc4759 = true + yyrr4759 = len(yyv4759) + if yyrg4759 { + copy(yyv4759, yyv24759) } - } else if yyl4768 != len(yyv4768) { - yyv4768 = yyv4768[:yyl4768] - yyc4768 = true + } else if yyl4759 != len(yyv4759) { + yyv4759 = yyv4759[:yyl4759] + yyc4759 = true } - yyj4768 := 0 - for ; yyj4768 < yyrr4768; yyj4768++ { - yyh4768.ElemContainerState(yyj4768) + yyj4759 := 0 + for ; yyj4759 < yyrr4759; yyj4759++ { + yyh4759.ElemContainerState(yyj4759) if r.TryDecodeAsNil() { - yyv4768[yyj4768] = EndpointPort{} + yyv4759[yyj4759] = EndpointPort{} } else { - yyv4769 := &yyv4768[yyj4768] - yyv4769.CodecDecodeSelf(d) + yyv4760 := &yyv4759[yyj4759] + yyv4760.CodecDecodeSelf(d) } } - if yyrt4768 { - for ; yyj4768 < yyl4768; yyj4768++ { - yyv4768 = append(yyv4768, EndpointPort{}) - yyh4768.ElemContainerState(yyj4768) + if yyrt4759 { + for ; yyj4759 < yyl4759; yyj4759++ { + yyv4759 = append(yyv4759, EndpointPort{}) + yyh4759.ElemContainerState(yyj4759) if r.TryDecodeAsNil() { - yyv4768[yyj4768] = EndpointPort{} + yyv4759[yyj4759] = EndpointPort{} } else { - yyv4770 := &yyv4768[yyj4768] - yyv4770.CodecDecodeSelf(d) + yyv4761 := &yyv4759[yyj4759] + yyv4761.CodecDecodeSelf(d) } } } } else { - yyj4768 := 0 - for ; !r.CheckBreak(); yyj4768++ { + yyj4759 := 0 + for ; !r.CheckBreak(); yyj4759++ { - if yyj4768 >= len(yyv4768) { - yyv4768 = append(yyv4768, EndpointPort{}) // var yyz4768 EndpointPort - yyc4768 = true + if yyj4759 >= len(yyv4759) { + yyv4759 = append(yyv4759, EndpointPort{}) // var yyz4759 EndpointPort + yyc4759 = true } - yyh4768.ElemContainerState(yyj4768) - if yyj4768 < len(yyv4768) { + yyh4759.ElemContainerState(yyj4759) + if yyj4759 < len(yyv4759) { if r.TryDecodeAsNil() { - yyv4768[yyj4768] = EndpointPort{} + yyv4759[yyj4759] = EndpointPort{} } else { - yyv4771 := &yyv4768[yyj4768] - yyv4771.CodecDecodeSelf(d) + yyv4762 := &yyv4759[yyj4759] + yyv4762.CodecDecodeSelf(d) } } else { @@ -60600,17 +60518,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj4768 < len(yyv4768) { - yyv4768 = yyv4768[:yyj4768] - yyc4768 = true - } else if yyj4768 == 0 && yyv4768 == nil { - yyv4768 = []EndpointPort{} - yyc4768 = true + if yyj4759 < len(yyv4759) { + yyv4759 = yyv4759[:yyj4759] + yyc4759 = true + } else if yyj4759 == 0 && yyv4759 == nil { + yyv4759 = []EndpointPort{} + yyc4759 = true } } - yyh4768.End() - if yyc4768 { - *v = yyv4768 + yyh4759.End() + if yyc4759 { + *v = yyv4759 } } @@ -60619,10 +60537,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4772 := range v { + for _, yyv4763 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4773 := &yyv4772 - yy4773.CodecEncodeSelf(e) + yy4764 := &yyv4763 + yy4764.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60632,83 +60550,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4774 := *v - yyh4774, yyl4774 := z.DecSliceHelperStart() - var yyc4774 bool - if yyl4774 == 0 { - if yyv4774 == nil { - yyv4774 = []Endpoints{} - yyc4774 = true - } else if len(yyv4774) != 0 { - yyv4774 = yyv4774[:0] - yyc4774 = true + yyv4765 := *v + yyh4765, yyl4765 := z.DecSliceHelperStart() + var yyc4765 bool + if yyl4765 == 0 { + if yyv4765 == nil { + yyv4765 = []Endpoints{} + yyc4765 = true + } else if len(yyv4765) != 0 { + yyv4765 = yyv4765[:0] + yyc4765 = true } - } else if yyl4774 > 0 { - var yyrr4774, yyrl4774 int - var yyrt4774 bool - if yyl4774 > cap(yyv4774) { + } else if yyl4765 > 0 { + var yyrr4765, yyrl4765 int + var yyrt4765 bool + if yyl4765 > cap(yyv4765) { - yyrg4774 := len(yyv4774) > 0 - yyv24774 := yyv4774 - yyrl4774, yyrt4774 = z.DecInferLen(yyl4774, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4774 { - if yyrl4774 <= cap(yyv4774) { - yyv4774 = yyv4774[:yyrl4774] + yyrg4765 := len(yyv4765) > 0 + yyv24765 := yyv4765 + yyrl4765, yyrt4765 = z.DecInferLen(yyl4765, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4765 { + if yyrl4765 <= cap(yyv4765) { + yyv4765 = yyv4765[:yyrl4765] } else { - yyv4774 = make([]Endpoints, yyrl4774) + yyv4765 = make([]Endpoints, yyrl4765) } } else { - yyv4774 = make([]Endpoints, yyrl4774) + yyv4765 = make([]Endpoints, yyrl4765) } - yyc4774 = true - yyrr4774 = len(yyv4774) - if yyrg4774 { - copy(yyv4774, yyv24774) + yyc4765 = true + yyrr4765 = len(yyv4765) + if yyrg4765 { + copy(yyv4765, yyv24765) } - } else if yyl4774 != len(yyv4774) { - yyv4774 = yyv4774[:yyl4774] - yyc4774 = true + } else if yyl4765 != len(yyv4765) { + yyv4765 = yyv4765[:yyl4765] + yyc4765 = true } - yyj4774 := 0 - for ; yyj4774 < yyrr4774; yyj4774++ { - yyh4774.ElemContainerState(yyj4774) + yyj4765 := 0 + for ; yyj4765 < yyrr4765; yyj4765++ { + yyh4765.ElemContainerState(yyj4765) if r.TryDecodeAsNil() { - yyv4774[yyj4774] = Endpoints{} + yyv4765[yyj4765] = Endpoints{} } else { - yyv4775 := &yyv4774[yyj4774] - yyv4775.CodecDecodeSelf(d) + yyv4766 := &yyv4765[yyj4765] + yyv4766.CodecDecodeSelf(d) } } - if yyrt4774 { - for ; yyj4774 < yyl4774; yyj4774++ { - yyv4774 = append(yyv4774, Endpoints{}) - yyh4774.ElemContainerState(yyj4774) + if yyrt4765 { + for ; yyj4765 < yyl4765; yyj4765++ { + yyv4765 = append(yyv4765, Endpoints{}) + yyh4765.ElemContainerState(yyj4765) if r.TryDecodeAsNil() { - yyv4774[yyj4774] = Endpoints{} + yyv4765[yyj4765] = Endpoints{} } else { - yyv4776 := &yyv4774[yyj4774] - yyv4776.CodecDecodeSelf(d) + yyv4767 := &yyv4765[yyj4765] + yyv4767.CodecDecodeSelf(d) } } } } else { - yyj4774 := 0 - for ; !r.CheckBreak(); yyj4774++ { + yyj4765 := 0 + for ; !r.CheckBreak(); yyj4765++ { - if yyj4774 >= len(yyv4774) { - yyv4774 = append(yyv4774, Endpoints{}) // var yyz4774 Endpoints - yyc4774 = true + if yyj4765 >= len(yyv4765) { + yyv4765 = append(yyv4765, Endpoints{}) // var yyz4765 Endpoints + yyc4765 = true } - yyh4774.ElemContainerState(yyj4774) - if yyj4774 < len(yyv4774) { + yyh4765.ElemContainerState(yyj4765) + if yyj4765 < len(yyv4765) { if r.TryDecodeAsNil() { - yyv4774[yyj4774] = Endpoints{} + yyv4765[yyj4765] = Endpoints{} } else { - yyv4777 := &yyv4774[yyj4774] - yyv4777.CodecDecodeSelf(d) + yyv4768 := &yyv4765[yyj4765] + yyv4768.CodecDecodeSelf(d) } } else { @@ -60716,17 +60634,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj4774 < len(yyv4774) { - yyv4774 = yyv4774[:yyj4774] - yyc4774 = true - } else if yyj4774 == 0 && yyv4774 == nil { - yyv4774 = []Endpoints{} - yyc4774 = true + if yyj4765 < len(yyv4765) { + yyv4765 = yyv4765[:yyj4765] + yyc4765 = true + } else if yyj4765 == 0 && yyv4765 == nil { + yyv4765 = []Endpoints{} + yyc4765 = true } } - yyh4774.End() - if yyc4774 { - *v = yyv4774 + yyh4765.End() + if yyc4765 { + *v = yyv4765 } } @@ -60735,10 +60653,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4778 := range v { + for _, yyv4769 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4779 := &yyv4778 - yy4779.CodecEncodeSelf(e) + yy4770 := &yyv4769 + yy4770.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60748,83 +60666,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4780 := *v - yyh4780, yyl4780 := z.DecSliceHelperStart() - var yyc4780 bool - if yyl4780 == 0 { - if yyv4780 == nil { - yyv4780 = []NodeCondition{} - yyc4780 = true - } else if len(yyv4780) != 0 { - yyv4780 = yyv4780[:0] - yyc4780 = true + yyv4771 := *v + yyh4771, yyl4771 := z.DecSliceHelperStart() + var yyc4771 bool + if yyl4771 == 0 { + if yyv4771 == nil { + yyv4771 = []NodeCondition{} + yyc4771 = true + } else if len(yyv4771) != 0 { + yyv4771 = yyv4771[:0] + yyc4771 = true } - } else if yyl4780 > 0 { - var yyrr4780, yyrl4780 int - var yyrt4780 bool - if yyl4780 > cap(yyv4780) { + } else if yyl4771 > 0 { + var yyrr4771, yyrl4771 int + var yyrt4771 bool + if yyl4771 > cap(yyv4771) { - yyrg4780 := len(yyv4780) > 0 - yyv24780 := yyv4780 - yyrl4780, yyrt4780 = z.DecInferLen(yyl4780, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4780 { - if yyrl4780 <= cap(yyv4780) { - yyv4780 = yyv4780[:yyrl4780] + yyrg4771 := len(yyv4771) > 0 + yyv24771 := yyv4771 + yyrl4771, yyrt4771 = z.DecInferLen(yyl4771, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4771 { + if yyrl4771 <= cap(yyv4771) { + yyv4771 = yyv4771[:yyrl4771] } else { - yyv4780 = make([]NodeCondition, yyrl4780) + yyv4771 = make([]NodeCondition, yyrl4771) } } else { - yyv4780 = make([]NodeCondition, yyrl4780) + yyv4771 = make([]NodeCondition, yyrl4771) } - yyc4780 = true - yyrr4780 = len(yyv4780) - if yyrg4780 { - copy(yyv4780, yyv24780) + yyc4771 = true + yyrr4771 = len(yyv4771) + if yyrg4771 { + copy(yyv4771, yyv24771) } - } else if yyl4780 != len(yyv4780) { - yyv4780 = yyv4780[:yyl4780] - yyc4780 = true + } else if yyl4771 != len(yyv4771) { + yyv4771 = yyv4771[:yyl4771] + yyc4771 = true } - yyj4780 := 0 - for ; yyj4780 < yyrr4780; yyj4780++ { - yyh4780.ElemContainerState(yyj4780) + yyj4771 := 0 + for ; yyj4771 < yyrr4771; yyj4771++ { + yyh4771.ElemContainerState(yyj4771) if r.TryDecodeAsNil() { - yyv4780[yyj4780] = NodeCondition{} + yyv4771[yyj4771] = NodeCondition{} } else { - yyv4781 := &yyv4780[yyj4780] - yyv4781.CodecDecodeSelf(d) + yyv4772 := &yyv4771[yyj4771] + yyv4772.CodecDecodeSelf(d) } } - if yyrt4780 { - for ; yyj4780 < yyl4780; yyj4780++ { - yyv4780 = append(yyv4780, NodeCondition{}) - yyh4780.ElemContainerState(yyj4780) + if yyrt4771 { + for ; yyj4771 < yyl4771; yyj4771++ { + yyv4771 = append(yyv4771, NodeCondition{}) + yyh4771.ElemContainerState(yyj4771) if r.TryDecodeAsNil() { - yyv4780[yyj4780] = NodeCondition{} + yyv4771[yyj4771] = NodeCondition{} } else { - yyv4782 := &yyv4780[yyj4780] - yyv4782.CodecDecodeSelf(d) + yyv4773 := &yyv4771[yyj4771] + yyv4773.CodecDecodeSelf(d) } } } } else { - yyj4780 := 0 - for ; !r.CheckBreak(); yyj4780++ { + yyj4771 := 0 + for ; !r.CheckBreak(); yyj4771++ { - if yyj4780 >= len(yyv4780) { - yyv4780 = append(yyv4780, NodeCondition{}) // var yyz4780 NodeCondition - yyc4780 = true + if yyj4771 >= len(yyv4771) { + yyv4771 = append(yyv4771, NodeCondition{}) // var yyz4771 NodeCondition + yyc4771 = true } - yyh4780.ElemContainerState(yyj4780) - if yyj4780 < len(yyv4780) { + yyh4771.ElemContainerState(yyj4771) + if yyj4771 < len(yyv4771) { if r.TryDecodeAsNil() { - yyv4780[yyj4780] = NodeCondition{} + yyv4771[yyj4771] = NodeCondition{} } else { - yyv4783 := &yyv4780[yyj4780] - yyv4783.CodecDecodeSelf(d) + yyv4774 := &yyv4771[yyj4771] + yyv4774.CodecDecodeSelf(d) } } else { @@ -60832,17 +60750,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj4780 < len(yyv4780) { - yyv4780 = yyv4780[:yyj4780] - yyc4780 = true - } else if yyj4780 == 0 && yyv4780 == nil { - yyv4780 = []NodeCondition{} - yyc4780 = true + if yyj4771 < len(yyv4771) { + yyv4771 = yyv4771[:yyj4771] + yyc4771 = true + } else if yyj4771 == 0 && yyv4771 == nil { + yyv4771 = []NodeCondition{} + yyc4771 = true } } - yyh4780.End() - if yyc4780 { - *v = yyv4780 + yyh4771.End() + if yyc4771 { + *v = yyv4771 } } @@ -60851,10 +60769,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4784 := range v { + for _, yyv4775 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4785 := &yyv4784 - yy4785.CodecEncodeSelf(e) + yy4776 := &yyv4775 + yy4776.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60864,83 +60782,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4786 := *v - yyh4786, yyl4786 := z.DecSliceHelperStart() - var yyc4786 bool - if yyl4786 == 0 { - if yyv4786 == nil { - yyv4786 = []NodeAddress{} - yyc4786 = true - } else if len(yyv4786) != 0 { - yyv4786 = yyv4786[:0] - yyc4786 = true + yyv4777 := *v + yyh4777, yyl4777 := z.DecSliceHelperStart() + var yyc4777 bool + if yyl4777 == 0 { + if yyv4777 == nil { + yyv4777 = []NodeAddress{} + yyc4777 = true + } else if len(yyv4777) != 0 { + yyv4777 = yyv4777[:0] + yyc4777 = true } - } else if yyl4786 > 0 { - var yyrr4786, yyrl4786 int - var yyrt4786 bool - if yyl4786 > cap(yyv4786) { + } else if yyl4777 > 0 { + var yyrr4777, yyrl4777 int + var yyrt4777 bool + if yyl4777 > cap(yyv4777) { - yyrg4786 := len(yyv4786) > 0 - yyv24786 := yyv4786 - yyrl4786, yyrt4786 = z.DecInferLen(yyl4786, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4786 { - if yyrl4786 <= cap(yyv4786) { - yyv4786 = yyv4786[:yyrl4786] + yyrg4777 := len(yyv4777) > 0 + yyv24777 := yyv4777 + yyrl4777, yyrt4777 = z.DecInferLen(yyl4777, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4777 { + if yyrl4777 <= cap(yyv4777) { + yyv4777 = yyv4777[:yyrl4777] } else { - yyv4786 = make([]NodeAddress, yyrl4786) + yyv4777 = make([]NodeAddress, yyrl4777) } } else { - yyv4786 = make([]NodeAddress, yyrl4786) + yyv4777 = make([]NodeAddress, yyrl4777) } - yyc4786 = true - yyrr4786 = len(yyv4786) - if yyrg4786 { - copy(yyv4786, yyv24786) + yyc4777 = true + yyrr4777 = len(yyv4777) + if yyrg4777 { + copy(yyv4777, yyv24777) } - } else if yyl4786 != len(yyv4786) { - yyv4786 = yyv4786[:yyl4786] - yyc4786 = true + } else if yyl4777 != len(yyv4777) { + yyv4777 = yyv4777[:yyl4777] + yyc4777 = true } - yyj4786 := 0 - for ; yyj4786 < yyrr4786; yyj4786++ { - yyh4786.ElemContainerState(yyj4786) + yyj4777 := 0 + for ; yyj4777 < yyrr4777; yyj4777++ { + yyh4777.ElemContainerState(yyj4777) if r.TryDecodeAsNil() { - yyv4786[yyj4786] = NodeAddress{} + yyv4777[yyj4777] = NodeAddress{} } else { - yyv4787 := &yyv4786[yyj4786] - yyv4787.CodecDecodeSelf(d) + yyv4778 := &yyv4777[yyj4777] + yyv4778.CodecDecodeSelf(d) } } - if yyrt4786 { - for ; yyj4786 < yyl4786; yyj4786++ { - yyv4786 = append(yyv4786, NodeAddress{}) - yyh4786.ElemContainerState(yyj4786) + if yyrt4777 { + for ; yyj4777 < yyl4777; yyj4777++ { + yyv4777 = append(yyv4777, NodeAddress{}) + yyh4777.ElemContainerState(yyj4777) if r.TryDecodeAsNil() { - yyv4786[yyj4786] = NodeAddress{} + yyv4777[yyj4777] = NodeAddress{} } else { - yyv4788 := &yyv4786[yyj4786] - yyv4788.CodecDecodeSelf(d) + yyv4779 := &yyv4777[yyj4777] + yyv4779.CodecDecodeSelf(d) } } } } else { - yyj4786 := 0 - for ; !r.CheckBreak(); yyj4786++ { + yyj4777 := 0 + for ; !r.CheckBreak(); yyj4777++ { - if yyj4786 >= len(yyv4786) { - yyv4786 = append(yyv4786, NodeAddress{}) // var yyz4786 NodeAddress - yyc4786 = true + if yyj4777 >= len(yyv4777) { + yyv4777 = append(yyv4777, NodeAddress{}) // var yyz4777 NodeAddress + yyc4777 = true } - yyh4786.ElemContainerState(yyj4786) - if yyj4786 < len(yyv4786) { + yyh4777.ElemContainerState(yyj4777) + if yyj4777 < len(yyv4777) { if r.TryDecodeAsNil() { - yyv4786[yyj4786] = NodeAddress{} + yyv4777[yyj4777] = NodeAddress{} } else { - yyv4789 := &yyv4786[yyj4786] - yyv4789.CodecDecodeSelf(d) + yyv4780 := &yyv4777[yyj4777] + yyv4780.CodecDecodeSelf(d) } } else { @@ -60948,17 +60866,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj4786 < len(yyv4786) { - yyv4786 = yyv4786[:yyj4786] - yyc4786 = true - } else if yyj4786 == 0 && yyv4786 == nil { - yyv4786 = []NodeAddress{} - yyc4786 = true + if yyj4777 < len(yyv4777) { + yyv4777 = yyv4777[:yyj4777] + yyc4777 = true + } else if yyj4777 == 0 && yyv4777 == nil { + yyv4777 = []NodeAddress{} + yyc4777 = true } } - yyh4786.End() - if yyc4786 { - *v = yyv4786 + yyh4777.End() + if yyc4777 { + *v = yyv4777 } } @@ -60967,10 +60885,10 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4790 := range v { + for _, yyv4781 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4791 := &yyv4790 - yy4791.CodecEncodeSelf(e) + yy4782 := &yyv4781 + yy4782.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60980,83 +60898,83 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4792 := *v - yyh4792, yyl4792 := z.DecSliceHelperStart() - var yyc4792 bool - if yyl4792 == 0 { - if yyv4792 == nil { - yyv4792 = []ContainerImage{} - yyc4792 = true - } else if len(yyv4792) != 0 { - yyv4792 = yyv4792[:0] - yyc4792 = true + yyv4783 := *v + yyh4783, yyl4783 := z.DecSliceHelperStart() + var yyc4783 bool + if yyl4783 == 0 { + if yyv4783 == nil { + yyv4783 = []ContainerImage{} + yyc4783 = true + } else if len(yyv4783) != 0 { + yyv4783 = yyv4783[:0] + yyc4783 = true } - } else if yyl4792 > 0 { - var yyrr4792, yyrl4792 int - var yyrt4792 bool - if yyl4792 > cap(yyv4792) { + } else if yyl4783 > 0 { + var yyrr4783, yyrl4783 int + var yyrt4783 bool + if yyl4783 > cap(yyv4783) { - yyrg4792 := len(yyv4792) > 0 - yyv24792 := yyv4792 - yyrl4792, yyrt4792 = z.DecInferLen(yyl4792, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4792 { - if yyrl4792 <= cap(yyv4792) { - yyv4792 = yyv4792[:yyrl4792] + yyrg4783 := len(yyv4783) > 0 + yyv24783 := yyv4783 + yyrl4783, yyrt4783 = z.DecInferLen(yyl4783, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4783 { + if yyrl4783 <= cap(yyv4783) { + yyv4783 = yyv4783[:yyrl4783] } else { - yyv4792 = make([]ContainerImage, yyrl4792) + yyv4783 = make([]ContainerImage, yyrl4783) } } else { - yyv4792 = make([]ContainerImage, yyrl4792) + yyv4783 = make([]ContainerImage, yyrl4783) } - yyc4792 = true - yyrr4792 = len(yyv4792) - if yyrg4792 { - copy(yyv4792, yyv24792) + yyc4783 = true + yyrr4783 = len(yyv4783) + if yyrg4783 { + copy(yyv4783, yyv24783) } - } else if yyl4792 != len(yyv4792) { - yyv4792 = yyv4792[:yyl4792] - yyc4792 = true + } else if yyl4783 != len(yyv4783) { + yyv4783 = yyv4783[:yyl4783] + yyc4783 = true } - yyj4792 := 0 - for ; yyj4792 < yyrr4792; yyj4792++ { - yyh4792.ElemContainerState(yyj4792) + yyj4783 := 0 + for ; yyj4783 < yyrr4783; yyj4783++ { + yyh4783.ElemContainerState(yyj4783) if r.TryDecodeAsNil() { - yyv4792[yyj4792] = ContainerImage{} + yyv4783[yyj4783] = ContainerImage{} } else { - yyv4793 := &yyv4792[yyj4792] - yyv4793.CodecDecodeSelf(d) + yyv4784 := &yyv4783[yyj4783] + yyv4784.CodecDecodeSelf(d) } } - if yyrt4792 { - for ; yyj4792 < yyl4792; yyj4792++ { - yyv4792 = append(yyv4792, ContainerImage{}) - yyh4792.ElemContainerState(yyj4792) + if yyrt4783 { + for ; yyj4783 < yyl4783; yyj4783++ { + yyv4783 = append(yyv4783, ContainerImage{}) + yyh4783.ElemContainerState(yyj4783) if r.TryDecodeAsNil() { - yyv4792[yyj4792] = ContainerImage{} + yyv4783[yyj4783] = ContainerImage{} } else { - yyv4794 := &yyv4792[yyj4792] - yyv4794.CodecDecodeSelf(d) + yyv4785 := &yyv4783[yyj4783] + yyv4785.CodecDecodeSelf(d) } } } } else { - yyj4792 := 0 - for ; !r.CheckBreak(); yyj4792++ { + yyj4783 := 0 + for ; !r.CheckBreak(); yyj4783++ { - if yyj4792 >= len(yyv4792) { - yyv4792 = append(yyv4792, ContainerImage{}) // var yyz4792 ContainerImage - yyc4792 = true + if yyj4783 >= len(yyv4783) { + yyv4783 = append(yyv4783, ContainerImage{}) // var yyz4783 ContainerImage + yyc4783 = true } - yyh4792.ElemContainerState(yyj4792) - if yyj4792 < len(yyv4792) { + yyh4783.ElemContainerState(yyj4783) + if yyj4783 < len(yyv4783) { if r.TryDecodeAsNil() { - yyv4792[yyj4792] = ContainerImage{} + yyv4783[yyj4783] = ContainerImage{} } else { - yyv4795 := &yyv4792[yyj4792] - yyv4795.CodecDecodeSelf(d) + yyv4786 := &yyv4783[yyj4783] + yyv4786.CodecDecodeSelf(d) } } else { @@ -61064,17 +60982,17 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } - if yyj4792 < len(yyv4792) { - yyv4792 = yyv4792[:yyj4792] - yyc4792 = true - } else if yyj4792 == 0 && yyv4792 == nil { - yyv4792 = []ContainerImage{} - yyc4792 = true + if yyj4783 < len(yyv4783) { + yyv4783 = yyv4783[:yyj4783] + yyc4783 = true + } else if yyj4783 == 0 && yyv4783 == nil { + yyv4783 = []ContainerImage{} + yyc4783 = true } } - yyh4792.End() - if yyc4792 { - *v = yyv4792 + yyh4783.End() + if yyc4783 { + *v = yyv4783 } } @@ -61083,9 +61001,9 @@ func (x codecSelfer1234) encSliceUniqueVolumeName(v []UniqueVolumeName, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4796 := range v { + for _, yyv4787 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4796.CodecEncodeSelf(e) + yyv4787.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61095,75 +61013,75 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4797 := *v - yyh4797, yyl4797 := z.DecSliceHelperStart() - var yyc4797 bool - if yyl4797 == 0 { - if yyv4797 == nil { - yyv4797 = []UniqueVolumeName{} - yyc4797 = true - } else if len(yyv4797) != 0 { - yyv4797 = yyv4797[:0] - yyc4797 = true + yyv4788 := *v + yyh4788, yyl4788 := z.DecSliceHelperStart() + var yyc4788 bool + if yyl4788 == 0 { + if yyv4788 == nil { + yyv4788 = []UniqueVolumeName{} + yyc4788 = true + } else if len(yyv4788) != 0 { + yyv4788 = yyv4788[:0] + yyc4788 = true } - } else if yyl4797 > 0 { - var yyrr4797, yyrl4797 int - var yyrt4797 bool - if yyl4797 > cap(yyv4797) { + } else if yyl4788 > 0 { + var yyrr4788, yyrl4788 int + var yyrt4788 bool + if yyl4788 > cap(yyv4788) { - yyrl4797, yyrt4797 = z.DecInferLen(yyl4797, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4797 { - if yyrl4797 <= cap(yyv4797) { - yyv4797 = yyv4797[:yyrl4797] + yyrl4788, yyrt4788 = z.DecInferLen(yyl4788, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4788 { + if yyrl4788 <= cap(yyv4788) { + yyv4788 = yyv4788[:yyrl4788] } else { - yyv4797 = make([]UniqueVolumeName, yyrl4797) + yyv4788 = make([]UniqueVolumeName, yyrl4788) } } else { - yyv4797 = make([]UniqueVolumeName, yyrl4797) + yyv4788 = make([]UniqueVolumeName, yyrl4788) } - yyc4797 = true - yyrr4797 = len(yyv4797) - } else if yyl4797 != len(yyv4797) { - yyv4797 = yyv4797[:yyl4797] - yyc4797 = true + yyc4788 = true + yyrr4788 = len(yyv4788) + } else if yyl4788 != len(yyv4788) { + yyv4788 = yyv4788[:yyl4788] + yyc4788 = true } - yyj4797 := 0 - for ; yyj4797 < yyrr4797; yyj4797++ { - yyh4797.ElemContainerState(yyj4797) + yyj4788 := 0 + for ; yyj4788 < yyrr4788; yyj4788++ { + yyh4788.ElemContainerState(yyj4788) if r.TryDecodeAsNil() { - yyv4797[yyj4797] = "" + yyv4788[yyj4788] = "" } else { - yyv4797[yyj4797] = UniqueVolumeName(r.DecodeString()) + yyv4788[yyj4788] = UniqueVolumeName(r.DecodeString()) } } - if yyrt4797 { - for ; yyj4797 < yyl4797; yyj4797++ { - yyv4797 = append(yyv4797, "") - yyh4797.ElemContainerState(yyj4797) + if yyrt4788 { + for ; yyj4788 < yyl4788; yyj4788++ { + yyv4788 = append(yyv4788, "") + yyh4788.ElemContainerState(yyj4788) if r.TryDecodeAsNil() { - yyv4797[yyj4797] = "" + yyv4788[yyj4788] = "" } else { - yyv4797[yyj4797] = UniqueVolumeName(r.DecodeString()) + yyv4788[yyj4788] = UniqueVolumeName(r.DecodeString()) } } } } else { - yyj4797 := 0 - for ; !r.CheckBreak(); yyj4797++ { + yyj4788 := 0 + for ; !r.CheckBreak(); yyj4788++ { - if yyj4797 >= len(yyv4797) { - yyv4797 = append(yyv4797, "") // var yyz4797 UniqueVolumeName - yyc4797 = true + if yyj4788 >= len(yyv4788) { + yyv4788 = append(yyv4788, "") // var yyz4788 UniqueVolumeName + yyc4788 = true } - yyh4797.ElemContainerState(yyj4797) - if yyj4797 < len(yyv4797) { + yyh4788.ElemContainerState(yyj4788) + if yyj4788 < len(yyv4788) { if r.TryDecodeAsNil() { - yyv4797[yyj4797] = "" + yyv4788[yyj4788] = "" } else { - yyv4797[yyj4797] = UniqueVolumeName(r.DecodeString()) + yyv4788[yyj4788] = UniqueVolumeName(r.DecodeString()) } } else { @@ -61171,17 +61089,17 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code } } - if yyj4797 < len(yyv4797) { - yyv4797 = yyv4797[:yyj4797] - yyc4797 = true - } else if yyj4797 == 0 && yyv4797 == nil { - yyv4797 = []UniqueVolumeName{} - yyc4797 = true + if yyj4788 < len(yyv4788) { + yyv4788 = yyv4788[:yyj4788] + yyc4788 = true + } else if yyj4788 == 0 && yyv4788 == nil { + yyv4788 = []UniqueVolumeName{} + yyc4788 = true } } - yyh4797.End() - if yyc4797 { - *v = yyv4797 + yyh4788.End() + if yyc4788 { + *v = yyv4788 } } @@ -61190,10 +61108,10 @@ func (x codecSelfer1234) encSliceAttachedVolume(v []AttachedVolume, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4801 := range v { + for _, yyv4792 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4802 := &yyv4801 - yy4802.CodecEncodeSelf(e) + yy4793 := &yyv4792 + yy4793.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61203,83 +61121,83 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4803 := *v - yyh4803, yyl4803 := z.DecSliceHelperStart() - var yyc4803 bool - if yyl4803 == 0 { - if yyv4803 == nil { - yyv4803 = []AttachedVolume{} - yyc4803 = true - } else if len(yyv4803) != 0 { - yyv4803 = yyv4803[:0] - yyc4803 = true + yyv4794 := *v + yyh4794, yyl4794 := z.DecSliceHelperStart() + var yyc4794 bool + if yyl4794 == 0 { + if yyv4794 == nil { + yyv4794 = []AttachedVolume{} + yyc4794 = true + } else if len(yyv4794) != 0 { + yyv4794 = yyv4794[:0] + yyc4794 = true } - } else if yyl4803 > 0 { - var yyrr4803, yyrl4803 int - var yyrt4803 bool - if yyl4803 > cap(yyv4803) { + } else if yyl4794 > 0 { + var yyrr4794, yyrl4794 int + var yyrt4794 bool + if yyl4794 > cap(yyv4794) { - yyrg4803 := len(yyv4803) > 0 - yyv24803 := yyv4803 - yyrl4803, yyrt4803 = z.DecInferLen(yyl4803, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4803 { - if yyrl4803 <= cap(yyv4803) { - yyv4803 = yyv4803[:yyrl4803] + yyrg4794 := len(yyv4794) > 0 + yyv24794 := yyv4794 + yyrl4794, yyrt4794 = z.DecInferLen(yyl4794, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4794 { + if yyrl4794 <= cap(yyv4794) { + yyv4794 = yyv4794[:yyrl4794] } else { - yyv4803 = make([]AttachedVolume, yyrl4803) + yyv4794 = make([]AttachedVolume, yyrl4794) } } else { - yyv4803 = make([]AttachedVolume, yyrl4803) + yyv4794 = make([]AttachedVolume, yyrl4794) } - yyc4803 = true - yyrr4803 = len(yyv4803) - if yyrg4803 { - copy(yyv4803, yyv24803) + yyc4794 = true + yyrr4794 = len(yyv4794) + if yyrg4794 { + copy(yyv4794, yyv24794) } - } else if yyl4803 != len(yyv4803) { - yyv4803 = yyv4803[:yyl4803] - yyc4803 = true + } else if yyl4794 != len(yyv4794) { + yyv4794 = yyv4794[:yyl4794] + yyc4794 = true } - yyj4803 := 0 - for ; yyj4803 < yyrr4803; yyj4803++ { - yyh4803.ElemContainerState(yyj4803) + yyj4794 := 0 + for ; yyj4794 < yyrr4794; yyj4794++ { + yyh4794.ElemContainerState(yyj4794) if r.TryDecodeAsNil() { - yyv4803[yyj4803] = AttachedVolume{} + yyv4794[yyj4794] = AttachedVolume{} } else { - yyv4804 := &yyv4803[yyj4803] - yyv4804.CodecDecodeSelf(d) + yyv4795 := &yyv4794[yyj4794] + yyv4795.CodecDecodeSelf(d) } } - if yyrt4803 { - for ; yyj4803 < yyl4803; yyj4803++ { - yyv4803 = append(yyv4803, AttachedVolume{}) - yyh4803.ElemContainerState(yyj4803) + if yyrt4794 { + for ; yyj4794 < yyl4794; yyj4794++ { + yyv4794 = append(yyv4794, AttachedVolume{}) + yyh4794.ElemContainerState(yyj4794) if r.TryDecodeAsNil() { - yyv4803[yyj4803] = AttachedVolume{} + yyv4794[yyj4794] = AttachedVolume{} } else { - yyv4805 := &yyv4803[yyj4803] - yyv4805.CodecDecodeSelf(d) + yyv4796 := &yyv4794[yyj4794] + yyv4796.CodecDecodeSelf(d) } } } } else { - yyj4803 := 0 - for ; !r.CheckBreak(); yyj4803++ { + yyj4794 := 0 + for ; !r.CheckBreak(); yyj4794++ { - if yyj4803 >= len(yyv4803) { - yyv4803 = append(yyv4803, AttachedVolume{}) // var yyz4803 AttachedVolume - yyc4803 = true + if yyj4794 >= len(yyv4794) { + yyv4794 = append(yyv4794, AttachedVolume{}) // var yyz4794 AttachedVolume + yyc4794 = true } - yyh4803.ElemContainerState(yyj4803) - if yyj4803 < len(yyv4803) { + yyh4794.ElemContainerState(yyj4794) + if yyj4794 < len(yyv4794) { if r.TryDecodeAsNil() { - yyv4803[yyj4803] = AttachedVolume{} + yyv4794[yyj4794] = AttachedVolume{} } else { - yyv4806 := &yyv4803[yyj4803] - yyv4806.CodecDecodeSelf(d) + yyv4797 := &yyv4794[yyj4794] + yyv4797.CodecDecodeSelf(d) } } else { @@ -61287,17 +61205,17 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 } } - if yyj4803 < len(yyv4803) { - yyv4803 = yyv4803[:yyj4803] - yyc4803 = true - } else if yyj4803 == 0 && yyv4803 == nil { - yyv4803 = []AttachedVolume{} - yyc4803 = true + if yyj4794 < len(yyv4794) { + yyv4794 = yyv4794[:yyj4794] + yyc4794 = true + } else if yyj4794 == 0 && yyv4794 == nil { + yyv4794 = []AttachedVolume{} + yyc4794 = true } } - yyh4803.End() - if yyc4803 { - *v = yyv4803 + yyh4794.End() + if yyc4794 { + *v = yyv4794 } } @@ -61306,10 +61224,10 @@ func (x codecSelfer1234) encSlicePreferAvoidPodsEntry(v []PreferAvoidPodsEntry, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4807 := range v { + for _, yyv4798 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4808 := &yyv4807 - yy4808.CodecEncodeSelf(e) + yy4799 := &yyv4798 + yy4799.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61319,83 +61237,83 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4809 := *v - yyh4809, yyl4809 := z.DecSliceHelperStart() - var yyc4809 bool - if yyl4809 == 0 { - if yyv4809 == nil { - yyv4809 = []PreferAvoidPodsEntry{} - yyc4809 = true - } else if len(yyv4809) != 0 { - yyv4809 = yyv4809[:0] - yyc4809 = true + yyv4800 := *v + yyh4800, yyl4800 := z.DecSliceHelperStart() + var yyc4800 bool + if yyl4800 == 0 { + if yyv4800 == nil { + yyv4800 = []PreferAvoidPodsEntry{} + yyc4800 = true + } else if len(yyv4800) != 0 { + yyv4800 = yyv4800[:0] + yyc4800 = true } - } else if yyl4809 > 0 { - var yyrr4809, yyrl4809 int - var yyrt4809 bool - if yyl4809 > cap(yyv4809) { + } else if yyl4800 > 0 { + var yyrr4800, yyrl4800 int + var yyrt4800 bool + if yyl4800 > cap(yyv4800) { - yyrg4809 := len(yyv4809) > 0 - yyv24809 := yyv4809 - yyrl4809, yyrt4809 = z.DecInferLen(yyl4809, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4809 { - if yyrl4809 <= cap(yyv4809) { - yyv4809 = yyv4809[:yyrl4809] + yyrg4800 := len(yyv4800) > 0 + yyv24800 := yyv4800 + yyrl4800, yyrt4800 = z.DecInferLen(yyl4800, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4800 { + if yyrl4800 <= cap(yyv4800) { + yyv4800 = yyv4800[:yyrl4800] } else { - yyv4809 = make([]PreferAvoidPodsEntry, yyrl4809) + yyv4800 = make([]PreferAvoidPodsEntry, yyrl4800) } } else { - yyv4809 = make([]PreferAvoidPodsEntry, yyrl4809) + yyv4800 = make([]PreferAvoidPodsEntry, yyrl4800) } - yyc4809 = true - yyrr4809 = len(yyv4809) - if yyrg4809 { - copy(yyv4809, yyv24809) + yyc4800 = true + yyrr4800 = len(yyv4800) + if yyrg4800 { + copy(yyv4800, yyv24800) } - } else if yyl4809 != len(yyv4809) { - yyv4809 = yyv4809[:yyl4809] - yyc4809 = true + } else if yyl4800 != len(yyv4800) { + yyv4800 = yyv4800[:yyl4800] + yyc4800 = true } - yyj4809 := 0 - for ; yyj4809 < yyrr4809; yyj4809++ { - yyh4809.ElemContainerState(yyj4809) + yyj4800 := 0 + for ; yyj4800 < yyrr4800; yyj4800++ { + yyh4800.ElemContainerState(yyj4800) if r.TryDecodeAsNil() { - yyv4809[yyj4809] = PreferAvoidPodsEntry{} + yyv4800[yyj4800] = PreferAvoidPodsEntry{} } else { - yyv4810 := &yyv4809[yyj4809] - yyv4810.CodecDecodeSelf(d) + yyv4801 := &yyv4800[yyj4800] + yyv4801.CodecDecodeSelf(d) } } - if yyrt4809 { - for ; yyj4809 < yyl4809; yyj4809++ { - yyv4809 = append(yyv4809, PreferAvoidPodsEntry{}) - yyh4809.ElemContainerState(yyj4809) + if yyrt4800 { + for ; yyj4800 < yyl4800; yyj4800++ { + yyv4800 = append(yyv4800, PreferAvoidPodsEntry{}) + yyh4800.ElemContainerState(yyj4800) if r.TryDecodeAsNil() { - yyv4809[yyj4809] = PreferAvoidPodsEntry{} + yyv4800[yyj4800] = PreferAvoidPodsEntry{} } else { - yyv4811 := &yyv4809[yyj4809] - yyv4811.CodecDecodeSelf(d) + yyv4802 := &yyv4800[yyj4800] + yyv4802.CodecDecodeSelf(d) } } } } else { - yyj4809 := 0 - for ; !r.CheckBreak(); yyj4809++ { + yyj4800 := 0 + for ; !r.CheckBreak(); yyj4800++ { - if yyj4809 >= len(yyv4809) { - yyv4809 = append(yyv4809, PreferAvoidPodsEntry{}) // var yyz4809 PreferAvoidPodsEntry - yyc4809 = true + if yyj4800 >= len(yyv4800) { + yyv4800 = append(yyv4800, PreferAvoidPodsEntry{}) // var yyz4800 PreferAvoidPodsEntry + yyc4800 = true } - yyh4809.ElemContainerState(yyj4809) - if yyj4809 < len(yyv4809) { + yyh4800.ElemContainerState(yyj4800) + if yyj4800 < len(yyv4800) { if r.TryDecodeAsNil() { - yyv4809[yyj4809] = PreferAvoidPodsEntry{} + yyv4800[yyj4800] = PreferAvoidPodsEntry{} } else { - yyv4812 := &yyv4809[yyj4809] - yyv4812.CodecDecodeSelf(d) + yyv4803 := &yyv4800[yyj4800] + yyv4803.CodecDecodeSelf(d) } } else { @@ -61403,17 +61321,17 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, } } - if yyj4809 < len(yyv4809) { - yyv4809 = yyv4809[:yyj4809] - yyc4809 = true - } else if yyj4809 == 0 && yyv4809 == nil { - yyv4809 = []PreferAvoidPodsEntry{} - yyc4809 = true + if yyj4800 < len(yyv4800) { + yyv4800 = yyv4800[:yyj4800] + yyc4800 = true + } else if yyj4800 == 0 && yyv4800 == nil { + yyv4800 = []PreferAvoidPodsEntry{} + yyc4800 = true } } - yyh4809.End() - if yyc4809 { - *v = yyv4809 + yyh4800.End() + if yyc4800 { + *v = yyv4800 } } @@ -61422,19 +61340,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4813, yyv4813 := range v { + for yyk4804, yyv4804 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk4813.CodecEncodeSelf(e) + yyk4804.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4814 := &yyv4813 - yym4815 := z.EncBinary() - _ = yym4815 + yy4805 := &yyv4804 + yym4806 := z.EncBinary() + _ = yym4806 if false { - } else if z.HasExtensions() && z.EncExt(yy4814) { - } else if !yym4815 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4814) + } else if z.HasExtensions() && z.EncExt(yy4805) { + } else if !yym4806 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4805) } else { - z.EncFallback(yy4814) + z.EncFallback(yy4805) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -61445,86 +61363,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4816 := *v - yyl4816 := r.ReadMapStart() - yybh4816 := z.DecBasicHandle() - if yyv4816 == nil { - yyrl4816, _ := z.DecInferLen(yyl4816, yybh4816.MaxInitLen, 72) - yyv4816 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4816) - *v = yyv4816 + yyv4807 := *v + yyl4807 := r.ReadMapStart() + yybh4807 := z.DecBasicHandle() + if yyv4807 == nil { + yyrl4807, _ := z.DecInferLen(yyl4807, yybh4807.MaxInitLen, 72) + yyv4807 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4807) + *v = yyv4807 } - var yymk4816 ResourceName - var yymv4816 pkg3_resource.Quantity - var yymg4816 bool - if yybh4816.MapValueReset { - yymg4816 = true + var yymk4807 ResourceName + var yymv4807 pkg3_resource.Quantity + var yymg4807 bool + if yybh4807.MapValueReset { + yymg4807 = true } - if yyl4816 > 0 { - for yyj4816 := 0; yyj4816 < yyl4816; yyj4816++ { + if yyl4807 > 0 { + for yyj4807 := 0; yyj4807 < yyl4807; yyj4807++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4816 = "" + yymk4807 = "" } else { - yymk4816 = ResourceName(r.DecodeString()) + yymk4807 = ResourceName(r.DecodeString()) } - if yymg4816 { - yymv4816 = yyv4816[yymk4816] + if yymg4807 { + yymv4807 = yyv4807[yymk4807] } else { - yymv4816 = pkg3_resource.Quantity{} + yymv4807 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4816 = pkg3_resource.Quantity{} + yymv4807 = pkg3_resource.Quantity{} } else { - yyv4818 := &yymv4816 - yym4819 := z.DecBinary() - _ = yym4819 + yyv4809 := &yymv4807 + yym4810 := z.DecBinary() + _ = yym4810 if false { - } else if z.HasExtensions() && z.DecExt(yyv4818) { - } else if !yym4819 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4818) + } else if z.HasExtensions() && z.DecExt(yyv4809) { + } else if !yym4810 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4809) } else { - z.DecFallback(yyv4818, false) + z.DecFallback(yyv4809, false) } } - if yyv4816 != nil { - yyv4816[yymk4816] = yymv4816 + if yyv4807 != nil { + yyv4807[yymk4807] = yymv4807 } } - } else if yyl4816 < 0 { - for yyj4816 := 0; !r.CheckBreak(); yyj4816++ { + } else if yyl4807 < 0 { + for yyj4807 := 0; !r.CheckBreak(); yyj4807++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4816 = "" + yymk4807 = "" } else { - yymk4816 = ResourceName(r.DecodeString()) + yymk4807 = ResourceName(r.DecodeString()) } - if yymg4816 { - yymv4816 = yyv4816[yymk4816] + if yymg4807 { + yymv4807 = yyv4807[yymk4807] } else { - yymv4816 = pkg3_resource.Quantity{} + yymv4807 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4816 = pkg3_resource.Quantity{} + yymv4807 = pkg3_resource.Quantity{} } else { - yyv4821 := &yymv4816 - yym4822 := z.DecBinary() - _ = yym4822 + yyv4812 := &yymv4807 + yym4813 := z.DecBinary() + _ = yym4813 if false { - } else if z.HasExtensions() && z.DecExt(yyv4821) { - } else if !yym4822 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4821) + } else if z.HasExtensions() && z.DecExt(yyv4812) { + } else if !yym4813 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4812) } else { - z.DecFallback(yyv4821, false) + z.DecFallback(yyv4812, false) } } - if yyv4816 != nil { - yyv4816[yymk4816] = yymv4816 + if yyv4807 != nil { + yyv4807[yymk4807] = yymv4807 } } } // else len==0: TODO: Should we clear map entries? @@ -61536,10 +61454,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4823 := range v { + for _, yyv4814 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4824 := &yyv4823 - yy4824.CodecEncodeSelf(e) + yy4815 := &yyv4814 + yy4815.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61549,83 +61467,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4825 := *v - yyh4825, yyl4825 := z.DecSliceHelperStart() - var yyc4825 bool - if yyl4825 == 0 { - if yyv4825 == nil { - yyv4825 = []Node{} - yyc4825 = true - } else if len(yyv4825) != 0 { - yyv4825 = yyv4825[:0] - yyc4825 = true + yyv4816 := *v + yyh4816, yyl4816 := z.DecSliceHelperStart() + var yyc4816 bool + if yyl4816 == 0 { + if yyv4816 == nil { + yyv4816 = []Node{} + yyc4816 = true + } else if len(yyv4816) != 0 { + yyv4816 = yyv4816[:0] + yyc4816 = true } - } else if yyl4825 > 0 { - var yyrr4825, yyrl4825 int - var yyrt4825 bool - if yyl4825 > cap(yyv4825) { + } else if yyl4816 > 0 { + var yyrr4816, yyrl4816 int + var yyrt4816 bool + if yyl4816 > cap(yyv4816) { - yyrg4825 := len(yyv4825) > 0 - yyv24825 := yyv4825 - yyrl4825, yyrt4825 = z.DecInferLen(yyl4825, z.DecBasicHandle().MaxInitLen, 632) - if yyrt4825 { - if yyrl4825 <= cap(yyv4825) { - yyv4825 = yyv4825[:yyrl4825] + yyrg4816 := len(yyv4816) > 0 + yyv24816 := yyv4816 + yyrl4816, yyrt4816 = z.DecInferLen(yyl4816, z.DecBasicHandle().MaxInitLen, 632) + if yyrt4816 { + if yyrl4816 <= cap(yyv4816) { + yyv4816 = yyv4816[:yyrl4816] } else { - yyv4825 = make([]Node, yyrl4825) + yyv4816 = make([]Node, yyrl4816) } } else { - yyv4825 = make([]Node, yyrl4825) + yyv4816 = make([]Node, yyrl4816) } - yyc4825 = true - yyrr4825 = len(yyv4825) - if yyrg4825 { - copy(yyv4825, yyv24825) + yyc4816 = true + yyrr4816 = len(yyv4816) + if yyrg4816 { + copy(yyv4816, yyv24816) } - } else if yyl4825 != len(yyv4825) { - yyv4825 = yyv4825[:yyl4825] - yyc4825 = true + } else if yyl4816 != len(yyv4816) { + yyv4816 = yyv4816[:yyl4816] + yyc4816 = true } - yyj4825 := 0 - for ; yyj4825 < yyrr4825; yyj4825++ { - yyh4825.ElemContainerState(yyj4825) + yyj4816 := 0 + for ; yyj4816 < yyrr4816; yyj4816++ { + yyh4816.ElemContainerState(yyj4816) if r.TryDecodeAsNil() { - yyv4825[yyj4825] = Node{} + yyv4816[yyj4816] = Node{} } else { - yyv4826 := &yyv4825[yyj4825] - yyv4826.CodecDecodeSelf(d) + yyv4817 := &yyv4816[yyj4816] + yyv4817.CodecDecodeSelf(d) } } - if yyrt4825 { - for ; yyj4825 < yyl4825; yyj4825++ { - yyv4825 = append(yyv4825, Node{}) - yyh4825.ElemContainerState(yyj4825) + if yyrt4816 { + for ; yyj4816 < yyl4816; yyj4816++ { + yyv4816 = append(yyv4816, Node{}) + yyh4816.ElemContainerState(yyj4816) if r.TryDecodeAsNil() { - yyv4825[yyj4825] = Node{} + yyv4816[yyj4816] = Node{} } else { - yyv4827 := &yyv4825[yyj4825] - yyv4827.CodecDecodeSelf(d) + yyv4818 := &yyv4816[yyj4816] + yyv4818.CodecDecodeSelf(d) } } } } else { - yyj4825 := 0 - for ; !r.CheckBreak(); yyj4825++ { + yyj4816 := 0 + for ; !r.CheckBreak(); yyj4816++ { - if yyj4825 >= len(yyv4825) { - yyv4825 = append(yyv4825, Node{}) // var yyz4825 Node - yyc4825 = true + if yyj4816 >= len(yyv4816) { + yyv4816 = append(yyv4816, Node{}) // var yyz4816 Node + yyc4816 = true } - yyh4825.ElemContainerState(yyj4825) - if yyj4825 < len(yyv4825) { + yyh4816.ElemContainerState(yyj4816) + if yyj4816 < len(yyv4816) { if r.TryDecodeAsNil() { - yyv4825[yyj4825] = Node{} + yyv4816[yyj4816] = Node{} } else { - yyv4828 := &yyv4825[yyj4825] - yyv4828.CodecDecodeSelf(d) + yyv4819 := &yyv4816[yyj4816] + yyv4819.CodecDecodeSelf(d) } } else { @@ -61633,17 +61551,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj4825 < len(yyv4825) { - yyv4825 = yyv4825[:yyj4825] - yyc4825 = true - } else if yyj4825 == 0 && yyv4825 == nil { - yyv4825 = []Node{} - yyc4825 = true + if yyj4816 < len(yyv4816) { + yyv4816 = yyv4816[:yyj4816] + yyc4816 = true + } else if yyj4816 == 0 && yyv4816 == nil { + yyv4816 = []Node{} + yyc4816 = true } } - yyh4825.End() - if yyc4825 { - *v = yyv4825 + yyh4816.End() + if yyc4816 { + *v = yyv4816 } } @@ -61652,9 +61570,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4829 := range v { + for _, yyv4820 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4829.CodecEncodeSelf(e) + yyv4820.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61664,75 +61582,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4830 := *v - yyh4830, yyl4830 := z.DecSliceHelperStart() - var yyc4830 bool - if yyl4830 == 0 { - if yyv4830 == nil { - yyv4830 = []FinalizerName{} - yyc4830 = true - } else if len(yyv4830) != 0 { - yyv4830 = yyv4830[:0] - yyc4830 = true + yyv4821 := *v + yyh4821, yyl4821 := z.DecSliceHelperStart() + var yyc4821 bool + if yyl4821 == 0 { + if yyv4821 == nil { + yyv4821 = []FinalizerName{} + yyc4821 = true + } else if len(yyv4821) != 0 { + yyv4821 = yyv4821[:0] + yyc4821 = true } - } else if yyl4830 > 0 { - var yyrr4830, yyrl4830 int - var yyrt4830 bool - if yyl4830 > cap(yyv4830) { + } else if yyl4821 > 0 { + var yyrr4821, yyrl4821 int + var yyrt4821 bool + if yyl4821 > cap(yyv4821) { - yyrl4830, yyrt4830 = z.DecInferLen(yyl4830, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4830 { - if yyrl4830 <= cap(yyv4830) { - yyv4830 = yyv4830[:yyrl4830] + yyrl4821, yyrt4821 = z.DecInferLen(yyl4821, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4821 { + if yyrl4821 <= cap(yyv4821) { + yyv4821 = yyv4821[:yyrl4821] } else { - yyv4830 = make([]FinalizerName, yyrl4830) + yyv4821 = make([]FinalizerName, yyrl4821) } } else { - yyv4830 = make([]FinalizerName, yyrl4830) + yyv4821 = make([]FinalizerName, yyrl4821) } - yyc4830 = true - yyrr4830 = len(yyv4830) - } else if yyl4830 != len(yyv4830) { - yyv4830 = yyv4830[:yyl4830] - yyc4830 = true + yyc4821 = true + yyrr4821 = len(yyv4821) + } else if yyl4821 != len(yyv4821) { + yyv4821 = yyv4821[:yyl4821] + yyc4821 = true } - yyj4830 := 0 - for ; yyj4830 < yyrr4830; yyj4830++ { - yyh4830.ElemContainerState(yyj4830) + yyj4821 := 0 + for ; yyj4821 < yyrr4821; yyj4821++ { + yyh4821.ElemContainerState(yyj4821) if r.TryDecodeAsNil() { - yyv4830[yyj4830] = "" + yyv4821[yyj4821] = "" } else { - yyv4830[yyj4830] = FinalizerName(r.DecodeString()) + yyv4821[yyj4821] = FinalizerName(r.DecodeString()) } } - if yyrt4830 { - for ; yyj4830 < yyl4830; yyj4830++ { - yyv4830 = append(yyv4830, "") - yyh4830.ElemContainerState(yyj4830) + if yyrt4821 { + for ; yyj4821 < yyl4821; yyj4821++ { + yyv4821 = append(yyv4821, "") + yyh4821.ElemContainerState(yyj4821) if r.TryDecodeAsNil() { - yyv4830[yyj4830] = "" + yyv4821[yyj4821] = "" } else { - yyv4830[yyj4830] = FinalizerName(r.DecodeString()) + yyv4821[yyj4821] = FinalizerName(r.DecodeString()) } } } } else { - yyj4830 := 0 - for ; !r.CheckBreak(); yyj4830++ { + yyj4821 := 0 + for ; !r.CheckBreak(); yyj4821++ { - if yyj4830 >= len(yyv4830) { - yyv4830 = append(yyv4830, "") // var yyz4830 FinalizerName - yyc4830 = true + if yyj4821 >= len(yyv4821) { + yyv4821 = append(yyv4821, "") // var yyz4821 FinalizerName + yyc4821 = true } - yyh4830.ElemContainerState(yyj4830) - if yyj4830 < len(yyv4830) { + yyh4821.ElemContainerState(yyj4821) + if yyj4821 < len(yyv4821) { if r.TryDecodeAsNil() { - yyv4830[yyj4830] = "" + yyv4821[yyj4821] = "" } else { - yyv4830[yyj4830] = FinalizerName(r.DecodeString()) + yyv4821[yyj4821] = FinalizerName(r.DecodeString()) } } else { @@ -61740,17 +61658,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj4830 < len(yyv4830) { - yyv4830 = yyv4830[:yyj4830] - yyc4830 = true - } else if yyj4830 == 0 && yyv4830 == nil { - yyv4830 = []FinalizerName{} - yyc4830 = true + if yyj4821 < len(yyv4821) { + yyv4821 = yyv4821[:yyj4821] + yyc4821 = true + } else if yyj4821 == 0 && yyv4821 == nil { + yyv4821 = []FinalizerName{} + yyc4821 = true } } - yyh4830.End() - if yyc4830 { - *v = yyv4830 + yyh4821.End() + if yyc4821 { + *v = yyv4821 } } @@ -61759,10 +61677,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4834 := range v { + for _, yyv4825 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4835 := &yyv4834 - yy4835.CodecEncodeSelf(e) + yy4826 := &yyv4825 + yy4826.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61772,83 +61690,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4836 := *v - yyh4836, yyl4836 := z.DecSliceHelperStart() - var yyc4836 bool - if yyl4836 == 0 { - if yyv4836 == nil { - yyv4836 = []Namespace{} - yyc4836 = true - } else if len(yyv4836) != 0 { - yyv4836 = yyv4836[:0] - yyc4836 = true + yyv4827 := *v + yyh4827, yyl4827 := z.DecSliceHelperStart() + var yyc4827 bool + if yyl4827 == 0 { + if yyv4827 == nil { + yyv4827 = []Namespace{} + yyc4827 = true + } else if len(yyv4827) != 0 { + yyv4827 = yyv4827[:0] + yyc4827 = true } - } else if yyl4836 > 0 { - var yyrr4836, yyrl4836 int - var yyrt4836 bool - if yyl4836 > cap(yyv4836) { + } else if yyl4827 > 0 { + var yyrr4827, yyrl4827 int + var yyrt4827 bool + if yyl4827 > cap(yyv4827) { - yyrg4836 := len(yyv4836) > 0 - yyv24836 := yyv4836 - yyrl4836, yyrt4836 = z.DecInferLen(yyl4836, z.DecBasicHandle().MaxInitLen, 296) - if yyrt4836 { - if yyrl4836 <= cap(yyv4836) { - yyv4836 = yyv4836[:yyrl4836] + yyrg4827 := len(yyv4827) > 0 + yyv24827 := yyv4827 + yyrl4827, yyrt4827 = z.DecInferLen(yyl4827, z.DecBasicHandle().MaxInitLen, 296) + if yyrt4827 { + if yyrl4827 <= cap(yyv4827) { + yyv4827 = yyv4827[:yyrl4827] } else { - yyv4836 = make([]Namespace, yyrl4836) + yyv4827 = make([]Namespace, yyrl4827) } } else { - yyv4836 = make([]Namespace, yyrl4836) + yyv4827 = make([]Namespace, yyrl4827) } - yyc4836 = true - yyrr4836 = len(yyv4836) - if yyrg4836 { - copy(yyv4836, yyv24836) + yyc4827 = true + yyrr4827 = len(yyv4827) + if yyrg4827 { + copy(yyv4827, yyv24827) } - } else if yyl4836 != len(yyv4836) { - yyv4836 = yyv4836[:yyl4836] - yyc4836 = true + } else if yyl4827 != len(yyv4827) { + yyv4827 = yyv4827[:yyl4827] + yyc4827 = true } - yyj4836 := 0 - for ; yyj4836 < yyrr4836; yyj4836++ { - yyh4836.ElemContainerState(yyj4836) + yyj4827 := 0 + for ; yyj4827 < yyrr4827; yyj4827++ { + yyh4827.ElemContainerState(yyj4827) if r.TryDecodeAsNil() { - yyv4836[yyj4836] = Namespace{} + yyv4827[yyj4827] = Namespace{} } else { - yyv4837 := &yyv4836[yyj4836] - yyv4837.CodecDecodeSelf(d) + yyv4828 := &yyv4827[yyj4827] + yyv4828.CodecDecodeSelf(d) } } - if yyrt4836 { - for ; yyj4836 < yyl4836; yyj4836++ { - yyv4836 = append(yyv4836, Namespace{}) - yyh4836.ElemContainerState(yyj4836) + if yyrt4827 { + for ; yyj4827 < yyl4827; yyj4827++ { + yyv4827 = append(yyv4827, Namespace{}) + yyh4827.ElemContainerState(yyj4827) if r.TryDecodeAsNil() { - yyv4836[yyj4836] = Namespace{} + yyv4827[yyj4827] = Namespace{} } else { - yyv4838 := &yyv4836[yyj4836] - yyv4838.CodecDecodeSelf(d) + yyv4829 := &yyv4827[yyj4827] + yyv4829.CodecDecodeSelf(d) } } } } else { - yyj4836 := 0 - for ; !r.CheckBreak(); yyj4836++ { + yyj4827 := 0 + for ; !r.CheckBreak(); yyj4827++ { - if yyj4836 >= len(yyv4836) { - yyv4836 = append(yyv4836, Namespace{}) // var yyz4836 Namespace - yyc4836 = true + if yyj4827 >= len(yyv4827) { + yyv4827 = append(yyv4827, Namespace{}) // var yyz4827 Namespace + yyc4827 = true } - yyh4836.ElemContainerState(yyj4836) - if yyj4836 < len(yyv4836) { + yyh4827.ElemContainerState(yyj4827) + if yyj4827 < len(yyv4827) { if r.TryDecodeAsNil() { - yyv4836[yyj4836] = Namespace{} + yyv4827[yyj4827] = Namespace{} } else { - yyv4839 := &yyv4836[yyj4836] - yyv4839.CodecDecodeSelf(d) + yyv4830 := &yyv4827[yyj4827] + yyv4830.CodecDecodeSelf(d) } } else { @@ -61856,17 +61774,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj4836 < len(yyv4836) { - yyv4836 = yyv4836[:yyj4836] - yyc4836 = true - } else if yyj4836 == 0 && yyv4836 == nil { - yyv4836 = []Namespace{} - yyc4836 = true + if yyj4827 < len(yyv4827) { + yyv4827 = yyv4827[:yyj4827] + yyc4827 = true + } else if yyj4827 == 0 && yyv4827 == nil { + yyv4827 = []Namespace{} + yyc4827 = true } } - yyh4836.End() - if yyc4836 { - *v = yyv4836 + yyh4827.End() + if yyc4827 { + *v = yyv4827 } } @@ -61875,10 +61793,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4840 := range v { + for _, yyv4831 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4841 := &yyv4840 - yy4841.CodecEncodeSelf(e) + yy4832 := &yyv4831 + yy4832.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61888,83 +61806,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4842 := *v - yyh4842, yyl4842 := z.DecSliceHelperStart() - var yyc4842 bool - if yyl4842 == 0 { - if yyv4842 == nil { - yyv4842 = []Event{} - yyc4842 = true - } else if len(yyv4842) != 0 { - yyv4842 = yyv4842[:0] - yyc4842 = true + yyv4833 := *v + yyh4833, yyl4833 := z.DecSliceHelperStart() + var yyc4833 bool + if yyl4833 == 0 { + if yyv4833 == nil { + yyv4833 = []Event{} + yyc4833 = true + } else if len(yyv4833) != 0 { + yyv4833 = yyv4833[:0] + yyc4833 = true } - } else if yyl4842 > 0 { - var yyrr4842, yyrl4842 int - var yyrt4842 bool - if yyl4842 > cap(yyv4842) { + } else if yyl4833 > 0 { + var yyrr4833, yyrl4833 int + var yyrt4833 bool + if yyl4833 > cap(yyv4833) { - yyrg4842 := len(yyv4842) > 0 - yyv24842 := yyv4842 - yyrl4842, yyrt4842 = z.DecInferLen(yyl4842, z.DecBasicHandle().MaxInitLen, 504) - if yyrt4842 { - if yyrl4842 <= cap(yyv4842) { - yyv4842 = yyv4842[:yyrl4842] + yyrg4833 := len(yyv4833) > 0 + yyv24833 := yyv4833 + yyrl4833, yyrt4833 = z.DecInferLen(yyl4833, z.DecBasicHandle().MaxInitLen, 504) + if yyrt4833 { + if yyrl4833 <= cap(yyv4833) { + yyv4833 = yyv4833[:yyrl4833] } else { - yyv4842 = make([]Event, yyrl4842) + yyv4833 = make([]Event, yyrl4833) } } else { - yyv4842 = make([]Event, yyrl4842) + yyv4833 = make([]Event, yyrl4833) } - yyc4842 = true - yyrr4842 = len(yyv4842) - if yyrg4842 { - copy(yyv4842, yyv24842) + yyc4833 = true + yyrr4833 = len(yyv4833) + if yyrg4833 { + copy(yyv4833, yyv24833) } - } else if yyl4842 != len(yyv4842) { - yyv4842 = yyv4842[:yyl4842] - yyc4842 = true + } else if yyl4833 != len(yyv4833) { + yyv4833 = yyv4833[:yyl4833] + yyc4833 = true } - yyj4842 := 0 - for ; yyj4842 < yyrr4842; yyj4842++ { - yyh4842.ElemContainerState(yyj4842) + yyj4833 := 0 + for ; yyj4833 < yyrr4833; yyj4833++ { + yyh4833.ElemContainerState(yyj4833) if r.TryDecodeAsNil() { - yyv4842[yyj4842] = Event{} + yyv4833[yyj4833] = Event{} } else { - yyv4843 := &yyv4842[yyj4842] - yyv4843.CodecDecodeSelf(d) + yyv4834 := &yyv4833[yyj4833] + yyv4834.CodecDecodeSelf(d) } } - if yyrt4842 { - for ; yyj4842 < yyl4842; yyj4842++ { - yyv4842 = append(yyv4842, Event{}) - yyh4842.ElemContainerState(yyj4842) + if yyrt4833 { + for ; yyj4833 < yyl4833; yyj4833++ { + yyv4833 = append(yyv4833, Event{}) + yyh4833.ElemContainerState(yyj4833) if r.TryDecodeAsNil() { - yyv4842[yyj4842] = Event{} + yyv4833[yyj4833] = Event{} } else { - yyv4844 := &yyv4842[yyj4842] - yyv4844.CodecDecodeSelf(d) + yyv4835 := &yyv4833[yyj4833] + yyv4835.CodecDecodeSelf(d) } } } } else { - yyj4842 := 0 - for ; !r.CheckBreak(); yyj4842++ { + yyj4833 := 0 + for ; !r.CheckBreak(); yyj4833++ { - if yyj4842 >= len(yyv4842) { - yyv4842 = append(yyv4842, Event{}) // var yyz4842 Event - yyc4842 = true + if yyj4833 >= len(yyv4833) { + yyv4833 = append(yyv4833, Event{}) // var yyz4833 Event + yyc4833 = true } - yyh4842.ElemContainerState(yyj4842) - if yyj4842 < len(yyv4842) { + yyh4833.ElemContainerState(yyj4833) + if yyj4833 < len(yyv4833) { if r.TryDecodeAsNil() { - yyv4842[yyj4842] = Event{} + yyv4833[yyj4833] = Event{} } else { - yyv4845 := &yyv4842[yyj4842] - yyv4845.CodecDecodeSelf(d) + yyv4836 := &yyv4833[yyj4833] + yyv4836.CodecDecodeSelf(d) } } else { @@ -61972,17 +61890,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj4842 < len(yyv4842) { - yyv4842 = yyv4842[:yyj4842] - yyc4842 = true - } else if yyj4842 == 0 && yyv4842 == nil { - yyv4842 = []Event{} - yyc4842 = true + if yyj4833 < len(yyv4833) { + yyv4833 = yyv4833[:yyj4833] + yyc4833 = true + } else if yyj4833 == 0 && yyv4833 == nil { + yyv4833 = []Event{} + yyc4833 = true } } - yyh4842.End() - if yyc4842 { - *v = yyv4842 + yyh4833.End() + if yyc4833 { + *v = yyv4833 } } @@ -61991,17 +61909,17 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg5_runtime.RawExtens z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4846 := range v { + for _, yyv4837 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4847 := &yyv4846 - yym4848 := z.EncBinary() - _ = yym4848 + yy4838 := &yyv4837 + yym4839 := z.EncBinary() + _ = yym4839 if false { - } else if z.HasExtensions() && z.EncExt(yy4847) { - } else if !yym4848 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4847) + } else if z.HasExtensions() && z.EncExt(yy4838) { + } else if !yym4839 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4838) } else { - z.EncFallback(yy4847) + z.EncFallback(yy4838) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -62012,12 +61930,152 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r + yyv4840 := *v + yyh4840, yyl4840 := z.DecSliceHelperStart() + var yyc4840 bool + if yyl4840 == 0 { + if yyv4840 == nil { + yyv4840 = []pkg5_runtime.RawExtension{} + yyc4840 = true + } else if len(yyv4840) != 0 { + yyv4840 = yyv4840[:0] + yyc4840 = true + } + } else if yyl4840 > 0 { + var yyrr4840, yyrl4840 int + var yyrt4840 bool + if yyl4840 > cap(yyv4840) { + + yyrg4840 := len(yyv4840) > 0 + yyv24840 := yyv4840 + yyrl4840, yyrt4840 = z.DecInferLen(yyl4840, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4840 { + if yyrl4840 <= cap(yyv4840) { + yyv4840 = yyv4840[:yyrl4840] + } else { + yyv4840 = make([]pkg5_runtime.RawExtension, yyrl4840) + } + } else { + yyv4840 = make([]pkg5_runtime.RawExtension, yyrl4840) + } + yyc4840 = true + yyrr4840 = len(yyv4840) + if yyrg4840 { + copy(yyv4840, yyv24840) + } + } else if yyl4840 != len(yyv4840) { + yyv4840 = yyv4840[:yyl4840] + yyc4840 = true + } + yyj4840 := 0 + for ; yyj4840 < yyrr4840; yyj4840++ { + yyh4840.ElemContainerState(yyj4840) + if r.TryDecodeAsNil() { + yyv4840[yyj4840] = pkg5_runtime.RawExtension{} + } else { + yyv4841 := &yyv4840[yyj4840] + yym4842 := z.DecBinary() + _ = yym4842 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4841) { + } else if !yym4842 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4841) + } else { + z.DecFallback(yyv4841, false) + } + } + + } + if yyrt4840 { + for ; yyj4840 < yyl4840; yyj4840++ { + yyv4840 = append(yyv4840, pkg5_runtime.RawExtension{}) + yyh4840.ElemContainerState(yyj4840) + if r.TryDecodeAsNil() { + yyv4840[yyj4840] = pkg5_runtime.RawExtension{} + } else { + yyv4843 := &yyv4840[yyj4840] + yym4844 := z.DecBinary() + _ = yym4844 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4843) { + } else if !yym4844 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4843) + } else { + z.DecFallback(yyv4843, false) + } + } + + } + } + + } else { + yyj4840 := 0 + for ; !r.CheckBreak(); yyj4840++ { + + if yyj4840 >= len(yyv4840) { + yyv4840 = append(yyv4840, pkg5_runtime.RawExtension{}) // var yyz4840 pkg5_runtime.RawExtension + yyc4840 = true + } + yyh4840.ElemContainerState(yyj4840) + if yyj4840 < len(yyv4840) { + if r.TryDecodeAsNil() { + yyv4840[yyj4840] = pkg5_runtime.RawExtension{} + } else { + yyv4845 := &yyv4840[yyj4840] + yym4846 := z.DecBinary() + _ = yym4846 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4845) { + } else if !yym4846 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4845) + } else { + z.DecFallback(yyv4845, false) + } + } + + } else { + z.DecSwallow() + } + + } + if yyj4840 < len(yyv4840) { + yyv4840 = yyv4840[:yyj4840] + yyc4840 = true + } else if yyj4840 == 0 && yyv4840 == nil { + yyv4840 = []pkg5_runtime.RawExtension{} + yyc4840 = true + } + } + yyh4840.End() + if yyc4840 { + *v = yyv4840 + } +} + +func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4847 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4848 := &yyv4847 + yy4848.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yyv4849 := *v yyh4849, yyl4849 := z.DecSliceHelperStart() var yyc4849 bool if yyl4849 == 0 { if yyv4849 == nil { - yyv4849 = []pkg5_runtime.RawExtension{} + yyv4849 = []LimitRangeItem{} yyc4849 = true } else if len(yyv4849) != 0 { yyv4849 = yyv4849[:0] @@ -62030,15 +62088,15 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten yyrg4849 := len(yyv4849) > 0 yyv24849 := yyv4849 - yyrl4849, yyrt4849 = z.DecInferLen(yyl4849, z.DecBasicHandle().MaxInitLen, 40) + yyrl4849, yyrt4849 = z.DecInferLen(yyl4849, z.DecBasicHandle().MaxInitLen, 56) if yyrt4849 { if yyrl4849 <= cap(yyv4849) { yyv4849 = yyv4849[:yyrl4849] } else { - yyv4849 = make([]pkg5_runtime.RawExtension, yyrl4849) + yyv4849 = make([]LimitRangeItem, yyrl4849) } } else { - yyv4849 = make([]pkg5_runtime.RawExtension, yyrl4849) + yyv4849 = make([]LimitRangeItem, yyrl4849) } yyc4849 = true yyrr4849 = len(yyv4849) @@ -62053,38 +62111,22 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten for ; yyj4849 < yyrr4849; yyj4849++ { yyh4849.ElemContainerState(yyj4849) if r.TryDecodeAsNil() { - yyv4849[yyj4849] = pkg5_runtime.RawExtension{} + yyv4849[yyj4849] = LimitRangeItem{} } else { yyv4850 := &yyv4849[yyj4849] - yym4851 := z.DecBinary() - _ = yym4851 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4850) { - } else if !yym4851 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4850) - } else { - z.DecFallback(yyv4850, false) - } + yyv4850.CodecDecodeSelf(d) } } if yyrt4849 { for ; yyj4849 < yyl4849; yyj4849++ { - yyv4849 = append(yyv4849, pkg5_runtime.RawExtension{}) + yyv4849 = append(yyv4849, LimitRangeItem{}) yyh4849.ElemContainerState(yyj4849) if r.TryDecodeAsNil() { - yyv4849[yyj4849] = pkg5_runtime.RawExtension{} + yyv4849[yyj4849] = LimitRangeItem{} } else { - yyv4852 := &yyv4849[yyj4849] - yym4853 := z.DecBinary() - _ = yym4853 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4852) { - } else if !yym4853 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4852) - } else { - z.DecFallback(yyv4852, false) - } + yyv4851 := &yyv4849[yyj4849] + yyv4851.CodecDecodeSelf(d) } } @@ -62095,24 +62137,16 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten for ; !r.CheckBreak(); yyj4849++ { if yyj4849 >= len(yyv4849) { - yyv4849 = append(yyv4849, pkg5_runtime.RawExtension{}) // var yyz4849 pkg5_runtime.RawExtension + yyv4849 = append(yyv4849, LimitRangeItem{}) // var yyz4849 LimitRangeItem yyc4849 = true } yyh4849.ElemContainerState(yyj4849) if yyj4849 < len(yyv4849) { if r.TryDecodeAsNil() { - yyv4849[yyj4849] = pkg5_runtime.RawExtension{} + yyv4849[yyj4849] = LimitRangeItem{} } else { - yyv4854 := &yyv4849[yyj4849] - yym4855 := z.DecBinary() - _ = yym4855 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4854) { - } else if !yym4855 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4854) - } else { - z.DecFallback(yyv4854, false) - } + yyv4852 := &yyv4849[yyj4849] + yyv4852.CodecDecodeSelf(d) } } else { @@ -62124,7 +62158,7 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten yyv4849 = yyv4849[:yyj4849] yyc4849 = true } else if yyj4849 == 0 && yyv4849 == nil { - yyv4849 = []pkg5_runtime.RawExtension{} + yyv4849 = []LimitRangeItem{} yyc4849 = true } } @@ -62134,131 +62168,15 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten } } -func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4856 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4857 := &yyv4856 - yy4857.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4858 := *v - yyh4858, yyl4858 := z.DecSliceHelperStart() - var yyc4858 bool - if yyl4858 == 0 { - if yyv4858 == nil { - yyv4858 = []LimitRangeItem{} - yyc4858 = true - } else if len(yyv4858) != 0 { - yyv4858 = yyv4858[:0] - yyc4858 = true - } - } else if yyl4858 > 0 { - var yyrr4858, yyrl4858 int - var yyrt4858 bool - if yyl4858 > cap(yyv4858) { - - yyrg4858 := len(yyv4858) > 0 - yyv24858 := yyv4858 - yyrl4858, yyrt4858 = z.DecInferLen(yyl4858, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4858 { - if yyrl4858 <= cap(yyv4858) { - yyv4858 = yyv4858[:yyrl4858] - } else { - yyv4858 = make([]LimitRangeItem, yyrl4858) - } - } else { - yyv4858 = make([]LimitRangeItem, yyrl4858) - } - yyc4858 = true - yyrr4858 = len(yyv4858) - if yyrg4858 { - copy(yyv4858, yyv24858) - } - } else if yyl4858 != len(yyv4858) { - yyv4858 = yyv4858[:yyl4858] - yyc4858 = true - } - yyj4858 := 0 - for ; yyj4858 < yyrr4858; yyj4858++ { - yyh4858.ElemContainerState(yyj4858) - if r.TryDecodeAsNil() { - yyv4858[yyj4858] = LimitRangeItem{} - } else { - yyv4859 := &yyv4858[yyj4858] - yyv4859.CodecDecodeSelf(d) - } - - } - if yyrt4858 { - for ; yyj4858 < yyl4858; yyj4858++ { - yyv4858 = append(yyv4858, LimitRangeItem{}) - yyh4858.ElemContainerState(yyj4858) - if r.TryDecodeAsNil() { - yyv4858[yyj4858] = LimitRangeItem{} - } else { - yyv4860 := &yyv4858[yyj4858] - yyv4860.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4858 := 0 - for ; !r.CheckBreak(); yyj4858++ { - - if yyj4858 >= len(yyv4858) { - yyv4858 = append(yyv4858, LimitRangeItem{}) // var yyz4858 LimitRangeItem - yyc4858 = true - } - yyh4858.ElemContainerState(yyj4858) - if yyj4858 < len(yyv4858) { - if r.TryDecodeAsNil() { - yyv4858[yyj4858] = LimitRangeItem{} - } else { - yyv4861 := &yyv4858[yyj4858] - yyv4861.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4858 < len(yyv4858) { - yyv4858 = yyv4858[:yyj4858] - yyc4858 = true - } else if yyj4858 == 0 && yyv4858 == nil { - yyv4858 = []LimitRangeItem{} - yyc4858 = true - } - } - yyh4858.End() - if yyc4858 { - *v = yyv4858 - } -} - func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4862 := range v { + for _, yyv4853 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4863 := &yyv4862 - yy4863.CodecEncodeSelf(e) + yy4854 := &yyv4853 + yy4854.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62268,83 +62186,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4864 := *v - yyh4864, yyl4864 := z.DecSliceHelperStart() - var yyc4864 bool - if yyl4864 == 0 { - if yyv4864 == nil { - yyv4864 = []LimitRange{} - yyc4864 = true - } else if len(yyv4864) != 0 { - yyv4864 = yyv4864[:0] - yyc4864 = true + yyv4855 := *v + yyh4855, yyl4855 := z.DecSliceHelperStart() + var yyc4855 bool + if yyl4855 == 0 { + if yyv4855 == nil { + yyv4855 = []LimitRange{} + yyc4855 = true + } else if len(yyv4855) != 0 { + yyv4855 = yyv4855[:0] + yyc4855 = true } - } else if yyl4864 > 0 { - var yyrr4864, yyrl4864 int - var yyrt4864 bool - if yyl4864 > cap(yyv4864) { + } else if yyl4855 > 0 { + var yyrr4855, yyrl4855 int + var yyrt4855 bool + if yyl4855 > cap(yyv4855) { - yyrg4864 := len(yyv4864) > 0 - yyv24864 := yyv4864 - yyrl4864, yyrt4864 = z.DecInferLen(yyl4864, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4864 { - if yyrl4864 <= cap(yyv4864) { - yyv4864 = yyv4864[:yyrl4864] + yyrg4855 := len(yyv4855) > 0 + yyv24855 := yyv4855 + yyrl4855, yyrt4855 = z.DecInferLen(yyl4855, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4855 { + if yyrl4855 <= cap(yyv4855) { + yyv4855 = yyv4855[:yyrl4855] } else { - yyv4864 = make([]LimitRange, yyrl4864) + yyv4855 = make([]LimitRange, yyrl4855) } } else { - yyv4864 = make([]LimitRange, yyrl4864) + yyv4855 = make([]LimitRange, yyrl4855) } - yyc4864 = true - yyrr4864 = len(yyv4864) - if yyrg4864 { - copy(yyv4864, yyv24864) + yyc4855 = true + yyrr4855 = len(yyv4855) + if yyrg4855 { + copy(yyv4855, yyv24855) } - } else if yyl4864 != len(yyv4864) { - yyv4864 = yyv4864[:yyl4864] - yyc4864 = true + } else if yyl4855 != len(yyv4855) { + yyv4855 = yyv4855[:yyl4855] + yyc4855 = true } - yyj4864 := 0 - for ; yyj4864 < yyrr4864; yyj4864++ { - yyh4864.ElemContainerState(yyj4864) + yyj4855 := 0 + for ; yyj4855 < yyrr4855; yyj4855++ { + yyh4855.ElemContainerState(yyj4855) if r.TryDecodeAsNil() { - yyv4864[yyj4864] = LimitRange{} + yyv4855[yyj4855] = LimitRange{} } else { - yyv4865 := &yyv4864[yyj4864] - yyv4865.CodecDecodeSelf(d) + yyv4856 := &yyv4855[yyj4855] + yyv4856.CodecDecodeSelf(d) } } - if yyrt4864 { - for ; yyj4864 < yyl4864; yyj4864++ { - yyv4864 = append(yyv4864, LimitRange{}) - yyh4864.ElemContainerState(yyj4864) + if yyrt4855 { + for ; yyj4855 < yyl4855; yyj4855++ { + yyv4855 = append(yyv4855, LimitRange{}) + yyh4855.ElemContainerState(yyj4855) if r.TryDecodeAsNil() { - yyv4864[yyj4864] = LimitRange{} + yyv4855[yyj4855] = LimitRange{} } else { - yyv4866 := &yyv4864[yyj4864] - yyv4866.CodecDecodeSelf(d) + yyv4857 := &yyv4855[yyj4855] + yyv4857.CodecDecodeSelf(d) } } } } else { - yyj4864 := 0 - for ; !r.CheckBreak(); yyj4864++ { + yyj4855 := 0 + for ; !r.CheckBreak(); yyj4855++ { - if yyj4864 >= len(yyv4864) { - yyv4864 = append(yyv4864, LimitRange{}) // var yyz4864 LimitRange - yyc4864 = true + if yyj4855 >= len(yyv4855) { + yyv4855 = append(yyv4855, LimitRange{}) // var yyz4855 LimitRange + yyc4855 = true } - yyh4864.ElemContainerState(yyj4864) - if yyj4864 < len(yyv4864) { + yyh4855.ElemContainerState(yyj4855) + if yyj4855 < len(yyv4855) { if r.TryDecodeAsNil() { - yyv4864[yyj4864] = LimitRange{} + yyv4855[yyj4855] = LimitRange{} } else { - yyv4867 := &yyv4864[yyj4864] - yyv4867.CodecDecodeSelf(d) + yyv4858 := &yyv4855[yyj4855] + yyv4858.CodecDecodeSelf(d) } } else { @@ -62352,17 +62270,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj4864 < len(yyv4864) { - yyv4864 = yyv4864[:yyj4864] - yyc4864 = true - } else if yyj4864 == 0 && yyv4864 == nil { - yyv4864 = []LimitRange{} - yyc4864 = true + if yyj4855 < len(yyv4855) { + yyv4855 = yyv4855[:yyj4855] + yyc4855 = true + } else if yyj4855 == 0 && yyv4855 == nil { + yyv4855 = []LimitRange{} + yyc4855 = true } } - yyh4864.End() - if yyc4864 { - *v = yyv4864 + yyh4855.End() + if yyc4855 { + *v = yyv4855 } } @@ -62371,9 +62289,9 @@ func (x codecSelfer1234) encSliceResourceQuotaScope(v []ResourceQuotaScope, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4868 := range v { + for _, yyv4859 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4868.CodecEncodeSelf(e) + yyv4859.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62383,75 +62301,75 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4869 := *v - yyh4869, yyl4869 := z.DecSliceHelperStart() - var yyc4869 bool - if yyl4869 == 0 { - if yyv4869 == nil { - yyv4869 = []ResourceQuotaScope{} - yyc4869 = true - } else if len(yyv4869) != 0 { - yyv4869 = yyv4869[:0] - yyc4869 = true + yyv4860 := *v + yyh4860, yyl4860 := z.DecSliceHelperStart() + var yyc4860 bool + if yyl4860 == 0 { + if yyv4860 == nil { + yyv4860 = []ResourceQuotaScope{} + yyc4860 = true + } else if len(yyv4860) != 0 { + yyv4860 = yyv4860[:0] + yyc4860 = true } - } else if yyl4869 > 0 { - var yyrr4869, yyrl4869 int - var yyrt4869 bool - if yyl4869 > cap(yyv4869) { + } else if yyl4860 > 0 { + var yyrr4860, yyrl4860 int + var yyrt4860 bool + if yyl4860 > cap(yyv4860) { - yyrl4869, yyrt4869 = z.DecInferLen(yyl4869, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4869 { - if yyrl4869 <= cap(yyv4869) { - yyv4869 = yyv4869[:yyrl4869] + yyrl4860, yyrt4860 = z.DecInferLen(yyl4860, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4860 { + if yyrl4860 <= cap(yyv4860) { + yyv4860 = yyv4860[:yyrl4860] } else { - yyv4869 = make([]ResourceQuotaScope, yyrl4869) + yyv4860 = make([]ResourceQuotaScope, yyrl4860) } } else { - yyv4869 = make([]ResourceQuotaScope, yyrl4869) + yyv4860 = make([]ResourceQuotaScope, yyrl4860) } - yyc4869 = true - yyrr4869 = len(yyv4869) - } else if yyl4869 != len(yyv4869) { - yyv4869 = yyv4869[:yyl4869] - yyc4869 = true + yyc4860 = true + yyrr4860 = len(yyv4860) + } else if yyl4860 != len(yyv4860) { + yyv4860 = yyv4860[:yyl4860] + yyc4860 = true } - yyj4869 := 0 - for ; yyj4869 < yyrr4869; yyj4869++ { - yyh4869.ElemContainerState(yyj4869) + yyj4860 := 0 + for ; yyj4860 < yyrr4860; yyj4860++ { + yyh4860.ElemContainerState(yyj4860) if r.TryDecodeAsNil() { - yyv4869[yyj4869] = "" + yyv4860[yyj4860] = "" } else { - yyv4869[yyj4869] = ResourceQuotaScope(r.DecodeString()) + yyv4860[yyj4860] = ResourceQuotaScope(r.DecodeString()) } } - if yyrt4869 { - for ; yyj4869 < yyl4869; yyj4869++ { - yyv4869 = append(yyv4869, "") - yyh4869.ElemContainerState(yyj4869) + if yyrt4860 { + for ; yyj4860 < yyl4860; yyj4860++ { + yyv4860 = append(yyv4860, "") + yyh4860.ElemContainerState(yyj4860) if r.TryDecodeAsNil() { - yyv4869[yyj4869] = "" + yyv4860[yyj4860] = "" } else { - yyv4869[yyj4869] = ResourceQuotaScope(r.DecodeString()) + yyv4860[yyj4860] = ResourceQuotaScope(r.DecodeString()) } } } } else { - yyj4869 := 0 - for ; !r.CheckBreak(); yyj4869++ { + yyj4860 := 0 + for ; !r.CheckBreak(); yyj4860++ { - if yyj4869 >= len(yyv4869) { - yyv4869 = append(yyv4869, "") // var yyz4869 ResourceQuotaScope - yyc4869 = true + if yyj4860 >= len(yyv4860) { + yyv4860 = append(yyv4860, "") // var yyz4860 ResourceQuotaScope + yyc4860 = true } - yyh4869.ElemContainerState(yyj4869) - if yyj4869 < len(yyv4869) { + yyh4860.ElemContainerState(yyj4860) + if yyj4860 < len(yyv4860) { if r.TryDecodeAsNil() { - yyv4869[yyj4869] = "" + yyv4860[yyj4860] = "" } else { - yyv4869[yyj4869] = ResourceQuotaScope(r.DecodeString()) + yyv4860[yyj4860] = ResourceQuotaScope(r.DecodeString()) } } else { @@ -62459,17 +62377,17 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * } } - if yyj4869 < len(yyv4869) { - yyv4869 = yyv4869[:yyj4869] - yyc4869 = true - } else if yyj4869 == 0 && yyv4869 == nil { - yyv4869 = []ResourceQuotaScope{} - yyc4869 = true + if yyj4860 < len(yyv4860) { + yyv4860 = yyv4860[:yyj4860] + yyc4860 = true + } else if yyj4860 == 0 && yyv4860 == nil { + yyv4860 = []ResourceQuotaScope{} + yyc4860 = true } } - yyh4869.End() - if yyc4869 { - *v = yyv4869 + yyh4860.End() + if yyc4860 { + *v = yyv4860 } } @@ -62478,10 +62396,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4873 := range v { + for _, yyv4864 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4874 := &yyv4873 - yy4874.CodecEncodeSelf(e) + yy4865 := &yyv4864 + yy4865.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62491,83 +62409,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4875 := *v - yyh4875, yyl4875 := z.DecSliceHelperStart() - var yyc4875 bool - if yyl4875 == 0 { - if yyv4875 == nil { - yyv4875 = []ResourceQuota{} - yyc4875 = true - } else if len(yyv4875) != 0 { - yyv4875 = yyv4875[:0] - yyc4875 = true + yyv4866 := *v + yyh4866, yyl4866 := z.DecSliceHelperStart() + var yyc4866 bool + if yyl4866 == 0 { + if yyv4866 == nil { + yyv4866 = []ResourceQuota{} + yyc4866 = true + } else if len(yyv4866) != 0 { + yyv4866 = yyv4866[:0] + yyc4866 = true } - } else if yyl4875 > 0 { - var yyrr4875, yyrl4875 int - var yyrt4875 bool - if yyl4875 > cap(yyv4875) { + } else if yyl4866 > 0 { + var yyrr4866, yyrl4866 int + var yyrt4866 bool + if yyl4866 > cap(yyv4866) { - yyrg4875 := len(yyv4875) > 0 - yyv24875 := yyv4875 - yyrl4875, yyrt4875 = z.DecInferLen(yyl4875, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4875 { - if yyrl4875 <= cap(yyv4875) { - yyv4875 = yyv4875[:yyrl4875] + yyrg4866 := len(yyv4866) > 0 + yyv24866 := yyv4866 + yyrl4866, yyrt4866 = z.DecInferLen(yyl4866, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4866 { + if yyrl4866 <= cap(yyv4866) { + yyv4866 = yyv4866[:yyrl4866] } else { - yyv4875 = make([]ResourceQuota, yyrl4875) + yyv4866 = make([]ResourceQuota, yyrl4866) } } else { - yyv4875 = make([]ResourceQuota, yyrl4875) + yyv4866 = make([]ResourceQuota, yyrl4866) } - yyc4875 = true - yyrr4875 = len(yyv4875) - if yyrg4875 { - copy(yyv4875, yyv24875) + yyc4866 = true + yyrr4866 = len(yyv4866) + if yyrg4866 { + copy(yyv4866, yyv24866) } - } else if yyl4875 != len(yyv4875) { - yyv4875 = yyv4875[:yyl4875] - yyc4875 = true + } else if yyl4866 != len(yyv4866) { + yyv4866 = yyv4866[:yyl4866] + yyc4866 = true } - yyj4875 := 0 - for ; yyj4875 < yyrr4875; yyj4875++ { - yyh4875.ElemContainerState(yyj4875) + yyj4866 := 0 + for ; yyj4866 < yyrr4866; yyj4866++ { + yyh4866.ElemContainerState(yyj4866) if r.TryDecodeAsNil() { - yyv4875[yyj4875] = ResourceQuota{} + yyv4866[yyj4866] = ResourceQuota{} } else { - yyv4876 := &yyv4875[yyj4875] - yyv4876.CodecDecodeSelf(d) + yyv4867 := &yyv4866[yyj4866] + yyv4867.CodecDecodeSelf(d) } } - if yyrt4875 { - for ; yyj4875 < yyl4875; yyj4875++ { - yyv4875 = append(yyv4875, ResourceQuota{}) - yyh4875.ElemContainerState(yyj4875) + if yyrt4866 { + for ; yyj4866 < yyl4866; yyj4866++ { + yyv4866 = append(yyv4866, ResourceQuota{}) + yyh4866.ElemContainerState(yyj4866) if r.TryDecodeAsNil() { - yyv4875[yyj4875] = ResourceQuota{} + yyv4866[yyj4866] = ResourceQuota{} } else { - yyv4877 := &yyv4875[yyj4875] - yyv4877.CodecDecodeSelf(d) + yyv4868 := &yyv4866[yyj4866] + yyv4868.CodecDecodeSelf(d) } } } } else { - yyj4875 := 0 - for ; !r.CheckBreak(); yyj4875++ { + yyj4866 := 0 + for ; !r.CheckBreak(); yyj4866++ { - if yyj4875 >= len(yyv4875) { - yyv4875 = append(yyv4875, ResourceQuota{}) // var yyz4875 ResourceQuota - yyc4875 = true + if yyj4866 >= len(yyv4866) { + yyv4866 = append(yyv4866, ResourceQuota{}) // var yyz4866 ResourceQuota + yyc4866 = true } - yyh4875.ElemContainerState(yyj4875) - if yyj4875 < len(yyv4875) { + yyh4866.ElemContainerState(yyj4866) + if yyj4866 < len(yyv4866) { if r.TryDecodeAsNil() { - yyv4875[yyj4875] = ResourceQuota{} + yyv4866[yyj4866] = ResourceQuota{} } else { - yyv4878 := &yyv4875[yyj4875] - yyv4878.CodecDecodeSelf(d) + yyv4869 := &yyv4866[yyj4866] + yyv4869.CodecDecodeSelf(d) } } else { @@ -62575,17 +62493,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj4875 < len(yyv4875) { - yyv4875 = yyv4875[:yyj4875] - yyc4875 = true - } else if yyj4875 == 0 && yyv4875 == nil { - yyv4875 = []ResourceQuota{} - yyc4875 = true + if yyj4866 < len(yyv4866) { + yyv4866 = yyv4866[:yyj4866] + yyc4866 = true + } else if yyj4866 == 0 && yyv4866 == nil { + yyv4866 = []ResourceQuota{} + yyc4866 = true } } - yyh4875.End() - if yyc4875 { - *v = yyv4875 + yyh4866.End() + if yyc4866 { + *v = yyv4866 } } @@ -62594,23 +62512,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4879, yyv4879 := range v { + for yyk4870, yyv4870 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym4880 := z.EncBinary() - _ = yym4880 + yym4871 := z.EncBinary() + _ = yym4871 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk4879)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4870)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv4879 == nil { + if yyv4870 == nil { r.EncodeNil() } else { - yym4881 := z.EncBinary() - _ = yym4881 + yym4872 := z.EncBinary() + _ = yym4872 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4879)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4870)) } } } @@ -62622,80 +62540,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4882 := *v - yyl4882 := r.ReadMapStart() - yybh4882 := z.DecBasicHandle() - if yyv4882 == nil { - yyrl4882, _ := z.DecInferLen(yyl4882, yybh4882.MaxInitLen, 40) - yyv4882 = make(map[string][]uint8, yyrl4882) - *v = yyv4882 + yyv4873 := *v + yyl4873 := r.ReadMapStart() + yybh4873 := z.DecBasicHandle() + if yyv4873 == nil { + yyrl4873, _ := z.DecInferLen(yyl4873, yybh4873.MaxInitLen, 40) + yyv4873 = make(map[string][]uint8, yyrl4873) + *v = yyv4873 } - var yymk4882 string - var yymv4882 []uint8 - var yymg4882 bool - if yybh4882.MapValueReset { - yymg4882 = true + var yymk4873 string + var yymv4873 []uint8 + var yymg4873 bool + if yybh4873.MapValueReset { + yymg4873 = true } - if yyl4882 > 0 { - for yyj4882 := 0; yyj4882 < yyl4882; yyj4882++ { + if yyl4873 > 0 { + for yyj4873 := 0; yyj4873 < yyl4873; yyj4873++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4882 = "" + yymk4873 = "" } else { - yymk4882 = string(r.DecodeString()) + yymk4873 = string(r.DecodeString()) } - if yymg4882 { - yymv4882 = yyv4882[yymk4882] + if yymg4873 { + yymv4873 = yyv4873[yymk4873] } else { - yymv4882 = nil + yymv4873 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4882 = nil + yymv4873 = nil } else { - yyv4884 := &yymv4882 - yym4885 := z.DecBinary() - _ = yym4885 + yyv4875 := &yymv4873 + yym4876 := z.DecBinary() + _ = yym4876 if false { } else { - *yyv4884 = r.DecodeBytes(*(*[]byte)(yyv4884), false, false) + *yyv4875 = r.DecodeBytes(*(*[]byte)(yyv4875), false, false) } } - if yyv4882 != nil { - yyv4882[yymk4882] = yymv4882 + if yyv4873 != nil { + yyv4873[yymk4873] = yymv4873 } } - } else if yyl4882 < 0 { - for yyj4882 := 0; !r.CheckBreak(); yyj4882++ { + } else if yyl4873 < 0 { + for yyj4873 := 0; !r.CheckBreak(); yyj4873++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4882 = "" + yymk4873 = "" } else { - yymk4882 = string(r.DecodeString()) + yymk4873 = string(r.DecodeString()) } - if yymg4882 { - yymv4882 = yyv4882[yymk4882] + if yymg4873 { + yymv4873 = yyv4873[yymk4873] } else { - yymv4882 = nil + yymv4873 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4882 = nil + yymv4873 = nil } else { - yyv4887 := &yymv4882 - yym4888 := z.DecBinary() - _ = yym4888 + yyv4878 := &yymv4873 + yym4879 := z.DecBinary() + _ = yym4879 if false { } else { - *yyv4887 = r.DecodeBytes(*(*[]byte)(yyv4887), false, false) + *yyv4878 = r.DecodeBytes(*(*[]byte)(yyv4878), false, false) } } - if yyv4882 != nil { - yyv4882[yymk4882] = yymv4882 + if yyv4873 != nil { + yyv4873[yymk4873] = yymv4873 } } } // else len==0: TODO: Should we clear map entries? @@ -62707,10 +62625,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4889 := range v { + for _, yyv4880 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4890 := &yyv4889 - yy4890.CodecEncodeSelf(e) + yy4881 := &yyv4880 + yy4881.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62720,83 +62638,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4891 := *v - yyh4891, yyl4891 := z.DecSliceHelperStart() - var yyc4891 bool - if yyl4891 == 0 { - if yyv4891 == nil { - yyv4891 = []Secret{} - yyc4891 = true - } else if len(yyv4891) != 0 { - yyv4891 = yyv4891[:0] - yyc4891 = true + yyv4882 := *v + yyh4882, yyl4882 := z.DecSliceHelperStart() + var yyc4882 bool + if yyl4882 == 0 { + if yyv4882 == nil { + yyv4882 = []Secret{} + yyc4882 = true + } else if len(yyv4882) != 0 { + yyv4882 = yyv4882[:0] + yyc4882 = true } - } else if yyl4891 > 0 { - var yyrr4891, yyrl4891 int - var yyrt4891 bool - if yyl4891 > cap(yyv4891) { + } else if yyl4882 > 0 { + var yyrr4882, yyrl4882 int + var yyrt4882 bool + if yyl4882 > cap(yyv4882) { - yyrg4891 := len(yyv4891) > 0 - yyv24891 := yyv4891 - yyrl4891, yyrt4891 = z.DecInferLen(yyl4891, z.DecBasicHandle().MaxInitLen, 288) - if yyrt4891 { - if yyrl4891 <= cap(yyv4891) { - yyv4891 = yyv4891[:yyrl4891] + yyrg4882 := len(yyv4882) > 0 + yyv24882 := yyv4882 + yyrl4882, yyrt4882 = z.DecInferLen(yyl4882, z.DecBasicHandle().MaxInitLen, 288) + if yyrt4882 { + if yyrl4882 <= cap(yyv4882) { + yyv4882 = yyv4882[:yyrl4882] } else { - yyv4891 = make([]Secret, yyrl4891) + yyv4882 = make([]Secret, yyrl4882) } } else { - yyv4891 = make([]Secret, yyrl4891) + yyv4882 = make([]Secret, yyrl4882) } - yyc4891 = true - yyrr4891 = len(yyv4891) - if yyrg4891 { - copy(yyv4891, yyv24891) + yyc4882 = true + yyrr4882 = len(yyv4882) + if yyrg4882 { + copy(yyv4882, yyv24882) } - } else if yyl4891 != len(yyv4891) { - yyv4891 = yyv4891[:yyl4891] - yyc4891 = true + } else if yyl4882 != len(yyv4882) { + yyv4882 = yyv4882[:yyl4882] + yyc4882 = true } - yyj4891 := 0 - for ; yyj4891 < yyrr4891; yyj4891++ { - yyh4891.ElemContainerState(yyj4891) + yyj4882 := 0 + for ; yyj4882 < yyrr4882; yyj4882++ { + yyh4882.ElemContainerState(yyj4882) if r.TryDecodeAsNil() { - yyv4891[yyj4891] = Secret{} + yyv4882[yyj4882] = Secret{} } else { - yyv4892 := &yyv4891[yyj4891] - yyv4892.CodecDecodeSelf(d) + yyv4883 := &yyv4882[yyj4882] + yyv4883.CodecDecodeSelf(d) } } - if yyrt4891 { - for ; yyj4891 < yyl4891; yyj4891++ { - yyv4891 = append(yyv4891, Secret{}) - yyh4891.ElemContainerState(yyj4891) + if yyrt4882 { + for ; yyj4882 < yyl4882; yyj4882++ { + yyv4882 = append(yyv4882, Secret{}) + yyh4882.ElemContainerState(yyj4882) if r.TryDecodeAsNil() { - yyv4891[yyj4891] = Secret{} + yyv4882[yyj4882] = Secret{} } else { - yyv4893 := &yyv4891[yyj4891] - yyv4893.CodecDecodeSelf(d) + yyv4884 := &yyv4882[yyj4882] + yyv4884.CodecDecodeSelf(d) } } } } else { - yyj4891 := 0 - for ; !r.CheckBreak(); yyj4891++ { + yyj4882 := 0 + for ; !r.CheckBreak(); yyj4882++ { - if yyj4891 >= len(yyv4891) { - yyv4891 = append(yyv4891, Secret{}) // var yyz4891 Secret - yyc4891 = true + if yyj4882 >= len(yyv4882) { + yyv4882 = append(yyv4882, Secret{}) // var yyz4882 Secret + yyc4882 = true } - yyh4891.ElemContainerState(yyj4891) - if yyj4891 < len(yyv4891) { + yyh4882.ElemContainerState(yyj4882) + if yyj4882 < len(yyv4882) { if r.TryDecodeAsNil() { - yyv4891[yyj4891] = Secret{} + yyv4882[yyj4882] = Secret{} } else { - yyv4894 := &yyv4891[yyj4891] - yyv4894.CodecDecodeSelf(d) + yyv4885 := &yyv4882[yyj4882] + yyv4885.CodecDecodeSelf(d) } } else { @@ -62804,17 +62722,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj4891 < len(yyv4891) { - yyv4891 = yyv4891[:yyj4891] - yyc4891 = true - } else if yyj4891 == 0 && yyv4891 == nil { - yyv4891 = []Secret{} - yyc4891 = true + if yyj4882 < len(yyv4882) { + yyv4882 = yyv4882[:yyj4882] + yyc4882 = true + } else if yyj4882 == 0 && yyv4882 == nil { + yyv4882 = []Secret{} + yyc4882 = true } } - yyh4891.End() - if yyc4891 { - *v = yyv4891 + yyh4882.End() + if yyc4882 { + *v = yyv4882 } } @@ -62823,10 +62741,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4895 := range v { + for _, yyv4886 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4896 := &yyv4895 - yy4896.CodecEncodeSelf(e) + yy4887 := &yyv4886 + yy4887.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62836,83 +62754,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4897 := *v - yyh4897, yyl4897 := z.DecSliceHelperStart() - var yyc4897 bool - if yyl4897 == 0 { - if yyv4897 == nil { - yyv4897 = []ConfigMap{} - yyc4897 = true - } else if len(yyv4897) != 0 { - yyv4897 = yyv4897[:0] - yyc4897 = true + yyv4888 := *v + yyh4888, yyl4888 := z.DecSliceHelperStart() + var yyc4888 bool + if yyl4888 == 0 { + if yyv4888 == nil { + yyv4888 = []ConfigMap{} + yyc4888 = true + } else if len(yyv4888) != 0 { + yyv4888 = yyv4888[:0] + yyc4888 = true } - } else if yyl4897 > 0 { - var yyrr4897, yyrl4897 int - var yyrt4897 bool - if yyl4897 > cap(yyv4897) { + } else if yyl4888 > 0 { + var yyrr4888, yyrl4888 int + var yyrt4888 bool + if yyl4888 > cap(yyv4888) { - yyrg4897 := len(yyv4897) > 0 - yyv24897 := yyv4897 - yyrl4897, yyrt4897 = z.DecInferLen(yyl4897, z.DecBasicHandle().MaxInitLen, 264) - if yyrt4897 { - if yyrl4897 <= cap(yyv4897) { - yyv4897 = yyv4897[:yyrl4897] + yyrg4888 := len(yyv4888) > 0 + yyv24888 := yyv4888 + yyrl4888, yyrt4888 = z.DecInferLen(yyl4888, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4888 { + if yyrl4888 <= cap(yyv4888) { + yyv4888 = yyv4888[:yyrl4888] } else { - yyv4897 = make([]ConfigMap, yyrl4897) + yyv4888 = make([]ConfigMap, yyrl4888) } } else { - yyv4897 = make([]ConfigMap, yyrl4897) + yyv4888 = make([]ConfigMap, yyrl4888) } - yyc4897 = true - yyrr4897 = len(yyv4897) - if yyrg4897 { - copy(yyv4897, yyv24897) + yyc4888 = true + yyrr4888 = len(yyv4888) + if yyrg4888 { + copy(yyv4888, yyv24888) } - } else if yyl4897 != len(yyv4897) { - yyv4897 = yyv4897[:yyl4897] - yyc4897 = true + } else if yyl4888 != len(yyv4888) { + yyv4888 = yyv4888[:yyl4888] + yyc4888 = true } - yyj4897 := 0 - for ; yyj4897 < yyrr4897; yyj4897++ { - yyh4897.ElemContainerState(yyj4897) + yyj4888 := 0 + for ; yyj4888 < yyrr4888; yyj4888++ { + yyh4888.ElemContainerState(yyj4888) if r.TryDecodeAsNil() { - yyv4897[yyj4897] = ConfigMap{} + yyv4888[yyj4888] = ConfigMap{} } else { - yyv4898 := &yyv4897[yyj4897] - yyv4898.CodecDecodeSelf(d) + yyv4889 := &yyv4888[yyj4888] + yyv4889.CodecDecodeSelf(d) } } - if yyrt4897 { - for ; yyj4897 < yyl4897; yyj4897++ { - yyv4897 = append(yyv4897, ConfigMap{}) - yyh4897.ElemContainerState(yyj4897) + if yyrt4888 { + for ; yyj4888 < yyl4888; yyj4888++ { + yyv4888 = append(yyv4888, ConfigMap{}) + yyh4888.ElemContainerState(yyj4888) if r.TryDecodeAsNil() { - yyv4897[yyj4897] = ConfigMap{} + yyv4888[yyj4888] = ConfigMap{} } else { - yyv4899 := &yyv4897[yyj4897] - yyv4899.CodecDecodeSelf(d) + yyv4890 := &yyv4888[yyj4888] + yyv4890.CodecDecodeSelf(d) } } } } else { - yyj4897 := 0 - for ; !r.CheckBreak(); yyj4897++ { + yyj4888 := 0 + for ; !r.CheckBreak(); yyj4888++ { - if yyj4897 >= len(yyv4897) { - yyv4897 = append(yyv4897, ConfigMap{}) // var yyz4897 ConfigMap - yyc4897 = true + if yyj4888 >= len(yyv4888) { + yyv4888 = append(yyv4888, ConfigMap{}) // var yyz4888 ConfigMap + yyc4888 = true } - yyh4897.ElemContainerState(yyj4897) - if yyj4897 < len(yyv4897) { + yyh4888.ElemContainerState(yyj4888) + if yyj4888 < len(yyv4888) { if r.TryDecodeAsNil() { - yyv4897[yyj4897] = ConfigMap{} + yyv4888[yyj4888] = ConfigMap{} } else { - yyv4900 := &yyv4897[yyj4897] - yyv4900.CodecDecodeSelf(d) + yyv4891 := &yyv4888[yyj4888] + yyv4891.CodecDecodeSelf(d) } } else { @@ -62920,17 +62838,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj4897 < len(yyv4897) { - yyv4897 = yyv4897[:yyj4897] - yyc4897 = true - } else if yyj4897 == 0 && yyv4897 == nil { - yyv4897 = []ConfigMap{} - yyc4897 = true + if yyj4888 < len(yyv4888) { + yyv4888 = yyv4888[:yyj4888] + yyc4888 = true + } else if yyj4888 == 0 && yyv4888 == nil { + yyv4888 = []ConfigMap{} + yyc4888 = true } } - yyh4897.End() - if yyc4897 { - *v = yyv4897 + yyh4888.End() + if yyc4888 { + *v = yyv4888 } } @@ -62939,10 +62857,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4901 := range v { + for _, yyv4892 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4902 := &yyv4901 - yy4902.CodecEncodeSelf(e) + yy4893 := &yyv4892 + yy4893.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62952,83 +62870,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4903 := *v - yyh4903, yyl4903 := z.DecSliceHelperStart() - var yyc4903 bool - if yyl4903 == 0 { - if yyv4903 == nil { - yyv4903 = []ComponentCondition{} - yyc4903 = true - } else if len(yyv4903) != 0 { - yyv4903 = yyv4903[:0] - yyc4903 = true + yyv4894 := *v + yyh4894, yyl4894 := z.DecSliceHelperStart() + var yyc4894 bool + if yyl4894 == 0 { + if yyv4894 == nil { + yyv4894 = []ComponentCondition{} + yyc4894 = true + } else if len(yyv4894) != 0 { + yyv4894 = yyv4894[:0] + yyc4894 = true } - } else if yyl4903 > 0 { - var yyrr4903, yyrl4903 int - var yyrt4903 bool - if yyl4903 > cap(yyv4903) { + } else if yyl4894 > 0 { + var yyrr4894, yyrl4894 int + var yyrt4894 bool + if yyl4894 > cap(yyv4894) { - yyrg4903 := len(yyv4903) > 0 - yyv24903 := yyv4903 - yyrl4903, yyrt4903 = z.DecInferLen(yyl4903, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4903 { - if yyrl4903 <= cap(yyv4903) { - yyv4903 = yyv4903[:yyrl4903] + yyrg4894 := len(yyv4894) > 0 + yyv24894 := yyv4894 + yyrl4894, yyrt4894 = z.DecInferLen(yyl4894, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4894 { + if yyrl4894 <= cap(yyv4894) { + yyv4894 = yyv4894[:yyrl4894] } else { - yyv4903 = make([]ComponentCondition, yyrl4903) + yyv4894 = make([]ComponentCondition, yyrl4894) } } else { - yyv4903 = make([]ComponentCondition, yyrl4903) + yyv4894 = make([]ComponentCondition, yyrl4894) } - yyc4903 = true - yyrr4903 = len(yyv4903) - if yyrg4903 { - copy(yyv4903, yyv24903) + yyc4894 = true + yyrr4894 = len(yyv4894) + if yyrg4894 { + copy(yyv4894, yyv24894) } - } else if yyl4903 != len(yyv4903) { - yyv4903 = yyv4903[:yyl4903] - yyc4903 = true + } else if yyl4894 != len(yyv4894) { + yyv4894 = yyv4894[:yyl4894] + yyc4894 = true } - yyj4903 := 0 - for ; yyj4903 < yyrr4903; yyj4903++ { - yyh4903.ElemContainerState(yyj4903) + yyj4894 := 0 + for ; yyj4894 < yyrr4894; yyj4894++ { + yyh4894.ElemContainerState(yyj4894) if r.TryDecodeAsNil() { - yyv4903[yyj4903] = ComponentCondition{} + yyv4894[yyj4894] = ComponentCondition{} } else { - yyv4904 := &yyv4903[yyj4903] - yyv4904.CodecDecodeSelf(d) + yyv4895 := &yyv4894[yyj4894] + yyv4895.CodecDecodeSelf(d) } } - if yyrt4903 { - for ; yyj4903 < yyl4903; yyj4903++ { - yyv4903 = append(yyv4903, ComponentCondition{}) - yyh4903.ElemContainerState(yyj4903) + if yyrt4894 { + for ; yyj4894 < yyl4894; yyj4894++ { + yyv4894 = append(yyv4894, ComponentCondition{}) + yyh4894.ElemContainerState(yyj4894) if r.TryDecodeAsNil() { - yyv4903[yyj4903] = ComponentCondition{} + yyv4894[yyj4894] = ComponentCondition{} } else { - yyv4905 := &yyv4903[yyj4903] - yyv4905.CodecDecodeSelf(d) + yyv4896 := &yyv4894[yyj4894] + yyv4896.CodecDecodeSelf(d) } } } } else { - yyj4903 := 0 - for ; !r.CheckBreak(); yyj4903++ { + yyj4894 := 0 + for ; !r.CheckBreak(); yyj4894++ { - if yyj4903 >= len(yyv4903) { - yyv4903 = append(yyv4903, ComponentCondition{}) // var yyz4903 ComponentCondition - yyc4903 = true + if yyj4894 >= len(yyv4894) { + yyv4894 = append(yyv4894, ComponentCondition{}) // var yyz4894 ComponentCondition + yyc4894 = true } - yyh4903.ElemContainerState(yyj4903) - if yyj4903 < len(yyv4903) { + yyh4894.ElemContainerState(yyj4894) + if yyj4894 < len(yyv4894) { if r.TryDecodeAsNil() { - yyv4903[yyj4903] = ComponentCondition{} + yyv4894[yyj4894] = ComponentCondition{} } else { - yyv4906 := &yyv4903[yyj4903] - yyv4906.CodecDecodeSelf(d) + yyv4897 := &yyv4894[yyj4894] + yyv4897.CodecDecodeSelf(d) } } else { @@ -63036,17 +62954,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj4903 < len(yyv4903) { - yyv4903 = yyv4903[:yyj4903] - yyc4903 = true - } else if yyj4903 == 0 && yyv4903 == nil { - yyv4903 = []ComponentCondition{} - yyc4903 = true + if yyj4894 < len(yyv4894) { + yyv4894 = yyv4894[:yyj4894] + yyc4894 = true + } else if yyj4894 == 0 && yyv4894 == nil { + yyv4894 = []ComponentCondition{} + yyc4894 = true } } - yyh4903.End() - if yyc4903 { - *v = yyv4903 + yyh4894.End() + if yyc4894 { + *v = yyv4894 } } @@ -63055,10 +62973,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4907 := range v { + for _, yyv4898 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4908 := &yyv4907 - yy4908.CodecEncodeSelf(e) + yy4899 := &yyv4898 + yy4899.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -63068,83 +62986,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4909 := *v - yyh4909, yyl4909 := z.DecSliceHelperStart() - var yyc4909 bool - if yyl4909 == 0 { - if yyv4909 == nil { - yyv4909 = []ComponentStatus{} - yyc4909 = true - } else if len(yyv4909) != 0 { - yyv4909 = yyv4909[:0] - yyc4909 = true + yyv4900 := *v + yyh4900, yyl4900 := z.DecSliceHelperStart() + var yyc4900 bool + if yyl4900 == 0 { + if yyv4900 == nil { + yyv4900 = []ComponentStatus{} + yyc4900 = true + } else if len(yyv4900) != 0 { + yyv4900 = yyv4900[:0] + yyc4900 = true } - } else if yyl4909 > 0 { - var yyrr4909, yyrl4909 int - var yyrt4909 bool - if yyl4909 > cap(yyv4909) { + } else if yyl4900 > 0 { + var yyrr4900, yyrl4900 int + var yyrt4900 bool + if yyl4900 > cap(yyv4900) { - yyrg4909 := len(yyv4909) > 0 - yyv24909 := yyv4909 - yyrl4909, yyrt4909 = z.DecInferLen(yyl4909, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4909 { - if yyrl4909 <= cap(yyv4909) { - yyv4909 = yyv4909[:yyrl4909] + yyrg4900 := len(yyv4900) > 0 + yyv24900 := yyv4900 + yyrl4900, yyrt4900 = z.DecInferLen(yyl4900, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4900 { + if yyrl4900 <= cap(yyv4900) { + yyv4900 = yyv4900[:yyrl4900] } else { - yyv4909 = make([]ComponentStatus, yyrl4909) + yyv4900 = make([]ComponentStatus, yyrl4900) } } else { - yyv4909 = make([]ComponentStatus, yyrl4909) + yyv4900 = make([]ComponentStatus, yyrl4900) } - yyc4909 = true - yyrr4909 = len(yyv4909) - if yyrg4909 { - copy(yyv4909, yyv24909) + yyc4900 = true + yyrr4900 = len(yyv4900) + if yyrg4900 { + copy(yyv4900, yyv24900) } - } else if yyl4909 != len(yyv4909) { - yyv4909 = yyv4909[:yyl4909] - yyc4909 = true + } else if yyl4900 != len(yyv4900) { + yyv4900 = yyv4900[:yyl4900] + yyc4900 = true } - yyj4909 := 0 - for ; yyj4909 < yyrr4909; yyj4909++ { - yyh4909.ElemContainerState(yyj4909) + yyj4900 := 0 + for ; yyj4900 < yyrr4900; yyj4900++ { + yyh4900.ElemContainerState(yyj4900) if r.TryDecodeAsNil() { - yyv4909[yyj4909] = ComponentStatus{} + yyv4900[yyj4900] = ComponentStatus{} } else { - yyv4910 := &yyv4909[yyj4909] - yyv4910.CodecDecodeSelf(d) + yyv4901 := &yyv4900[yyj4900] + yyv4901.CodecDecodeSelf(d) } } - if yyrt4909 { - for ; yyj4909 < yyl4909; yyj4909++ { - yyv4909 = append(yyv4909, ComponentStatus{}) - yyh4909.ElemContainerState(yyj4909) + if yyrt4900 { + for ; yyj4900 < yyl4900; yyj4900++ { + yyv4900 = append(yyv4900, ComponentStatus{}) + yyh4900.ElemContainerState(yyj4900) if r.TryDecodeAsNil() { - yyv4909[yyj4909] = ComponentStatus{} + yyv4900[yyj4900] = ComponentStatus{} } else { - yyv4911 := &yyv4909[yyj4909] - yyv4911.CodecDecodeSelf(d) + yyv4902 := &yyv4900[yyj4900] + yyv4902.CodecDecodeSelf(d) } } } } else { - yyj4909 := 0 - for ; !r.CheckBreak(); yyj4909++ { + yyj4900 := 0 + for ; !r.CheckBreak(); yyj4900++ { - if yyj4909 >= len(yyv4909) { - yyv4909 = append(yyv4909, ComponentStatus{}) // var yyz4909 ComponentStatus - yyc4909 = true + if yyj4900 >= len(yyv4900) { + yyv4900 = append(yyv4900, ComponentStatus{}) // var yyz4900 ComponentStatus + yyc4900 = true } - yyh4909.ElemContainerState(yyj4909) - if yyj4909 < len(yyv4909) { + yyh4900.ElemContainerState(yyj4900) + if yyj4900 < len(yyv4900) { if r.TryDecodeAsNil() { - yyv4909[yyj4909] = ComponentStatus{} + yyv4900[yyj4900] = ComponentStatus{} } else { - yyv4912 := &yyv4909[yyj4909] - yyv4912.CodecDecodeSelf(d) + yyv4903 := &yyv4900[yyj4900] + yyv4903.CodecDecodeSelf(d) } } else { @@ -63152,17 +63070,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj4909 < len(yyv4909) { - yyv4909 = yyv4909[:yyj4909] - yyc4909 = true - } else if yyj4909 == 0 && yyv4909 == nil { - yyv4909 = []ComponentStatus{} - yyc4909 = true + if yyj4900 < len(yyv4900) { + yyv4900 = yyv4900[:yyj4900] + yyc4900 = true + } else if yyj4900 == 0 && yyv4900 == nil { + yyv4900 = []ComponentStatus{} + yyc4900 = true } } - yyh4909.End() - if yyc4909 { - *v = yyv4909 + yyh4900.End() + if yyc4900 { + *v = yyv4900 } } @@ -63171,10 +63089,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4913 := range v { + for _, yyv4904 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4914 := &yyv4913 - yy4914.CodecEncodeSelf(e) + yy4905 := &yyv4904 + yy4905.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -63184,83 +63102,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4915 := *v - yyh4915, yyl4915 := z.DecSliceHelperStart() - var yyc4915 bool - if yyl4915 == 0 { - if yyv4915 == nil { - yyv4915 = []DownwardAPIVolumeFile{} - yyc4915 = true - } else if len(yyv4915) != 0 { - yyv4915 = yyv4915[:0] - yyc4915 = true + yyv4906 := *v + yyh4906, yyl4906 := z.DecSliceHelperStart() + var yyc4906 bool + if yyl4906 == 0 { + if yyv4906 == nil { + yyv4906 = []DownwardAPIVolumeFile{} + yyc4906 = true + } else if len(yyv4906) != 0 { + yyv4906 = yyv4906[:0] + yyc4906 = true } - } else if yyl4915 > 0 { - var yyrr4915, yyrl4915 int - var yyrt4915 bool - if yyl4915 > cap(yyv4915) { + } else if yyl4906 > 0 { + var yyrr4906, yyrl4906 int + var yyrt4906 bool + if yyl4906 > cap(yyv4906) { - yyrg4915 := len(yyv4915) > 0 - yyv24915 := yyv4915 - yyrl4915, yyrt4915 = z.DecInferLen(yyl4915, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4915 { - if yyrl4915 <= cap(yyv4915) { - yyv4915 = yyv4915[:yyrl4915] + yyrg4906 := len(yyv4906) > 0 + yyv24906 := yyv4906 + yyrl4906, yyrt4906 = z.DecInferLen(yyl4906, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4906 { + if yyrl4906 <= cap(yyv4906) { + yyv4906 = yyv4906[:yyrl4906] } else { - yyv4915 = make([]DownwardAPIVolumeFile, yyrl4915) + yyv4906 = make([]DownwardAPIVolumeFile, yyrl4906) } } else { - yyv4915 = make([]DownwardAPIVolumeFile, yyrl4915) + yyv4906 = make([]DownwardAPIVolumeFile, yyrl4906) } - yyc4915 = true - yyrr4915 = len(yyv4915) - if yyrg4915 { - copy(yyv4915, yyv24915) + yyc4906 = true + yyrr4906 = len(yyv4906) + if yyrg4906 { + copy(yyv4906, yyv24906) } - } else if yyl4915 != len(yyv4915) { - yyv4915 = yyv4915[:yyl4915] - yyc4915 = true + } else if yyl4906 != len(yyv4906) { + yyv4906 = yyv4906[:yyl4906] + yyc4906 = true } - yyj4915 := 0 - for ; yyj4915 < yyrr4915; yyj4915++ { - yyh4915.ElemContainerState(yyj4915) + yyj4906 := 0 + for ; yyj4906 < yyrr4906; yyj4906++ { + yyh4906.ElemContainerState(yyj4906) if r.TryDecodeAsNil() { - yyv4915[yyj4915] = DownwardAPIVolumeFile{} + yyv4906[yyj4906] = DownwardAPIVolumeFile{} } else { - yyv4916 := &yyv4915[yyj4915] - yyv4916.CodecDecodeSelf(d) + yyv4907 := &yyv4906[yyj4906] + yyv4907.CodecDecodeSelf(d) } } - if yyrt4915 { - for ; yyj4915 < yyl4915; yyj4915++ { - yyv4915 = append(yyv4915, DownwardAPIVolumeFile{}) - yyh4915.ElemContainerState(yyj4915) + if yyrt4906 { + for ; yyj4906 < yyl4906; yyj4906++ { + yyv4906 = append(yyv4906, DownwardAPIVolumeFile{}) + yyh4906.ElemContainerState(yyj4906) if r.TryDecodeAsNil() { - yyv4915[yyj4915] = DownwardAPIVolumeFile{} + yyv4906[yyj4906] = DownwardAPIVolumeFile{} } else { - yyv4917 := &yyv4915[yyj4915] - yyv4917.CodecDecodeSelf(d) + yyv4908 := &yyv4906[yyj4906] + yyv4908.CodecDecodeSelf(d) } } } } else { - yyj4915 := 0 - for ; !r.CheckBreak(); yyj4915++ { + yyj4906 := 0 + for ; !r.CheckBreak(); yyj4906++ { - if yyj4915 >= len(yyv4915) { - yyv4915 = append(yyv4915, DownwardAPIVolumeFile{}) // var yyz4915 DownwardAPIVolumeFile - yyc4915 = true + if yyj4906 >= len(yyv4906) { + yyv4906 = append(yyv4906, DownwardAPIVolumeFile{}) // var yyz4906 DownwardAPIVolumeFile + yyc4906 = true } - yyh4915.ElemContainerState(yyj4915) - if yyj4915 < len(yyv4915) { + yyh4906.ElemContainerState(yyj4906) + if yyj4906 < len(yyv4906) { if r.TryDecodeAsNil() { - yyv4915[yyj4915] = DownwardAPIVolumeFile{} + yyv4906[yyj4906] = DownwardAPIVolumeFile{} } else { - yyv4918 := &yyv4915[yyj4915] - yyv4918.CodecDecodeSelf(d) + yyv4909 := &yyv4906[yyj4906] + yyv4909.CodecDecodeSelf(d) } } else { @@ -63268,16 +63186,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj4915 < len(yyv4915) { - yyv4915 = yyv4915[:yyj4915] - yyc4915 = true - } else if yyj4915 == 0 && yyv4915 == nil { - yyv4915 = []DownwardAPIVolumeFile{} - yyc4915 = true + if yyj4906 < len(yyv4906) { + yyv4906 = yyv4906[:yyj4906] + yyc4906 = true + } else if yyj4906 == 0 && yyv4906 == nil { + yyv4906 = []DownwardAPIVolumeFile{} + yyc4906 = true } } - yyh4915.End() - if yyc4915 { - *v = yyv4915 + yyh4906.End() + if yyc4906 { + *v = yyv4906 } } diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index 9926e570..377a7700 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -72,6 +72,7 @@ type ObjectMeta struct { // definition. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/identifiers#names + // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // GenerateName is an optional prefix, used by the server, to generate a unique @@ -89,6 +90,7 @@ type ObjectMeta struct { // // Applied only if Name is not specified. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency + // +optional GenerateName string `json:"generateName,omitempty" protobuf:"bytes,2,opt,name=generateName"` // Namespace defines the space within each name must be unique. An empty namespace is @@ -99,11 +101,13 @@ type ObjectMeta struct { // Must be a DNS_LABEL. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/namespaces + // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` // SelfLink is a URL representing this object. // Populated by the system. // Read-only. + // +optional SelfLink string `json:"selfLink,omitempty" protobuf:"bytes,4,opt,name=selfLink"` // UID is the unique in time and space value for this object. It is typically generated by @@ -113,6 +117,7 @@ type ObjectMeta struct { // Populated by the system. // Read-only. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids + // +optional UID types.UID `json:"uid,omitempty" protobuf:"bytes,5,opt,name=uid,casttype=k8s.io/kubernetes/pkg/types.UID"` // An opaque value that represents the internal version of this object that can @@ -125,10 +130,12 @@ type ObjectMeta struct { // Read-only. // Value must be treated as opaque by clients and . // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + // +optional ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,6,opt,name=resourceVersion"` // A sequence number representing a specific generation of the desired state. // Populated by the system. Read-only. + // +optional Generation int64 `json:"generation,omitempty" protobuf:"varint,7,opt,name=generation"` // CreationTimestamp is a timestamp representing the server time when this object was @@ -139,6 +146,7 @@ type ObjectMeta struct { // Read-only. // Null for lists. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional CreationTimestamp unversioned.Time `json:"creationTimestamp,omitempty" protobuf:"bytes,8,opt,name=creationTimestamp"` // DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This @@ -155,41 +163,48 @@ type ObjectMeta struct { // Populated by the system when a graceful deletion is requested. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional DeletionTimestamp *unversioned.Time `json:"deletionTimestamp,omitempty" protobuf:"bytes,9,opt,name=deletionTimestamp"` // 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. // May only be shortened. // Read-only. + // +optional DeletionGracePeriodSeconds *int64 `json:"deletionGracePeriodSeconds,omitempty" protobuf:"varint,10,opt,name=deletionGracePeriodSeconds"` // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication controllers // and services. // More info: http://kubernetes.io/docs/user-guide/labels + // +optional Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"` // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // More info: http://kubernetes.io/docs/user-guide/annotations + // +optional Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,12,rep,name=annotations"` // List of objects depended by this object. If ALL objects in the list have // been deleted, this object will be garbage collected. If this object is managed by a controller, // 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 OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" patchStrategy:"merge" patchMergeKey:"uid" protobuf:"bytes,13,rep,name=ownerReferences"` // 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 // from the list. If the deletionTimestamp of the object is non-nil, entries // in this list can only be removed. + // +optional Finalizers []string `json:"finalizers,omitempty" patchStrategy:"merge" protobuf:"bytes,14,rep,name=finalizers"` // The name of the cluster which the object belongs to. // This is used to distinguish resources with same name and namespace in different clusters. // This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. + // +optional ClusterName string `json:"clusterName,omitempty" protobuf:"bytes,15,opt,name=clusterName"` } @@ -223,64 +238,86 @@ type VolumeSource struct { // --- // TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not // mount host directories as read/write. + // +optional HostPath *HostPathVolumeSource `json:"hostPath,omitempty" protobuf:"bytes,1,opt,name=hostPath"` // EmptyDir represents a temporary directory that shares a pod's lifetime. // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + // +optional EmptyDir *EmptyDirVolumeSource `json:"emptyDir,omitempty" protobuf:"bytes,2,opt,name=emptyDir"` // GCEPersistentDisk represents a GCE Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" protobuf:"bytes,3,opt,name=gcePersistentDisk"` // AWSElasticBlockStore represents an AWS Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + // +optional AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" protobuf:"bytes,4,opt,name=awsElasticBlockStore"` // GitRepo represents a git repository at a particular revision. + // +optional GitRepo *GitRepoVolumeSource `json:"gitRepo,omitempty" protobuf:"bytes,5,opt,name=gitRepo"` // Secret represents a secret that should populate this volume. // More info: http://kubernetes.io/docs/user-guide/volumes#secrets + // +optional Secret *SecretVolumeSource `json:"secret,omitempty" protobuf:"bytes,6,opt,name=secret"` // NFS represents an NFS mount on the host that shares a pod's lifetime // More info: http://kubernetes.io/docs/user-guide/volumes#nfs + // +optional NFS *NFSVolumeSource `json:"nfs,omitempty" protobuf:"bytes,7,opt,name=nfs"` // ISCSI represents an ISCSI Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md + // +optional ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty" protobuf:"bytes,8,opt,name=iscsi"` // Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. // More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + // +optional Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" protobuf:"bytes,9,opt,name=glusterfs"` // PersistentVolumeClaimVolumeSource represents a reference to a // PersistentVolumeClaim in the same namespace. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + // +optional PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty" protobuf:"bytes,10,opt,name=persistentVolumeClaim"` // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + // +optional RBD *RBDVolumeSource `json:"rbd,omitempty" protobuf:"bytes,11,opt,name=rbd"` // FlexVolume represents a generic volume resource that is // provisioned/attached using an exec based plugin. This is an // alpha feature and may change in future. + // +optional FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" protobuf:"bytes,12,opt,name=flexVolume"` // Cinder represents a cinder volume attached and mounted on kubelets host machine // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional Cinder *CinderVolumeSource `json:"cinder,omitempty" protobuf:"bytes,13,opt,name=cinder"` // CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional CephFS *CephFSVolumeSource `json:"cephfs,omitempty" protobuf:"bytes,14,opt,name=cephfs"` // Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + // +optional Flocker *FlockerVolumeSource `json:"flocker,omitempty" protobuf:"bytes,15,opt,name=flocker"` // DownwardAPI represents downward API about the pod that should populate this volume + // +optional DownwardAPI *DownwardAPIVolumeSource `json:"downwardAPI,omitempty" protobuf:"bytes,16,opt,name=downwardAPI"` // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional FC *FCVolumeSource `json:"fc,omitempty" protobuf:"bytes,17,opt,name=fc"` // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty" protobuf:"bytes,18,opt,name=azureFile"` // ConfigMap represents a configMap that should populate this volume + // +optional ConfigMap *ConfigMapVolumeSource `json:"configMap,omitempty" protobuf:"bytes,19,opt,name=configMap"` // VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty" protobuf:"bytes,20,opt,name=vsphereVolume"` // Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty" protobuf:"bytes,21,opt,name=quobyte"` // AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty" protobuf:"bytes,22,opt,name=azureDisk"` } @@ -294,6 +331,7 @@ type PersistentVolumeClaimVolumeSource struct { ClaimName string `json:"claimName" protobuf:"bytes,1,opt,name=claimName"` // Will force the ReadOnly setting in VolumeMounts. // Default false. + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"` } @@ -303,50 +341,66 @@ type PersistentVolumeSource struct { // GCEPersistentDisk represents a GCE Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. Provisioned by an admin. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" protobuf:"bytes,1,opt,name=gcePersistentDisk"` // AWSElasticBlockStore represents an AWS Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + // +optional AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" protobuf:"bytes,2,opt,name=awsElasticBlockStore"` // HostPath represents a directory on the host. // Provisioned by a developer or tester. // This is useful for single-node development and testing only! // On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + // +optional HostPath *HostPathVolumeSource `json:"hostPath,omitempty" protobuf:"bytes,3,opt,name=hostPath"` // Glusterfs represents a Glusterfs volume that is attached to a host and // exposed to the pod. Provisioned by an admin. // More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + // +optional Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" protobuf:"bytes,4,opt,name=glusterfs"` // NFS represents an NFS mount on the host. Provisioned by an admin. // More info: http://kubernetes.io/docs/user-guide/volumes#nfs + // +optional NFS *NFSVolumeSource `json:"nfs,omitempty" protobuf:"bytes,5,opt,name=nfs"` // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + // +optional RBD *RBDVolumeSource `json:"rbd,omitempty" protobuf:"bytes,6,opt,name=rbd"` // ISCSI represents an ISCSI Disk resource that is attached to a // kubelet's host machine and then exposed to the pod. Provisioned by an admin. + // +optional ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty" protobuf:"bytes,7,opt,name=iscsi"` // Cinder represents a cinder volume attached and mounted on kubelets host machine // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional Cinder *CinderVolumeSource `json:"cinder,omitempty" protobuf:"bytes,8,opt,name=cinder"` // CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional CephFS *CephFSVolumeSource `json:"cephfs,omitempty" protobuf:"bytes,9,opt,name=cephfs"` // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional FC *FCVolumeSource `json:"fc,omitempty" protobuf:"bytes,10,opt,name=fc"` // Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running + // +optional Flocker *FlockerVolumeSource `json:"flocker,omitempty" protobuf:"bytes,11,opt,name=flocker"` // FlexVolume represents a generic volume resource that is // provisioned/attached using an exec based plugin. This is an // alpha feature and may change in future. + // +optional FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" protobuf:"bytes,12,opt,name=flexVolume"` // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty" protobuf:"bytes,13,opt,name=azureFile"` // VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty" protobuf:"bytes,14,opt,name=vsphereVolume"` // Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty" protobuf:"bytes,15,opt,name=quobyte"` // AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty" protobuf:"bytes,16,opt,name=azureDisk"` } @@ -360,17 +414,20 @@ type PersistentVolume struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines a specification of a persistent volume owned by the cluster. // Provisioned by an administrator. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes + // +optional Spec PersistentVolumeSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status represents the current information/status for the persistent volume. // Populated by the system. // Read-only. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes + // +optional Status PersistentVolumeStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -378,21 +435,25 @@ type PersistentVolume struct { type PersistentVolumeSpec struct { // A description of the persistent volume's resources and capacity. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity + // +optional Capacity ResourceList `json:"capacity,omitempty" protobuf:"bytes,1,rep,name=capacity,casttype=ResourceList,castkey=ResourceName"` // The actual volume backing the persistent volume. PersistentVolumeSource `json:",inline" protobuf:"bytes,2,opt,name=persistentVolumeSource"` // AccessModes contains all ways the volume can be mounted. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes + // +optional AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,3,rep,name=accessModes,casttype=PersistentVolumeAccessMode"` // ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. // Expected to be non-nil when bound. // claim.VolumeName is the authoritative bind between PV and PVC. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding + // +optional ClaimRef *ObjectReference `json:"claimRef,omitempty" protobuf:"bytes,4,opt,name=claimRef"` // What happens to a persistent volume when released from its claim. // Valid options are Retain (default) and Recycle. // Recycling must be supported by the volume plugin underlying this persistent volume. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy + // +optional PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy `json:"persistentVolumeReclaimPolicy,omitempty" protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy,casttype=PersistentVolumeReclaimPolicy"` } @@ -415,11 +476,14 @@ const ( type PersistentVolumeStatus struct { // Phase indicates if a volume is available, bound to a claim, or released by a claim. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase + // +optional Phase PersistentVolumePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=PersistentVolumePhase"` // A human-readable message indicating details about why the volume is in this state. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` // Reason is a brief CamelCase string that describes any failure and is meant // for machine parsing and tidy display in the CLI. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"` } @@ -428,6 +492,7 @@ type PersistentVolumeList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of persistent volumes. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes @@ -441,15 +506,18 @@ type PersistentVolumeClaim struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the desired characteristics of a volume requested by a pod author. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + // +optional Spec PersistentVolumeClaimSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status represents the current information/status of a persistent volume claim. // Read-only. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + // +optional Status PersistentVolumeClaimStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -458,6 +526,7 @@ type PersistentVolumeClaimList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // A list of persistent volume claims. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims @@ -469,24 +538,31 @@ type PersistentVolumeClaimList struct { type PersistentVolumeClaimSpec struct { // AccessModes contains the desired access modes the volume should have. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 + // +optional AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,1,rep,name=accessModes,casttype=PersistentVolumeAccessMode"` // A label query over volumes to consider for binding. + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // Resources represents the minimum resources the volume should have. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources + // +optional Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,2,opt,name=resources"` // VolumeName is the binding reference to the PersistentVolume backing this claim. + // +optional VolumeName string `json:"volumeName,omitempty" protobuf:"bytes,3,opt,name=volumeName"` } // PersistentVolumeClaimStatus is the current status of a persistent volume claim. type PersistentVolumeClaimStatus struct { // Phase represents the current phase of PersistentVolumeClaim. + // +optional Phase PersistentVolumeClaimPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=PersistentVolumeClaimPhase"` // AccessModes contains the actual access modes the volume backing the PVC has. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 + // +optional AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,2,rep,name=accessModes,casttype=PersistentVolumeAccessMode"` // Represents the actual resources of the underlying volume. + // +optional Capacity ResourceList `json:"capacity,omitempty" protobuf:"bytes,3,rep,name=capacity,casttype=ResourceList,castkey=ResourceName"` } @@ -547,6 +623,7 @@ type EmptyDirVolumeSource struct { // The default is "" which means to use the node's default medium. // Must be an empty string (default) or Memory. // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + // +optional Medium StorageMedium `json:"medium,omitempty" protobuf:"bytes,1,opt,name=medium,casttype=StorageMedium"` } @@ -564,6 +641,7 @@ type GlusterfsVolumeSource struct { // ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. // Defaults to false. // More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` } @@ -581,27 +659,33 @@ type RBDVolumeSource struct { // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#rbd // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"` // The rados pool name. // Default is rbd. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. + // +optional RBDPool string `json:"pool,omitempty" protobuf:"bytes,4,opt,name=pool"` // The rados user name. // Default is admin. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional RadosUser string `json:"user,omitempty" protobuf:"bytes,5,opt,name=user"` // Keyring is the path to key ring for RBDUser. // Default is /etc/ceph/keyring. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional Keyring string `json:"keyring,omitempty" protobuf:"bytes,6,opt,name=keyring"` // SecretRef is name of the authentication secret for RBDUser. If provided // overrides keyring. // Default is nil. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,7,opt,name=secretRef"` // ReadOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. // More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,8,opt,name=readOnly"` } @@ -617,10 +701,12 @@ type CinderVolumeSource struct { // Must be a filesystem type supported by the host operating system. // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` } @@ -631,19 +717,24 @@ type CephFSVolumeSource struct { // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"` // Optional: Used as the mounted root, rather than the full Ceph tree, default is / + // +optional Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"` // Optional: User is the rados user name, default is admin // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"` // Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional SecretFile string `json:"secretFile,omitempty" protobuf:"bytes,4,opt,name=secretFile"` // Optional: SecretRef is reference to the authentication secret for User, default is empty. // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,5,opt,name=secretRef"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"` } @@ -653,8 +744,10 @@ type CephFSVolumeSource struct { type FlockerVolumeSource struct { // Name of the dataset stored as metadata -> name on the dataset for Flocker // should be considered as deprecated + // +optional DatasetName string `json:"datasetName,omitempty" protobuf:"bytes,1,opt,name=datasetName"` // UUID of the dataset. This is unique identifier of a Flocker dataset + // +optional DatasetUUID string `json:"datasetUUID,omitempty" protobuf:"bytes,2,opt,name=datasetUUID"` } @@ -691,16 +784,19 @@ type GCEPersistentDiskVolumeSource struct { // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // The partition in the volume that you want to mount. // If omitted, the default is to mount by volume name. // Examples: For volume /dev/sda1, you specify the partition as "1". // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional Partition int32 `json:"partition,omitempty" protobuf:"varint,3,opt,name=partition"` // ReadOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"` } @@ -717,14 +813,17 @@ type QuobyteVolumeSource struct { // ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. // Defaults to false. + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` // User to map volume access to // Defaults to serivceaccount user + // +optional User string `json:"user,omitempty" protobuf:"bytes,4,opt,name=user"` // Group to map volume access to // Default is no group + // +optional Group string `json:"group,omitempty" protobuf:"bytes,5,opt,name=group"` } @@ -736,17 +835,21 @@ type FlexVolumeSource struct { // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // Optional: SecretRef is reference to the secret object containing // sensitive information to pass to the plugin scripts. This may be // empty if no secret object is specified. If the secret object // contains more than one secret, all secrets are passed to the plugin // scripts. + // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,3,opt,name=secretRef"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"` // Optional: Extra command options if any. + // +optional Options map[string]string `json:"options,omitempty" protobuf:"bytes,5,rep,name=options"` } @@ -765,15 +868,18 @@ type AWSElasticBlockStoreVolumeSource struct { // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // The partition in the volume that you want to mount. // If omitted, the default is to mount by volume name. // Examples: For volume /dev/sda1, you specify the partition as "1". // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + // +optional Partition int32 `json:"partition,omitempty" protobuf:"varint,3,opt,name=partition"` // Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". // If omitted, the default is "false". // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"` } @@ -784,11 +890,13 @@ type GitRepoVolumeSource struct { // Repository URL Repository string `json:"repository" protobuf:"bytes,1,opt,name=repository"` // Commit hash for the specified revision. + // +optional Revision string `json:"revision,omitempty" protobuf:"bytes,2,opt,name=revision"` // Target directory name. // Must not contain or start with '..'. If '.' is supplied, the volume directory will be the // git repository. Otherwise, if specified, the volume will contain the git repository in // the subdirectory with the given name. + // +optional Directory string `json:"directory,omitempty" protobuf:"bytes,3,opt,name=directory"` } @@ -800,6 +908,7 @@ type GitRepoVolumeSource struct { type SecretVolumeSource struct { // Name of the secret in the pod's namespace to use. // More info: http://kubernetes.io/docs/user-guide/volumes#secrets + // +optional SecretName string `json:"secretName,omitempty" protobuf:"bytes,1,opt,name=secretName"` // If unspecified, each key-value pair in the Data field of the referenced // Secret will be projected into the volume as a file whose name is the @@ -808,12 +917,14 @@ type SecretVolumeSource struct { // present. If a key is specified which is not present in the Secret, // the volume setup will error. Paths must be relative and may not contain // the '..' path or start with '..'. + // +optional Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` // Optional: mode bits to use on created files by default. Must be a // value between 0 and 0777. Defaults to 0644. // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional DefaultMode *int32 `json:"defaultMode,omitempty" protobuf:"bytes,3,opt,name=defaultMode"` } @@ -836,6 +947,7 @@ type NFSVolumeSource struct { // the NFS export to be mounted with read-only permissions. // Defaults to false. // More info: http://kubernetes.io/docs/user-guide/volumes#nfs + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` } @@ -851,15 +963,18 @@ type ISCSIVolumeSource struct { // iSCSI target lun number. Lun int32 `json:"lun" protobuf:"varint,3,opt,name=lun"` // Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. + // +optional ISCSIInterface string `json:"iscsiInterface,omitempty" protobuf:"bytes,4,opt,name=iscsiInterface"` // Filesystem type of the volume that you want to mount. // Tip: Ensure that the filesystem type is supported by the host operating system. // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: http://kubernetes.io/docs/user-guide/volumes#iscsi // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,5,opt,name=fsType"` // ReadOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"` } @@ -875,9 +990,11 @@ type FCVolumeSource struct { // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"` } @@ -889,6 +1006,7 @@ type AzureFileVolumeSource struct { ShareName string `json:"shareName" protobuf:"bytes,2,opt,name=shareName"` // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` } @@ -899,6 +1017,7 @@ type VsphereVirtualDiskVolumeSource struct { // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` } type AzureDataDiskCachingMode string @@ -916,13 +1035,16 @@ type AzureDiskVolumeSource struct { // The URI the data disk in the blob storage DataDiskURI string `json:"diskURI" protobuf:"bytes,2,opt,name=diskURI"` // Host Caching mode: None, Read Only, Read Write. + // +optional CachingMode *AzureDataDiskCachingMode `json:"cachingMode,omitempty" protobuf:"bytes,3,opt,name=cachingMode,casttype=AzureDataDiskCachingMode"` // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional FSType *string `json:"fsType,omitempty" protobuf:"bytes,4,opt,name=fsType"` // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. + // +optional ReadOnly *bool `json:"readOnly,omitempty" protobuf:"varint,5,opt,name=readOnly"` } @@ -941,12 +1063,14 @@ type ConfigMapVolumeSource struct { // present. If a key is specified which is not present in the ConfigMap, // the volume setup will error. Paths must be relative and may not contain // the '..' path or start with '..'. + // +optional Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` // Optional: mode bits to use on created files by default. Must be a // value between 0 and 0777. Defaults to 0644. // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional DefaultMode *int32 `json:"defaultMode,omitempty" protobuf:"varint,3,opt,name=defaultMode"` } @@ -968,6 +1092,7 @@ type KeyToPath struct { // and 0777. If not specified, the volume defaultMode will be used. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional Mode *int32 `json:"mode,omitempty" protobuf:"varint,3,opt,name=mode"` } @@ -976,19 +1101,23 @@ type ContainerPort struct { // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each // named port in a pod must have a unique name. Name for the port that can be // referred to by services. + // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // Number of port to expose on the host. // If specified, this must be a valid port number, 0 < x < 65536. // If HostNetwork is specified, this must match ContainerPort. // Most containers do not need this. + // +optional HostPort int32 `json:"hostPort,omitempty" protobuf:"varint,2,opt,name=hostPort"` // Number of port to expose on the pod's IP address. // This must be a valid port number, 0 < x < 65536. ContainerPort int32 `json:"containerPort" protobuf:"varint,3,opt,name=containerPort"` // Protocol for port. Must be UDP or TCP. // Defaults to "TCP". + // +optional Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,4,opt,name=protocol,casttype=Protocol"` // What host IP to bind the external port to. + // +optional HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"` } @@ -998,12 +1127,14 @@ type VolumeMount struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Mounted read-only if true, read-write otherwise (false or unspecified). // Defaults to false. + // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"` // Path within the container at which the volume should be mounted. Must // not contain ':'. MountPath string `json:"mountPath" protobuf:"bytes,3,opt,name=mountPath"` // Path within the volume from which the container's volume should be mounted. // Defaults to "" (volume's root). + // +optional SubPath string `json:"subPath,omitempty" protobuf:"bytes,4,opt,name=subPath"` } @@ -1022,8 +1153,10 @@ type EnvVar struct { // references will never be expanded, regardless of whether the variable // exists or not. // Defaults to "". + // +optional Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"` // Source for the environment variable's value. Cannot be used if value is not empty. + // +optional ValueFrom *EnvVarSource `json:"valueFrom,omitempty" protobuf:"bytes,3,opt,name=valueFrom"` } @@ -1031,19 +1164,24 @@ type EnvVar struct { type EnvVarSource struct { // Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, // spec.nodeName, spec.serviceAccountName, status.podIP. + // +optional FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty" protobuf:"bytes,1,opt,name=fieldRef"` // Selects a resource of the container: only resources limits and requests // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" protobuf:"bytes,2,opt,name=resourceFieldRef"` // Selects a key of a ConfigMap. + // +optional ConfigMapKeyRef *ConfigMapKeySelector `json:"configMapKeyRef,omitempty" protobuf:"bytes,3,opt,name=configMapKeyRef"` // Selects a key of a secret in the pod's namespace + // +optional SecretKeyRef *SecretKeySelector `json:"secretKeyRef,omitempty" protobuf:"bytes,4,opt,name=secretKeyRef"` } // ObjectFieldSelector selects an APIVersioned field of an object. type ObjectFieldSelector struct { // Version of the schema the FieldPath is written in terms of, defaults to "v1". + // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,1,opt,name=apiVersion"` // Path of the field to select in the specified API version. FieldPath string `json:"fieldPath" protobuf:"bytes,2,opt,name=fieldPath"` @@ -1052,10 +1190,12 @@ type ObjectFieldSelector struct { // ResourceFieldSelector represents container resources (cpu, memory) and their output format type ResourceFieldSelector struct { // Container name: required for volumes, optional for env vars + // +optional ContainerName string `json:"containerName,omitempty" protobuf:"bytes,1,opt,name=containerName"` // Required: resource to select Resource string `json:"resource" protobuf:"bytes,2,opt,name=resource"` // Specifies the output format of the exposed resources, defaults to "1" + // +optional Divisor resource.Quantity `json:"divisor,omitempty" protobuf:"bytes,3,opt,name=divisor"` } @@ -1086,6 +1226,7 @@ type HTTPHeader struct { // HTTPGetAction describes an action based on HTTP Get requests. type HTTPGetAction struct { // Path to access on the HTTP server. + // +optional Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` // Name or number of the port to access on the container. // Number must be in the range 1 to 65535. @@ -1093,11 +1234,14 @@ type HTTPGetAction struct { Port intstr.IntOrString `json:"port" protobuf:"bytes,2,opt,name=port"` // Host name to connect to, defaults to the pod IP. You probably want to set // "Host" in httpHeaders instead. + // +optional Host string `json:"host,omitempty" protobuf:"bytes,3,opt,name=host"` // Scheme to use for connecting to the host. // Defaults to HTTP. + // +optional Scheme URIScheme `json:"scheme,omitempty" protobuf:"bytes,4,opt,name=scheme,casttype=URIScheme"` // Custom headers to set in the request. HTTP allows repeated headers. + // +optional HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" protobuf:"bytes,5,rep,name=httpHeaders"` } @@ -1126,6 +1270,7 @@ type ExecAction struct { // not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use // a shell, you need to explicitly call out to that shell. // Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + // +optional Command []string `json:"command,omitempty" protobuf:"bytes,1,rep,name=command"` } @@ -1136,19 +1281,24 @@ type Probe struct { Handler `json:",inline" protobuf:"bytes,1,opt,name=handler"` // Number of seconds after the container has started before liveness probes are initiated. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty" protobuf:"varint,2,opt,name=initialDelaySeconds"` // Number of seconds after which the probe times out. // Defaults to 1 second. Minimum value is 1. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional TimeoutSeconds int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,3,opt,name=timeoutSeconds"` // How often (in seconds) to perform the probe. // Default to 10 seconds. Minimum value is 1. + // +optional PeriodSeconds int32 `json:"periodSeconds,omitempty" protobuf:"varint,4,opt,name=periodSeconds"` // Minimum consecutive successes for the probe to be considered successful after having failed. // Defaults to 1. Must be 1 for liveness. Minimum value is 1. + // +optional SuccessThreshold int32 `json:"successThreshold,omitempty" protobuf:"varint,5,opt,name=successThreshold"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. // Defaults to 3. Minimum value is 1. + // +optional FailureThreshold int32 `json:"failureThreshold,omitempty" protobuf:"varint,6,opt,name=failureThreshold"` } @@ -1170,8 +1320,10 @@ type Capability string // Adds and removes POSIX capabilities from running containers. type Capabilities struct { // Added capabilities + // +optional Add []Capability `json:"add,omitempty" protobuf:"bytes,1,rep,name=add,casttype=Capability"` // Removed capabilities + // +optional Drop []Capability `json:"drop,omitempty" protobuf:"bytes,2,rep,name=drop,casttype=Capability"` } @@ -1179,11 +1331,13 @@ type Capabilities struct { type ResourceRequirements struct { // Limits describes the maximum amount of compute resources allowed. // More info: http://kubernetes.io/docs/user-guide/compute-resources/ + // +optional Limits ResourceList `json:"limits,omitempty" protobuf:"bytes,1,rep,name=limits,casttype=ResourceList,castkey=ResourceName"` // Requests describes the minimum amount of compute resources required. // If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, // otherwise to an implementation-defined value. // More info: http://kubernetes.io/docs/user-guide/compute-resources/ + // +optional Requests ResourceList `json:"requests,omitempty" protobuf:"bytes,2,rep,name=requests,casttype=ResourceList,castkey=ResourceName"` } @@ -1200,6 +1354,7 @@ type Container struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Docker image name. // More info: http://kubernetes.io/docs/user-guide/images + // +optional Image string `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"` // Entrypoint array. Not executed within a shell. // The docker image's ENTRYPOINT is used if this is not provided. @@ -1209,6 +1364,7 @@ type Container struct { // regardless of whether the variable exists or not. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands + // +optional Command []string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"` // Arguments to the entrypoint. // The docker image's CMD is used if this is not provided. @@ -1218,11 +1374,13 @@ type Container struct { // regardless of whether the variable exists or not. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands + // +optional Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"` // 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. + // +optional WorkingDir string `json:"workingDir,omitempty" protobuf:"bytes,5,opt,name=workingDir"` // List of ports to expose from the container. Exposing a port here gives // the system additional information about the network connections a @@ -1231,44 +1389,54 @@ type Container struct { // listening on the default "0.0.0.0" address inside a container will be // accessible from the network. // Cannot be updated. + // +optional Ports []ContainerPort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"containerPort" protobuf:"bytes,6,rep,name=ports"` // List of environment variables to set in the container. // Cannot be updated. + // +optional Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"` // Compute Resources required by this container. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources + // +optional Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"` // Pod volumes to mount into the container's filesystem. // Cannot be updated. - VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,9,rep,name=volumeMounts"` + // +optional + VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"` // Periodic probe of container liveness. // Container will be restarted if the probe fails. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional LivenessProbe *Probe `json:"livenessProbe,omitempty" protobuf:"bytes,10,opt,name=livenessProbe"` // Periodic probe of container service readiness. // Container will be removed from service endpoints if the probe fails. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + // +optional ReadinessProbe *Probe `json:"readinessProbe,omitempty" protobuf:"bytes,11,opt,name=readinessProbe"` // Actions that the management system should take in response to container lifecycle events. // Cannot be updated. + // +optional Lifecycle *Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,12,opt,name=lifecycle"` // Optional: Path at which the file to which the container's termination message // will be written is mounted into the container's filesystem. // Message written is intended to be brief final status, such as an assertion failure message. // Defaults to /dev/termination-log. // Cannot be updated. + // +optional TerminationMessagePath string `json:"terminationMessagePath,omitempty" protobuf:"bytes,13,opt,name=terminationMessagePath"` // Image pull policy. // One of Always, Never, IfNotPresent. // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/images#updating-images + // +optional ImagePullPolicy PullPolicy `json:"imagePullPolicy,omitempty" protobuf:"bytes,14,opt,name=imagePullPolicy,casttype=PullPolicy"` // Security options the pod should run with. // More info: http://releases.k8s.io/HEAD/docs/design/security_context.md + // +optional SecurityContext *SecurityContext `json:"securityContext,omitempty" protobuf:"bytes,15,opt,name=securityContext"` // Variables for interactive containers, these have very specialized use-cases (e.g. debugging) @@ -1277,6 +1445,7 @@ type Container struct { // Whether this container should allocate a buffer for stdin in the container runtime. If this // is not set, reads from stdin in the container will always result in EOF. // Default is false. + // +optional Stdin bool `json:"stdin,omitempty" protobuf:"varint,16,opt,name=stdin"` // Whether the container runtime should close the stdin channel after it has been opened by // a single attach. When stdin is true the stdin stream will remain open across multiple attach @@ -1285,9 +1454,11 @@ type Container struct { // at which time stdin is closed and remains closed until the container is restarted. If this // flag is false, a container processes that reads from stdin will never receive an EOF. // Default is false + // +optional StdinOnce bool `json:"stdinOnce,omitempty" protobuf:"varint,17,opt,name=stdinOnce"` // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. // Default is false. + // +optional TTY bool `json:"tty,omitempty" protobuf:"varint,18,opt,name=tty"` } @@ -1296,12 +1467,15 @@ type Container struct { type Handler struct { // One and only one of the following should be specified. // Exec specifies the action to take. + // +optional Exec *ExecAction `json:"exec,omitempty" protobuf:"bytes,1,opt,name=exec"` // HTTPGet specifies the http request to perform. + // +optional HTTPGet *HTTPGetAction `json:"httpGet,omitempty" protobuf:"bytes,2,opt,name=httpGet"` // TCPSocket specifies an action involving a TCP port. // TCP hooks not yet supported // TODO: implement a realistic TCP lifecycle hook + // +optional TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty" protobuf:"bytes,3,opt,name=tcpSocket"` } @@ -1313,6 +1487,7 @@ type Lifecycle struct { // the container is terminated and restarted according to its restart policy. // Other management of the container blocks until the hook completes. // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details + // +optional PostStart *Handler `json:"postStart,omitempty" protobuf:"bytes,1,opt,name=postStart"` // PreStop is called immediately before a container is terminated. // The container is terminated after the handler completes. @@ -1320,6 +1495,7 @@ type Lifecycle struct { // Regardless of the outcome of the handler, the container is eventually terminated. // Other management of the container blocks until the hook completes. // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details + // +optional PreStop *Handler `json:"preStop,omitempty" protobuf:"bytes,2,opt,name=preStop"` } @@ -1338,14 +1514,17 @@ const ( // ContainerStateWaiting is a waiting state of a container. type ContainerStateWaiting struct { // (brief) reason the container is not yet running. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,1,opt,name=reason"` // Message regarding why the container is not yet running. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` } // ContainerStateRunning is a running state of a container. type ContainerStateRunning struct { // Time at which the container was last (re-)started + // +optional StartedAt unversioned.Time `json:"startedAt,omitempty" protobuf:"bytes,1,opt,name=startedAt"` } @@ -1354,16 +1533,22 @@ type ContainerStateTerminated struct { // Exit status from the last termination of the container ExitCode int32 `json:"exitCode" protobuf:"varint,1,opt,name=exitCode"` // Signal from the last termination of the container + // +optional Signal int32 `json:"signal,omitempty" protobuf:"varint,2,opt,name=signal"` // (brief) reason from the last termination of the container + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"` // Message regarding the last termination of the container + // +optional Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"` // Time at which previous execution of the container started + // +optional StartedAt unversioned.Time `json:"startedAt,omitempty" protobuf:"bytes,5,opt,name=startedAt"` // Time at which the container last terminated + // +optional FinishedAt unversioned.Time `json:"finishedAt,omitempty" protobuf:"bytes,6,opt,name=finishedAt"` // Container's ID in the format 'docker://' + // +optional ContainerID string `json:"containerID,omitempty" protobuf:"bytes,7,opt,name=containerID"` } @@ -1372,10 +1557,13 @@ type ContainerStateTerminated struct { // If none of them is specified, the default one is ContainerStateWaiting. type ContainerState struct { // Details about a waiting container + // +optional Waiting *ContainerStateWaiting `json:"waiting,omitempty" protobuf:"bytes,1,opt,name=waiting"` // Details about a running container + // +optional Running *ContainerStateRunning `json:"running,omitempty" protobuf:"bytes,2,opt,name=running"` // Details about a terminated container + // +optional Terminated *ContainerStateTerminated `json:"terminated,omitempty" protobuf:"bytes,3,opt,name=terminated"` } @@ -1385,8 +1573,10 @@ type ContainerStatus struct { // Cannot be updated. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Details about the container's current condition. + // +optional State ContainerState `json:"state,omitempty" protobuf:"bytes,2,opt,name=state"` // Details about the container's last termination condition. + // +optional LastTerminationState ContainerState `json:"lastState,omitempty" protobuf:"bytes,3,opt,name=lastState"` // Specifies whether the container has passed its readiness probe. Ready bool `json:"ready" protobuf:"varint,4,opt,name=ready"` @@ -1403,6 +1593,7 @@ type ContainerStatus struct { ImageID string `json:"imageID" protobuf:"bytes,7,opt,name=imageID"` // Container's ID in the format 'docker://'. // More info: http://kubernetes.io/docs/user-guide/container-environment#container-information + // +optional ContainerID string `json:"containerID,omitempty" protobuf:"bytes,8,opt,name=containerID"` } @@ -1439,6 +1630,9 @@ const ( // PodReady means the pod is able to service requests and should be added to the // load balancing pools of all matching services. PodReady PodConditionType = "Ready" + // PodReasonUnschedulable reason in PodScheduled PodCondition means that the scheduler + // can't schedule the pod right now, for example due to insufficient resources in the cluster. + PodReasonUnschedulable = "Unschedulable" ) // PodCondition contains details for the current condition of this pod. @@ -1452,12 +1646,16 @@ type PodCondition struct { // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // Last time we probed the condition. + // +optional LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transitioned from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // Unique, one-word, CamelCase reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human-readable message indicating details about last transition. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } @@ -1516,6 +1714,7 @@ type NodeSelectorRequirement struct { // the values array must be empty. If the operator is Gt or Lt, the values // array must have a single element, which will be interpreted as an integer. // This array is replaced during a strategic merge patch. + // +optional Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` } @@ -1535,10 +1734,13 @@ const ( // Affinity is a group of affinity scheduling rules. type Affinity struct { // Describes node affinity scheduling rules for the pod. + // +optional NodeAffinity *NodeAffinity `json:"nodeAffinity,omitempty" protobuf:"bytes,1,opt,name=nodeAffinity"` // Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). + // +optional PodAffinity *PodAffinity `json:"podAffinity,omitempty" protobuf:"bytes,2,opt,name=podAffinity"` // Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). + // +optional PodAntiAffinity *PodAntiAffinity `json:"podAntiAffinity,omitempty" protobuf:"bytes,3,opt,name=podAntiAffinity"` } @@ -1552,6 +1754,7 @@ type PodAffinity struct { // system will try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional // RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at // scheduling time, the pod will not be scheduled onto the node. @@ -1560,6 +1763,7 @@ type PodAffinity struct { // system may or may not try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,1,rep,name=requiredDuringSchedulingIgnoredDuringExecution"` // The scheduler will prefer to schedule pods to nodes that satisfy // the affinity expressions specified by this field, but it may choose @@ -1570,6 +1774,7 @@ type PodAffinity struct { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the // node(s) with the highest sum are the most preferred. + // +optional PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution"` } @@ -1583,6 +1788,7 @@ type PodAntiAffinity struct { // system will try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional // RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the anti-affinity requirements specified by this field are not met at // scheduling time, the pod will not be scheduled onto the node. @@ -1591,6 +1797,7 @@ type PodAntiAffinity struct { // system may or may not try to eventually evict the pod from its node. // When there are multiple elements, the lists of nodes corresponding to each // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,1,rep,name=requiredDuringSchedulingIgnoredDuringExecution"` // The scheduler will prefer to schedule pods to nodes that satisfy // the anti-affinity expressions specified by this field, but it may choose @@ -1601,6 +1808,7 @@ type PodAntiAffinity struct { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the // node(s) with the highest sum are the most preferred. + // +optional PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution"` } @@ -1621,6 +1829,7 @@ type WeightedPodAffinityTerm struct { // a pod of the set of pods is running type PodAffinityTerm struct { // A label query over a set of resources, in this case pods. + // +optional LabelSelector *unversioned.LabelSelector `json:"labelSelector,omitempty" protobuf:"bytes,1,opt,name=labelSelector"` // namespaces specifies which namespaces the labelSelector applies to (matches against); // nil list means "this pod's namespace," empty list means "all namespaces" @@ -1634,6 +1843,7 @@ type PodAffinityTerm struct { // For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as "all topologies" // ("all topologies" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); // for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed. + // +optional TopologyKey string `json:"topologyKey,omitempty" protobuf:"bytes,3,opt,name=topologyKey"` } @@ -1645,6 +1855,7 @@ type NodeAffinity struct { // If the affinity requirements specified by this field cease to be met // at some point during pod execution (e.g. due to an update), the system // will try to eventually evict the pod from its node. + // +optional // RequiredDuringSchedulingRequiredDuringExecution *NodeSelector `json:"requiredDuringSchedulingRequiredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at @@ -1652,6 +1863,7 @@ type NodeAffinity struct { // If the affinity requirements specified by this field cease to be met // at some point during pod execution (e.g. due to an update), the system // may or may not try to eventually evict the pod from its node. + // +optional RequiredDuringSchedulingIgnoredDuringExecution *NodeSelector `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,1,opt,name=requiredDuringSchedulingIgnoredDuringExecution"` // The scheduler will prefer to schedule pods to nodes that satisfy // the affinity expressions specified by this field, but it may choose @@ -1662,6 +1874,7 @@ type NodeAffinity struct { // compute a sum by iterating through the elements of this field and adding // "weight" to the sum if the node matches the corresponding matchExpressions; the // node(s) with the highest sum are the most preferred. + // +optional PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution"` } @@ -1680,6 +1893,7 @@ type Taint struct { // Required. The taint key to be applied to a node. Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` // Required. The taint value corresponding to the taint key. + // +optional Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"` // Required. The effect of the taint on pods // that do not tolerate the taint. @@ -1717,17 +1931,21 @@ const ( // the triple using the matching operator . type Toleration struct { // Required. Key is the taint key that the toleration applies to. + // +optional Key string `json:"key,omitempty" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` // operator represents a key's relationship to the value. // Valid operators are Exists and Equal. Defaults to Equal. // Exists is equivalent to wildcard for value, so that a pod can // tolerate all taints of a particular category. + // +optional Operator TolerationOperator `json:"operator,omitempty" protobuf:"bytes,2,opt,name=operator,casttype=TolerationOperator"` // Value is the taint value the toleration matches to. // If the operator is Exists, the value should be empty, otherwise just a regular string. + // +optional Value string `json:"value,omitempty" protobuf:"bytes,3,opt,name=value"` // Effect indicates the taint effect to match. Empty means match all taint effects. // When specified, allowed values are NoSchedule and PreferNoSchedule. + // +optional Effect TaintEffect `json:"effect,omitempty" protobuf:"bytes,4,opt,name=effect,casttype=TaintEffect"` // TODO: For forgiveness (#1574), we'd eventually add at least a grace period // here, and possibly an occurrence threshold and period. @@ -1766,6 +1984,7 @@ const ( type PodSpec struct { // List of volumes that can be mounted by containers belonging to the pod. // More info: http://kubernetes.io/docs/user-guide/volumes + // +optional Volumes []Volume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,1,rep,name=volumes"` // List of initialization containers belonging to the pod. // Init containers are executed in order prior to containers being started. If any @@ -1792,6 +2011,7 @@ type PodSpec struct { // One of Always, OnFailure, Never. // Default to Always. // More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy + // +optional RestartPolicy RestartPolicy `json:"restartPolicy,omitempty" protobuf:"bytes,3,opt,name=restartPolicy,casttype=RestartPolicy"` // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. // Value must be non-negative integer. The value zero indicates delete immediately. @@ -1800,58 +2020,72 @@ type PodSpec struct { // a termination signal and the time when the processes are forcibly halted with a kill signal. // Set this value longer than the expected cleanup time for your process. // Defaults to 30 seconds. + // +optional TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty" protobuf:"varint,4,opt,name=terminationGracePeriodSeconds"` // Optional duration in seconds the pod may be active on the node relative to // StartTime before the system will actively try to mark it failed and kill associated containers. // Value must be a positive integer. + // +optional ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,5,opt,name=activeDeadlineSeconds"` // Set DNS policy for containers within the pod. // One of 'ClusterFirst' or 'Default'. // Defaults to "ClusterFirst". + // +optional DNSPolicy DNSPolicy `json:"dnsPolicy,omitempty" protobuf:"bytes,6,opt,name=dnsPolicy,casttype=DNSPolicy"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: http://kubernetes.io/docs/user-guide/node-selection/README + // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,7,rep,name=nodeSelector"` // ServiceAccountName is the name of the ServiceAccount to use to run this pod. // More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md + // +optional ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,8,opt,name=serviceAccountName"` // DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. // Deprecated: Use serviceAccountName instead. // +k8s:conversion-gen=false + // +optional DeprecatedServiceAccount string `json:"serviceAccount,omitempty" protobuf:"bytes,9,opt,name=serviceAccount"` // NodeName is a request to schedule this pod onto a specific node. If it is non-empty, // the scheduler simply schedules this pod onto that node, assuming that it fits resource // requirements. + // +optional NodeName string `json:"nodeName,omitempty" protobuf:"bytes,10,opt,name=nodeName"` // Host networking requested for this pod. Use the host's network namespace. // If this option is set, the ports that will be used must be specified. // Default to false. // +k8s:conversion-gen=false + // +optional HostNetwork bool `json:"hostNetwork,omitempty" protobuf:"varint,11,opt,name=hostNetwork"` // Use the host's pid namespace. // Optional: Default to false. // +k8s:conversion-gen=false + // +optional HostPID bool `json:"hostPID,omitempty" protobuf:"varint,12,opt,name=hostPID"` // Use the host's ipc namespace. // Optional: Default to false. // +k8s:conversion-gen=false + // +optional HostIPC bool `json:"hostIPC,omitempty" protobuf:"varint,13,opt,name=hostIPC"` // SecurityContext holds pod-level security attributes and common container settings. // Optional: Defaults to empty. See type description for default values of each field. + // +optional SecurityContext *PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,14,opt,name=securityContext"` // ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. // If specified, these secrets will be passed to individual puller implementations for them to use. For example, // in the case of docker, only DockerConfig type secrets are honored. // More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + // +optional ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"` // Specifies the hostname of the Pod // If not specified, the pod's hostname will be set to a system-defined value. + // +optional Hostname string `json:"hostname,omitempty" protobuf:"bytes,16,opt,name=hostname"` // If specified, the fully qualified Pod hostname will be "...svc.". // If not specified, the pod will not have a domainname at all. + // +optional Subdomain string `json:"subdomain,omitempty" protobuf:"bytes,17,opt,name=subdomain"` } @@ -1864,12 +2098,14 @@ type PodSecurityContext struct { // container. May also be set in SecurityContext. If set in // both SecurityContext and PodSecurityContext, the value specified in SecurityContext // takes precedence for that container. + // +optional SELinuxOptions *SELinuxOptions `json:"seLinuxOptions,omitempty" protobuf:"bytes,1,opt,name=seLinuxOptions"` // The UID to run the entrypoint of the container process. // Defaults to user specified in image metadata if unspecified. // May also be set in SecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence // for that container. + // +optional RunAsUser *int64 `json:"runAsUser,omitempty" protobuf:"varint,2,opt,name=runAsUser"` // Indicates that the container must run as a non-root user. // If true, the Kubelet will validate the image at runtime to ensure that it @@ -1877,10 +2113,12 @@ type PodSecurityContext struct { // If unset or false, no such validation will be performed. // May also be set in SecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" protobuf:"varint,3,opt,name=runAsNonRoot"` // A list of groups applied to the first process run in each container, in addition // to the container's primary GID. If unspecified, no groups will be added to // any container. + // +optional SupplementalGroups []int64 `json:"supplementalGroups,omitempty" protobuf:"varint,4,rep,name=supplementalGroups"` // A special supplemental group that applies to all containers in a pod. // Some volume types allow the Kubelet to change the ownership of that volume @@ -1891,6 +2129,7 @@ type PodSecurityContext struct { // 3. The permission bits are OR'd with rw-rw---- // // If unset, the Kubelet will not modify the ownership and permissions of any volume. + // +optional FSGroup *int64 `json:"fsGroup,omitempty" protobuf:"varint,5,opt,name=fsGroup"` } @@ -1899,24 +2138,31 @@ type PodSecurityContext struct { type PodStatus struct { // Current condition of the pod. // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase + // +optional Phase PodPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=PodPhase"` // Current service state of pod. // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions + // +optional Conditions []PodCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"` // A human readable message indicating details about why the pod is in this condition. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // A brief CamelCase message indicating details about why the pod is in this state. // e.g. 'OutOfDisk' + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` // IP address of the host to which the pod is assigned. Empty if not yet scheduled. + // +optional HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"` // IP address allocated to the pod. Routable at least within the cluster. // Empty if not yet allocated. + // +optional PodIP string `json:"podIP,omitempty" protobuf:"bytes,6,opt,name=podIP"` // 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 StartTime *unversioned.Time `json:"startTime,omitempty" protobuf:"bytes,7,opt,name=startTime"` // The list has one entry per init container in the manifest. The most recent successful @@ -1928,6 +2174,7 @@ type PodStatus struct { // The list has one entry per container in the manifest. Each entry is currently the output // of `docker inspect`. // More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses + // +optional ContainerStatuses []ContainerStatus `json:"containerStatuses,omitempty" protobuf:"bytes,8,rep,name=containerStatuses"` } @@ -1936,12 +2183,14 @@ type PodStatusResult struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Most recently observed status of the pod. // This data may not be up to date. // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status PodStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"` } @@ -1953,10 +2202,12 @@ type Pod struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Specification of the desired behavior of the pod. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec PodSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Most recently observed status of the pod. @@ -1964,6 +2215,7 @@ type Pod struct { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status PodStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -1972,6 +2224,7 @@ type PodList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of pods. @@ -1983,10 +2236,12 @@ type PodList struct { type PodTemplateSpec struct { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Specification of the desired behavior of the pod. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec PodSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` } @@ -1997,10 +2252,12 @@ type PodTemplate struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Template defines the pods that will be created from this pod template. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Template PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"` } @@ -2009,6 +2266,7 @@ type PodTemplateList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of pod templates @@ -2021,11 +2279,13 @@ type ReplicationControllerSpec struct { // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + // +optional Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,4,opt,name=minReadySeconds"` // Selector is a label query over pods that should match the Replicas count. @@ -2033,16 +2293,19 @@ type ReplicationControllerSpec struct { // Label keys and values that must match in order to be controlled by this replication // controller, if empty defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,2,rep,name=selector"` // TemplateRef is a reference to an object that describes the pod that will be created if // insufficient replicas are detected. // Reference to an object that describes the pod that will be created if insufficient replicas are detected. + // +optional // TemplateRef *ObjectReference `json:"templateRef,omitempty"` // Template is the object that describes the pod that will be created if // insufficient replicas are detected. This takes precedence over a TemplateRef. // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template + // +optional Template *PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"` } @@ -2054,18 +2317,23 @@ type ReplicationControllerStatus struct { Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"` // The number of pods that have labels matching the labels of the pod template of the replication controller. + // +optional FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty" protobuf:"varint,2,opt,name=fullyLabeledReplicas"` // The number of ready replicas for this replication controller. + // +optional ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,4,opt,name=readyReplicas"` // The number of available replicas (ready for at least minReadySeconds) for this replication controller. + // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,5,opt,name=availableReplicas"` // ObservedGeneration reflects the generation of the most recently observed replication controller. + // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` // Represents the latest available observations of a replication controller's current state. + // +optional Conditions []ReplicationControllerCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` } @@ -2085,13 +2353,14 @@ type ReplicationControllerCondition struct { Type ReplicationControllerConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status ConditionStatus `json:"status"` - // Last time we probed the condition. - LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` // The last time the condition transitioned from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. + // +optional Message string `json:"message,omitempty"` } @@ -2104,10 +2373,12 @@ type ReplicationController struct { // 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 + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the specification of the desired behavior of the replication controller. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec ReplicationControllerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is the most recently observed status of the replication controller. @@ -2115,6 +2386,7 @@ type ReplicationController struct { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status ReplicationControllerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -2123,6 +2395,7 @@ type ReplicationControllerList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of replication controllers. @@ -2168,6 +2441,7 @@ const ( type ServiceStatus struct { // LoadBalancer contains the current status of the load-balancer, // if one is present. + // +optional LoadBalancer LoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"` } @@ -2175,6 +2449,7 @@ type ServiceStatus struct { type LoadBalancerStatus struct { // Ingress is a list containing ingress points for the load-balancer. // Traffic intended for the service should be sent to these ingress points. + // +optional Ingress []LoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"` } @@ -2183,10 +2458,12 @@ type LoadBalancerStatus struct { type LoadBalancerIngress struct { // IP is set for load-balancer ingress points that are IP based // (typically GCE or OpenStack load-balancers) + // +optional IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"` // Hostname is set for load-balancer ingress points that are DNS based // (typically AWS load-balancers) + // +optional Hostname string `json:"hostname,omitempty" protobuf:"bytes,2,opt,name=hostname"` } @@ -2202,6 +2479,7 @@ type ServiceSpec struct { // modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. // Ignored if type is ExternalName. // More info: http://kubernetes.io/docs/user-guide/services#overview + // +optional Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,2,rep,name=selector"` // clusterIP is the IP address of the service and is usually assigned @@ -2213,6 +2491,7 @@ type ServiceSpec struct { // Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if // type is ExternalName. // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + // +optional ClusterIP string `json:"clusterIP,omitempty" protobuf:"bytes,3,opt,name=clusterIP"` // type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -2229,6 +2508,7 @@ type ServiceSpec struct { // external load-balancer (if supported in the current cloud) which routes // to the clusterIP. // More info: http://kubernetes.io/docs/user-guide/services#overview + // +optional Type ServiceType `json:"type,omitempty" protobuf:"bytes,4,opt,name=type,casttype=ServiceType"` // externalIPs is a list of IP addresses for which nodes in the cluster @@ -2238,6 +2518,7 @@ type ServiceSpec struct { // that are not part of the Kubernetes system. A previous form of this // functionality exists as the deprecatedPublicIPs field. When using this // field, callers should also clear the deprecatedPublicIPs field. + // +optional ExternalIPs []string `json:"externalIPs,omitempty" protobuf:"bytes,5,rep,name=externalIPs"` // deprecatedPublicIPs is deprecated and replaced by the externalIPs field @@ -2246,6 +2527,7 @@ type ServiceSpec struct { // any new API revisions. If both deprecatedPublicIPs *and* externalIPs are // set, deprecatedPublicIPs is used. // +k8s:conversion-gen=false + // +optional DeprecatedPublicIPs []string `json:"deprecatedPublicIPs,omitempty" protobuf:"bytes,6,rep,name=deprecatedPublicIPs"` // Supports "ClientIP" and "None". Used to maintain session affinity. @@ -2253,6 +2535,7 @@ type ServiceSpec struct { // Must be ClientIP or None. // Defaults to None. // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + // +optional SessionAffinity ServiceAffinity `json:"sessionAffinity,omitempty" protobuf:"bytes,7,opt,name=sessionAffinity,casttype=ServiceAffinity"` // Only applies to Service Type: LoadBalancer @@ -2260,17 +2543,20 @@ type ServiceSpec struct { // This feature depends on whether the underlying cloud-provider supports specifying // the loadBalancerIP when a load balancer is created. // This field will be ignored if the cloud-provider does not support the feature. + // +optional LoadBalancerIP string `json:"loadBalancerIP,omitempty" protobuf:"bytes,8,opt,name=loadBalancerIP"` // If specified and supported by the platform, this will restrict traffic through the cloud-provider // load-balancer will be restricted to the specified client IPs. This field will be ignored if the // cloud-provider does not support the feature." // More info: http://kubernetes.io/docs/user-guide/services-firewalls + // +optional LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" protobuf:"bytes,9,opt,name=loadBalancerSourceRanges"` // externalName is the external reference that kubedns or equivalent will // return as a CNAME record for this service. No proxying will be involved. // Must be a valid DNS name and requires Type to be ExternalName. + // +optional ExternalName string `json:"externalName,omitempty" protobuf:"bytes,10,opt,name=externalName"` } @@ -2280,10 +2566,12 @@ type ServicePort struct { // All ports within a ServiceSpec must have unique names. This maps to // the 'Name' field in EndpointPort objects. // Optional if only one ServicePort is defined on this service. + // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // The IP protocol for this port. Supports "TCP" and "UDP". // Default is TCP. + // +optional Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,2,opt,name=protocol,casttype=Protocol"` // The port that will be exposed by this service. @@ -2297,6 +2585,7 @@ type ServicePort struct { // This field is ignored for services with clusterIP=None, and should be // omitted or set equal to the 'port' field. // More info: http://kubernetes.io/docs/user-guide/services#defining-a-service + // +optional TargetPort intstr.IntOrString `json:"targetPort,omitempty" protobuf:"bytes,4,opt,name=targetPort"` // The port on each node on which this service is exposed when type=NodePort or LoadBalancer. @@ -2304,6 +2593,7 @@ type ServicePort struct { // if unused or else creation of the service will fail. // Default is to auto-allocate a port if the ServiceType of this Service requires one. // More info: http://kubernetes.io/docs/user-guide/services#type--nodeport + // +optional NodePort int32 `json:"nodePort,omitempty" protobuf:"varint,5,opt,name=nodePort"` } @@ -2316,16 +2606,19 @@ type Service struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the behavior of a service. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec ServiceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Most recently observed status of the service. // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status ServiceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -2340,6 +2633,7 @@ type ServiceList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of services @@ -2356,16 +2650,19 @@ type ServiceAccount struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. // More info: http://kubernetes.io/docs/user-guide/secrets + // +optional Secrets []ObjectReference `json:"secrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=secrets"` // ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images // in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets // can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. // More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret + // +optional ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" protobuf:"bytes,3,rep,name=imagePullSecrets"` } @@ -2374,6 +2671,7 @@ type ServiceAccountList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of ServiceAccounts. @@ -2399,6 +2697,7 @@ type Endpoints struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // The set of all endpoints is the union of all subsets. Addresses are placed into @@ -2424,12 +2723,15 @@ type Endpoints struct { type EndpointSubset struct { // IP addresses which offer the related ports that are marked as ready. These endpoints // should be considered safe for load balancers and clients to utilize. + // +optional Addresses []EndpointAddress `json:"addresses,omitempty" protobuf:"bytes,1,rep,name=addresses"` // IP addresses which offer the related ports but are not currently marked as ready // because they have not yet finished starting, have recently failed a readiness check, // or have recently failed a liveness check. + // +optional NotReadyAddresses []EndpointAddress `json:"notReadyAddresses,omitempty" protobuf:"bytes,2,rep,name=notReadyAddresses"` // Port numbers available on the related IP addresses. + // +optional Ports []EndpointPort `json:"ports,omitempty" protobuf:"bytes,3,rep,name=ports"` } @@ -2443,10 +2745,13 @@ type EndpointAddress struct { // TODO: This should allow hostname or IP, See #4447. IP string `json:"ip" protobuf:"bytes,1,opt,name=ip"` // The Hostname of this endpoint + // +optional Hostname string `json:"hostname,omitempty" protobuf:"bytes,3,opt,name=hostname"` // Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. + // +optional NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,4,opt,name=nodeName"` // Reference to object providing the endpoint. + // +optional TargetRef *ObjectReference `json:"targetRef,omitempty" protobuf:"bytes,2,opt,name=targetRef"` } @@ -2455,6 +2760,7 @@ type EndpointPort struct { // The name of this port (corresponds to ServicePort.Name). // Must be a DNS_LABEL. // Optional only if one port is defined. + // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // The port number of the endpoint. @@ -2463,6 +2769,7 @@ type EndpointPort struct { // The IP protocol for this port. // Must be UDP or TCP. // Default is TCP. + // +optional Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,3,opt,name=protocol,casttype=Protocol"` } @@ -2471,6 +2778,7 @@ type EndpointsList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of endpoints. @@ -2480,14 +2788,18 @@ type EndpointsList struct { // NodeSpec describes the attributes that a node is created with. type NodeSpec struct { // PodCIDR represents the pod IP range assigned to the node. + // +optional PodCIDR string `json:"podCIDR,omitempty" protobuf:"bytes,1,opt,name=podCIDR"` // External ID of the node assigned by some machine database (e.g. a cloud provider). // Deprecated. + // +optional ExternalID string `json:"externalID,omitempty" protobuf:"bytes,2,opt,name=externalID"` // ID of the node assigned by the cloud provider in the format: :// + // +optional ProviderID string `json:"providerID,omitempty" protobuf:"bytes,3,opt,name=providerID"` // Unschedulable controls node schedulability of new pods. By default, node is schedulable. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration"` + // +optional Unschedulable bool `json:"unschedulable,omitempty" protobuf:"varint,4,opt,name=unschedulable"` } @@ -2506,6 +2818,7 @@ type DaemonEndpoint struct { // NodeDaemonEndpoints lists ports opened by daemons running on the Node. type NodeDaemonEndpoints struct { // Endpoint on which Kubelet is listening. + // +optional KubeletEndpoint DaemonEndpoint `json:"kubeletEndpoint,omitempty" protobuf:"bytes,1,opt,name=kubeletEndpoint"` } @@ -2541,31 +2854,41 @@ type NodeSystemInfo struct { type NodeStatus struct { // Capacity represents the total resources of a node. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. + // +optional Capacity ResourceList `json:"capacity,omitempty" protobuf:"bytes,1,rep,name=capacity,casttype=ResourceList,castkey=ResourceName"` // Allocatable represents the resources of a node that are available for scheduling. // Defaults to Capacity. + // +optional Allocatable ResourceList `json:"allocatable,omitempty" protobuf:"bytes,2,rep,name=allocatable,casttype=ResourceList,castkey=ResourceName"` // NodePhase is the recently observed lifecycle phase of the node. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase // The field is never populated, and now is deprecated. + // +optional Phase NodePhase `json:"phase,omitempty" protobuf:"bytes,3,opt,name=phase,casttype=NodePhase"` // Conditions is an array of current observed node conditions. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition + // +optional Conditions []NodeCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,4,rep,name=conditions"` // List of addresses reachable to the node. // Queried from cloud provider, if available. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses + // +optional Addresses []NodeAddress `json:"addresses,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,5,rep,name=addresses"` // Endpoints of daemons running on the Node. + // +optional DaemonEndpoints NodeDaemonEndpoints `json:"daemonEndpoints,omitempty" protobuf:"bytes,6,opt,name=daemonEndpoints"` // Set of ids/uuids to uniquely identify the node. // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info + // +optional NodeInfo NodeSystemInfo `json:"nodeInfo,omitempty" protobuf:"bytes,7,opt,name=nodeInfo"` // List of container images on this node + // +optional Images []ContainerImage `json:"images,omitempty" protobuf:"bytes,8,rep,name=images"` // List of attachable volumes in use (mounted) by the node. + // +optional VolumesInUse []UniqueVolumeName `json:"volumesInUse,omitempty" protobuf:"bytes,9,rep,name=volumesInUse"` // List of volumes that are attached to the node. + // +optional VolumesAttached []AttachedVolume `json:"volumesAttached,omitempty" protobuf:"bytes,10,rep,name=volumesAttached"` } @@ -2586,6 +2909,7 @@ type AttachedVolume struct { type AvoidPods struct { // Bounded-sized list of signatures of pods that should avoid this node, sorted // in timestamp order from oldest to newest. Size of the slice is unspecified. + // +optional PreferAvoidPods []PreferAvoidPodsEntry `json:"preferAvoidPods,omitempty" protobuf:"bytes,1,rep,name=preferAvoidPods"` } @@ -2594,10 +2918,13 @@ type PreferAvoidPodsEntry struct { // The class of pods. PodSignature PodSignature `json:"podSignature" protobuf:"bytes,1,opt,name=podSignature"` // Time at which this entry was added to the list. + // +optional EvictionTime unversioned.Time `json:"evictionTime,omitempty" protobuf:"bytes,2,opt,name=evictionTime"` // (brief) reason why this entry was added to the list. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"` // Human readable message indicating why this entry was added to the list. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"` } @@ -2605,6 +2932,7 @@ type PreferAvoidPodsEntry struct { // Exactly one field should be set. type PodSignature struct { // Reference to controller whose pods should avoid this node. + // +optional PodController *OwnerReference `json:"podController,omitempty" protobuf:"bytes,1,opt,name=podController"` } @@ -2614,6 +2942,7 @@ type ContainerImage struct { // e.g. ["gcr.io/google_containers/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"] Names []string `json:"names" protobuf:"bytes,1,rep,name=names"` // The size of the image in bytes. + // +optional SizeBytes int64 `json:"sizeBytes,omitempty" protobuf:"varint,2,opt,name=sizeBytes"` } @@ -2655,12 +2984,16 @@ type NodeCondition struct { // Status of the condition, one of True, False, Unknown. Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // Last time we got an update on a given condition. + // +optional LastHeartbeatTime unversioned.Time `json:"lastHeartbeatTime,omitempty" protobuf:"bytes,3,opt,name=lastHeartbeatTime"` // Last time the condition transit from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } @@ -2713,16 +3046,19 @@ type Node struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the behavior of a node. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec NodeSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Most recently observed status of the node. // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status NodeStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -2731,6 +3067,7 @@ type NodeList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of nodes @@ -2742,12 +3079,14 @@ type FinalizerName string // These are internal finalizer values to Kubernetes, must be qualified name unless defined here const ( FinalizerKubernetes FinalizerName = "kubernetes" + FinalizerOrphan string = "orphan" ) // NamespaceSpec describes the attributes on a Namespace. type NamespaceSpec struct { // Finalizers is an opaque list of values that must be empty to permanently remove object from storage. // More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers + // +optional Finalizers []FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=FinalizerName"` } @@ -2755,6 +3094,7 @@ type NamespaceSpec struct { type NamespaceStatus struct { // Phase is the current lifecycle phase of the namespace. // More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases + // +optional Phase NamespacePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=NamespacePhase"` } @@ -2777,14 +3117,17 @@ type Namespace struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the behavior of the Namespace. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec NamespaceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status describes the current status of a Namespace. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status NamespaceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -2793,6 +3136,7 @@ type NamespaceList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of Namespace objects in the list. @@ -2806,6 +3150,7 @@ type Binding struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // The target object that you want to bind to the standard object. @@ -2815,6 +3160,7 @@ type Binding struct { // Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. type Preconditions struct { // Specifies the target UID. + // +optional UID *types.UID `json:"uid,omitempty" protobuf:"bytes,1,opt,name=uid,casttype=k8s.io/kubernetes/pkg/types.UID"` } @@ -2826,14 +3172,17 @@ type DeleteOptions struct { // The value zero indicates delete immediately. If this value is nil, the default grace period for the // specified type will be used. // Defaults to a per object value if not specified. zero means delete immediately. + // +optional GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty" protobuf:"varint,1,opt,name=gracePeriodSeconds"` // Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be // returned. + // +optional Preconditions *Preconditions `json:"preconditions,omitempty" protobuf:"bytes,2,opt,name=preconditions"` // Should the dependent objects be orphaned. If true/false, the "orphan" // finalizer will be added to/removed from the object's finalizers list. + // +optional OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"` } @@ -2853,17 +3202,22 @@ type ListOptions struct { // A selector to restrict the list of returned objects by their labels. // Defaults to everything. + // +optional LabelSelector string `json:"labelSelector,omitempty" protobuf:"bytes,1,opt,name=labelSelector"` // A selector to restrict the list of returned objects by their fields. // Defaults to everything. + // +optional FieldSelector string `json:"fieldSelector,omitempty" protobuf:"bytes,2,opt,name=fieldSelector"` // Watch for changes to the described resources and return them as a stream of // add, update, and remove notifications. Specify resourceVersion. + // +optional Watch bool `json:"watch,omitempty" protobuf:"varint,3,opt,name=watch"` // When specified with a watch call, shows changes that occur after that particular version of a resource. // Defaults to changes from the beginning of history. + // +optional ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,4,opt,name=resourceVersion"` // Timeout for the list/watch call. + // +optional TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"varint,5,opt,name=timeoutSeconds"` } @@ -2872,30 +3226,38 @@ type PodLogOptions struct { unversioned.TypeMeta `json:",inline"` // The container for which to stream logs. Defaults to only container if there is one container in the pod. + // +optional Container string `json:"container,omitempty" protobuf:"bytes,1,opt,name=container"` // Follow the log stream of the pod. Defaults to false. + // +optional Follow bool `json:"follow,omitempty" protobuf:"varint,2,opt,name=follow"` // Return previous terminated container logs. Defaults to false. + // +optional Previous bool `json:"previous,omitempty" protobuf:"varint,3,opt,name=previous"` // A relative time in seconds before the current time from which to show logs. If this value // precedes the time a pod was started, only logs since the pod start will be returned. // If this value is in the future, no logs will be returned. // Only one of sinceSeconds or sinceTime may be specified. + // +optional SinceSeconds *int64 `json:"sinceSeconds,omitempty" protobuf:"varint,4,opt,name=sinceSeconds"` // An RFC3339 timestamp from which to show logs. If this value // precedes the time a pod was started, only logs since the pod start will be returned. // If this value is in the future, no logs will be returned. // Only one of sinceSeconds or sinceTime may be specified. + // +optional SinceTime *unversioned.Time `json:"sinceTime,omitempty" protobuf:"bytes,5,opt,name=sinceTime"` // If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line // of log output. Defaults to false. + // +optional Timestamps bool `json:"timestamps,omitempty" protobuf:"varint,6,opt,name=timestamps"` // If set, the number of lines from the end of the logs to show. If not specified, // logs are shown from the creation of the container or sinceSeconds or sinceTime + // +optional TailLines *int64 `json:"tailLines,omitempty" protobuf:"varint,7,opt,name=tailLines"` // If set, the number of bytes to read from the server before terminating the // log output. This may not display a complete final line of logging, and may return // slightly more or slightly less than the specified limit. + // +optional LimitBytes *int64 `json:"limitBytes,omitempty" protobuf:"varint,8,opt,name=limitBytes"` } @@ -2908,24 +3270,29 @@ type PodAttachOptions struct { // Stdin if true, redirects the standard input stream of the pod for this call. // Defaults to false. + // +optional Stdin bool `json:"stdin,omitempty" protobuf:"varint,1,opt,name=stdin"` // Stdout if true indicates that stdout is to be redirected for the attach call. // Defaults to true. + // +optional Stdout bool `json:"stdout,omitempty" protobuf:"varint,2,opt,name=stdout"` // Stderr if true indicates that stderr is to be redirected for the attach call. // Defaults to true. + // +optional Stderr bool `json:"stderr,omitempty" protobuf:"varint,3,opt,name=stderr"` // TTY if true indicates that a tty will be allocated for the attach call. // This is passed through the container runtime so the tty // is allocated on the worker node by the container runtime. // Defaults to false. + // +optional TTY bool `json:"tty,omitempty" protobuf:"varint,4,opt,name=tty"` // The container in which to execute the command. // Defaults to only container if there is only one container in the pod. + // +optional Container string `json:"container,omitempty" protobuf:"bytes,5,opt,name=container"` } @@ -2938,22 +3305,27 @@ type PodExecOptions struct { // Redirect the standard input stream of the pod for this call. // Defaults to false. + // +optional Stdin bool `json:"stdin,omitempty" protobuf:"varint,1,opt,name=stdin"` // Redirect the standard output stream of the pod for this call. // Defaults to true. + // +optional Stdout bool `json:"stdout,omitempty" protobuf:"varint,2,opt,name=stdout"` // Redirect the standard error stream of the pod for this call. // Defaults to true. + // +optional Stderr bool `json:"stderr,omitempty" protobuf:"varint,3,opt,name=stderr"` // TTY if true indicates that a tty will be allocated for the exec call. // Defaults to false. + // +optional TTY bool `json:"tty,omitempty" protobuf:"varint,4,opt,name=tty"` // Container in which to execute the command. // Defaults to only container if there is only one container in the pod. + // +optional Container string `json:"container,omitempty" protobuf:"bytes,5,opt,name=container"` // Command is the remote command to execute. argv array. Not executed within a shell. @@ -2965,6 +3337,7 @@ type PodProxyOptions struct { unversioned.TypeMeta `json:",inline"` // Path is the URL path to use for the current proxy request to pod. + // +optional Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` } @@ -2973,6 +3346,7 @@ type NodeProxyOptions struct { unversioned.TypeMeta `json:",inline"` // Path is the URL path to use for the current proxy request to node. + // +optional Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` } @@ -2985,6 +3359,7 @@ type ServiceProxyOptions struct { // For example, the whole request URL is // http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. // Path is _search?q=user:kimchy. + // +optional Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` } @@ -3004,6 +3379,7 @@ type OwnerReference struct { // 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"` // If true, this reference points to the managing controller. + // +optional Controller *bool `json:"controller,omitempty" protobuf:"varint,6,opt,name=controller"` } @@ -3011,20 +3387,26 @@ type OwnerReference struct { type ObjectReference struct { // Kind of the referent. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` // Namespace of the referent. // More info: http://kubernetes.io/docs/user-guide/namespaces + // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"` // Name of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#names + // +optional Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"` // UID of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids + // +optional UID types.UID `json:"uid,omitempty" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/kubernetes/pkg/types.UID"` // API version of the referent. + // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,5,opt,name=apiVersion"` // Specific resourceVersion to which this reference is made, if any. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + // +optional ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,6,opt,name=resourceVersion"` // If referring to a piece of an object instead of an entire object, this string @@ -3035,6 +3417,7 @@ type ObjectReference struct { // index 2 in this pod). This syntax is chosen only to have some well-defined way of // referencing a part of an object. // TODO: this design is not final and this field is subject to change in the future. + // +optional FieldPath string `json:"fieldPath,omitempty" protobuf:"bytes,7,opt,name=fieldPath"` } @@ -3044,6 +3427,7 @@ type LocalObjectReference struct { // Name of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#names // TODO: Add other useful fields. apiVersion, kind, uid? + // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` } @@ -3051,14 +3435,17 @@ type LocalObjectReference struct { type SerializedReference struct { unversioned.TypeMeta `json:",inline"` // The reference to an object in the system. + // +optional Reference ObjectReference `json:"reference,omitempty" protobuf:"bytes,1,opt,name=reference"` } // EventSource contains information for an event. type EventSource struct { // Component from which the event is generated. + // +optional Component string `json:"component,omitempty" protobuf:"bytes,1,opt,name=component"` // Node name on which the event is generated. + // +optional Host string `json:"host,omitempty" protobuf:"bytes,2,opt,name=host"` } @@ -3086,25 +3473,32 @@ type Event struct { // This should be a short, machine understandable string that gives the reason // for the transition into the object's current status. // TODO: provide exact specification for format. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"` // A human-readable description of the status of this operation. // TODO: decide on maximum length. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"` // The component reporting this event. Should be a short machine understandable string. + // +optional Source EventSource `json:"source,omitempty" protobuf:"bytes,5,opt,name=source"` // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) + // +optional FirstTimestamp unversioned.Time `json:"firstTimestamp,omitempty" protobuf:"bytes,6,opt,name=firstTimestamp"` // The time at which the most recent occurrence of this event was recorded. + // +optional LastTimestamp unversioned.Time `json:"lastTimestamp,omitempty" protobuf:"bytes,7,opt,name=lastTimestamp"` // The number of times this event has occurred. + // +optional Count int32 `json:"count,omitempty" protobuf:"varint,8,opt,name=count"` // Type of this event (Normal, Warning), new types could be added in the future + // +optional Type string `json:"type,omitempty" protobuf:"bytes,9,opt,name=type"` } @@ -3113,6 +3507,7 @@ type EventList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of events @@ -3124,6 +3519,7 @@ type List struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of objects @@ -3145,16 +3541,22 @@ const ( // LimitRangeItem defines a min/max usage limit for any resource that matches on kind. type LimitRangeItem struct { // Type of resource that this limit applies to. + // +optional Type LimitType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=LimitType"` // Max usage constraints on this kind by resource name. + // +optional Max ResourceList `json:"max,omitempty" protobuf:"bytes,2,rep,name=max,casttype=ResourceList,castkey=ResourceName"` // Min usage constraints on this kind by resource name. + // +optional Min ResourceList `json:"min,omitempty" protobuf:"bytes,3,rep,name=min,casttype=ResourceList,castkey=ResourceName"` // Default resource requirement limit value by resource name if resource limit is omitted. + // +optional Default ResourceList `json:"default,omitempty" protobuf:"bytes,4,rep,name=default,casttype=ResourceList,castkey=ResourceName"` // DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. + // +optional DefaultRequest ResourceList `json:"defaultRequest,omitempty" protobuf:"bytes,5,rep,name=defaultRequest,casttype=ResourceList,castkey=ResourceName"` // MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. + // +optional MaxLimitRequestRatio ResourceList `json:"maxLimitRequestRatio,omitempty" protobuf:"bytes,6,rep,name=maxLimitRequestRatio,casttype=ResourceList,castkey=ResourceName"` } @@ -3171,10 +3573,12 @@ type LimitRange struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the limits enforced. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec LimitRangeSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` } @@ -3183,6 +3587,7 @@ type LimitRangeList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of LimitRange objects. @@ -3240,9 +3645,11 @@ const ( type ResourceQuotaSpec struct { // Hard is the set of desired hard limits for each named resource. // More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota + // +optional Hard ResourceList `json:"hard,omitempty" protobuf:"bytes,1,rep,name=hard,casttype=ResourceList,castkey=ResourceName"` // A collection of filters that must match each object tracked by a quota. // If not specified, the quota matches all objects. + // +optional Scopes []ResourceQuotaScope `json:"scopes,omitempty" protobuf:"bytes,2,rep,name=scopes,casttype=ResourceQuotaScope"` } @@ -3250,8 +3657,10 @@ type ResourceQuotaSpec struct { type ResourceQuotaStatus struct { // Hard is the set of enforced hard limits for each named resource. // More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota + // +optional Hard ResourceList `json:"hard,omitempty" protobuf:"bytes,1,rep,name=hard,casttype=ResourceList,castkey=ResourceName"` // Used is the current observed total usage of the resource in the namespace. + // +optional Used ResourceList `json:"used,omitempty" protobuf:"bytes,2,rep,name=used,casttype=ResourceList,castkey=ResourceName"` } @@ -3262,14 +3671,17 @@ type ResourceQuota struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the desired quota. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec ResourceQuotaSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status defines the actual enforced quota and its current usage. // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status ResourceQuotaStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -3278,6 +3690,7 @@ type ResourceQuotaList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of ResourceQuota objects. @@ -3293,6 +3706,7 @@ type Secret struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN @@ -3300,6 +3714,7 @@ type Secret struct { // The serialized form of the secret data is a base64 encoded string, // representing the arbitrary (possibly non-string) data value here. // Described in https://tools.ietf.org/html/rfc4648#section-4 + // +optional Data map[string][]byte `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"` // stringData allows specifying non-binary secret data in string form. @@ -3307,9 +3722,11 @@ type Secret struct { // All keys and values are merged into the data field on write, overwriting any existing values. // It is never output when reading from the API. // +k8s:conversion-gen=false + // +optional StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"` // Used to facilitate programmatic handling of secret data. + // +optional Type SecretType `json:"type,omitempty" protobuf:"bytes,3,opt,name=type,casttype=SecretType"` } @@ -3372,6 +3789,7 @@ type SecretList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of secret objects. @@ -3386,10 +3804,12 @@ type ConfigMap struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Data contains the configuration data. // Each key must be a valid DNS_SUBDOMAIN with an optional leading dot. + // +optional Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"` } @@ -3398,6 +3818,7 @@ type ConfigMapList struct { unversioned.TypeMeta `json:",inline"` // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of ConfigMaps. @@ -3422,9 +3843,11 @@ type ComponentCondition struct { Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // Message about the condition for a component. // For example, information about a health check. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // Condition error code for a component. // For example, a health check error code. + // +optional Error string `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"` } @@ -3436,9 +3859,11 @@ type ComponentStatus struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of component conditions observed + // +optional Conditions []ComponentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"` } @@ -3447,6 +3872,7 @@ type ComponentStatusList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of ComponentStatus objects. @@ -3457,12 +3883,14 @@ type ComponentStatusList struct { // Downward API volumes support ownership management and SELinux relabeling. type DownwardAPIVolumeSource struct { // Items is a list of downward API volume file + // +optional Items []DownwardAPIVolumeFile `json:"items,omitempty" protobuf:"bytes,1,rep,name=items"` // Optional: mode bits to use on created files by default. Must be a // value between 0 and 0777. Defaults to 0644. // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional DefaultMode *int32 `json:"defaultMode,omitempty" protobuf:"varint,2,opt,name=defaultMode"` } @@ -3475,14 +3903,17 @@ type DownwardAPIVolumeFile struct { // Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' Path string `json:"path" protobuf:"bytes,1,opt,name=path"` // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + // +optional FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty" protobuf:"bytes,2,opt,name=fieldRef"` // Selects a resource of the container: only resources limits and requests // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" protobuf:"bytes,3,opt,name=resourceFieldRef"` // Optional: mode bits to use on this file, must be a value between 0 // and 0777. If not specified, the volume defaultMode will be used. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. + // +optional Mode *int32 `json:"mode,omitempty" protobuf:"varint,4,opt,name=mode"` } @@ -3492,20 +3923,24 @@ type DownwardAPIVolumeFile struct { type SecurityContext struct { // The capabilities to add/drop when running containers. // Defaults to the default set of capabilities granted by the container runtime. + // +optional Capabilities *Capabilities `json:"capabilities,omitempty" protobuf:"bytes,1,opt,name=capabilities"` // Run container in privileged mode. // Processes in privileged containers are essentially equivalent to root on the host. // Defaults to false. + // +optional Privileged *bool `json:"privileged,omitempty" protobuf:"varint,2,opt,name=privileged"` // The SELinux context to be applied to the container. // If unspecified, the container runtime will allocate a random SELinux context for each // container. May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional SELinuxOptions *SELinuxOptions `json:"seLinuxOptions,omitempty" protobuf:"bytes,3,opt,name=seLinuxOptions"` // The UID to run the entrypoint of the container process. // Defaults to user specified in image metadata if unspecified. // May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional RunAsUser *int64 `json:"runAsUser,omitempty" protobuf:"varint,4,opt,name=runAsUser"` // Indicates that the container must run as a non-root user. // If true, the Kubelet will validate the image at runtime to ensure that it @@ -3513,21 +3948,27 @@ type SecurityContext struct { // If unset or false, no such validation will be performed. // May also be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" protobuf:"varint,5,opt,name=runAsNonRoot"` // Whether this container has a read-only root filesystem. // Default is false. + // +optional ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem,omitempty" protobuf:"varint,6,opt,name=readOnlyRootFilesystem"` } // SELinuxOptions are the labels to be applied to the container type SELinuxOptions struct { // User is a SELinux user label that applies to the container. + // +optional User string `json:"user,omitempty" protobuf:"bytes,1,opt,name=user"` // Role is a SELinux role label that applies to the container. + // +optional Role string `json:"role,omitempty" protobuf:"bytes,2,opt,name=role"` // Type is a SELinux type label that applies to the container. + // +optional Type string `json:"type,omitempty" protobuf:"bytes,3,opt,name=type"` // Level is SELinux level label that applies to the container. + // +optional Level string `json:"level,omitempty" protobuf:"bytes,4,opt,name=level"` } @@ -3536,6 +3977,7 @@ type RangeAllocation struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Range is string that identifies the range represented by 'data'. diff --git a/pkg/api/v1/types_swagger_doc_generated.go b/pkg/api/v1/types_swagger_doc_generated.go index 79009510..6dc17675 100644 --- a/pkg/api/v1/types_swagger_doc_generated.go +++ b/pkg/api/v1/types_swagger_doc_generated.go @@ -1447,7 +1447,6 @@ var map_ReplicationControllerCondition = map[string]string{ "": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", "type": "Type of replication controller condition.", "status": "Status of the condition, one of True, False, Unknown.", - "lastProbeTime": "Last time we probed the condition.", "lastTransitionTime": "The last time the condition transitioned from one status to another.", "reason": "The reason for the condition's last transition.", "message": "A human readable message indicating details about the transition.", diff --git a/pkg/api/v1/zz_generated.conversion.go b/pkg/api/v1/zz_generated.conversion.go index efe872f3..921ebe66 100644 --- a/pkg/api/v1/zz_generated.conversion.go +++ b/pkg/api/v1/zz_generated.conversion.go @@ -502,7 +502,6 @@ func Convert_api_AvoidPods_To_v1_AvoidPods(in *api.AvoidPods, out *AvoidPods, s } func autoConvert_v1_AzureDiskVolumeSource_To_api_AzureDiskVolumeSource(in *AzureDiskVolumeSource, out *api.AzureDiskVolumeSource, s conversion.Scope) error { - SetDefaults_AzureDiskVolumeSource(in) out.DiskName = in.DiskName out.DataDiskURI = in.DataDiskURI if in.CachingMode != nil { @@ -563,9 +562,6 @@ func Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in *api.Azure } func autoConvert_v1_Binding_To_api_Binding(in *Binding, out *api.Binding, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -580,9 +576,6 @@ func Convert_v1_Binding_To_api_Binding(in *Binding, out *api.Binding, s conversi } func autoConvert_api_Binding_To_v1_Binding(in *api.Binding, out *Binding, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -739,9 +732,6 @@ func Convert_api_ComponentCondition_To_v1_ComponentCondition(in *api.ComponentCo } func autoConvert_v1_ComponentStatus_To_api_ComponentStatus(in *ComponentStatus, out *api.ComponentStatus, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -764,9 +754,6 @@ func Convert_v1_ComponentStatus_To_api_ComponentStatus(in *ComponentStatus, out } func autoConvert_api_ComponentStatus_To_v1_ComponentStatus(in *api.ComponentStatus, out *ComponentStatus, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -789,12 +776,7 @@ func Convert_api_ComponentStatus_To_v1_ComponentStatus(in *api.ComponentStatus, } func autoConvert_v1_ComponentStatusList_To_api_ComponentStatusList(in *ComponentStatusList, out *api.ComponentStatusList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.ComponentStatus, len(*in)) @@ -814,12 +796,7 @@ func Convert_v1_ComponentStatusList_To_api_ComponentStatusList(in *ComponentStat } func autoConvert_api_ComponentStatusList_To_v1_ComponentStatusList(in *api.ComponentStatusList, out *ComponentStatusList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ComponentStatus, len(*in)) @@ -839,10 +816,6 @@ func Convert_api_ComponentStatusList_To_v1_ComponentStatusList(in *api.Component } func autoConvert_v1_ConfigMap_To_api_ConfigMap(in *ConfigMap, out *api.ConfigMap, s conversion.Scope) error { - SetDefaults_ConfigMap(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -855,9 +828,6 @@ func Convert_v1_ConfigMap_To_api_ConfigMap(in *ConfigMap, out *api.ConfigMap, s } func autoConvert_api_ConfigMap_To_v1_ConfigMap(in *api.ConfigMap, out *ConfigMap, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -894,12 +864,7 @@ func Convert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector(in *api.ConfigM } func autoConvert_v1_ConfigMapList_To_api_ConfigMapList(in *ConfigMapList, out *api.ConfigMapList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.ConfigMap, len(*in)) @@ -919,12 +884,7 @@ func Convert_v1_ConfigMapList_To_api_ConfigMapList(in *ConfigMapList, out *api.C } func autoConvert_api_ConfigMapList_To_v1_ConfigMapList(in *api.ConfigMapList, out *ConfigMapList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ConfigMap, len(*in)) @@ -944,7 +904,6 @@ func Convert_api_ConfigMapList_To_v1_ConfigMapList(in *api.ConfigMapList, out *C } func autoConvert_v1_ConfigMapVolumeSource_To_api_ConfigMapVolumeSource(in *ConfigMapVolumeSource, out *api.ConfigMapVolumeSource, s conversion.Scope) error { - SetDefaults_ConfigMapVolumeSource(in) if err := Convert_v1_LocalObjectReference_To_api_LocalObjectReference(&in.LocalObjectReference, &out.LocalObjectReference, s); err != nil { return err } @@ -991,7 +950,6 @@ func Convert_api_ConfigMapVolumeSource_To_v1_ConfigMapVolumeSource(in *api.Confi } func autoConvert_v1_Container_To_api_Container(in *Container, out *api.Container, s conversion.Scope) error { - SetDefaults_Container(in) out.Name = in.Name out.Image = in.Image out.Command = in.Command @@ -1192,7 +1150,6 @@ func Convert_api_ContainerImage_To_v1_ContainerImage(in *api.ContainerImage, out } func autoConvert_v1_ContainerPort_To_api_ContainerPort(in *ContainerPort, out *api.ContainerPort, s conversion.Scope) error { - SetDefaults_ContainerPort(in) out.Name = in.Name out.HostPort = in.HostPort out.ContainerPort = in.ContainerPort @@ -1289,9 +1246,7 @@ func Convert_api_ContainerState_To_v1_ContainerState(in *api.ContainerState, out } func autoConvert_v1_ContainerStateRunning_To_api_ContainerStateRunning(in *ContainerStateRunning, out *api.ContainerStateRunning, s conversion.Scope) error { - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.StartedAt, &out.StartedAt, s); err != nil { - return err - } + out.StartedAt = in.StartedAt return nil } @@ -1300,9 +1255,7 @@ func Convert_v1_ContainerStateRunning_To_api_ContainerStateRunning(in *Container } func autoConvert_api_ContainerStateRunning_To_v1_ContainerStateRunning(in *api.ContainerStateRunning, out *ContainerStateRunning, s conversion.Scope) error { - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.StartedAt, &out.StartedAt, s); err != nil { - return err - } + out.StartedAt = in.StartedAt return nil } @@ -1315,12 +1268,8 @@ func autoConvert_v1_ContainerStateTerminated_To_api_ContainerStateTerminated(in out.Signal = in.Signal out.Reason = in.Reason out.Message = in.Message - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.StartedAt, &out.StartedAt, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.FinishedAt, &out.FinishedAt, s); err != nil { - return err - } + out.StartedAt = in.StartedAt + out.FinishedAt = in.FinishedAt out.ContainerID = in.ContainerID return nil } @@ -1334,12 +1283,8 @@ func autoConvert_api_ContainerStateTerminated_To_v1_ContainerStateTerminated(in out.Signal = in.Signal out.Reason = in.Reason out.Message = in.Message - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.StartedAt, &out.StartedAt, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.FinishedAt, &out.FinishedAt, s); err != nil { - return err - } + out.StartedAt = in.StartedAt + out.FinishedAt = in.FinishedAt out.ContainerID = in.ContainerID return nil } @@ -1427,9 +1372,6 @@ func Convert_api_DaemonEndpoint_To_v1_DaemonEndpoint(in *api.DaemonEndpoint, out } func autoConvert_v1_DeleteOptions_To_api_DeleteOptions(in *DeleteOptions, out *api.DeleteOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.GracePeriodSeconds = in.GracePeriodSeconds if in.Preconditions != nil { in, out := &in.Preconditions, &out.Preconditions @@ -1449,9 +1391,6 @@ func Convert_v1_DeleteOptions_To_api_DeleteOptions(in *DeleteOptions, out *api.D } func autoConvert_api_DeleteOptions_To_v1_DeleteOptions(in *api.DeleteOptions, out *DeleteOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.GracePeriodSeconds = in.GracePeriodSeconds if in.Preconditions != nil { in, out := &in.Preconditions, &out.Preconditions @@ -1527,7 +1466,6 @@ func Convert_api_DownwardAPIVolumeFile_To_v1_DownwardAPIVolumeFile(in *api.Downw } func autoConvert_v1_DownwardAPIVolumeSource_To_api_DownwardAPIVolumeSource(in *DownwardAPIVolumeSource, out *api.DownwardAPIVolumeSource, s conversion.Scope) error { - SetDefaults_DownwardAPIVolumeSource(in) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.DownwardAPIVolumeFile, len(*in)) @@ -1730,10 +1668,6 @@ func Convert_api_EndpointSubset_To_v1_EndpointSubset(in *api.EndpointSubset, out } func autoConvert_v1_Endpoints_To_api_Endpoints(in *Endpoints, out *api.Endpoints, s conversion.Scope) error { - SetDefaults_Endpoints(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -1756,9 +1690,6 @@ func Convert_v1_Endpoints_To_api_Endpoints(in *Endpoints, out *api.Endpoints, s } func autoConvert_api_Endpoints_To_v1_Endpoints(in *api.Endpoints, out *Endpoints, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -1781,12 +1712,7 @@ func Convert_api_Endpoints_To_v1_Endpoints(in *api.Endpoints, out *Endpoints, s } func autoConvert_v1_EndpointsList_To_api_EndpointsList(in *EndpointsList, out *api.EndpointsList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.Endpoints, len(*in)) @@ -1806,12 +1732,7 @@ func Convert_v1_EndpointsList_To_api_EndpointsList(in *EndpointsList, out *api.E } func autoConvert_api_EndpointsList_To_v1_EndpointsList(in *api.EndpointsList, out *EndpointsList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Endpoints, len(*in)) @@ -1957,9 +1878,6 @@ func Convert_api_EnvVarSource_To_v1_EnvVarSource(in *api.EnvVarSource, out *EnvV } func autoConvert_v1_Event_To_api_Event(in *Event, out *api.Event, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -1971,12 +1889,8 @@ func autoConvert_v1_Event_To_api_Event(in *Event, out *api.Event, s conversion.S if err := Convert_v1_EventSource_To_api_EventSource(&in.Source, &out.Source, s); err != nil { return err } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.FirstTimestamp, &out.FirstTimestamp, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTimestamp, &out.LastTimestamp, s); err != nil { - return err - } + out.FirstTimestamp = in.FirstTimestamp + out.LastTimestamp = in.LastTimestamp out.Count = in.Count out.Type = in.Type return nil @@ -1987,9 +1901,6 @@ func Convert_v1_Event_To_api_Event(in *Event, out *api.Event, s conversion.Scope } func autoConvert_api_Event_To_v1_Event(in *api.Event, out *Event, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -2001,12 +1912,8 @@ func autoConvert_api_Event_To_v1_Event(in *api.Event, out *Event, s conversion.S if err := Convert_api_EventSource_To_v1_EventSource(&in.Source, &out.Source, s); err != nil { return err } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.FirstTimestamp, &out.FirstTimestamp, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTimestamp, &out.LastTimestamp, s); err != nil { - return err - } + out.FirstTimestamp = in.FirstTimestamp + out.LastTimestamp = in.LastTimestamp out.Count = in.Count out.Type = in.Type return nil @@ -2017,12 +1924,7 @@ func Convert_api_Event_To_v1_Event(in *api.Event, out *Event, s conversion.Scope } func autoConvert_v1_EventList_To_api_EventList(in *EventList, out *api.EventList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.Event, len(*in)) @@ -2042,12 +1944,7 @@ func Convert_v1_EventList_To_api_EventList(in *EventList, out *api.EventList, s } func autoConvert_api_EventList_To_v1_EventList(in *api.EventList, out *EventList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Event, len(*in)) @@ -2105,9 +2002,6 @@ func Convert_api_ExecAction_To_v1_ExecAction(in *api.ExecAction, out *ExecAction } func autoConvert_v1_ExportOptions_To_api_ExportOptions(in *ExportOptions, out *api.ExportOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Export = in.Export out.Exact = in.Exact return nil @@ -2118,9 +2012,6 @@ func Convert_v1_ExportOptions_To_api_ExportOptions(in *ExportOptions, out *api.E } func autoConvert_api_ExportOptions_To_v1_ExportOptions(in *api.ExportOptions, out *ExportOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Export = in.Export out.Exact = in.Exact return nil @@ -2285,11 +2176,8 @@ func Convert_api_GlusterfsVolumeSource_To_v1_GlusterfsVolumeSource(in *api.Glust } func autoConvert_v1_HTTPGetAction_To_api_HTTPGetAction(in *HTTPGetAction, out *api.HTTPGetAction, s conversion.Scope) error { - SetDefaults_HTTPGetAction(in) out.Path = in.Path - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.Port, &out.Port, s); err != nil { - return err - } + out.Port = in.Port out.Host = in.Host out.Scheme = api.URIScheme(in.Scheme) if in.HTTPHeaders != nil { @@ -2312,9 +2200,7 @@ func Convert_v1_HTTPGetAction_To_api_HTTPGetAction(in *HTTPGetAction, out *api.H func autoConvert_api_HTTPGetAction_To_v1_HTTPGetAction(in *api.HTTPGetAction, out *HTTPGetAction, s conversion.Scope) error { out.Path = in.Path - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.Port, &out.Port, s); err != nil { - return err - } + out.Port = in.Port out.Host = in.Host out.Scheme = URIScheme(in.Scheme) if in.HTTPHeaders != nil { @@ -2444,7 +2330,6 @@ func Convert_api_HostPathVolumeSource_To_v1_HostPathVolumeSource(in *api.HostPat } func autoConvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *ISCSIVolumeSource, out *api.ISCSIVolumeSource, s conversion.Scope) error { - SetDefaults_ISCSIVolumeSource(in) out.TargetPortal = in.TargetPortal out.IQN = in.IQN out.Lun = in.Lun @@ -2547,9 +2432,6 @@ func Convert_api_Lifecycle_To_v1_Lifecycle(in *api.Lifecycle, out *Lifecycle, s } func autoConvert_v1_LimitRange_To_api_LimitRange(in *LimitRange, out *api.LimitRange, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -2564,9 +2446,6 @@ func Convert_v1_LimitRange_To_api_LimitRange(in *LimitRange, out *api.LimitRange } func autoConvert_api_LimitRange_To_v1_LimitRange(in *api.LimitRange, out *LimitRange, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -2581,7 +2460,6 @@ func Convert_api_LimitRange_To_v1_LimitRange(in *api.LimitRange, out *LimitRange } func autoConvert_v1_LimitRangeItem_To_api_LimitRangeItem(in *LimitRangeItem, out *api.LimitRangeItem, s conversion.Scope) error { - SetDefaults_LimitRangeItem(in) out.Type = api.LimitType(in.Type) if err := Convert_v1_ResourceList_To_api_ResourceList(&in.Max, &out.Max, s); err != nil { return err @@ -2680,12 +2558,7 @@ func Convert_api_LimitRangeItem_To_v1_LimitRangeItem(in *api.LimitRangeItem, out } func autoConvert_v1_LimitRangeList_To_api_LimitRangeList(in *LimitRangeList, out *api.LimitRangeList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.LimitRange, len(*in)) @@ -2705,12 +2578,7 @@ func Convert_v1_LimitRangeList_To_api_LimitRangeList(in *LimitRangeList, out *ap } func autoConvert_api_LimitRangeList_To_v1_LimitRangeList(in *api.LimitRangeList, out *LimitRangeList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]LimitRange, len(*in)) @@ -2768,12 +2636,7 @@ func Convert_api_LimitRangeSpec_To_v1_LimitRangeSpec(in *api.LimitRangeSpec, out } func autoConvert_v1_List_To_api_List(in *List, out *api.List, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]runtime.Object, len(*in)) @@ -2793,12 +2656,7 @@ func Convert_v1_List_To_api_List(in *List, out *api.List, s conversion.Scope) er } func autoConvert_api_List_To_v1_List(in *api.List, out *List, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]runtime.RawExtension, len(*in)) @@ -2818,9 +2676,6 @@ func Convert_api_List_To_v1_List(in *api.List, out *List, s conversion.Scope) er } func autoConvert_v1_ListOptions_To_api_ListOptions(in *ListOptions, out *api.ListOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := api.Convert_string_To_labels_Selector(&in.LabelSelector, &out.LabelSelector, s); err != nil { return err } @@ -2838,9 +2693,6 @@ func Convert_v1_ListOptions_To_api_ListOptions(in *ListOptions, out *api.ListOpt } func autoConvert_api_ListOptions_To_v1_ListOptions(in *api.ListOptions, out *ListOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := api.Convert_labels_Selector_To_string(&in.LabelSelector, &out.LabelSelector, s); err != nil { return err } @@ -2956,9 +2808,6 @@ func Convert_api_NFSVolumeSource_To_v1_NFSVolumeSource(in *api.NFSVolumeSource, } func autoConvert_v1_Namespace_To_api_Namespace(in *Namespace, out *api.Namespace, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -2976,9 +2825,6 @@ func Convert_v1_Namespace_To_api_Namespace(in *Namespace, out *api.Namespace, s } func autoConvert_api_Namespace_To_v1_Namespace(in *api.Namespace, out *Namespace, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -2996,12 +2842,7 @@ func Convert_api_Namespace_To_v1_Namespace(in *api.Namespace, out *Namespace, s } func autoConvert_v1_NamespaceList_To_api_NamespaceList(in *NamespaceList, out *api.NamespaceList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.Namespace, len(*in)) @@ -3021,12 +2862,7 @@ func Convert_v1_NamespaceList_To_api_NamespaceList(in *NamespaceList, out *api.N } func autoConvert_api_NamespaceList_To_v1_NamespaceList(in *api.NamespaceList, out *NamespaceList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Namespace, len(*in)) @@ -3080,7 +2916,6 @@ func Convert_api_NamespaceSpec_To_v1_NamespaceSpec(in *api.NamespaceSpec, out *N } func autoConvert_v1_NamespaceStatus_To_api_NamespaceStatus(in *NamespaceStatus, out *api.NamespaceStatus, s conversion.Scope) error { - SetDefaults_NamespaceStatus(in) out.Phase = api.NamespacePhase(in.Phase) return nil } @@ -3099,10 +2934,6 @@ func Convert_api_NamespaceStatus_To_v1_NamespaceStatus(in *api.NamespaceStatus, } func autoConvert_v1_Node_To_api_Node(in *Node, out *api.Node, s conversion.Scope) error { - SetDefaults_Node(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -3120,9 +2951,6 @@ func Convert_v1_Node_To_api_Node(in *Node, out *api.Node, s conversion.Scope) er } func autoConvert_api_Node_To_v1_Node(in *api.Node, out *Node, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -3218,12 +3046,8 @@ func Convert_api_NodeAffinity_To_v1_NodeAffinity(in *api.NodeAffinity, out *Node func autoConvert_v1_NodeCondition_To_api_NodeCondition(in *NodeCondition, out *api.NodeCondition, s conversion.Scope) error { out.Type = api.NodeConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastHeartbeatTime, &out.LastHeartbeatTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastHeartbeatTime = in.LastHeartbeatTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -3236,12 +3060,8 @@ func Convert_v1_NodeCondition_To_api_NodeCondition(in *NodeCondition, out *api.N func autoConvert_api_NodeCondition_To_v1_NodeCondition(in *api.NodeCondition, out *NodeCondition, s conversion.Scope) error { out.Type = NodeConditionType(in.Type) out.Status = ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastHeartbeatTime, &out.LastHeartbeatTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastHeartbeatTime = in.LastHeartbeatTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -3274,12 +3094,7 @@ func Convert_api_NodeDaemonEndpoints_To_v1_NodeDaemonEndpoints(in *api.NodeDaemo } func autoConvert_v1_NodeList_To_api_NodeList(in *NodeList, out *api.NodeList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.Node, len(*in)) @@ -3299,12 +3114,7 @@ func Convert_v1_NodeList_To_api_NodeList(in *NodeList, out *api.NodeList, s conv } func autoConvert_api_NodeList_To_v1_NodeList(in *api.NodeList, out *NodeList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Node, len(*in)) @@ -3324,9 +3134,6 @@ func Convert_api_NodeList_To_v1_NodeList(in *api.NodeList, out *NodeList, s conv } func autoConvert_v1_NodeProxyOptions_To_api_NodeProxyOptions(in *NodeProxyOptions, out *api.NodeProxyOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Path = in.Path return nil } @@ -3336,9 +3143,6 @@ func Convert_v1_NodeProxyOptions_To_api_NodeProxyOptions(in *NodeProxyOptions, o } func autoConvert_api_NodeProxyOptions_To_v1_NodeProxyOptions(in *api.NodeProxyOptions, out *NodeProxyOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Path = in.Path return nil } @@ -3470,7 +3274,6 @@ func Convert_api_NodeSpec_To_v1_NodeSpec(in *api.NodeSpec, out *NodeSpec, s conv } func autoConvert_v1_NodeStatus_To_api_NodeStatus(in *NodeStatus, out *api.NodeStatus, s conversion.Scope) error { - SetDefaults_NodeStatus(in) if err := Convert_v1_ResourceList_To_api_ResourceList(&in.Capacity, &out.Capacity, s); err != nil { return err } @@ -3675,7 +3478,6 @@ func Convert_api_NodeSystemInfo_To_v1_NodeSystemInfo(in *api.NodeSystemInfo, out } func autoConvert_v1_ObjectFieldSelector_To_api_ObjectFieldSelector(in *ObjectFieldSelector, out *api.ObjectFieldSelector, s conversion.Scope) error { - SetDefaults_ObjectFieldSelector(in) out.APIVersion = in.APIVersion out.FieldPath = in.FieldPath return nil @@ -3703,9 +3505,7 @@ func autoConvert_v1_ObjectMeta_To_api_ObjectMeta(in *ObjectMeta, out *api.Object out.UID = types.UID(in.UID) out.ResourceVersion = in.ResourceVersion out.Generation = in.Generation - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.CreationTimestamp, &out.CreationTimestamp, s); err != nil { - return err - } + out.CreationTimestamp = in.CreationTimestamp out.DeletionTimestamp = in.DeletionTimestamp out.DeletionGracePeriodSeconds = in.DeletionGracePeriodSeconds out.Labels = in.Labels @@ -3738,9 +3538,7 @@ func autoConvert_api_ObjectMeta_To_v1_ObjectMeta(in *api.ObjectMeta, out *Object out.UID = types.UID(in.UID) out.ResourceVersion = in.ResourceVersion out.Generation = in.Generation - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.CreationTimestamp, &out.CreationTimestamp, s); err != nil { - return err - } + out.CreationTimestamp = in.CreationTimestamp out.DeletionTimestamp = in.DeletionTimestamp out.DeletionGracePeriodSeconds = in.DeletionGracePeriodSeconds out.Labels = in.Labels @@ -3822,10 +3620,6 @@ func Convert_api_OwnerReference_To_v1_OwnerReference(in *api.OwnerReference, out } func autoConvert_v1_PersistentVolume_To_api_PersistentVolume(in *PersistentVolume, out *api.PersistentVolume, s conversion.Scope) error { - SetDefaults_PersistentVolume(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -3843,9 +3637,6 @@ func Convert_v1_PersistentVolume_To_api_PersistentVolume(in *PersistentVolume, o } func autoConvert_api_PersistentVolume_To_v1_PersistentVolume(in *api.PersistentVolume, out *PersistentVolume, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -3863,10 +3654,6 @@ func Convert_api_PersistentVolume_To_v1_PersistentVolume(in *api.PersistentVolum } func autoConvert_v1_PersistentVolumeClaim_To_api_PersistentVolumeClaim(in *PersistentVolumeClaim, out *api.PersistentVolumeClaim, s conversion.Scope) error { - SetDefaults_PersistentVolumeClaim(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -3884,9 +3671,6 @@ func Convert_v1_PersistentVolumeClaim_To_api_PersistentVolumeClaim(in *Persisten } func autoConvert_api_PersistentVolumeClaim_To_v1_PersistentVolumeClaim(in *api.PersistentVolumeClaim, out *PersistentVolumeClaim, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -3904,12 +3688,7 @@ func Convert_api_PersistentVolumeClaim_To_v1_PersistentVolumeClaim(in *api.Persi } func autoConvert_v1_PersistentVolumeClaimList_To_api_PersistentVolumeClaimList(in *PersistentVolumeClaimList, out *api.PersistentVolumeClaimList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.PersistentVolumeClaim, len(*in)) @@ -3929,12 +3708,7 @@ func Convert_v1_PersistentVolumeClaimList_To_api_PersistentVolumeClaimList(in *P } func autoConvert_api_PersistentVolumeClaimList_To_v1_PersistentVolumeClaimList(in *api.PersistentVolumeClaimList, out *PersistentVolumeClaimList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolumeClaim, len(*in)) @@ -4070,12 +3844,7 @@ func Convert_api_PersistentVolumeClaimVolumeSource_To_v1_PersistentVolumeClaimVo } func autoConvert_v1_PersistentVolumeList_To_api_PersistentVolumeList(in *PersistentVolumeList, out *api.PersistentVolumeList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.PersistentVolume, len(*in)) @@ -4095,12 +3864,7 @@ func Convert_v1_PersistentVolumeList_To_api_PersistentVolumeList(in *PersistentV } func autoConvert_api_PersistentVolumeList_To_v1_PersistentVolumeList(in *api.PersistentVolumeList, out *PersistentVolumeList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolume, len(*in)) @@ -4522,10 +4286,6 @@ func Convert_api_PersistentVolumeStatus_To_v1_PersistentVolumeStatus(in *api.Per } func autoConvert_v1_Pod_To_api_Pod(in *Pod, out *api.Pod, s conversion.Scope) error { - SetDefaults_Pod(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -4539,9 +4299,6 @@ func autoConvert_v1_Pod_To_api_Pod(in *Pod, out *api.Pod, s conversion.Scope) er } func autoConvert_api_Pod_To_v1_Pod(in *api.Pod, out *Pod, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -4697,10 +4454,6 @@ func Convert_api_PodAntiAffinity_To_v1_PodAntiAffinity(in *api.PodAntiAffinity, } func autoConvert_v1_PodAttachOptions_To_api_PodAttachOptions(in *PodAttachOptions, out *api.PodAttachOptions, s conversion.Scope) error { - SetDefaults_PodAttachOptions(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Stdin = in.Stdin out.Stdout = in.Stdout out.Stderr = in.Stderr @@ -4714,9 +4467,6 @@ func Convert_v1_PodAttachOptions_To_api_PodAttachOptions(in *PodAttachOptions, o } func autoConvert_api_PodAttachOptions_To_v1_PodAttachOptions(in *api.PodAttachOptions, out *PodAttachOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Stdin = in.Stdin out.Stdout = in.Stdout out.Stderr = in.Stderr @@ -4732,12 +4482,8 @@ func Convert_api_PodAttachOptions_To_v1_PodAttachOptions(in *api.PodAttachOption func autoConvert_v1_PodCondition_To_api_PodCondition(in *PodCondition, out *api.PodCondition, s conversion.Scope) error { out.Type = api.PodConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -4750,12 +4496,8 @@ func Convert_v1_PodCondition_To_api_PodCondition(in *PodCondition, out *api.PodC func autoConvert_api_PodCondition_To_v1_PodCondition(in *api.PodCondition, out *PodCondition, s conversion.Scope) error { out.Type = PodConditionType(in.Type) out.Status = ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -4766,10 +4508,6 @@ func Convert_api_PodCondition_To_v1_PodCondition(in *api.PodCondition, out *PodC } func autoConvert_v1_PodExecOptions_To_api_PodExecOptions(in *PodExecOptions, out *api.PodExecOptions, s conversion.Scope) error { - SetDefaults_PodExecOptions(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Stdin = in.Stdin out.Stdout = in.Stdout out.Stderr = in.Stderr @@ -4784,9 +4522,6 @@ func Convert_v1_PodExecOptions_To_api_PodExecOptions(in *PodExecOptions, out *ap } func autoConvert_api_PodExecOptions_To_v1_PodExecOptions(in *api.PodExecOptions, out *PodExecOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Stdin = in.Stdin out.Stdout = in.Stdout out.Stderr = in.Stderr @@ -4801,12 +4536,7 @@ func Convert_api_PodExecOptions_To_v1_PodExecOptions(in *api.PodExecOptions, out } func autoConvert_v1_PodList_To_api_PodList(in *PodList, out *api.PodList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.Pod, len(*in)) @@ -4826,12 +4556,7 @@ func Convert_v1_PodList_To_api_PodList(in *PodList, out *api.PodList, s conversi } func autoConvert_api_PodList_To_v1_PodList(in *api.PodList, out *PodList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Pod, len(*in)) @@ -4851,9 +4576,6 @@ func Convert_api_PodList_To_v1_PodList(in *api.PodList, out *PodList, s conversi } func autoConvert_v1_PodLogOptions_To_api_PodLogOptions(in *PodLogOptions, out *api.PodLogOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Container = in.Container out.Follow = in.Follow out.Previous = in.Previous @@ -4870,9 +4592,6 @@ func Convert_v1_PodLogOptions_To_api_PodLogOptions(in *PodLogOptions, out *api.P } func autoConvert_api_PodLogOptions_To_v1_PodLogOptions(in *api.PodLogOptions, out *PodLogOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Container = in.Container out.Follow = in.Follow out.Previous = in.Previous @@ -4889,9 +4608,6 @@ func Convert_api_PodLogOptions_To_v1_PodLogOptions(in *api.PodLogOptions, out *P } func autoConvert_v1_PodProxyOptions_To_api_PodProxyOptions(in *PodProxyOptions, out *api.PodProxyOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Path = in.Path return nil } @@ -4901,9 +4617,6 @@ func Convert_v1_PodProxyOptions_To_api_PodProxyOptions(in *PodProxyOptions, out } func autoConvert_api_PodProxyOptions_To_v1_PodProxyOptions(in *api.PodProxyOptions, out *PodProxyOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Path = in.Path return nil } @@ -4984,7 +4697,6 @@ func Convert_api_PodSignature_To_v1_PodSignature(in *api.PodSignature, out *PodS } func autoConvert_v1_PodSpec_To_api_PodSpec(in *PodSpec, out *api.PodSpec, s conversion.Scope) error { - SetDefaults_PodSpec(in) if in.Volumes != nil { in, out := &in.Volumes, &out.Volumes *out = make([]api.Volume, len(*in)) @@ -5215,9 +4927,6 @@ func Convert_api_PodStatus_To_v1_PodStatus(in *api.PodStatus, out *PodStatus, s } func autoConvert_v1_PodStatusResult_To_api_PodStatusResult(in *PodStatusResult, out *api.PodStatusResult, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5228,9 +4937,6 @@ func autoConvert_v1_PodStatusResult_To_api_PodStatusResult(in *PodStatusResult, } func autoConvert_api_PodStatusResult_To_v1_PodStatusResult(in *api.PodStatusResult, out *PodStatusResult, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5241,9 +4947,6 @@ func autoConvert_api_PodStatusResult_To_v1_PodStatusResult(in *api.PodStatusResu } func autoConvert_v1_PodTemplate_To_api_PodTemplate(in *PodTemplate, out *api.PodTemplate, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5258,9 +4961,6 @@ func Convert_v1_PodTemplate_To_api_PodTemplate(in *PodTemplate, out *api.PodTemp } func autoConvert_api_PodTemplate_To_v1_PodTemplate(in *api.PodTemplate, out *PodTemplate, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5275,12 +4975,7 @@ func Convert_api_PodTemplate_To_v1_PodTemplate(in *api.PodTemplate, out *PodTemp } func autoConvert_v1_PodTemplateList_To_api_PodTemplateList(in *PodTemplateList, out *api.PodTemplateList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.PodTemplate, len(*in)) @@ -5300,12 +4995,7 @@ func Convert_v1_PodTemplateList_To_api_PodTemplateList(in *PodTemplateList, out } func autoConvert_api_PodTemplateList_To_v1_PodTemplateList(in *api.PodTemplateList, out *PodTemplateList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodTemplate, len(*in)) @@ -5366,9 +5056,7 @@ func autoConvert_v1_PreferAvoidPodsEntry_To_api_PreferAvoidPodsEntry(in *PreferA if err := Convert_v1_PodSignature_To_api_PodSignature(&in.PodSignature, &out.PodSignature, s); err != nil { return err } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.EvictionTime, &out.EvictionTime, s); err != nil { - return err - } + out.EvictionTime = in.EvictionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -5382,9 +5070,7 @@ func autoConvert_api_PreferAvoidPodsEntry_To_v1_PreferAvoidPodsEntry(in *api.Pre if err := Convert_api_PodSignature_To_v1_PodSignature(&in.PodSignature, &out.PodSignature, s); err != nil { return err } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.EvictionTime, &out.EvictionTime, s); err != nil { - return err - } + out.EvictionTime = in.EvictionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -5419,7 +5105,6 @@ func Convert_api_PreferredSchedulingTerm_To_v1_PreferredSchedulingTerm(in *api.P } func autoConvert_v1_Probe_To_api_Probe(in *Probe, out *api.Probe, s conversion.Scope) error { - SetDefaults_Probe(in) if err := Convert_v1_Handler_To_api_Handler(&in.Handler, &out.Handler, s); err != nil { return err } @@ -5478,7 +5163,6 @@ func Convert_api_QuobyteVolumeSource_To_v1_QuobyteVolumeSource(in *api.QuobyteVo } func autoConvert_v1_RBDVolumeSource_To_api_RBDVolumeSource(in *RBDVolumeSource, out *api.RBDVolumeSource, s conversion.Scope) error { - SetDefaults_RBDVolumeSource(in) out.CephMonitors = in.CephMonitors out.RBDImage = in.RBDImage out.FSType = in.FSType @@ -5527,9 +5211,6 @@ func Convert_api_RBDVolumeSource_To_v1_RBDVolumeSource(in *api.RBDVolumeSource, } func autoConvert_v1_RangeAllocation_To_api_RangeAllocation(in *RangeAllocation, out *api.RangeAllocation, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5545,9 +5226,6 @@ func Convert_v1_RangeAllocation_To_api_RangeAllocation(in *RangeAllocation, out } func autoConvert_api_RangeAllocation_To_v1_RangeAllocation(in *api.RangeAllocation, out *RangeAllocation, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5563,10 +5241,6 @@ func Convert_api_RangeAllocation_To_v1_RangeAllocation(in *api.RangeAllocation, } func autoConvert_v1_ReplicationController_To_api_ReplicationController(in *ReplicationController, out *api.ReplicationController, s conversion.Scope) error { - SetDefaults_ReplicationController(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5584,9 +5258,6 @@ func Convert_v1_ReplicationController_To_api_ReplicationController(in *Replicati } func autoConvert_api_ReplicationController_To_v1_ReplicationController(in *api.ReplicationController, out *ReplicationController, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5606,12 +5277,7 @@ func Convert_api_ReplicationController_To_v1_ReplicationController(in *api.Repli func autoConvert_v1_ReplicationControllerCondition_To_api_ReplicationControllerCondition(in *ReplicationControllerCondition, out *api.ReplicationControllerCondition, s conversion.Scope) error { out.Type = api.ReplicationControllerConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -5624,12 +5290,7 @@ func Convert_v1_ReplicationControllerCondition_To_api_ReplicationControllerCondi func autoConvert_api_ReplicationControllerCondition_To_v1_ReplicationControllerCondition(in *api.ReplicationControllerCondition, out *ReplicationControllerCondition, s conversion.Scope) error { out.Type = ReplicationControllerConditionType(in.Type) out.Status = ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -5640,12 +5301,7 @@ func Convert_api_ReplicationControllerCondition_To_v1_ReplicationControllerCondi } func autoConvert_v1_ReplicationControllerList_To_api_ReplicationControllerList(in *ReplicationControllerList, out *api.ReplicationControllerList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.ReplicationController, len(*in)) @@ -5665,12 +5321,7 @@ func Convert_v1_ReplicationControllerList_To_api_ReplicationControllerList(in *R } func autoConvert_api_ReplicationControllerList_To_v1_ReplicationControllerList(in *api.ReplicationControllerList, out *ReplicationControllerList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ReplicationController, len(*in)) @@ -5776,9 +5427,7 @@ func Convert_api_ReplicationControllerStatus_To_v1_ReplicationControllerStatus(i func autoConvert_v1_ResourceFieldSelector_To_api_ResourceFieldSelector(in *ResourceFieldSelector, out *api.ResourceFieldSelector, s conversion.Scope) error { out.ContainerName = in.ContainerName out.Resource = in.Resource - if err := api.Convert_resource_Quantity_To_resource_Quantity(&in.Divisor, &out.Divisor, s); err != nil { - return err - } + out.Divisor = in.Divisor return nil } @@ -5789,9 +5438,7 @@ func Convert_v1_ResourceFieldSelector_To_api_ResourceFieldSelector(in *ResourceF func autoConvert_api_ResourceFieldSelector_To_v1_ResourceFieldSelector(in *api.ResourceFieldSelector, out *ResourceFieldSelector, s conversion.Scope) error { out.ContainerName = in.ContainerName out.Resource = in.Resource - if err := api.Convert_resource_Quantity_To_resource_Quantity(&in.Divisor, &out.Divisor, s); err != nil { - return err - } + out.Divisor = in.Divisor return nil } @@ -5800,9 +5447,6 @@ func Convert_api_ResourceFieldSelector_To_v1_ResourceFieldSelector(in *api.Resou } func autoConvert_v1_ResourceQuota_To_api_ResourceQuota(in *ResourceQuota, out *api.ResourceQuota, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5820,9 +5464,6 @@ func Convert_v1_ResourceQuota_To_api_ResourceQuota(in *ResourceQuota, out *api.R } func autoConvert_api_ResourceQuota_To_v1_ResourceQuota(in *api.ResourceQuota, out *ResourceQuota, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -5840,12 +5481,7 @@ func Convert_api_ResourceQuota_To_v1_ResourceQuota(in *api.ResourceQuota, out *R } func autoConvert_v1_ResourceQuotaList_To_api_ResourceQuotaList(in *ResourceQuotaList, out *api.ResourceQuotaList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.ResourceQuota, len(*in)) @@ -5865,12 +5501,7 @@ func Convert_v1_ResourceQuotaList_To_api_ResourceQuotaList(in *ResourceQuotaList } func autoConvert_api_ResourceQuotaList_To_v1_ResourceQuotaList(in *api.ResourceQuotaList, out *ResourceQuotaList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ResourceQuota, len(*in)) @@ -6060,10 +5691,6 @@ func Convert_api_SELinuxOptions_To_v1_SELinuxOptions(in *api.SELinuxOptions, out } func autoConvert_v1_Secret_To_api_Secret(in *Secret, out *api.Secret, s conversion.Scope) error { - SetDefaults_Secret(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -6074,9 +5701,6 @@ func autoConvert_v1_Secret_To_api_Secret(in *Secret, out *api.Secret, s conversi } func autoConvert_api_Secret_To_v1_Secret(in *api.Secret, out *Secret, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -6114,12 +5738,7 @@ func Convert_api_SecretKeySelector_To_v1_SecretKeySelector(in *api.SecretKeySele } func autoConvert_v1_SecretList_To_api_SecretList(in *SecretList, out *api.SecretList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.Secret, len(*in)) @@ -6139,12 +5758,7 @@ func Convert_v1_SecretList_To_api_SecretList(in *SecretList, out *api.SecretList } func autoConvert_api_SecretList_To_v1_SecretList(in *api.SecretList, out *SecretList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Secret, len(*in)) @@ -6164,7 +5778,6 @@ func Convert_api_SecretList_To_v1_SecretList(in *api.SecretList, out *SecretList } func autoConvert_v1_SecretVolumeSource_To_api_SecretVolumeSource(in *SecretVolumeSource, out *api.SecretVolumeSource, s conversion.Scope) error { - SetDefaults_SecretVolumeSource(in) out.SecretName = in.SecretName if in.Items != nil { in, out := &in.Items, &out.Items @@ -6267,9 +5880,6 @@ func Convert_api_SecurityContext_To_v1_SecurityContext(in *api.SecurityContext, } func autoConvert_v1_SerializedReference_To_api_SerializedReference(in *SerializedReference, out *api.SerializedReference, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectReference_To_api_ObjectReference(&in.Reference, &out.Reference, s); err != nil { return err } @@ -6281,9 +5891,6 @@ func Convert_v1_SerializedReference_To_api_SerializedReference(in *SerializedRef } func autoConvert_api_SerializedReference_To_v1_SerializedReference(in *api.SerializedReference, out *SerializedReference, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectReference_To_v1_ObjectReference(&in.Reference, &out.Reference, s); err != nil { return err } @@ -6295,9 +5902,6 @@ func Convert_api_SerializedReference_To_v1_SerializedReference(in *api.Serialize } func autoConvert_v1_Service_To_api_Service(in *Service, out *api.Service, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -6315,9 +5919,6 @@ func Convert_v1_Service_To_api_Service(in *Service, out *api.Service, s conversi } func autoConvert_api_Service_To_v1_Service(in *api.Service, out *Service, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -6335,9 +5936,6 @@ func Convert_api_Service_To_v1_Service(in *api.Service, out *Service, s conversi } func autoConvert_v1_ServiceAccount_To_api_ServiceAccount(in *ServiceAccount, out *api.ServiceAccount, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -6371,9 +5969,6 @@ func Convert_v1_ServiceAccount_To_api_ServiceAccount(in *ServiceAccount, out *ap } func autoConvert_api_ServiceAccount_To_v1_ServiceAccount(in *api.ServiceAccount, out *ServiceAccount, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { return err } @@ -6407,12 +6002,7 @@ func Convert_api_ServiceAccount_To_v1_ServiceAccount(in *api.ServiceAccount, out } func autoConvert_v1_ServiceAccountList_To_api_ServiceAccountList(in *ServiceAccountList, out *api.ServiceAccountList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.ServiceAccount, len(*in)) @@ -6432,12 +6022,7 @@ func Convert_v1_ServiceAccountList_To_api_ServiceAccountList(in *ServiceAccountL } func autoConvert_api_ServiceAccountList_To_v1_ServiceAccountList(in *api.ServiceAccountList, out *ServiceAccountList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ServiceAccount, len(*in)) @@ -6457,12 +6042,7 @@ func Convert_api_ServiceAccountList_To_v1_ServiceAccountList(in *api.ServiceAcco } func autoConvert_v1_ServiceList_To_api_ServiceList(in *ServiceList, out *api.ServiceList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]api.Service, len(*in)) @@ -6482,12 +6062,7 @@ func Convert_v1_ServiceList_To_api_ServiceList(in *ServiceList, out *api.Service } func autoConvert_api_ServiceList_To_v1_ServiceList(in *api.ServiceList, out *ServiceList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Service, len(*in)) @@ -6510,9 +6085,7 @@ func autoConvert_v1_ServicePort_To_api_ServicePort(in *ServicePort, out *api.Ser out.Name = in.Name out.Protocol = api.Protocol(in.Protocol) out.Port = in.Port - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.TargetPort, &out.TargetPort, s); err != nil { - return err - } + out.TargetPort = in.TargetPort out.NodePort = in.NodePort return nil } @@ -6525,9 +6098,7 @@ func autoConvert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Ser out.Name = in.Name out.Protocol = Protocol(in.Protocol) out.Port = in.Port - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.TargetPort, &out.TargetPort, s); err != nil { - return err - } + out.TargetPort = in.TargetPort out.NodePort = in.NodePort return nil } @@ -6537,9 +6108,6 @@ func Convert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Service } func autoConvert_v1_ServiceProxyOptions_To_api_ServiceProxyOptions(in *ServiceProxyOptions, out *api.ServiceProxyOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Path = in.Path return nil } @@ -6549,9 +6117,6 @@ func Convert_v1_ServiceProxyOptions_To_api_ServiceProxyOptions(in *ServiceProxyO } func autoConvert_api_ServiceProxyOptions_To_v1_ServiceProxyOptions(in *api.ServiceProxyOptions, out *ServiceProxyOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Path = in.Path return nil } @@ -6561,7 +6126,6 @@ func Convert_api_ServiceProxyOptions_To_v1_ServiceProxyOptions(in *api.ServicePr } func autoConvert_v1_ServiceSpec_To_api_ServiceSpec(in *ServiceSpec, out *api.ServiceSpec, s conversion.Scope) error { - SetDefaults_ServiceSpec(in) if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]api.ServicePort, len(*in)) @@ -6631,9 +6195,7 @@ func Convert_api_ServiceStatus_To_v1_ServiceStatus(in *api.ServiceStatus, out *S } func autoConvert_v1_TCPSocketAction_To_api_TCPSocketAction(in *TCPSocketAction, out *api.TCPSocketAction, s conversion.Scope) error { - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.Port, &out.Port, s); err != nil { - return err - } + out.Port = in.Port return nil } @@ -6642,9 +6204,7 @@ func Convert_v1_TCPSocketAction_To_api_TCPSocketAction(in *TCPSocketAction, out } func autoConvert_api_TCPSocketAction_To_v1_TCPSocketAction(in *api.TCPSocketAction, out *TCPSocketAction, s conversion.Scope) error { - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.Port, &out.Port, s); err != nil { - return err - } + out.Port = in.Port return nil } @@ -6699,7 +6259,6 @@ func Convert_api_Toleration_To_v1_Toleration(in *api.Toleration, out *Toleration } func autoConvert_v1_Volume_To_api_Volume(in *Volume, out *api.Volume, s conversion.Scope) error { - SetDefaults_Volume(in) out.Name = in.Name if err := Convert_v1_VolumeSource_To_api_VolumeSource(&in.VolumeSource, &out.VolumeSource, s); err != nil { return err @@ -7180,7 +6739,7 @@ func Convert_api_VsphereVirtualDiskVolumeSource_To_v1_VsphereVirtualDiskVolumeSo } func autoConvert_v1_WeightedPodAffinityTerm_To_api_WeightedPodAffinityTerm(in *WeightedPodAffinityTerm, out *api.WeightedPodAffinityTerm, s conversion.Scope) error { - out.Weight = int(in.Weight) + out.Weight = in.Weight if err := Convert_v1_PodAffinityTerm_To_api_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, s); err != nil { return err } @@ -7192,7 +6751,7 @@ func Convert_v1_WeightedPodAffinityTerm_To_api_WeightedPodAffinityTerm(in *Weigh } func autoConvert_api_WeightedPodAffinityTerm_To_v1_WeightedPodAffinityTerm(in *api.WeightedPodAffinityTerm, out *WeightedPodAffinityTerm, s conversion.Scope) error { - out.Weight = int32(in.Weight) + out.Weight = in.Weight if err := Convert_api_PodAffinityTerm_To_v1_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, s); err != nil { return err } diff --git a/pkg/api/v1/zz_generated.deepcopy.go b/pkg/api/v1/zz_generated.deepcopy.go index 9ac9b27e..feae57d5 100644 --- a/pkg/api/v1/zz_generated.deepcopy.go +++ b/pkg/api/v1/zz_generated.deepcopy.go @@ -2919,7 +2919,6 @@ func DeepCopy_v1_ReplicationControllerCondition(in interface{}, out interface{}, out := out.(*ReplicationControllerCondition) out.Type = in.Type out.Status = in.Status - out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() out.Reason = in.Reason out.Message = in.Message diff --git a/pkg/api/v1/zz_generated.defaults.go b/pkg/api/v1/zz_generated.defaults.go new file mode 100644 index 00000000..3b28e675 --- /dev/null +++ b/pkg/api/v1/zz_generated.defaults.go @@ -0,0 +1,577 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v1 + +import ( + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&ConfigMap{}, func(obj interface{}) { SetObjectDefaults_ConfigMap(obj.(*ConfigMap)) }) + scheme.AddTypeDefaultingFunc(&ConfigMapList{}, func(obj interface{}) { SetObjectDefaults_ConfigMapList(obj.(*ConfigMapList)) }) + scheme.AddTypeDefaultingFunc(&Endpoints{}, func(obj interface{}) { SetObjectDefaults_Endpoints(obj.(*Endpoints)) }) + scheme.AddTypeDefaultingFunc(&EndpointsList{}, func(obj interface{}) { SetObjectDefaults_EndpointsList(obj.(*EndpointsList)) }) + scheme.AddTypeDefaultingFunc(&LimitRange{}, func(obj interface{}) { SetObjectDefaults_LimitRange(obj.(*LimitRange)) }) + scheme.AddTypeDefaultingFunc(&LimitRangeList{}, func(obj interface{}) { SetObjectDefaults_LimitRangeList(obj.(*LimitRangeList)) }) + scheme.AddTypeDefaultingFunc(&Namespace{}, func(obj interface{}) { SetObjectDefaults_Namespace(obj.(*Namespace)) }) + scheme.AddTypeDefaultingFunc(&NamespaceList{}, func(obj interface{}) { SetObjectDefaults_NamespaceList(obj.(*NamespaceList)) }) + scheme.AddTypeDefaultingFunc(&Node{}, func(obj interface{}) { SetObjectDefaults_Node(obj.(*Node)) }) + scheme.AddTypeDefaultingFunc(&NodeList{}, func(obj interface{}) { SetObjectDefaults_NodeList(obj.(*NodeList)) }) + scheme.AddTypeDefaultingFunc(&PersistentVolume{}, func(obj interface{}) { SetObjectDefaults_PersistentVolume(obj.(*PersistentVolume)) }) + scheme.AddTypeDefaultingFunc(&PersistentVolumeClaim{}, func(obj interface{}) { SetObjectDefaults_PersistentVolumeClaim(obj.(*PersistentVolumeClaim)) }) + scheme.AddTypeDefaultingFunc(&PersistentVolumeClaimList{}, func(obj interface{}) { SetObjectDefaults_PersistentVolumeClaimList(obj.(*PersistentVolumeClaimList)) }) + scheme.AddTypeDefaultingFunc(&PersistentVolumeList{}, func(obj interface{}) { SetObjectDefaults_PersistentVolumeList(obj.(*PersistentVolumeList)) }) + scheme.AddTypeDefaultingFunc(&Pod{}, func(obj interface{}) { SetObjectDefaults_Pod(obj.(*Pod)) }) + scheme.AddTypeDefaultingFunc(&PodAttachOptions{}, func(obj interface{}) { SetObjectDefaults_PodAttachOptions(obj.(*PodAttachOptions)) }) + scheme.AddTypeDefaultingFunc(&PodExecOptions{}, func(obj interface{}) { SetObjectDefaults_PodExecOptions(obj.(*PodExecOptions)) }) + scheme.AddTypeDefaultingFunc(&PodList{}, func(obj interface{}) { SetObjectDefaults_PodList(obj.(*PodList)) }) + scheme.AddTypeDefaultingFunc(&PodTemplate{}, func(obj interface{}) { SetObjectDefaults_PodTemplate(obj.(*PodTemplate)) }) + scheme.AddTypeDefaultingFunc(&PodTemplateList{}, func(obj interface{}) { SetObjectDefaults_PodTemplateList(obj.(*PodTemplateList)) }) + scheme.AddTypeDefaultingFunc(&ReplicationController{}, func(obj interface{}) { SetObjectDefaults_ReplicationController(obj.(*ReplicationController)) }) + scheme.AddTypeDefaultingFunc(&ReplicationControllerList{}, func(obj interface{}) { SetObjectDefaults_ReplicationControllerList(obj.(*ReplicationControllerList)) }) + scheme.AddTypeDefaultingFunc(&ResourceQuota{}, func(obj interface{}) { SetObjectDefaults_ResourceQuota(obj.(*ResourceQuota)) }) + scheme.AddTypeDefaultingFunc(&ResourceQuotaList{}, func(obj interface{}) { SetObjectDefaults_ResourceQuotaList(obj.(*ResourceQuotaList)) }) + scheme.AddTypeDefaultingFunc(&Secret{}, func(obj interface{}) { SetObjectDefaults_Secret(obj.(*Secret)) }) + scheme.AddTypeDefaultingFunc(&SecretList{}, func(obj interface{}) { SetObjectDefaults_SecretList(obj.(*SecretList)) }) + scheme.AddTypeDefaultingFunc(&Service{}, func(obj interface{}) { SetObjectDefaults_Service(obj.(*Service)) }) + scheme.AddTypeDefaultingFunc(&ServiceList{}, func(obj interface{}) { SetObjectDefaults_ServiceList(obj.(*ServiceList)) }) + return nil +} + +func SetObjectDefaults_ConfigMap(in *ConfigMap) { + SetDefaults_ConfigMap(in) +} + +func SetObjectDefaults_ConfigMapList(in *ConfigMapList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_ConfigMap(a) + } +} + +func SetObjectDefaults_Endpoints(in *Endpoints) { + SetDefaults_Endpoints(in) +} + +func SetObjectDefaults_EndpointsList(in *EndpointsList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Endpoints(a) + } +} + +func SetObjectDefaults_LimitRange(in *LimitRange) { + for i := range in.Spec.Limits { + a := &in.Spec.Limits[i] + SetDefaults_LimitRangeItem(a) + SetDefaults_ResourceList(&a.Max) + SetDefaults_ResourceList(&a.Min) + SetDefaults_ResourceList(&a.Default) + SetDefaults_ResourceList(&a.DefaultRequest) + SetDefaults_ResourceList(&a.MaxLimitRequestRatio) + } +} + +func SetObjectDefaults_LimitRangeList(in *LimitRangeList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_LimitRange(a) + } +} + +func SetObjectDefaults_Namespace(in *Namespace) { + SetDefaults_NamespaceStatus(&in.Status) +} + +func SetObjectDefaults_NamespaceList(in *NamespaceList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Namespace(a) + } +} + +func SetObjectDefaults_Node(in *Node) { + SetDefaults_Node(in) + SetDefaults_NodeStatus(&in.Status) + SetDefaults_ResourceList(&in.Status.Capacity) + SetDefaults_ResourceList(&in.Status.Allocatable) +} + +func SetObjectDefaults_NodeList(in *NodeList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Node(a) + } +} + +func SetObjectDefaults_PersistentVolume(in *PersistentVolume) { + SetDefaults_PersistentVolume(in) + SetDefaults_ResourceList(&in.Spec.Capacity) + if in.Spec.PersistentVolumeSource.RBD != nil { + SetDefaults_RBDVolumeSource(in.Spec.PersistentVolumeSource.RBD) + } + if in.Spec.PersistentVolumeSource.ISCSI != nil { + SetDefaults_ISCSIVolumeSource(in.Spec.PersistentVolumeSource.ISCSI) + } + if in.Spec.PersistentVolumeSource.AzureDisk != nil { + SetDefaults_AzureDiskVolumeSource(in.Spec.PersistentVolumeSource.AzureDisk) + } +} + +func SetObjectDefaults_PersistentVolumeClaim(in *PersistentVolumeClaim) { + SetDefaults_PersistentVolumeClaim(in) + SetDefaults_ResourceList(&in.Spec.Resources.Limits) + SetDefaults_ResourceList(&in.Spec.Resources.Requests) + SetDefaults_ResourceList(&in.Status.Capacity) +} + +func SetObjectDefaults_PersistentVolumeClaimList(in *PersistentVolumeClaimList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_PersistentVolumeClaim(a) + } +} + +func SetObjectDefaults_PersistentVolumeList(in *PersistentVolumeList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_PersistentVolume(a) + } +} + +func SetObjectDefaults_Pod(in *Pod) { + SetDefaults_Pod(in) + SetDefaults_PodSpec(&in.Spec) + for i := range in.Spec.Volumes { + a := &in.Spec.Volumes[i] + SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.InitContainers { + a := &in.Spec.InitContainers[i] + SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + SetDefaults_ResourceList(&a.Resources.Limits) + SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Containers { + a := &in.Spec.Containers[i] + SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + SetDefaults_ResourceList(&a.Resources.Limits) + SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_PodAttachOptions(in *PodAttachOptions) { + SetDefaults_PodAttachOptions(in) +} + +func SetObjectDefaults_PodExecOptions(in *PodExecOptions) { + SetDefaults_PodExecOptions(in) +} + +func SetObjectDefaults_PodList(in *PodList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Pod(a) + } +} + +func SetObjectDefaults_PodTemplate(in *PodTemplate) { + SetDefaults_PodSpec(&in.Template.Spec) + for i := range in.Template.Spec.Volumes { + a := &in.Template.Spec.Volumes[i] + SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Template.Spec.InitContainers { + a := &in.Template.Spec.InitContainers[i] + SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + SetDefaults_ResourceList(&a.Resources.Limits) + SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Template.Spec.Containers { + a := &in.Template.Spec.Containers[i] + SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + SetDefaults_ResourceList(&a.Resources.Limits) + SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_PodTemplateList(in *PodTemplateList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_PodTemplate(a) + } +} + +func SetObjectDefaults_ReplicationController(in *ReplicationController) { + SetDefaults_ReplicationController(in) + if in.Spec.Template != nil { + SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + SetDefaults_ResourceList(&a.Resources.Limits) + SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + SetDefaults_ResourceList(&a.Resources.Limits) + SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + } +} + +func SetObjectDefaults_ReplicationControllerList(in *ReplicationControllerList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_ReplicationController(a) + } +} + +func SetObjectDefaults_ResourceQuota(in *ResourceQuota) { + SetDefaults_ResourceList(&in.Spec.Hard) + SetDefaults_ResourceList(&in.Status.Hard) + SetDefaults_ResourceList(&in.Status.Used) +} + +func SetObjectDefaults_ResourceQuotaList(in *ResourceQuotaList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_ResourceQuota(a) + } +} + +func SetObjectDefaults_Secret(in *Secret) { + SetDefaults_Secret(in) +} + +func SetObjectDefaults_SecretList(in *SecretList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Secret(a) + } +} + +func SetObjectDefaults_Service(in *Service) { + SetDefaults_ServiceSpec(&in.Spec) +} + +func SetObjectDefaults_ServiceList(in *ServiceList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Service(a) + } +} diff --git a/pkg/api/zz_generated.deepcopy.go b/pkg/api/zz_generated.deepcopy.go index 0f45b6a8..446da1b2 100644 --- a/pkg/api/zz_generated.deepcopy.go +++ b/pkg/api/zz_generated.deepcopy.go @@ -2977,7 +2977,6 @@ func DeepCopy_api_ReplicationControllerCondition(in interface{}, out interface{} out := out.(*ReplicationControllerCondition) out.Type = in.Type out.Status = in.Status - out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() out.Reason = in.Reason out.Message = in.Message diff --git a/pkg/apis/apps/register.go b/pkg/apis/apps/register.go index ec3f8e6d..f7910222 100644 --- a/pkg/apis/apps/register.go +++ b/pkg/apis/apps/register.go @@ -47,8 +47,8 @@ func Resource(resource string) unversioned.GroupResource { func addKnownTypes(scheme *runtime.Scheme) error { // TODO this will get cleaned up with the scheme types are fixed scheme.AddKnownTypes(SchemeGroupVersion, - &PetSet{}, - &PetSetList{}, + &StatefulSet{}, + &StatefulSetList{}, &api.ListOptions{}, &api.DeleteOptions{}, ) diff --git a/pkg/apis/apps/types.generated.go b/pkg/apis/apps/types.generated.go index afc8959a..391d2345 100644 --- a/pkg/apis/apps/types.generated.go +++ b/pkg/apis/apps/types.generated.go @@ -75,7 +75,7 @@ func init() { } } -func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -220,7 +220,7 @@ func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSet) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -250,7 +250,7 @@ func (x *PetSet) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -293,14 +293,14 @@ func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "spec": if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} + x.Spec = StatefulSetSpec{} } else { yyv24 := &x.Spec yyv24.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} + x.Status = StatefulSetStatus{} } else { yyv25 := &x.Status yyv25.CodecDecodeSelf(d) @@ -312,7 +312,7 @@ func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -380,7 +380,7 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} + x.Spec = StatefulSetSpec{} } else { yyv30 := &x.Spec yyv30.CodecDecodeSelf(d) @@ -397,7 +397,7 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} + x.Status = StatefulSetStatus{} } else { yyv31 := &x.Status yyv31.CodecDecodeSelf(d) @@ -418,7 +418,7 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -583,7 +583,7 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -613,7 +613,7 @@ func (x *PetSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -690,7 +690,7 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -811,7 +811,7 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -905,7 +905,7 @@ func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -935,7 +935,7 @@ func (x *PetSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -986,7 +986,7 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1051,7 +1051,7 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSetList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -1172,7 +1172,7 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym101 if false { } else { - h.encSlicePetSet(([]PetSet)(x.Items), e) + h.encSliceStatefulSet(([]StatefulSet)(x.Items), e) } } } else { @@ -1186,7 +1186,7 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym102 if false { } else { - h.encSlicePetSet(([]PetSet)(x.Items), e) + h.encSliceStatefulSet(([]StatefulSet)(x.Items), e) } } } @@ -1199,7 +1199,7 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSetList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1229,7 +1229,7 @@ func (x *PetSetList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1285,7 +1285,7 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { _ = yym111 if false { } else { - h.decSlicePetSet((*[]PetSet)(yyv110), d) + h.decSliceStatefulSet((*[]StatefulSet)(yyv110), d) } } default: @@ -1295,7 +1295,7 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1376,7 +1376,7 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { _ = yym118 if false { } else { - h.decSlicePetSet((*[]PetSet)(yyv117), d) + h.decSliceStatefulSet((*[]StatefulSet)(yyv117), d) } } for { @@ -1511,7 +1511,7 @@ func (x codecSelfer1234) decSliceapi_PersistentVolumeClaim(v *[]pkg2_api.Persist } } -func (x codecSelfer1234) encSlicePetSet(v []PetSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceStatefulSet(v []StatefulSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -1524,7 +1524,7 @@ func (x codecSelfer1234) encSlicePetSet(v []PetSet, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceStatefulSet(v *[]StatefulSet, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1534,7 +1534,7 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { var yyc127 bool if yyl127 == 0 { if yyv127 == nil { - yyv127 = []PetSet{} + yyv127 = []StatefulSet{} yyc127 = true } else if len(yyv127) != 0 { yyv127 = yyv127[:0] @@ -1552,10 +1552,10 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { if yyrl127 <= cap(yyv127) { yyv127 = yyv127[:yyrl127] } else { - yyv127 = make([]PetSet, yyrl127) + yyv127 = make([]StatefulSet, yyrl127) } } else { - yyv127 = make([]PetSet, yyrl127) + yyv127 = make([]StatefulSet, yyrl127) } yyc127 = true yyrr127 = len(yyv127) @@ -1570,7 +1570,7 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { for ; yyj127 < yyrr127; yyj127++ { yyh127.ElemContainerState(yyj127) if r.TryDecodeAsNil() { - yyv127[yyj127] = PetSet{} + yyv127[yyj127] = StatefulSet{} } else { yyv128 := &yyv127[yyj127] yyv128.CodecDecodeSelf(d) @@ -1579,10 +1579,10 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { } if yyrt127 { for ; yyj127 < yyl127; yyj127++ { - yyv127 = append(yyv127, PetSet{}) + yyv127 = append(yyv127, StatefulSet{}) yyh127.ElemContainerState(yyj127) if r.TryDecodeAsNil() { - yyv127[yyj127] = PetSet{} + yyv127[yyj127] = StatefulSet{} } else { yyv129 := &yyv127[yyj127] yyv129.CodecDecodeSelf(d) @@ -1596,13 +1596,13 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj127++ { if yyj127 >= len(yyv127) { - yyv127 = append(yyv127, PetSet{}) // var yyz127 PetSet + yyv127 = append(yyv127, StatefulSet{}) // var yyz127 StatefulSet yyc127 = true } yyh127.ElemContainerState(yyj127) if yyj127 < len(yyv127) { if r.TryDecodeAsNil() { - yyv127[yyj127] = PetSet{} + yyv127[yyj127] = StatefulSet{} } else { yyv130 := &yyv127[yyj127] yyv130.CodecDecodeSelf(d) @@ -1617,7 +1617,7 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { yyv127 = yyv127[:yyj127] yyc127 = true } else if yyj127 == 0 && yyv127 == nil { - yyv127 = []PetSet{} + yyv127 = []StatefulSet{} yyc127 = true } } diff --git a/pkg/apis/apps/types.go b/pkg/apis/apps/types.go index bd2bcce7..8e3736b9 100644 --- a/pkg/apis/apps/types.go +++ b/pkg/apis/apps/types.go @@ -23,74 +23,82 @@ import ( // +genclient=true -// PetSet represents a set of pods with consistent identities. +// StatefulSet represents a set of pods with consistent identities. // Identities are defined as: // - Network: A single stable DNS and hostname. // - Storage: As many VolumeClaims as requested. -// The PetSet guarantees that a given network identity will always -// map to the same storage identity. PetSet is currently in alpha and +// The StatefulSet guarantees that a given network identity will always +// map to the same storage identity. StatefulSet is currently in alpha and // and subject to change without notice. -type PetSet struct { +type StatefulSet struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` - // Spec defines the desired identities of pets in this set. - Spec PetSetSpec `json:"spec,omitempty"` + // Spec defines the desired identities of pods in this set. + // +optional + Spec StatefulSetSpec `json:"spec,omitempty"` - // Status is the current status of Pets in this PetSet. This data + // Status is the current status of Pods in this StatefulSet. This data // may be out of date by some window of time. - Status PetSetStatus `json:"status,omitempty"` + // +optional + Status StatefulSetStatus `json:"status,omitempty"` } -// A PetSetSpec is the specification of a PetSet. -type PetSetSpec struct { +// A StatefulSetSpec is the specification of a StatefulSet. +type StatefulSetSpec struct { // Replicas is the desired number of replicas of the given Template. // These are replicas in the sense that they are instantiations of the // same Template, but individual replicas also have a consistent identity. // If unspecified, defaults to 1. // TODO: Consider a rename of this field. + // +optional Replicas int32 `json:"replicas,omitempty"` // Selector is a label query over pods that should match the replica count. // If empty, defaulted to labels on the pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` // Template is the object that describes the pod that will be created if - // insufficient replicas are detected. Each pod stamped out by the PetSet + // insufficient replicas are detected. Each pod stamped out by the StatefulSet // will fulfill this Template, but have a unique identity from the rest - // of the PetSet. + // of the StatefulSet. Template api.PodTemplateSpec `json:"template"` - // VolumeClaimTemplates is a list of claims that pets are allowed to reference. - // The PetSet controller is responsible for mapping network identities to - // claims in a way that maintains the identity of a pet. Every claim in + // VolumeClaimTemplates is a list of claims that pods are allowed to reference. + // The StatefulSet controller is responsible for mapping network identities to + // claims in a way that maintains the identity of a pod. Every claim in // this list must have at least one matching (by name) volumeMount in one // container in the template. A claim in this list takes precedence over // any volumes in the template, with the same name. // TODO: Define the behavior if a claim already exists with the same name. + // +optional VolumeClaimTemplates []api.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty"` - // ServiceName is the name of the service that governs this PetSet. - // This service must exist before the PetSet, and is responsible for - // the network identity of the set. Pets get DNS/hostnames that follow the - // pattern: pet-specific-string.serviceName.default.svc.cluster.local - // where "pet-specific-string" is managed by the PetSet controller. + // ServiceName is the name of the service that governs this StatefulSet. + // This service must exist before the StatefulSet, and is responsible for + // the network identity of the set. Pods get DNS/hostnames that follow the + // pattern: pod-specific-string.serviceName.default.svc.cluster.local + // where "pod-specific-string" is managed by the StatefulSet controller. ServiceName string `json:"serviceName"` } -// PetSetStatus represents the current state of a PetSet. -type PetSetStatus struct { +// StatefulSetStatus represents the current state of a StatefulSet. +type StatefulSetStatus struct { // most recent generation observed by this autoscaler. + // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // Replicas is the number of actual replicas. Replicas int32 `json:"replicas"` } -// PetSetList is a collection of PetSets. -type PetSetList struct { +// StatefulSetList is a collection of StatefulSets. +type StatefulSetList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` - Items []PetSet `json:"items"` + Items []StatefulSet `json:"items"` } diff --git a/pkg/apis/apps/v1alpha1/conversion.go b/pkg/apis/apps/v1alpha1/conversion.go index 69ae6218..269bddef 100644 --- a/pkg/apis/apps/v1alpha1/conversion.go +++ b/pkg/apis/apps/v1alpha1/conversion.go @@ -33,14 +33,14 @@ func addConversionFuncs(scheme *runtime.Scheme) error { // it, but a plain int32 is more convenient in the internal type. These // functions are the same as the autogenerated ones in every other way. err := scheme.AddConversionFuncs( - Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec, - Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec, + Convert_v1alpha1_StatefulSetSpec_To_apps_StatefulSetSpec, + Convert_apps_StatefulSetSpec_To_v1alpha1_StatefulSetSpec, ) if err != nil { return err } - return api.Scheme.AddFieldLabelConversionFunc("apps/v1alpha1", "PetSet", + return api.Scheme.AddFieldLabelConversionFunc("apps/v1alpha1", "StatefulSet", func(label, value string) (string, string, error) { switch label { case "metadata.name", "metadata.namespace", "status.successful": @@ -52,7 +52,7 @@ func addConversionFuncs(scheme *runtime.Scheme) error { ) } -func Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.PetSetSpec, s conversion.Scope) error { +func Convert_v1alpha1_StatefulSetSpec_To_apps_StatefulSetSpec(in *StatefulSetSpec, out *apps.StatefulSetSpec, s conversion.Scope) error { if in.Replicas != nil { out.Replicas = *in.Replicas } @@ -83,7 +83,7 @@ func Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.Pe return nil } -func Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec(in *apps.PetSetSpec, out *PetSetSpec, s conversion.Scope) error { +func Convert_apps_StatefulSetSpec_To_v1alpha1_StatefulSetSpec(in *apps.StatefulSetSpec, out *StatefulSetSpec, s conversion.Scope) error { out.Replicas = new(int32) *out.Replicas = in.Replicas if in.Selector != nil { diff --git a/pkg/apis/apps/v1alpha1/defaults.go b/pkg/apis/apps/v1alpha1/defaults.go index e7fd66f8..6c7d1c32 100644 --- a/pkg/apis/apps/v1alpha1/defaults.go +++ b/pkg/apis/apps/v1alpha1/defaults.go @@ -22,12 +22,13 @@ import ( ) func addDefaultingFuncs(scheme *runtime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( - SetDefaults_PetSet, + SetDefaults_StatefulSet, ) } -func SetDefaults_PetSet(obj *PetSet) { +func SetDefaults_StatefulSet(obj *StatefulSet) { labels := obj.Spec.Template.Labels if labels != nil { if obj.Spec.Selector == nil { diff --git a/pkg/apis/apps/v1alpha1/doc.go b/pkg/apis/apps/v1alpha1/doc.go index 5e6926df..66a7b01f 100644 --- a/pkg/apis/apps/v1alpha1/doc.go +++ b/pkg/apis/apps/v1alpha1/doc.go @@ -17,5 +17,6 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/apps // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1alpha1 diff --git a/pkg/apis/apps/v1alpha1/generated.pb.go b/pkg/apis/apps/v1alpha1/generated.pb.go index 334b85df..1b00aa73 100644 --- a/pkg/apis/apps/v1alpha1/generated.pb.go +++ b/pkg/apis/apps/v1alpha1/generated.pb.go @@ -25,10 +25,10 @@ limitations under the License. k8s.io/kubernetes/pkg/apis/apps/v1alpha1/generated.proto It has these top-level messages: - PetSet - PetSetList - PetSetSpec - PetSetStatus + StatefulSet + StatefulSetList + StatefulSetSpec + StatefulSetStatus */ package v1alpha1 @@ -53,29 +53,29 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. const _ = proto.GoGoProtoPackageIsVersion1 -func (m *PetSet) Reset() { *m = PetSet{} } -func (*PetSet) ProtoMessage() {} -func (*PetSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } +func (m *StatefulSet) Reset() { *m = StatefulSet{} } +func (*StatefulSet) ProtoMessage() {} +func (*StatefulSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *PetSetList) Reset() { *m = PetSetList{} } -func (*PetSetList) ProtoMessage() {} -func (*PetSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } +func (m *StatefulSetList) Reset() { *m = StatefulSetList{} } +func (*StatefulSetList) ProtoMessage() {} +func (*StatefulSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *PetSetSpec) Reset() { *m = PetSetSpec{} } -func (*PetSetSpec) ProtoMessage() {} -func (*PetSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } +func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} } +func (*StatefulSetSpec) ProtoMessage() {} +func (*StatefulSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *PetSetStatus) Reset() { *m = PetSetStatus{} } -func (*PetSetStatus) ProtoMessage() {} -func (*PetSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } +func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} } +func (*StatefulSetStatus) ProtoMessage() {} +func (*StatefulSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } func init() { - proto.RegisterType((*PetSet)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.PetSet") - proto.RegisterType((*PetSetList)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.PetSetList") - proto.RegisterType((*PetSetSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.PetSetSpec") - proto.RegisterType((*PetSetStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.PetSetStatus") + proto.RegisterType((*StatefulSet)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.StatefulSet") + proto.RegisterType((*StatefulSetList)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.StatefulSetList") + proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.StatefulSetSpec") + proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1alpha1.StatefulSetStatus") } -func (m *PetSet) Marshal() (data []byte, err error) { +func (m *StatefulSet) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) n, err := m.MarshalTo(data) @@ -85,7 +85,7 @@ func (m *PetSet) Marshal() (data []byte, err error) { return data[:n], nil } -func (m *PetSet) MarshalTo(data []byte) (int, error) { +func (m *StatefulSet) MarshalTo(data []byte) (int, error) { var i int _ = i var l int @@ -117,7 +117,7 @@ func (m *PetSet) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *PetSetList) Marshal() (data []byte, err error) { +func (m *StatefulSetList) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) n, err := m.MarshalTo(data) @@ -127,7 +127,7 @@ func (m *PetSetList) Marshal() (data []byte, err error) { return data[:n], nil } -func (m *PetSetList) MarshalTo(data []byte) (int, error) { +func (m *StatefulSetList) MarshalTo(data []byte) (int, error) { var i int _ = i var l int @@ -155,7 +155,7 @@ func (m *PetSetList) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *PetSetSpec) Marshal() (data []byte, err error) { +func (m *StatefulSetSpec) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) n, err := m.MarshalTo(data) @@ -165,7 +165,7 @@ func (m *PetSetSpec) Marshal() (data []byte, err error) { return data[:n], nil } -func (m *PetSetSpec) MarshalTo(data []byte) (int, error) { +func (m *StatefulSetSpec) MarshalTo(data []byte) (int, error) { var i int _ = i var l int @@ -212,7 +212,7 @@ func (m *PetSetSpec) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *PetSetStatus) Marshal() (data []byte, err error) { +func (m *StatefulSetStatus) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) n, err := m.MarshalTo(data) @@ -222,7 +222,7 @@ func (m *PetSetStatus) Marshal() (data []byte, err error) { return data[:n], nil } -func (m *PetSetStatus) MarshalTo(data []byte) (int, error) { +func (m *StatefulSetStatus) MarshalTo(data []byte) (int, error) { var i int _ = i var l int @@ -265,7 +265,7 @@ func encodeVarintGenerated(data []byte, offset int, v uint64) int { data[offset] = uint8(v) return offset + 1 } -func (m *PetSet) Size() (n int) { +func (m *StatefulSet) Size() (n int) { var l int _ = l l = m.ObjectMeta.Size() @@ -277,7 +277,7 @@ func (m *PetSet) Size() (n int) { return n } -func (m *PetSetList) Size() (n int) { +func (m *StatefulSetList) Size() (n int) { var l int _ = l l = m.ListMeta.Size() @@ -291,7 +291,7 @@ func (m *PetSetList) Size() (n int) { return n } -func (m *PetSetSpec) Size() (n int) { +func (m *StatefulSetSpec) Size() (n int) { var l int _ = l if m.Replicas != nil { @@ -314,7 +314,7 @@ func (m *PetSetSpec) Size() (n int) { return n } -func (m *PetSetStatus) Size() (n int) { +func (m *StatefulSetStatus) Size() (n int) { var l int _ = l if m.ObservedGeneration != nil { @@ -337,34 +337,34 @@ func sovGenerated(x uint64) (n int) { func sozGenerated(x uint64) (n int) { return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (this *PetSet) String() string { +func (this *StatefulSet) String() string { if this == nil { return "nil" } - s := strings.Join([]string{`&PetSet{`, + s := strings.Join([]string{`&StatefulSet{`, `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(), "PetSetSpec", "PetSetSpec", 1), `&`, ``, 1) + `,`, - `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PetSetStatus", "PetSetStatus", 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) + `,`, `}`, }, "") return s } -func (this *PetSetList) String() string { +func (this *StatefulSetList) String() string { if this == nil { return "nil" } - s := strings.Join([]string{`&PetSetList{`, + s := strings.Join([]string{`&StatefulSetList{`, `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`, - `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PetSet", "PetSet", 1), `&`, ``, 1) + `,`, + `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + `,`, `}`, }, "") return s } -func (this *PetSetSpec) String() string { +func (this *StatefulSetSpec) String() string { if this == nil { return "nil" } - s := strings.Join([]string{`&PetSetSpec{`, + s := strings.Join([]string{`&StatefulSetSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, @@ -374,11 +374,11 @@ func (this *PetSetSpec) String() string { }, "") return s } -func (this *PetSetStatus) String() string { +func (this *StatefulSetStatus) String() string { if this == nil { return "nil" } - s := strings.Join([]string{`&PetSetStatus{`, + s := strings.Join([]string{`&StatefulSetStatus{`, `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`, `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, `}`, @@ -393,7 +393,7 @@ func valueToStringGenerated(v interface{}) string { pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("*%v", pv) } -func (m *PetSet) Unmarshal(data []byte) error { +func (m *StatefulSet) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 for iNdEx < l { @@ -416,10 +416,10 @@ func (m *PetSet) Unmarshal(data []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PetSet: wiretype end group for non-group") + return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PetSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -533,7 +533,7 @@ func (m *PetSet) Unmarshal(data []byte) error { } return nil } -func (m *PetSetList) Unmarshal(data []byte) error { +func (m *StatefulSetList) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 for iNdEx < l { @@ -556,10 +556,10 @@ func (m *PetSetList) Unmarshal(data []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PetSetList: wiretype end group for non-group") + return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PetSetList: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -618,7 +618,7 @@ func (m *PetSetList) Unmarshal(data []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Items = append(m.Items, PetSet{}) + m.Items = append(m.Items, StatefulSet{}) if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } @@ -644,7 +644,7 @@ func (m *PetSetList) Unmarshal(data []byte) error { } return nil } -func (m *PetSetSpec) Unmarshal(data []byte) error { +func (m *StatefulSetSpec) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 for iNdEx < l { @@ -667,10 +667,10 @@ func (m *PetSetSpec) Unmarshal(data []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PetSetSpec: wiretype end group for non-group") + return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PetSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -837,7 +837,7 @@ func (m *PetSetSpec) Unmarshal(data []byte) error { } return nil } -func (m *PetSetStatus) Unmarshal(data []byte) error { +func (m *StatefulSetStatus) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 for iNdEx < l { @@ -860,10 +860,10 @@ func (m *PetSetStatus) Unmarshal(data []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PetSetStatus: wiretype end group for non-group") + return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PetSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1032,44 +1032,45 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 611 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x6f, 0xd3, 0x4c, - 0x10, 0xc6, 0xeb, 0xa6, 0xa9, 0xfc, 0x6e, 0xf3, 0x22, 0xb4, 0x54, 0x28, 0x8a, 0x50, 0x8a, 0x72, - 0x8a, 0x50, 0xb3, 0x26, 0x85, 0xa2, 0x9e, 0x8d, 0x04, 0x42, 0x02, 0x5a, 0x39, 0x10, 0x21, 0x10, - 0x48, 0x6b, 0x67, 0x48, 0x97, 0xd8, 0x5e, 0xcb, 0xbb, 0xce, 0x99, 0x03, 0xdc, 0x39, 0xf3, 0x31, - 0xf8, 0x08, 0x9c, 0x72, 0xec, 0x91, 0x53, 0x05, 0xe5, 0x8b, 0xb0, 0x5e, 0xff, 0x49, 0xa8, 0x93, - 0x96, 0x1e, 0x36, 0xca, 0xee, 0xce, 0xf3, 0xdb, 0x99, 0x67, 0xc6, 0xe8, 0x60, 0x72, 0x20, 0x08, - 0xe3, 0xd6, 0x24, 0x71, 0x21, 0x0e, 0x41, 0x82, 0xb0, 0xa2, 0xc9, 0xd8, 0xa2, 0x11, 0x13, 0xea, - 0x27, 0x12, 0xd6, 0xb4, 0x4f, 0xfd, 0xe8, 0x98, 0xf6, 0xad, 0x31, 0x84, 0x10, 0x53, 0x09, 0x23, - 0x12, 0xc5, 0x5c, 0x72, 0xdc, 0xcd, 0x94, 0x64, 0xae, 0x24, 0x4a, 0x49, 0x52, 0x25, 0x49, 0x95, - 0xa4, 0x50, 0xb6, 0x7a, 0x63, 0x26, 0x8f, 0x13, 0x97, 0x78, 0x3c, 0xb0, 0xc6, 0x7c, 0xcc, 0x2d, - 0x0d, 0x70, 0x93, 0xf7, 0x7a, 0xa7, 0x37, 0xfa, 0x5f, 0x06, 0x6e, 0xed, 0xad, 0x4c, 0xc9, 0x8a, - 0x41, 0xf0, 0x24, 0xf6, 0xe0, 0x7c, 0x32, 0xad, 0xfd, 0xd5, 0x9a, 0x24, 0x9c, 0x42, 0x2c, 0x18, - 0x0f, 0x61, 0x54, 0x91, 0xed, 0xae, 0x96, 0x4d, 0x2b, 0x15, 0xb7, 0x7a, 0xcb, 0xa3, 0xe3, 0x24, - 0x94, 0x2c, 0xa8, 0xe6, 0xd4, 0x5f, 0x1e, 0x9e, 0x48, 0xe6, 0x5b, 0x2c, 0x94, 0x42, 0xc6, 0xe7, - 0x25, 0x9d, 0xaf, 0xeb, 0x68, 0xf3, 0x08, 0xe4, 0x00, 0x24, 0x7e, 0x85, 0xcc, 0x00, 0x24, 0x1d, - 0x51, 0x49, 0x9b, 0xc6, 0x6d, 0xa3, 0xbb, 0xb5, 0xd7, 0x25, 0x2b, 0x1d, 0x57, 0x5e, 0x93, 0x43, - 0xf7, 0x03, 0x78, 0xf2, 0x99, 0xd2, 0xd8, 0x78, 0x76, 0xba, 0xb3, 0x76, 0x76, 0xba, 0x83, 0xe6, - 0x67, 0x4e, 0x49, 0xc3, 0x43, 0xb4, 0x21, 0x22, 0xf0, 0x9a, 0xeb, 0x9a, 0x7a, 0x9f, 0xfc, 0x6b, - 0x1f, 0x49, 0x96, 0xd9, 0x40, 0x69, 0xed, 0x46, 0xfe, 0xc2, 0x46, 0xba, 0x73, 0x34, 0x0f, 0xbf, - 0x43, 0x9b, 0x42, 0x52, 0x99, 0x88, 0x66, 0x4d, 0x93, 0x1f, 0x5c, 0x99, 0xac, 0xd5, 0xf6, 0xb5, - 0x9c, 0xbd, 0x99, 0xed, 0x9d, 0x9c, 0xda, 0xf9, 0x6e, 0x20, 0x94, 0x05, 0x3e, 0x65, 0x42, 0xe2, - 0xb7, 0x15, 0x83, 0xac, 0x0b, 0x0c, 0x5a, 0x98, 0x02, 0x92, 0xca, 0xb5, 0x4f, 0xd7, 0xf3, 0x97, - 0xcc, 0xe2, 0x64, 0xc1, 0xa5, 0x97, 0xa8, 0xce, 0x24, 0x04, 0x42, 0xd9, 0x54, 0x53, 0xec, 0xbb, - 0x57, 0x2d, 0xc6, 0xfe, 0x3f, 0x87, 0xd7, 0x9f, 0xa4, 0x18, 0x27, 0xa3, 0x75, 0xbe, 0xd5, 0x8a, - 0x22, 0x52, 0xe7, 0x70, 0x17, 0x99, 0x31, 0x44, 0x3e, 0xf3, 0xa8, 0xd0, 0x45, 0xd4, 0xed, 0x46, - 0x9a, 0x8f, 0x93, 0x9f, 0x39, 0xe5, 0xad, 0x72, 0xd7, 0x14, 0xe0, 0xab, 0x6e, 0xf2, 0xf8, 0xf2, - 0xce, 0xfd, 0x5d, 0x2e, 0x75, 0xc1, 0x1f, 0xe4, 0xda, 0x8c, 0x5f, 0xec, 0x9c, 0x92, 0x89, 0xdf, - 0x20, 0x53, 0x25, 0x18, 0xf9, 0x6a, 0x1a, 0xf3, 0xfe, 0xf5, 0x2e, 0x9e, 0xb7, 0x23, 0x3e, 0x7a, - 0x91, 0x0b, 0xf4, 0x48, 0x94, 0x66, 0x16, 0xa7, 0x4e, 0x09, 0xc4, 0x9f, 0x0d, 0xb4, 0x3d, 0xe5, - 0x7e, 0x12, 0xc0, 0x43, 0x9f, 0xb2, 0xa0, 0x88, 0x10, 0xcd, 0x0d, 0x6d, 0xee, 0xbd, 0x4b, 0x5e, - 0x4a, 0x4b, 0x11, 0x12, 0x42, 0x39, 0x9c, 0x33, 0xec, 0x5b, 0xf9, 0x7b, 0xdb, 0xc3, 0x25, 0x60, - 0x67, 0xe9, 0x73, 0x78, 0x1f, 0x6d, 0x09, 0x88, 0xa7, 0xcc, 0x83, 0xe7, 0x34, 0x80, 0x66, 0x5d, - 0xd5, 0xf9, 0x9f, 0x7d, 0x23, 0x07, 0x6d, 0x0d, 0xe6, 0x57, 0xce, 0x62, 0x5c, 0xe7, 0x93, 0x81, - 0x1a, 0x8b, 0x23, 0x8a, 0x1f, 0x21, 0xcc, 0xdd, 0x34, 0x02, 0x46, 0x8f, 0xb3, 0x4f, 0x58, 0x59, - 0xad, 0x1b, 0x58, 0xb3, 0x6f, 0x2a, 0x14, 0x3e, 0xac, 0xdc, 0x3a, 0x4b, 0x14, 0x78, 0x77, 0xa1, - 0xfd, 0xeb, 0xba, 0xfd, 0xa5, 0x8b, 0xd5, 0x11, 0xb0, 0xef, 0xcc, 0x7e, 0xb5, 0xd7, 0x4e, 0xd4, - 0xfa, 0xa1, 0xd6, 0xc7, 0xb3, 0xb6, 0x31, 0x53, 0xeb, 0x44, 0xad, 0x9f, 0x6a, 0x7d, 0xf9, 0xdd, - 0x5e, 0x7b, 0x6d, 0x16, 0x43, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x14, 0xcf, 0x45, 0x01, 0xd8, - 0x05, 0x00, 0x00, + // 628 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x93, 0xcd, 0x6e, 0xd3, 0x40, + 0x10, 0xc7, 0xe3, 0xa4, 0xa9, 0xc2, 0xa6, 0x7c, 0x2d, 0x15, 0x8a, 0x22, 0xe4, 0x56, 0x39, 0x45, + 0xa8, 0x5d, 0x2b, 0x85, 0x4a, 0x45, 0xdc, 0x8c, 0x04, 0x42, 0x02, 0x8a, 0x1c, 0x54, 0xa1, 0x56, + 0x20, 0x6d, 0x9c, 0x69, 0xba, 0xc4, 0xf6, 0x5a, 0xde, 0x71, 0xce, 0x5c, 0x38, 0x70, 0xe3, 0x35, + 0x78, 0x02, 0x5e, 0xa1, 0x07, 0x0e, 0x3d, 0x72, 0xaa, 0x48, 0x78, 0x11, 0xe4, 0xcd, 0xe6, 0x83, + 0x3a, 0x29, 0x55, 0x6f, 0x9e, 0xdd, 0xf9, 0xff, 0x66, 0xe6, 0xbf, 0x63, 0xb2, 0xd7, 0xdf, 0x53, + 0x4c, 0x48, 0xa7, 0x9f, 0x76, 0x20, 0x89, 0x00, 0x41, 0x39, 0x71, 0xbf, 0xe7, 0xf0, 0x58, 0x28, + 0x87, 0xc7, 0xb1, 0x72, 0x06, 0x2d, 0x1e, 0xc4, 0x27, 0xbc, 0xe5, 0xf4, 0x20, 0x82, 0x84, 0x23, + 0x74, 0x59, 0x9c, 0x48, 0x94, 0xb4, 0x39, 0x56, 0xb2, 0x99, 0x92, 0xc5, 0xfd, 0x1e, 0xcb, 0x94, + 0x2c, 0x53, 0xb2, 0x89, 0xb2, 0xbe, 0xdd, 0x13, 0x78, 0x92, 0x76, 0x98, 0x2f, 0x43, 0xa7, 0x27, + 0x7b, 0xd2, 0xd1, 0x80, 0x4e, 0x7a, 0xac, 0x23, 0x1d, 0xe8, 0xaf, 0x31, 0xb8, 0xbe, 0xb3, 0xb4, + 0x25, 0x27, 0x01, 0x25, 0xd3, 0xc4, 0x87, 0x8b, 0xcd, 0xd4, 0x77, 0x97, 0x6b, 0xd2, 0x68, 0x00, + 0x89, 0x12, 0x32, 0x82, 0x6e, 0x4e, 0xb6, 0xb5, 0x5c, 0x36, 0xc8, 0x4d, 0x5c, 0xdf, 0x5e, 0x9c, + 0x9d, 0xa4, 0x11, 0x8a, 0x30, 0xdf, 0x53, 0x6b, 0x71, 0x7a, 0x8a, 0x22, 0x70, 0x44, 0x84, 0x0a, + 0x93, 0x8b, 0x92, 0xc6, 0xf7, 0x22, 0xa9, 0xb6, 0x91, 0x23, 0x1c, 0xa7, 0x41, 0x1b, 0x90, 0xbe, + 0x27, 0x95, 0x10, 0x90, 0x77, 0x39, 0xf2, 0x9a, 0xb5, 0x69, 0x35, 0xab, 0x3b, 0x4d, 0xb6, 0xd4, + 0x76, 0x36, 0x68, 0xb1, 0xfd, 0xce, 0x27, 0xf0, 0xf1, 0x35, 0x20, 0x77, 0xe9, 0xe9, 0xf9, 0x46, + 0x61, 0x74, 0xbe, 0x41, 0x66, 0x67, 0xde, 0x94, 0x46, 0x8f, 0xc8, 0x8a, 0x8a, 0xc1, 0xaf, 0x15, + 0x35, 0xf5, 0x09, 0xbb, 0xea, 0x63, 0xb2, 0xb9, 0xf6, 0xda, 0x31, 0xf8, 0xee, 0x9a, 0x29, 0xb3, + 0x92, 0x45, 0x9e, 0x86, 0x52, 0x9f, 0xac, 0x2a, 0xe4, 0x98, 0xaa, 0x5a, 0x49, 0xe3, 0x9f, 0x5e, + 0x0f, 0xaf, 0x11, 0xee, 0x2d, 0x53, 0x60, 0x75, 0x1c, 0x7b, 0x06, 0xdd, 0xf8, 0x69, 0x91, 0xdb, + 0x73, 0xd9, 0xaf, 0x84, 0x42, 0xfa, 0x21, 0xe7, 0x97, 0x73, 0x89, 0x5f, 0x73, 0x9b, 0xc1, 0x32, + 0xb9, 0xb6, 0xed, 0x8e, 0x29, 0x57, 0x99, 0x9c, 0xcc, 0x99, 0x76, 0x48, 0xca, 0x02, 0x21, 0x54, + 0xb5, 0xe2, 0x66, 0xa9, 0x59, 0xdd, 0xd9, 0xbd, 0xd6, 0x58, 0xee, 0x4d, 0x53, 0xa1, 0xfc, 0x32, + 0x63, 0x79, 0x63, 0x64, 0xe3, 0x47, 0xe9, 0x9f, 0x71, 0x32, 0x37, 0x69, 0x93, 0x54, 0x12, 0x88, + 0x03, 0xe1, 0x73, 0xa5, 0xc7, 0x29, 0xbb, 0x6b, 0x59, 0x67, 0x9e, 0x39, 0xf3, 0xa6, 0xb7, 0xf4, + 0x23, 0xa9, 0x28, 0x08, 0xc0, 0x47, 0x99, 0x98, 0x27, 0x7d, 0x7c, 0xd5, 0xc1, 0x79, 0x07, 0x82, + 0xb6, 0xd1, 0x8e, 0xf9, 0x93, 0xc8, 0x9b, 0x32, 0xe9, 0x11, 0xa9, 0x20, 0x84, 0x71, 0xc0, 0x11, + 0xcc, 0x9b, 0x6e, 0x5f, 0xbe, 0x88, 0x6f, 0x65, 0xf7, 0x9d, 0x11, 0xe8, 0x35, 0x99, 0xda, 0x3a, + 0x39, 0xf5, 0xa6, 0x40, 0xfa, 0xc5, 0x22, 0xeb, 0x03, 0x19, 0xa4, 0x21, 0x3c, 0x0b, 0xb8, 0x08, + 0x27, 0x19, 0xaa, 0xb6, 0xa2, 0x6d, 0x7e, 0xf4, 0x9f, 0x4a, 0xd9, 0x28, 0x0a, 0x21, 0xc2, 0x83, + 0x19, 0xc3, 0x7d, 0x60, 0xea, 0xad, 0x1f, 0x2c, 0x00, 0x7b, 0x0b, 0xcb, 0xd1, 0x5d, 0x52, 0x55, + 0x90, 0x0c, 0x84, 0x0f, 0x6f, 0x78, 0x08, 0xb5, 0xf2, 0xa6, 0xd5, 0xbc, 0xe1, 0xde, 0x33, 0xa0, + 0x6a, 0x7b, 0x76, 0xe5, 0xcd, 0xe7, 0x35, 0xbe, 0x5a, 0xe4, 0x6e, 0x6e, 0x6d, 0xe9, 0x73, 0x42, + 0x65, 0x27, 0x4b, 0x83, 0xee, 0x8b, 0xf1, 0x5f, 0x2e, 0x64, 0xa4, 0x5f, 0xb1, 0xe4, 0xde, 0x1f, + 0x9d, 0x6f, 0xd0, 0xfd, 0xdc, 0xad, 0xb7, 0x40, 0x41, 0xb7, 0xe6, 0x76, 0xa0, 0xa8, 0x77, 0x60, + 0x6a, 0x65, 0x7e, 0x0f, 0xdc, 0x87, 0xa7, 0x43, 0xbb, 0x70, 0x36, 0xb4, 0x0b, 0xbf, 0x86, 0x76, + 0xe1, 0xf3, 0xc8, 0xb6, 0x4e, 0x47, 0xb6, 0x75, 0x36, 0xb2, 0xad, 0xdf, 0x23, 0xdb, 0xfa, 0xf6, + 0xc7, 0x2e, 0x1c, 0x56, 0x26, 0x3b, 0xf9, 0x37, 0x00, 0x00, 0xff, 0xff, 0x02, 0xea, 0x1a, 0x59, + 0xfb, 0x05, 0x00, 0x00, } diff --git a/pkg/apis/apps/v1alpha1/generated.proto b/pkg/apis/apps/v1alpha1/generated.proto index 47344eb2..52e153fe 100644 --- a/pkg/apis/apps/v1alpha1/generated.proto +++ b/pkg/apis/apps/v1alpha1/generated.proto @@ -21,80 +21,88 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.apps.v1alpha1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1alpha1"; -// PetSet represents a set of pods with consistent identities. +// StatefulSet represents a set of pods with consistent identities. // Identities are defined as: // - Network: A single stable DNS and hostname. // - Storage: As many VolumeClaims as requested. -// The PetSet guarantees that a given network identity will always -// map to the same storage identity. PetSet is currently in alpha +// The StatefulSet guarantees that a given network identity will always +// map to the same storage identity. StatefulSet is currently in alpha // and subject to change without notice. -message PetSet { +message StatefulSet { + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; - // Spec defines the desired identities of pets in this set. - optional PetSetSpec spec = 2; + // Spec defines the desired identities of pods in this set. + // +optional + optional StatefulSetSpec spec = 2; - // Status is the current status of Pets in this PetSet. This data + // Status is the current status of Pods in this StatefulSet. This data // may be out of date by some window of time. - optional PetSetStatus status = 3; + // +optional + optional StatefulSetStatus status = 3; } -// PetSetList is a collection of PetSets. -message PetSetList { +// StatefulSetList is a collection of StatefulSets. +message StatefulSetList { + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; - repeated PetSet items = 2; + repeated StatefulSet items = 2; } -// A PetSetSpec is the specification of a PetSet. -message PetSetSpec { +// A StatefulSetSpec is the specification of a StatefulSet. +message StatefulSetSpec { // Replicas is the desired number of replicas of the given Template. // These are replicas in the sense that they are instantiations of the // same Template, but individual replicas also have a consistent identity. // If unspecified, defaults to 1. // TODO: Consider a rename of this field. + // +optional optional int32 replicas = 1; // Selector is a label query over pods that should match the replica count. // 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.api.unversioned.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 PetSet + // insufficient replicas are detected. Each pod stamped out by the StatefulSet // will fulfill this Template, but have a unique identity from the rest - // of the PetSet. + // of the StatefulSet. optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 3; - // VolumeClaimTemplates is a list of claims that pets are allowed to reference. - // The PetSet controller is responsible for mapping network identities to - // claims in a way that maintains the identity of a pet. Every claim in + // VolumeClaimTemplates is a list of claims that pods are allowed to reference. + // The StatefulSet controller is responsible for mapping network identities to + // claims in a way that maintains the identity of a pod. Every claim in // this list must have at least one matching (by name) volumeMount in one // container in the template. A claim in this list takes precedence over // any volumes in the template, with the same name. // TODO: Define the behavior if a claim already exists with the same name. + // +optional repeated k8s.io.kubernetes.pkg.api.v1.PersistentVolumeClaim volumeClaimTemplates = 4; - // ServiceName is the name of the service that governs this PetSet. - // This service must exist before the PetSet, and is responsible for - // the network identity of the set. Pets get DNS/hostnames that follow the - // pattern: pet-specific-string.serviceName.default.svc.cluster.local - // where "pet-specific-string" is managed by the PetSet controller. + // ServiceName is the name of the service that governs this StatefulSet. + // This service must exist before the StatefulSet, and is responsible for + // the network identity of the set. Pods get DNS/hostnames that follow the + // pattern: pod-specific-string.serviceName.default.svc.cluster.local + // where "pod-specific-string" is managed by the StatefulSet controller. optional string serviceName = 5; } -// PetSetStatus represents the current state of a PetSet. -message PetSetStatus { +// StatefulSetStatus represents the current state of a StatefulSet. +message StatefulSetStatus { // most recent generation observed by this autoscaler. + // +optional optional int64 observedGeneration = 1; // Replicas is the number of actual replicas. diff --git a/pkg/apis/apps/v1alpha1/register.go b/pkg/apis/apps/v1alpha1/register.go index 8908e9a6..ab771dec 100644 --- a/pkg/apis/apps/v1alpha1/register.go +++ b/pkg/apis/apps/v1alpha1/register.go @@ -37,8 +37,8 @@ var ( // Adds the list of known types to api.Scheme. func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, - &PetSet{}, - &PetSetList{}, + &StatefulSet{}, + &StatefulSetList{}, &v1.ListOptions{}, &v1.DeleteOptions{}, ) @@ -46,5 +46,5 @@ func addKnownTypes(scheme *runtime.Scheme) error { return nil } -func (obj *PetSet) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } -func (obj *PetSetList) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *StatefulSet) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *StatefulSetList) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/apps/v1alpha1/types.generated.go b/pkg/apis/apps/v1alpha1/types.generated.go index ebba467f..156fcfe3 100644 --- a/pkg/apis/apps/v1alpha1/types.generated.go +++ b/pkg/apis/apps/v1alpha1/types.generated.go @@ -75,7 +75,7 @@ func init() { } } -func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -220,7 +220,7 @@ func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSet) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -250,7 +250,7 @@ func (x *PetSet) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -293,14 +293,14 @@ func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "spec": if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} + x.Spec = StatefulSetSpec{} } else { yyv24 := &x.Spec yyv24.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} + x.Status = StatefulSetStatus{} } else { yyv25 := &x.Status yyv25.CodecDecodeSelf(d) @@ -312,7 +312,7 @@ func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -380,7 +380,7 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} + x.Spec = StatefulSetSpec{} } else { yyv30 := &x.Spec yyv30.CodecDecodeSelf(d) @@ -397,7 +397,7 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} + x.Status = StatefulSetStatus{} } else { yyv31 := &x.Status yyv31.CodecDecodeSelf(d) @@ -418,7 +418,7 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -593,7 +593,7 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -623,7 +623,7 @@ func (x *PetSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -710,7 +710,7 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -841,7 +841,7 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -935,7 +935,7 @@ func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -965,7 +965,7 @@ func (x *PetSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1016,7 +1016,7 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1081,7 +1081,7 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *StatefulSetList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -1202,7 +1202,7 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym105 if false { } else { - h.encSlicePetSet(([]PetSet)(x.Items), e) + h.encSliceStatefulSet(([]StatefulSet)(x.Items), e) } } } else { @@ -1216,7 +1216,7 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym106 if false { } else { - h.encSlicePetSet(([]PetSet)(x.Items), e) + h.encSliceStatefulSet(([]StatefulSet)(x.Items), e) } } } @@ -1229,7 +1229,7 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PetSetList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *StatefulSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1259,7 +1259,7 @@ func (x *PetSetList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *StatefulSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1315,7 +1315,7 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { _ = yym115 if false { } else { - h.decSlicePetSet((*[]PetSet)(yyv114), d) + h.decSliceStatefulSet((*[]StatefulSet)(yyv114), d) } } default: @@ -1325,7 +1325,7 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *StatefulSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1406,7 +1406,7 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { _ = yym122 if false { } else { - h.decSlicePetSet((*[]PetSet)(yyv121), d) + h.decSliceStatefulSet((*[]StatefulSet)(yyv121), d) } } for { @@ -1541,7 +1541,7 @@ func (x codecSelfer1234) decSlicev1_PersistentVolumeClaim(v *[]pkg2_v1.Persisten } } -func (x codecSelfer1234) encSlicePetSet(v []PetSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceStatefulSet(v []StatefulSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -1554,7 +1554,7 @@ func (x codecSelfer1234) encSlicePetSet(v []PetSet, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceStatefulSet(v *[]StatefulSet, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -1564,7 +1564,7 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { var yyc131 bool if yyl131 == 0 { if yyv131 == nil { - yyv131 = []PetSet{} + yyv131 = []StatefulSet{} yyc131 = true } else if len(yyv131) != 0 { yyv131 = yyv131[:0] @@ -1582,10 +1582,10 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { if yyrl131 <= cap(yyv131) { yyv131 = yyv131[:yyrl131] } else { - yyv131 = make([]PetSet, yyrl131) + yyv131 = make([]StatefulSet, yyrl131) } } else { - yyv131 = make([]PetSet, yyrl131) + yyv131 = make([]StatefulSet, yyrl131) } yyc131 = true yyrr131 = len(yyv131) @@ -1600,7 +1600,7 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { for ; yyj131 < yyrr131; yyj131++ { yyh131.ElemContainerState(yyj131) if r.TryDecodeAsNil() { - yyv131[yyj131] = PetSet{} + yyv131[yyj131] = StatefulSet{} } else { yyv132 := &yyv131[yyj131] yyv132.CodecDecodeSelf(d) @@ -1609,10 +1609,10 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { } if yyrt131 { for ; yyj131 < yyl131; yyj131++ { - yyv131 = append(yyv131, PetSet{}) + yyv131 = append(yyv131, StatefulSet{}) yyh131.ElemContainerState(yyj131) if r.TryDecodeAsNil() { - yyv131[yyj131] = PetSet{} + yyv131[yyj131] = StatefulSet{} } else { yyv133 := &yyv131[yyj131] yyv133.CodecDecodeSelf(d) @@ -1626,13 +1626,13 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj131++ { if yyj131 >= len(yyv131) { - yyv131 = append(yyv131, PetSet{}) // var yyz131 PetSet + yyv131 = append(yyv131, StatefulSet{}) // var yyz131 StatefulSet yyc131 = true } yyh131.ElemContainerState(yyj131) if yyj131 < len(yyv131) { if r.TryDecodeAsNil() { - yyv131[yyj131] = PetSet{} + yyv131[yyj131] = StatefulSet{} } else { yyv134 := &yyv131[yyj131] yyv134.CodecDecodeSelf(d) @@ -1647,7 +1647,7 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { yyv131 = yyv131[:yyj131] yyc131 = true } else if yyj131 == 0 && yyv131 == nil { - yyv131 = []PetSet{} + yyv131 = []StatefulSet{} yyc131 = true } } diff --git a/pkg/apis/apps/v1alpha1/types.go b/pkg/apis/apps/v1alpha1/types.go index fb3ba647..cc275185 100644 --- a/pkg/apis/apps/v1alpha1/types.go +++ b/pkg/apis/apps/v1alpha1/types.go @@ -23,74 +23,82 @@ import ( // +genclient=true -// PetSet represents a set of pods with consistent identities. +// StatefulSet represents a set of pods with consistent identities. // Identities are defined as: // - Network: A single stable DNS and hostname. // - Storage: As many VolumeClaims as requested. -// The PetSet guarantees that a given network identity will always -// map to the same storage identity. PetSet is currently in alpha +// The StatefulSet guarantees that a given network identity will always +// map to the same storage identity. StatefulSet is currently in alpha // and subject to change without notice. -type PetSet struct { +type StatefulSet struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - // Spec defines the desired identities of pets in this set. - Spec PetSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` + // Spec defines the desired identities of pods in this set. + // +optional + Spec StatefulSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` - // Status is the current status of Pets in this PetSet. This data + // Status is the current status of Pods in this StatefulSet. This data // may be out of date by some window of time. - Status PetSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` + // +optional + Status StatefulSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } -// A PetSetSpec is the specification of a PetSet. -type PetSetSpec struct { +// A StatefulSetSpec is the specification of a StatefulSet. +type StatefulSetSpec struct { // Replicas is the desired number of replicas of the given Template. // These are replicas in the sense that they are instantiations of the // same Template, but individual replicas also have a consistent identity. // If unspecified, defaults to 1. // TODO: Consider a rename of this field. + // +optional Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` // Selector is a label query over pods that should match the replica count. // If empty, defaulted to labels on the pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` // Template is the object that describes the pod that will be created if - // insufficient replicas are detected. Each pod stamped out by the PetSet + // insufficient replicas are detected. Each pod stamped out by the StatefulSet // will fulfill this Template, but have a unique identity from the rest - // of the PetSet. + // of the StatefulSet. Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"` - // VolumeClaimTemplates is a list of claims that pets are allowed to reference. - // The PetSet controller is responsible for mapping network identities to - // claims in a way that maintains the identity of a pet. Every claim in + // VolumeClaimTemplates is a list of claims that pods are allowed to reference. + // The StatefulSet controller is responsible for mapping network identities to + // claims in a way that maintains the identity of a pod. Every claim in // this list must have at least one matching (by name) volumeMount in one // container in the template. A claim in this list takes precedence over // any volumes in the template, with the same name. // TODO: Define the behavior if a claim already exists with the same name. + // +optional VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"` - // ServiceName is the name of the service that governs this PetSet. - // This service must exist before the PetSet, and is responsible for - // the network identity of the set. Pets get DNS/hostnames that follow the - // pattern: pet-specific-string.serviceName.default.svc.cluster.local - // where "pet-specific-string" is managed by the PetSet controller. + // ServiceName is the name of the service that governs this StatefulSet. + // This service must exist before the StatefulSet, and is responsible for + // the network identity of the set. Pods get DNS/hostnames that follow the + // pattern: pod-specific-string.serviceName.default.svc.cluster.local + // where "pod-specific-string" is managed by the StatefulSet controller. ServiceName string `json:"serviceName" protobuf:"bytes,5,opt,name=serviceName"` } -// PetSetStatus represents the current state of a PetSet. -type PetSetStatus struct { +// StatefulSetStatus represents the current state of a StatefulSet. +type StatefulSetStatus struct { // most recent generation observed by this autoscaler. + // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` // Replicas is the number of actual replicas. Replicas int32 `json:"replicas" protobuf:"varint,2,opt,name=replicas"` } -// PetSetList is a collection of PetSets. -type PetSetList struct { +// StatefulSetList is a collection of StatefulSets. +type StatefulSetList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - Items []PetSet `json:"items" protobuf:"bytes,2,rep,name=items"` + Items []StatefulSet `json:"items" protobuf:"bytes,2,rep,name=items"` } diff --git a/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go b/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go index cefaf919..2be2e6bf 100644 --- a/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go @@ -27,45 +27,45 @@ package v1alpha1 // Those methods can be generated by using hack/update-generated-swagger-docs.sh // AUTO-GENERATED FUNCTIONS START HERE -var map_PetSet = map[string]string{ - "": "PetSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.", - "spec": "Spec defines the desired identities of pets in this set.", - "status": "Status is the current status of Pets in this PetSet. This data may be out of date by some window of time.", +var map_StatefulSet = map[string]string{ + "": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.", + "spec": "Spec defines the desired identities of pods in this set.", + "status": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", } -func (PetSet) SwaggerDoc() map[string]string { - return map_PetSet +func (StatefulSet) SwaggerDoc() map[string]string { + return map_StatefulSet } -var map_PetSetList = map[string]string{ - "": "PetSetList is a collection of PetSets.", +var map_StatefulSetList = map[string]string{ + "": "StatefulSetList is a collection of StatefulSets.", } -func (PetSetList) SwaggerDoc() map[string]string { - return map_PetSetList +func (StatefulSetList) SwaggerDoc() map[string]string { + return map_StatefulSetList } -var map_PetSetSpec = map[string]string{ - "": "A PetSetSpec is the specification of a PetSet.", +var map_StatefulSetSpec = map[string]string{ + "": "A StatefulSetSpec is the specification of a StatefulSet.", "replicas": "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", "selector": "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "template": "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet.", - "volumeClaimTemplates": "VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", - "serviceName": "ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where \"pet-specific-string\" is managed by the PetSet controller.", + "template": "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", + "volumeClaimTemplates": "VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "serviceName": "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", } -func (PetSetSpec) SwaggerDoc() map[string]string { - return map_PetSetSpec +func (StatefulSetSpec) SwaggerDoc() map[string]string { + return map_StatefulSetSpec } -var map_PetSetStatus = map[string]string{ - "": "PetSetStatus represents the current state of a PetSet.", +var map_StatefulSetStatus = map[string]string{ + "": "StatefulSetStatus represents the current state of a StatefulSet.", "observedGeneration": "most recent generation observed by this autoscaler.", "replicas": "Replicas is the number of actual replicas.", } -func (PetSetStatus) SwaggerDoc() map[string]string { - return map_PetSetStatus +func (StatefulSetStatus) SwaggerDoc() map[string]string { + return map_StatefulSetStatus } // AUTO-GENERATED FUNCTIONS END HERE diff --git a/pkg/apis/apps/v1alpha1/zz_generated.conversion.go b/pkg/apis/apps/v1alpha1/zz_generated.conversion.go index aac339bc..983a0839 100644 --- a/pkg/apis/apps/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/apps/v1alpha1/zz_generated.conversion.go @@ -36,72 +36,60 @@ func init() { // Public to allow building arbitrary schemes. func RegisterConversions(scheme *runtime.Scheme) error { return scheme.AddGeneratedConversionFuncs( - Convert_v1alpha1_PetSet_To_apps_PetSet, - Convert_apps_PetSet_To_v1alpha1_PetSet, - Convert_v1alpha1_PetSetList_To_apps_PetSetList, - Convert_apps_PetSetList_To_v1alpha1_PetSetList, - Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec, - Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec, - Convert_v1alpha1_PetSetStatus_To_apps_PetSetStatus, - Convert_apps_PetSetStatus_To_v1alpha1_PetSetStatus, + Convert_v1alpha1_StatefulSet_To_apps_StatefulSet, + Convert_apps_StatefulSet_To_v1alpha1_StatefulSet, + Convert_v1alpha1_StatefulSetList_To_apps_StatefulSetList, + Convert_apps_StatefulSetList_To_v1alpha1_StatefulSetList, + Convert_v1alpha1_StatefulSetSpec_To_apps_StatefulSetSpec, + Convert_apps_StatefulSetSpec_To_v1alpha1_StatefulSetSpec, + Convert_v1alpha1_StatefulSetStatus_To_apps_StatefulSetStatus, + Convert_apps_StatefulSetStatus_To_v1alpha1_StatefulSetStatus, ) } -func autoConvert_v1alpha1_PetSet_To_apps_PetSet(in *PetSet, out *apps.PetSet, s conversion.Scope) error { - SetDefaults_PetSet(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } +func autoConvert_v1alpha1_StatefulSet_To_apps_StatefulSet(in *StatefulSet, out *apps.StatefulSet, s conversion.Scope) error { // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err } - if err := Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_StatefulSetSpec_To_apps_StatefulSetSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_PetSetStatus_To_apps_PetSetStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_StatefulSetStatus_To_apps_StatefulSetStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -func Convert_v1alpha1_PetSet_To_apps_PetSet(in *PetSet, out *apps.PetSet, s conversion.Scope) error { - return autoConvert_v1alpha1_PetSet_To_apps_PetSet(in, out, s) +func Convert_v1alpha1_StatefulSet_To_apps_StatefulSet(in *StatefulSet, out *apps.StatefulSet, s conversion.Scope) error { + return autoConvert_v1alpha1_StatefulSet_To_apps_StatefulSet(in, out, s) } -func autoConvert_apps_PetSet_To_v1alpha1_PetSet(in *apps.PetSet, out *PetSet, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } +func autoConvert_apps_StatefulSet_To_v1alpha1_StatefulSet(in *apps.StatefulSet, out *StatefulSet, s conversion.Scope) error { // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err } - if err := Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_apps_StatefulSetSpec_To_v1alpha1_StatefulSetSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_apps_PetSetStatus_To_v1alpha1_PetSetStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_apps_StatefulSetStatus_To_v1alpha1_StatefulSetStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -func Convert_apps_PetSet_To_v1alpha1_PetSet(in *apps.PetSet, out *PetSet, s conversion.Scope) error { - return autoConvert_apps_PetSet_To_v1alpha1_PetSet(in, out, s) +func Convert_apps_StatefulSet_To_v1alpha1_StatefulSet(in *apps.StatefulSet, out *StatefulSet, s conversion.Scope) error { + return autoConvert_apps_StatefulSet_To_v1alpha1_StatefulSet(in, out, s) } -func autoConvert_v1alpha1_PetSetList_To_apps_PetSetList(in *PetSetList, out *apps.PetSetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } +func autoConvert_v1alpha1_StatefulSetList_To_apps_StatefulSetList(in *StatefulSetList, out *apps.StatefulSetList, s conversion.Scope) error { + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]apps.PetSet, len(*in)) + *out = make([]apps.StatefulSet, len(*in)) for i := range *in { - if err := Convert_v1alpha1_PetSet_To_apps_PetSet(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_StatefulSet_To_apps_StatefulSet(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -111,22 +99,17 @@ func autoConvert_v1alpha1_PetSetList_To_apps_PetSetList(in *PetSetList, out *app return nil } -func Convert_v1alpha1_PetSetList_To_apps_PetSetList(in *PetSetList, out *apps.PetSetList, s conversion.Scope) error { - return autoConvert_v1alpha1_PetSetList_To_apps_PetSetList(in, out, s) +func Convert_v1alpha1_StatefulSetList_To_apps_StatefulSetList(in *StatefulSetList, out *apps.StatefulSetList, s conversion.Scope) error { + return autoConvert_v1alpha1_StatefulSetList_To_apps_StatefulSetList(in, out, s) } -func autoConvert_apps_PetSetList_To_v1alpha1_PetSetList(in *apps.PetSetList, out *PetSetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } +func autoConvert_apps_StatefulSetList_To_v1alpha1_StatefulSetList(in *apps.StatefulSetList, out *StatefulSetList, s conversion.Scope) error { + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]PetSet, len(*in)) + *out = make([]StatefulSet, len(*in)) for i := range *in { - if err := Convert_apps_PetSet_To_v1alpha1_PetSet(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_apps_StatefulSet_To_v1alpha1_StatefulSet(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -136,11 +119,11 @@ func autoConvert_apps_PetSetList_To_v1alpha1_PetSetList(in *apps.PetSetList, out return nil } -func Convert_apps_PetSetList_To_v1alpha1_PetSetList(in *apps.PetSetList, out *PetSetList, s conversion.Scope) error { - return autoConvert_apps_PetSetList_To_v1alpha1_PetSetList(in, out, s) +func Convert_apps_StatefulSetList_To_v1alpha1_StatefulSetList(in *apps.StatefulSetList, out *StatefulSetList, s conversion.Scope) error { + return autoConvert_apps_StatefulSetList_To_v1alpha1_StatefulSetList(in, out, s) } -func autoConvert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.PetSetSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_StatefulSetSpec_To_apps_StatefulSetSpec(in *StatefulSetSpec, out *apps.StatefulSetSpec, s conversion.Scope) error { if err := api.Convert_Pointer_int32_To_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } @@ -164,7 +147,7 @@ func autoConvert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *app return nil } -func autoConvert_apps_PetSetSpec_To_v1alpha1_PetSetSpec(in *apps.PetSetSpec, out *PetSetSpec, s conversion.Scope) error { +func autoConvert_apps_StatefulSetSpec_To_v1alpha1_StatefulSetSpec(in *apps.StatefulSetSpec, out *StatefulSetSpec, s conversion.Scope) error { if err := api.Convert_int32_To_Pointer_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } @@ -188,22 +171,22 @@ func autoConvert_apps_PetSetSpec_To_v1alpha1_PetSetSpec(in *apps.PetSetSpec, out return nil } -func autoConvert_v1alpha1_PetSetStatus_To_apps_PetSetStatus(in *PetSetStatus, out *apps.PetSetStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_StatefulSetStatus_To_apps_StatefulSetStatus(in *StatefulSetStatus, out *apps.StatefulSetStatus, s conversion.Scope) error { out.ObservedGeneration = in.ObservedGeneration out.Replicas = in.Replicas return nil } -func Convert_v1alpha1_PetSetStatus_To_apps_PetSetStatus(in *PetSetStatus, out *apps.PetSetStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_PetSetStatus_To_apps_PetSetStatus(in, out, s) +func Convert_v1alpha1_StatefulSetStatus_To_apps_StatefulSetStatus(in *StatefulSetStatus, out *apps.StatefulSetStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_StatefulSetStatus_To_apps_StatefulSetStatus(in, out, s) } -func autoConvert_apps_PetSetStatus_To_v1alpha1_PetSetStatus(in *apps.PetSetStatus, out *PetSetStatus, s conversion.Scope) error { +func autoConvert_apps_StatefulSetStatus_To_v1alpha1_StatefulSetStatus(in *apps.StatefulSetStatus, out *StatefulSetStatus, s conversion.Scope) error { out.ObservedGeneration = in.ObservedGeneration out.Replicas = in.Replicas return nil } -func Convert_apps_PetSetStatus_To_v1alpha1_PetSetStatus(in *apps.PetSetStatus, out *PetSetStatus, s conversion.Scope) error { - return autoConvert_apps_PetSetStatus_To_v1alpha1_PetSetStatus(in, out, s) +func Convert_apps_StatefulSetStatus_To_v1alpha1_StatefulSetStatus(in *apps.StatefulSetStatus, out *StatefulSetStatus, s conversion.Scope) error { + return autoConvert_apps_StatefulSetStatus_To_v1alpha1_StatefulSetStatus(in, out, s) } diff --git a/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go index cd982c74..c8dbb43a 100644 --- a/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go @@ -36,42 +36,42 @@ func init() { // to allow building arbitrary schemes. func RegisterDeepCopies(scheme *runtime.Scheme) error { return scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSet, InType: reflect.TypeOf(&PetSet{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetList, InType: reflect.TypeOf(&PetSetList{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetSpec, InType: reflect.TypeOf(&PetSetSpec{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetStatus, InType: reflect.TypeOf(&PetSetStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_StatefulSet, InType: reflect.TypeOf(&StatefulSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_StatefulSetList, InType: reflect.TypeOf(&StatefulSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_StatefulSetSpec, InType: reflect.TypeOf(&StatefulSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_StatefulSetStatus, InType: reflect.TypeOf(&StatefulSetStatus{})}, ) } -func DeepCopy_v1alpha1_PetSet(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_v1alpha1_StatefulSet(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSet) - out := out.(*PetSet) + in := in.(*StatefulSet) + out := out.(*StatefulSet) out.TypeMeta = in.TypeMeta if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - if err := DeepCopy_v1alpha1_PetSetSpec(&in.Spec, &out.Spec, c); err != nil { + if err := DeepCopy_v1alpha1_StatefulSetSpec(&in.Spec, &out.Spec, c); err != nil { return err } - if err := DeepCopy_v1alpha1_PetSetStatus(&in.Status, &out.Status, c); err != nil { + if err := DeepCopy_v1alpha1_StatefulSetStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } -func DeepCopy_v1alpha1_PetSetList(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_v1alpha1_StatefulSetList(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSetList) - out := out.(*PetSetList) + in := in.(*StatefulSetList) + out := out.(*StatefulSetList) out.TypeMeta = in.TypeMeta out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]PetSet, len(*in)) + *out = make([]StatefulSet, len(*in)) for i := range *in { - if err := DeepCopy_v1alpha1_PetSet(&(*in)[i], &(*out)[i], c); err != nil { + if err := DeepCopy_v1alpha1_StatefulSet(&(*in)[i], &(*out)[i], c); err != nil { return err } } @@ -82,10 +82,10 @@ func DeepCopy_v1alpha1_PetSetList(in interface{}, out interface{}, c *conversion } } -func DeepCopy_v1alpha1_PetSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_v1alpha1_StatefulSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSetSpec) - out := out.(*PetSetSpec) + in := in.(*StatefulSetSpec) + out := out.(*StatefulSetSpec) if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) @@ -121,10 +121,10 @@ func DeepCopy_v1alpha1_PetSetSpec(in interface{}, out interface{}, c *conversion } } -func DeepCopy_v1alpha1_PetSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_v1alpha1_StatefulSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSetStatus) - out := out.(*PetSetStatus) + in := in.(*StatefulSetStatus) + out := out.(*StatefulSetStatus) if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) diff --git a/pkg/apis/apps/v1alpha1/zz_generated.defaults.go b/pkg/apis/apps/v1alpha1/zz_generated.defaults.go new file mode 100644 index 00000000..3a935226 --- /dev/null +++ b/pkg/apis/apps/v1alpha1/zz_generated.defaults.go @@ -0,0 +1,166 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v1alpha1 + +import ( + v1 "k8s.io/client-go/pkg/api/v1" + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&StatefulSet{}, func(obj interface{}) { SetObjectDefaults_StatefulSet(obj.(*StatefulSet)) }) + scheme.AddTypeDefaultingFunc(&StatefulSetList{}, func(obj interface{}) { SetObjectDefaults_StatefulSetList(obj.(*StatefulSetList)) }) + return nil +} + +func SetObjectDefaults_StatefulSet(in *StatefulSet) { + SetDefaults_StatefulSet(in) + v1.SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.VolumeClaimTemplates { + a := &in.Spec.VolumeClaimTemplates[i] + v1.SetDefaults_PersistentVolumeClaim(a) + v1.SetDefaults_ResourceList(&a.Spec.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Spec.Resources.Requests) + v1.SetDefaults_ResourceList(&a.Status.Capacity) + } +} + +func SetObjectDefaults_StatefulSetList(in *StatefulSetList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_StatefulSet(a) + } +} diff --git a/pkg/apis/apps/zz_generated.deepcopy.go b/pkg/apis/apps/zz_generated.deepcopy.go index c779b571..4452972d 100644 --- a/pkg/apis/apps/zz_generated.deepcopy.go +++ b/pkg/apis/apps/zz_generated.deepcopy.go @@ -36,42 +36,42 @@ func init() { // to allow building arbitrary schemes. func RegisterDeepCopies(scheme *runtime.Scheme) error { return scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSet, InType: reflect.TypeOf(&PetSet{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetList, InType: reflect.TypeOf(&PetSetList{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetSpec, InType: reflect.TypeOf(&PetSetSpec{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetStatus, InType: reflect.TypeOf(&PetSetStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSet, InType: reflect.TypeOf(&StatefulSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSetList, InType: reflect.TypeOf(&StatefulSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSetSpec, InType: reflect.TypeOf(&StatefulSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_StatefulSetStatus, InType: reflect.TypeOf(&StatefulSetStatus{})}, ) } -func DeepCopy_apps_PetSet(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_apps_StatefulSet(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSet) - out := out.(*PetSet) + in := in.(*StatefulSet) + out := out.(*StatefulSet) out.TypeMeta = in.TypeMeta if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - if err := DeepCopy_apps_PetSetSpec(&in.Spec, &out.Spec, c); err != nil { + if err := DeepCopy_apps_StatefulSetSpec(&in.Spec, &out.Spec, c); err != nil { return err } - if err := DeepCopy_apps_PetSetStatus(&in.Status, &out.Status, c); err != nil { + if err := DeepCopy_apps_StatefulSetStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } -func DeepCopy_apps_PetSetList(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_apps_StatefulSetList(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSetList) - out := out.(*PetSetList) + in := in.(*StatefulSetList) + out := out.(*StatefulSetList) out.TypeMeta = in.TypeMeta out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]PetSet, len(*in)) + *out = make([]StatefulSet, len(*in)) for i := range *in { - if err := DeepCopy_apps_PetSet(&(*in)[i], &(*out)[i], c); err != nil { + if err := DeepCopy_apps_StatefulSet(&(*in)[i], &(*out)[i], c); err != nil { return err } } @@ -82,10 +82,10 @@ func DeepCopy_apps_PetSetList(in interface{}, out interface{}, c *conversion.Clo } } -func DeepCopy_apps_PetSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_apps_StatefulSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSetSpec) - out := out.(*PetSetSpec) + in := in.(*StatefulSetSpec) + out := out.(*StatefulSetSpec) out.Replicas = in.Replicas if in.Selector != nil { in, out := &in.Selector, &out.Selector @@ -115,10 +115,10 @@ func DeepCopy_apps_PetSetSpec(in interface{}, out interface{}, c *conversion.Clo } } -func DeepCopy_apps_PetSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error { +func DeepCopy_apps_StatefulSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { - in := in.(*PetSetStatus) - out := out.(*PetSetStatus) + in := in.(*StatefulSetStatus) + out := out.(*StatefulSetStatus) if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) diff --git a/pkg/apis/authentication/v1beta1/doc.go b/pkg/apis/authentication/v1beta1/doc.go index e6530b52..528723cf 100644 --- a/pkg/apis/authentication/v1beta1/doc.go +++ b/pkg/apis/authentication/v1beta1/doc.go @@ -18,4 +18,5 @@ limitations under the License. // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/authentication // +groupName=authentication.k8s.io // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1beta1 diff --git a/pkg/apis/authentication/v1beta1/generated.pb.go b/pkg/apis/authentication/v1beta1/generated.pb.go index 652b2ba9..f9557313 100644 --- a/pkg/apis/authentication/v1beta1/generated.pb.go +++ b/pkg/apis/authentication/v1beta1/generated.pb.go @@ -1236,45 +1236,46 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 632 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x53, 0x4f, 0x4f, 0x13, 0x41, - 0x14, 0xef, 0x5f, 0x6c, 0xa7, 0xa2, 0x38, 0x89, 0x49, 0xd3, 0x44, 0x4a, 0xd6, 0x0b, 0x26, 0x30, - 0x9b, 0x92, 0xa8, 0x04, 0xe2, 0x81, 0x0d, 0x68, 0x38, 0x18, 0x93, 0x41, 0x8c, 0x31, 0xf1, 0xb0, - 0xed, 0x3e, 0x96, 0x75, 0xdb, 0x9d, 0x66, 0x76, 0xa6, 0xc8, 0x8d, 0x8f, 0xe0, 0xd1, 0xa3, 0xdf, - 0xc3, 0x2f, 0xd0, 0x23, 0x07, 0x0f, 0x1e, 0x0c, 0x11, 0xfc, 0x22, 0xce, 0xcc, 0x8e, 0xb4, 0xb4, - 0xf4, 0x20, 0x1c, 0x26, 0xd9, 0xf9, 0xcd, 0xfb, 0xfd, 0xde, 0xef, 0xbd, 0xb7, 0x0f, 0x6d, 0xc5, - 0xeb, 0x29, 0x89, 0x98, 0x1b, 0xcb, 0x36, 0xf0, 0x04, 0x04, 0xa4, 0x6e, 0x3f, 0x0e, 0x5d, 0xbf, - 0x1f, 0xa5, 0xae, 0x2f, 0xc5, 0x21, 0x24, 0x22, 0xea, 0xf8, 0x22, 0x62, 0x89, 0x3b, 0x68, 0xb5, - 0x41, 0xf8, 0x2d, 0x37, 0x84, 0x04, 0xb8, 0x2f, 0x20, 0x20, 0x7d, 0xce, 0x04, 0xc3, 0xad, 0x4c, - 0x82, 0x8c, 0x24, 0x88, 0x92, 0x20, 0x5a, 0x82, 0x5c, 0x95, 0x20, 0x56, 0xa2, 0xb1, 0x1a, 0x46, - 0xe2, 0x50, 0xb6, 0x49, 0x87, 0xf5, 0xdc, 0x90, 0x85, 0xcc, 0x35, 0x4a, 0x6d, 0x79, 0x60, 0x6e, - 0xe6, 0x62, 0xbe, 0xb2, 0x0c, 0x8d, 0xb5, 0x99, 0x26, 0x5d, 0x0e, 0x29, 0x93, 0xbc, 0x03, 0x93, - 0xae, 0x1a, 0x4f, 0x67, 0x73, 0x64, 0x32, 0x00, 0x9e, 0x2a, 0x3f, 0x10, 0x4c, 0xd1, 0x56, 0x66, - 0xd3, 0x06, 0x53, 0xa5, 0x37, 0x56, 0xaf, 0x8f, 0xe6, 0x52, 0x95, 0xdc, 0x9b, 0xf6, 0xd4, 0xba, - 0x3e, 0x5c, 0x8a, 0xa8, 0xeb, 0x46, 0x89, 0x48, 0x05, 0x9f, 0xa4, 0x38, 0xcf, 0x11, 0xda, 0xf9, - 0x2c, 0xb8, 0xff, 0xce, 0xef, 0x4a, 0xc0, 0x4d, 0x54, 0x8e, 0x04, 0xf4, 0xd2, 0x7a, 0x7e, 0xa9, - 0xb8, 0x5c, 0xf5, 0xaa, 0x17, 0x67, 0xcd, 0xf2, 0xae, 0x06, 0x68, 0x86, 0x6f, 0x54, 0xbe, 0x7e, - 0x6b, 0xe6, 0x4e, 0x7e, 0x2d, 0xe5, 0x9c, 0xef, 0x05, 0x54, 0x7b, 0xcb, 0x62, 0x48, 0x28, 0x0c, - 0x22, 0x38, 0xc2, 0xef, 0x51, 0xa5, 0xa7, 0x7a, 0x1f, 0xf8, 0xc2, 0x57, 0xec, 0xfc, 0x72, 0x6d, - 0x6d, 0x99, 0xcc, 0x1c, 0x9c, 0x1a, 0x14, 0x79, 0xd3, 0xfe, 0x04, 0x1d, 0xf1, 0x5a, 0x71, 0x3c, - 0x3c, 0x3c, 0x6b, 0xe6, 0x54, 0x2e, 0x34, 0xc2, 0xe8, 0xa5, 0x1a, 0x0e, 0x50, 0x29, 0xed, 0x43, - 0xa7, 0x5e, 0x30, 0xaa, 0x1e, 0xf9, 0xef, 0xdf, 0x81, 0x8c, 0xf9, 0xdc, 0x53, 0x4a, 0xde, 0x5d, - 0x9b, 0xaf, 0xa4, 0x6f, 0xd4, 0xa8, 0xe3, 0x2e, 0x9a, 0x4b, 0x85, 0x2f, 0x64, 0x5a, 0x2f, 0x9a, - 0x3c, 0xdb, 0xb7, 0xcc, 0x63, 0xb4, 0xbc, 0x7b, 0x36, 0xd3, 0x5c, 0x76, 0xa7, 0x36, 0x87, 0xf3, - 0x0c, 0xdd, 0x9f, 0x30, 0x85, 0x1f, 0xa3, 0xb2, 0xd0, 0x90, 0xe9, 0x5e, 0xd5, 0x9b, 0xb7, 0xcc, - 0x72, 0x16, 0x97, 0xbd, 0x39, 0x3f, 0xf2, 0xe8, 0xc1, 0x54, 0x16, 0xbc, 0x89, 0xe6, 0xc7, 0x1c, - 0x41, 0x60, 0x24, 0x2a, 0xde, 0x43, 0x2b, 0x31, 0xbf, 0x35, 0xfe, 0x48, 0xaf, 0xc6, 0xe2, 0x8f, - 0xa8, 0x24, 0x53, 0xe0, 0xb6, 0xbd, 0x9b, 0x37, 0x28, 0x7b, 0x5f, 0xd1, 0x77, 0x93, 0x03, 0x36, - 0xea, 0xab, 0x46, 0xa8, 0x91, 0xd5, 0x65, 0x01, 0xe7, 0x8c, 0x9b, 0xb6, 0x8e, 0x95, 0xb5, 0xa3, - 0x41, 0x9a, 0xbd, 0x39, 0xe7, 0x05, 0x54, 0xf9, 0xa7, 0x82, 0x57, 0x50, 0x45, 0x33, 0x13, 0xbf, - 0x07, 0xb6, 0x17, 0x0b, 0x96, 0x64, 0x62, 0x34, 0x4e, 0x2f, 0x23, 0xf0, 0x23, 0x54, 0x94, 0x51, - 0x60, 0xdc, 0x57, 0xbd, 0x9a, 0x0d, 0x2c, 0xee, 0xef, 0x6e, 0x53, 0x8d, 0x63, 0x07, 0xcd, 0x85, - 0x9c, 0xc9, 0xbe, 0x1e, 0xab, 0xfe, 0xa5, 0x91, 0x1e, 0xc6, 0x2b, 0x83, 0x50, 0xfb, 0x82, 0x63, - 0x65, 0x51, 0xef, 0x40, 0xbd, 0xa4, 0x42, 0x6a, 0x6b, 0x2f, 0x6f, 0xd1, 0x02, 0x62, 0x96, 0x69, - 0x27, 0x11, 0xfc, 0x78, 0xac, 0x54, 0x8d, 0xd1, 0x2c, 0x47, 0xe3, 0xc8, 0x2e, 0x9c, 0x89, 0xc1, - 0x0b, 0xa8, 0x18, 0xc3, 0x71, 0x56, 0x26, 0xd5, 0x9f, 0x78, 0x0f, 0x95, 0x07, 0x7a, 0x17, 0xed, - 0x3c, 0x5e, 0xdc, 0xc0, 0xcc, 0x68, 0xa1, 0x69, 0xa6, 0xb5, 0x51, 0x58, 0xcf, 0x7b, 0x4f, 0x86, - 0xe7, 0x8b, 0xb9, 0x53, 0x75, 0x7e, 0xaa, 0x73, 0x72, 0xb1, 0x98, 0x1f, 0xaa, 0x73, 0xaa, 0xce, - 0x6f, 0x75, 0xbe, 0xfc, 0x59, 0xcc, 0x7d, 0xb8, 0x63, 0x05, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, - 0xca, 0xd0, 0x35, 0x8c, 0xb5, 0x05, 0x00, 0x00, + // 642 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x93, 0xcf, 0x6e, 0x13, 0x31, + 0x10, 0xc6, 0xb3, 0xf9, 0x53, 0x12, 0x87, 0x42, 0xb1, 0x84, 0x14, 0x45, 0x62, 0x13, 0x85, 0x4b, + 0x90, 0x5a, 0xaf, 0x52, 0x09, 0xa8, 0x5a, 0x71, 0xe8, 0xaa, 0x05, 0xf5, 0x80, 0x90, 0x5c, 0x8a, + 0x10, 0x12, 0x07, 0x27, 0x99, 0x6e, 0x97, 0x6d, 0xd6, 0x2b, 0xaf, 0x9d, 0xd2, 0x5b, 0x1f, 0x81, + 0x23, 0x47, 0xde, 0x83, 0x17, 0xe8, 0xb1, 0x07, 0x0e, 0x1c, 0x50, 0x45, 0xc2, 0x8b, 0x20, 0x7b, + 0x4d, 0x93, 0x36, 0xcd, 0x81, 0xf6, 0xb6, 0xfe, 0x3c, 0xf3, 0x9b, 0x6f, 0xc6, 0x3b, 0x68, 0x33, + 0x5a, 0x4b, 0x49, 0xc8, 0xbd, 0x48, 0x75, 0x41, 0xc4, 0x20, 0x21, 0xf5, 0x92, 0x28, 0xf0, 0x58, + 0x12, 0xa6, 0x1e, 0x53, 0xf2, 0x00, 0x62, 0x19, 0xf6, 0x98, 0x0c, 0x79, 0xec, 0x0d, 0x3b, 0x5d, + 0x90, 0xac, 0xe3, 0x05, 0x10, 0x83, 0x60, 0x12, 0xfa, 0x24, 0x11, 0x5c, 0x72, 0xdc, 0xc9, 0x10, + 0x64, 0x82, 0x20, 0x49, 0x14, 0x10, 0x8d, 0x20, 0x97, 0x11, 0xc4, 0x22, 0xea, 0x2b, 0x41, 0x28, + 0x0f, 0x54, 0x97, 0xf4, 0xf8, 0xc0, 0x0b, 0x78, 0xc0, 0x3d, 0x43, 0xea, 0xaa, 0x7d, 0x73, 0x32, + 0x07, 0xf3, 0x95, 0x55, 0xa8, 0xaf, 0xce, 0x35, 0xe9, 0x09, 0x48, 0xb9, 0x12, 0x3d, 0xb8, 0xea, + 0xaa, 0xfe, 0x74, 0x7e, 0x8e, 0x8a, 0x87, 0x20, 0xd2, 0x90, 0xc7, 0xd0, 0x9f, 0x49, 0x5b, 0x9e, + 0x9f, 0x36, 0x9c, 0x69, 0xbd, 0xbe, 0x72, 0x7d, 0xb4, 0x50, 0xb1, 0x0c, 0x07, 0xb3, 0x9e, 0x3a, + 0xd7, 0x87, 0x2b, 0x19, 0x1e, 0x7a, 0x61, 0x2c, 0x53, 0x29, 0xae, 0xa6, 0xb4, 0x9e, 0x23, 0xb4, + 0xfd, 0x59, 0x0a, 0xf6, 0x8e, 0x1d, 0x2a, 0xc0, 0x0d, 0x54, 0x0a, 0x25, 0x0c, 0xd2, 0x9a, 0xd3, + 0x2c, 0xb4, 0x2b, 0x7e, 0x65, 0x7c, 0xde, 0x28, 0xed, 0x68, 0x81, 0x66, 0xfa, 0x7a, 0xf9, 0xeb, + 0xb7, 0x46, 0xee, 0xe4, 0x57, 0x33, 0xd7, 0xfa, 0x9e, 0x47, 0xd5, 0xb7, 0x3c, 0x82, 0x98, 0xc2, + 0x30, 0x84, 0x23, 0xfc, 0x1e, 0x95, 0x07, 0x20, 0x59, 0x9f, 0x49, 0x56, 0x73, 0x9a, 0x4e, 0xbb, + 0xba, 0xda, 0x26, 0x73, 0x1f, 0x8e, 0x0c, 0x3b, 0xe4, 0x4d, 0xf7, 0x13, 0xf4, 0xe4, 0x6b, 0x90, + 0xcc, 0xc7, 0xa7, 0xe7, 0x8d, 0xdc, 0xf8, 0xbc, 0x81, 0x26, 0x1a, 0xbd, 0xa0, 0xe1, 0x3e, 0x2a, + 0xa6, 0x09, 0xf4, 0x6a, 0x79, 0x43, 0xf5, 0xc9, 0x7f, 0xff, 0x0e, 0x64, 0xca, 0xe7, 0x6e, 0x02, + 0x3d, 0xff, 0xae, 0xad, 0x57, 0xd4, 0x27, 0x6a, 0xe8, 0xf8, 0x10, 0x2d, 0xa4, 0x92, 0x49, 0x95, + 0xd6, 0x0a, 0xa6, 0xce, 0xd6, 0x2d, 0xeb, 0x18, 0x96, 0x7f, 0xcf, 0x56, 0x5a, 0xc8, 0xce, 0xd4, + 0xd6, 0x68, 0x3d, 0x43, 0xf7, 0xaf, 0x98, 0xc2, 0x8f, 0x51, 0x49, 0x6a, 0xc9, 0x4c, 0xaf, 0xe2, + 0x2f, 0xda, 0xcc, 0x52, 0x16, 0x97, 0xdd, 0xb5, 0x7e, 0x38, 0xe8, 0xc1, 0x4c, 0x15, 0xbc, 0x81, + 0x16, 0xa7, 0x1c, 0x41, 0xdf, 0x20, 0xca, 0xfe, 0x43, 0x8b, 0x58, 0xdc, 0x9c, 0xbe, 0xa4, 0x97, + 0x63, 0xf1, 0x47, 0x54, 0x54, 0x29, 0x08, 0x3b, 0xde, 0x8d, 0x1b, 0xb4, 0xbd, 0x97, 0x82, 0xd8, + 0x89, 0xf7, 0xf9, 0x64, 0xae, 0x5a, 0xa1, 0x06, 0xab, 0xdb, 0x02, 0x21, 0xb8, 0x30, 0x63, 0x9d, + 0x6a, 0x6b, 0x5b, 0x8b, 0x34, 0xbb, 0x6b, 0x8d, 0xf2, 0xa8, 0xfc, 0x8f, 0x82, 0x97, 0x51, 0x59, + 0x67, 0xc6, 0x6c, 0x00, 0x76, 0x16, 0x4b, 0x36, 0xc9, 0xc4, 0x68, 0x9d, 0x5e, 0x44, 0xe0, 0x47, + 0xa8, 0xa0, 0xc2, 0xbe, 0x71, 0x5f, 0xf1, 0xab, 0x36, 0xb0, 0xb0, 0xb7, 0xb3, 0x45, 0xb5, 0x8e, + 0x5b, 0x68, 0x21, 0x10, 0x5c, 0x25, 0xfa, 0x59, 0xf5, 0x2f, 0x8d, 0xf4, 0x63, 0xbc, 0x32, 0x0a, + 0xb5, 0x37, 0x38, 0x42, 0x25, 0xd0, 0x3b, 0x50, 0x2b, 0x36, 0x0b, 0xed, 0xea, 0xea, 0xcb, 0x5b, + 0x8c, 0x80, 0x98, 0x65, 0xda, 0x8e, 0xa5, 0x38, 0x9e, 0x6a, 0x55, 0x6b, 0x34, 0xab, 0x51, 0x3f, + 0xb2, 0x0b, 0x67, 0x62, 0xf0, 0x12, 0x2a, 0x44, 0x70, 0x9c, 0xb5, 0x49, 0xf5, 0x27, 0xde, 0x45, + 0xa5, 0xa1, 0xde, 0x45, 0xfb, 0x1e, 0x2f, 0x6e, 0x60, 0x66, 0xb2, 0xd0, 0x34, 0x63, 0xad, 0xe7, + 0xd7, 0x1c, 0xff, 0xc9, 0xe9, 0xc8, 0xcd, 0x9d, 0x8d, 0xdc, 0xdc, 0xcf, 0x91, 0x9b, 0x3b, 0x19, + 0xbb, 0xce, 0xe9, 0xd8, 0x75, 0xce, 0xc6, 0xae, 0xf3, 0x7b, 0xec, 0x3a, 0x5f, 0xfe, 0xb8, 0xb9, + 0x0f, 0x77, 0x2c, 0xe0, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xca, 0xd0, 0x35, 0x8c, 0xb5, 0x05, + 0x00, 0x00, } diff --git a/pkg/apis/authentication/v1beta1/generated.proto b/pkg/apis/authentication/v1beta1/generated.proto index bc03ff12..f36e2816 100644 --- a/pkg/apis/authentication/v1beta1/generated.proto +++ b/pkg/apis/authentication/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.authentication.v1beta1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1beta1"; @@ -43,30 +43,36 @@ message ExtraValue { // Note: TokenReview requests may be cached by the webhook token authenticator // plugin in the kube-apiserver. message TokenReview { + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Spec holds information about the request being evaluated optional TokenReviewSpec spec = 2; // Status is filled in by the server and indicates whether the request can be authenticated. + // +optional optional TokenReviewStatus status = 3; } // TokenReviewSpec is a description of the token authentication request. message TokenReviewSpec { // Token is the opaque bearer token. + // +optional optional string token = 1; } // TokenReviewStatus is the result of the token authentication request. message TokenReviewStatus { // Authenticated indicates that the token was associated with a known user. + // +optional optional bool authenticated = 1; // User is the UserInfo associated with the provided token. + // +optional optional UserInfo user = 2; // Error indicates that the token couldn't be checked + // +optional optional string error = 3; } @@ -74,17 +80,21 @@ message TokenReviewStatus { // user.Info interface. message UserInfo { // The name that uniquely identifies this user among all active users. + // +optional optional string username = 1; // A unique value that identifies this user across time. If this user is // deleted and another user by the same name is added, they will have // different UIDs. + // +optional optional string uid = 2; // The names of groups this user is a part of. + // +optional repeated string groups = 3; // Any additional information provided by the authenticator. + // +optional map extra = 4; } diff --git a/pkg/apis/authentication/v1beta1/types.go b/pkg/apis/authentication/v1beta1/types.go index 2c526f11..03389020 100644 --- a/pkg/apis/authentication/v1beta1/types.go +++ b/pkg/apis/authentication/v1beta1/types.go @@ -32,28 +32,34 @@ import ( // plugin in the kube-apiserver. type TokenReview struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec holds information about the request being evaluated Spec TokenReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status is filled in by the server and indicates whether the request can be authenticated. + // +optional Status TokenReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } // TokenReviewSpec is a description of the token authentication request. type TokenReviewSpec struct { // Token is the opaque bearer token. + // +optional Token string `json:"token,omitempty" protobuf:"bytes,1,opt,name=token"` } // TokenReviewStatus is the result of the token authentication request. type TokenReviewStatus struct { // Authenticated indicates that the token was associated with a known user. + // +optional Authenticated bool `json:"authenticated,omitempty" protobuf:"varint,1,opt,name=authenticated"` // User is the UserInfo associated with the provided token. + // +optional User UserInfo `json:"user,omitempty" protobuf:"bytes,2,opt,name=user"` // Error indicates that the token couldn't be checked + // +optional Error string `json:"error,omitempty" protobuf:"bytes,3,opt,name=error"` } @@ -61,14 +67,18 @@ type TokenReviewStatus struct { // user.Info interface. type UserInfo struct { // The name that uniquely identifies this user among all active users. + // +optional Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"` // A unique value that identifies this user across time. If this user is // deleted and another user by the same name is added, they will have // different UIDs. + // +optional UID string `json:"uid,omitempty" protobuf:"bytes,2,opt,name=uid"` // The names of groups this user is a part of. + // +optional Groups []string `json:"groups,omitempty" protobuf:"bytes,3,rep,name=groups"` // Any additional information provided by the authenticator. + // +optional Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,4,rep,name=extra"` } diff --git a/pkg/apis/authentication/v1beta1/zz_generated.conversion.go b/pkg/apis/authentication/v1beta1/zz_generated.conversion.go index 769605b9..73d11ea7 100644 --- a/pkg/apis/authentication/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/authentication/v1beta1/zz_generated.conversion.go @@ -21,7 +21,6 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/pkg/api" authentication "k8s.io/client-go/pkg/apis/authentication" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" @@ -47,9 +46,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1beta1_TokenReview_To_authentication_TokenReview(in *TokenReview, out *authentication.TokenReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -68,9 +64,6 @@ func Convert_v1beta1_TokenReview_To_authentication_TokenReview(in *TokenReview, } func autoConvert_authentication_TokenReview_To_v1beta1_TokenReview(in *authentication.TokenReview, out *TokenReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err diff --git a/pkg/apis/authorization/v1beta1/doc.go b/pkg/apis/authorization/v1beta1/doc.go index 392ee499..e11cea1c 100644 --- a/pkg/apis/authorization/v1beta1/doc.go +++ b/pkg/apis/authorization/v1beta1/doc.go @@ -17,6 +17,7 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/authorization // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta // +groupName=authorization.k8s.io package v1beta1 diff --git a/pkg/apis/authorization/v1beta1/generated.pb.go b/pkg/apis/authorization/v1beta1/generated.pb.go index 592832b2..875a98aa 100644 --- a/pkg/apis/authorization/v1beta1/generated.pb.go +++ b/pkg/apis/authorization/v1beta1/generated.pb.go @@ -2283,59 +2283,60 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 864 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x56, 0x4d, 0x4f, 0x1b, 0x47, - 0x18, 0xf6, 0xf7, 0xc7, 0xd0, 0x16, 0x3a, 0x88, 0x62, 0x5c, 0x09, 0x5b, 0xae, 0x54, 0x81, 0x04, - 0xbb, 0x05, 0x09, 0x15, 0xa1, 0x1e, 0xea, 0x55, 0x2d, 0x84, 0x5a, 0x68, 0x35, 0x6e, 0x51, 0xd5, - 0x9e, 0x66, 0xd7, 0x83, 0xd9, 0xd8, 0xde, 0xb5, 0x66, 0x66, 0x4d, 0xc8, 0x89, 0x1f, 0x90, 0x43, - 0x8e, 0x1c, 0xf3, 0x17, 0xf2, 0x07, 0x72, 0x0d, 0x47, 0x72, 0x89, 0x12, 0x29, 0x42, 0x09, 0xf9, - 0x17, 0x39, 0x65, 0x76, 0x76, 0xec, 0xc5, 0x78, 0x9d, 0xc8, 0x09, 0x8a, 0x72, 0xe0, 0x30, 0xd2, - 0xce, 0xfb, 0xf1, 0xbc, 0xcf, 0xcc, 0x3c, 0xb3, 0xef, 0x80, 0x5f, 0x5b, 0x9b, 0x4c, 0xb3, 0x5d, - 0xbd, 0xe5, 0x99, 0x84, 0x3a, 0x84, 0x13, 0xa6, 0x77, 0x5b, 0x4d, 0x1d, 0x77, 0x6d, 0xa6, 0x63, - 0x8f, 0x1f, 0xba, 0xd4, 0xbe, 0x87, 0xb9, 0xed, 0x3a, 0x7a, 0x6f, 0xcd, 0x24, 0x1c, 0xaf, 0xe9, - 0x4d, 0xe2, 0x10, 0x8a, 0x39, 0x69, 0x68, 0x5d, 0xea, 0x72, 0x17, 0xfe, 0x14, 0x20, 0x68, 0x21, - 0x82, 0x26, 0x10, 0x34, 0x1f, 0x41, 0x1b, 0x42, 0xd0, 0x14, 0x42, 0x71, 0xb5, 0x69, 0xf3, 0x43, - 0xcf, 0xd4, 0x2c, 0xb7, 0xa3, 0x37, 0xdd, 0xa6, 0xab, 0x4b, 0x20, 0xd3, 0x3b, 0x90, 0x33, 0x39, - 0x91, 0x5f, 0x41, 0x81, 0xe2, 0xfa, 0x58, 0x8a, 0x3a, 0x25, 0xcc, 0xf5, 0xa8, 0x45, 0xae, 0x93, - 0x2a, 0x6e, 0x8c, 0xcf, 0xf1, 0x9c, 0x1e, 0xa1, 0x4c, 0xf0, 0x21, 0x8d, 0x91, 0xb4, 0x95, 0xf1, - 0x69, 0xbd, 0x91, 0x95, 0x17, 0x57, 0xa3, 0xa3, 0xa9, 0xe7, 0x70, 0xbb, 0x33, 0xca, 0x69, 0x2d, - 0x3a, 0xdc, 0xe3, 0x76, 0x5b, 0xb7, 0x1d, 0xce, 0x38, 0xbd, 0x9e, 0x52, 0xf9, 0x19, 0x80, 0xda, - 0x5d, 0x4e, 0xf1, 0x3e, 0x6e, 0x7b, 0x04, 0x96, 0x40, 0xda, 0xe6, 0xa4, 0xc3, 0x0a, 0xf1, 0x72, - 0x72, 0x29, 0x6f, 0xe4, 0x2f, 0x2f, 0x4a, 0xe9, 0x1d, 0xdf, 0x80, 0x02, 0xfb, 0x56, 0xee, 0xf4, - 0x61, 0x29, 0x76, 0xf2, 0xb2, 0x1c, 0xab, 0x3c, 0x4b, 0x80, 0xc2, 0x1f, 0xae, 0x85, 0xdb, 0x75, - 0xcf, 0xbc, 0x43, 0x2c, 0x5e, 0xb5, 0x2c, 0xc2, 0x18, 0x22, 0x3d, 0x9b, 0x1c, 0xc1, 0x7f, 0x41, - 0xae, 0x23, 0x0e, 0xa2, 0x81, 0x39, 0x16, 0x50, 0xf1, 0xa5, 0xa9, 0xf5, 0x25, 0x6d, 0xec, 0x21, - 0x8a, 0x53, 0xd3, 0xfe, 0x94, 0x18, 0xbb, 0x22, 0xc7, 0x80, 0x67, 0x17, 0xa5, 0x98, 0x28, 0x0c, - 0x42, 0x1b, 0x1a, 0xa0, 0xc1, 0x16, 0x48, 0xb1, 0x2e, 0xb1, 0x0a, 0x09, 0x89, 0xba, 0xa3, 0x4d, - 0x2a, 0x0d, 0x2d, 0x82, 0x6e, 0x5d, 0x00, 0x1a, 0x5f, 0xa9, 0xb2, 0x29, 0x7f, 0x86, 0x64, 0x11, - 0xc8, 0x40, 0x86, 0x71, 0xcc, 0x3d, 0x56, 0x48, 0xca, 0x72, 0xbf, 0xdf, 0x4c, 0x39, 0x09, 0x69, - 0x7c, 0xa3, 0x0a, 0x66, 0x82, 0x39, 0x52, 0xa5, 0x2a, 0xff, 0x83, 0xb9, 0x3d, 0xd7, 0x41, 0x4a, - 0x77, 0x55, 0xce, 0xa9, 0x6d, 0x7a, 0xa2, 0x12, 0x2c, 0x83, 0x54, 0x17, 0xf3, 0x43, 0xb9, 0xa1, - 0xf9, 0x90, 0xef, 0x5f, 0xc2, 0x86, 0xa4, 0xc7, 0x8f, 0x10, 0xca, 0x33, 0xe5, 0xe6, 0x5c, 0x89, - 0xd8, 0x17, 0x36, 0x24, 0x3d, 0x95, 0xc7, 0x09, 0x00, 0x23, 0xa0, 0x75, 0x90, 0x77, 0x70, 0x87, - 0xb0, 0x2e, 0xb6, 0x88, 0xc2, 0xff, 0x56, 0x65, 0xe7, 0xf7, 0xfa, 0x0e, 0x14, 0xc6, 0x7c, 0xb8, - 0x12, 0xfc, 0x01, 0xa4, 0x9b, 0xd4, 0xf5, 0xba, 0x72, 0xeb, 0xf2, 0xc6, 0xd7, 0x2a, 0x24, 0xbd, - 0xed, 0x1b, 0x51, 0xe0, 0x83, 0xcb, 0x20, 0xab, 0xae, 0x4a, 0x21, 0x25, 0xc3, 0xa6, 0x55, 0x58, - 0x76, 0x3f, 0x30, 0xa3, 0xbe, 0x1f, 0xae, 0x80, 0x5c, 0xff, 0x2e, 0x16, 0xd2, 0x32, 0x76, 0x46, - 0xc5, 0xe6, 0xfa, 0x0b, 0x42, 0x83, 0x08, 0xb8, 0x01, 0xa6, 0x98, 0x67, 0x0e, 0x12, 0x32, 0x32, - 0x61, 0x56, 0x25, 0x4c, 0xd5, 0x43, 0x17, 0xba, 0x1a, 0xe7, 0x2f, 0xcb, 0x5f, 0x63, 0x21, 0x3b, - 0xbc, 0x2c, 0x7f, 0x0b, 0x90, 0xf4, 0x54, 0x5e, 0x24, 0xc0, 0x7c, 0x9d, 0xb4, 0x0f, 0x3e, 0xaf, - 0xea, 0xdd, 0x21, 0xd5, 0xef, 0x7e, 0x84, 0x0c, 0xa3, 0x29, 0x7f, 0x59, 0xca, 0x7f, 0x92, 0x00, - 0xdf, 0xbf, 0x87, 0x28, 0xbc, 0x1f, 0x07, 0x90, 0x8e, 0x88, 0x57, 0x6d, 0xf5, 0x6f, 0x93, 0x33, - 0x1c, 0xbd, 0x08, 0xc6, 0x77, 0x82, 0x56, 0xc4, 0x05, 0x41, 0x11, 0x75, 0xe1, 0x69, 0x1c, 0xcc, - 0x39, 0x51, 0x37, 0x55, 0x1d, 0xd3, 0xf6, 0xe4, 0x8c, 0x22, 0x2f, 0xbe, 0xb1, 0x20, 0x48, 0x45, - 0xff, 0x13, 0x50, 0x34, 0x81, 0xca, 0xd3, 0x04, 0x98, 0xbd, 0xfd, 0x2f, 0xdf, 0xac, 0x3a, 0xdf, - 0xa6, 0xc4, 0xcd, 0xbf, 0x55, 0xe6, 0xa7, 0x29, 0x73, 0xd0, 0x38, 0x92, 0xc3, 0x7f, 0xd8, 0x7f, - 0x18, 0xa1, 0xaa, 0x71, 0x94, 0xfb, 0x8d, 0x23, 0x25, 0xdf, 0x20, 0xc0, 0x3f, 0x0a, 0xd9, 0x34, - 0x58, 0xbf, 0x6b, 0x1c, 0x83, 0x34, 0xf1, 0xdf, 0x2c, 0xa2, 0x0f, 0x24, 0xc5, 0x6a, 0xfe, 0xbe, - 0x31, 0xb1, 0x69, 0xf2, 0x29, 0x54, 0x73, 0x38, 0x3d, 0x0e, 0x1b, 0x96, 0xb4, 0xa1, 0xa0, 0x62, - 0xb1, 0xa7, 0x9e, 0x4b, 0x32, 0x06, 0xce, 0x80, 0x64, 0x8b, 0x1c, 0x07, 0x0d, 0x13, 0xf9, 0x9f, - 0x10, 0x81, 0x74, 0xcf, 0x7f, 0x49, 0xa9, 0x8d, 0xfe, 0x65, 0x72, 0x6a, 0xe1, 0x6b, 0x0c, 0x05, - 0x50, 0x5b, 0x89, 0xcd, 0x78, 0xe5, 0x51, 0x1c, 0x2c, 0x8c, 0x95, 0xac, 0xdf, 0x46, 0x71, 0xbb, - 0xed, 0x1e, 0x91, 0x86, 0xe4, 0x92, 0x0b, 0xdb, 0x68, 0x35, 0x30, 0xa3, 0xbe, 0x1f, 0xfe, 0x08, - 0x32, 0x94, 0x60, 0x26, 0x1a, 0x6e, 0xd0, 0xba, 0x07, 0x6a, 0x47, 0xd2, 0x8a, 0x94, 0x17, 0x56, - 0xc1, 0x34, 0xf1, 0xcb, 0x4b, 0x72, 0x35, 0x4a, 0x5d, 0xaa, 0x8e, 0x6c, 0x5e, 0x25, 0x4c, 0xd7, - 0x86, 0xdd, 0xe8, 0x7a, 0xbc, 0xb1, 0x7c, 0xf6, 0x7a, 0x31, 0x76, 0x2e, 0xc6, 0x73, 0x31, 0x4e, - 0x2e, 0x17, 0xe3, 0x67, 0x62, 0x9c, 0x8b, 0xf1, 0x4a, 0x8c, 0x07, 0x6f, 0x16, 0x63, 0xff, 0x65, - 0xd5, 0xa2, 0xdf, 0x05, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xa4, 0x8c, 0xef, 0x24, 0x0c, 0x00, 0x00, + // 874 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x56, 0x41, 0x8f, 0xdb, 0x44, + 0x14, 0x8e, 0x93, 0x78, 0x37, 0x99, 0x05, 0xb6, 0x4c, 0x55, 0xd6, 0x0d, 0x92, 0x13, 0x05, 0x09, + 0x6d, 0xa5, 0xd6, 0x66, 0x57, 0xaa, 0xa8, 0x2a, 0x0e, 0xac, 0xc5, 0xaa, 0xaa, 0xa0, 0x05, 0xcd, + 0xc2, 0x0a, 0xc1, 0x69, 0xec, 0x7d, 0x4d, 0x4c, 0x12, 0x8f, 0x35, 0x33, 0x76, 0x59, 0x4e, 0xfd, + 0x01, 0x1c, 0x38, 0xf6, 0xc8, 0x5f, 0xe0, 0x0f, 0x70, 0x65, 0x8f, 0xe5, 0x82, 0x40, 0x42, 0x11, + 0x6b, 0xfe, 0x05, 0x27, 0xe4, 0xf1, 0x24, 0x6e, 0x36, 0x0e, 0x28, 0xb0, 0x42, 0x1c, 0x7a, 0xf3, + 0xbc, 0xf7, 0xbd, 0xf7, 0xbe, 0x99, 0xf9, 0xc6, 0xef, 0xa1, 0x77, 0x47, 0x77, 0x84, 0x13, 0x32, + 0x77, 0x94, 0xf8, 0xc0, 0x23, 0x90, 0x20, 0xdc, 0x78, 0x34, 0x70, 0x69, 0x1c, 0x0a, 0x97, 0x26, + 0x72, 0xc8, 0x78, 0xf8, 0x15, 0x95, 0x21, 0x8b, 0xdc, 0x74, 0xcf, 0x07, 0x49, 0xf7, 0xdc, 0x01, + 0x44, 0xc0, 0xa9, 0x84, 0x13, 0x27, 0xe6, 0x4c, 0x32, 0xfc, 0x56, 0x91, 0xc1, 0x29, 0x33, 0x38, + 0xf1, 0x68, 0xe0, 0xe4, 0x19, 0x9c, 0x85, 0x0c, 0x8e, 0xce, 0xd0, 0xb9, 0x35, 0x08, 0xe5, 0x30, + 0xf1, 0x9d, 0x80, 0x4d, 0xdc, 0x01, 0x1b, 0x30, 0x57, 0x25, 0xf2, 0x93, 0x47, 0x6a, 0xa5, 0x16, + 0xea, 0xab, 0x28, 0xd0, 0xd9, 0x5f, 0x49, 0xd1, 0xe5, 0x20, 0x58, 0xc2, 0x03, 0xb8, 0x48, 0xaa, + 0x73, 0x7b, 0x75, 0x4c, 0x12, 0xa5, 0xc0, 0x45, 0xc8, 0x22, 0x38, 0x59, 0x0a, 0xbb, 0xb9, 0x3a, + 0x2c, 0x5d, 0xda, 0x79, 0xe7, 0x56, 0x35, 0x9a, 0x27, 0x91, 0x0c, 0x27, 0xcb, 0x9c, 0xf6, 0xaa, + 0xe1, 0x89, 0x0c, 0xc7, 0x6e, 0x18, 0x49, 0x21, 0xf9, 0xc5, 0x90, 0xfe, 0xdb, 0x08, 0x1d, 0x7e, + 0x29, 0x39, 0x3d, 0xa6, 0xe3, 0x04, 0x70, 0x17, 0x99, 0xa1, 0x84, 0x89, 0xb0, 0x8c, 0x5e, 0x63, + 0xb7, 0xed, 0xb5, 0xb3, 0x69, 0xd7, 0xbc, 0x9f, 0x1b, 0x48, 0x61, 0xbf, 0xdb, 0x7a, 0xfa, 0x6d, + 0xb7, 0xf6, 0xe4, 0xd7, 0x5e, 0xad, 0xff, 0x53, 0x1d, 0x59, 0x1f, 0xb0, 0x80, 0x8e, 0x8f, 0x12, + 0xff, 0x0b, 0x08, 0xe4, 0x41, 0x10, 0x80, 0x10, 0x04, 0xd2, 0x10, 0x1e, 0xe3, 0x4f, 0x51, 0x6b, + 0x02, 0x92, 0x9e, 0x50, 0x49, 0x2d, 0xa3, 0x67, 0xec, 0x6e, 0xed, 0xef, 0x3a, 0x2b, 0x2f, 0xd1, + 0x49, 0xf7, 0x9c, 0x0f, 0x55, 0x8e, 0x07, 0x20, 0xa9, 0x87, 0xcf, 0xa6, 0xdd, 0x5a, 0x36, 0xed, + 0xa2, 0xd2, 0x46, 0xe6, 0xd9, 0xf0, 0x08, 0x35, 0x45, 0x0c, 0x81, 0x55, 0x57, 0x59, 0xef, 0x3b, + 0xeb, 0x4a, 0xc3, 0xa9, 0xa0, 0x7b, 0x14, 0x43, 0xe0, 0xbd, 0xa4, 0xcb, 0x36, 0xf3, 0x15, 0x51, + 0x45, 0xb0, 0x40, 0x1b, 0x42, 0x52, 0x99, 0x08, 0xab, 0xa1, 0xca, 0xbd, 0x7f, 0x39, 0xe5, 0x54, + 0x4a, 0xef, 0x15, 0x5d, 0x70, 0xa3, 0x58, 0x13, 0x5d, 0xaa, 0xff, 0x39, 0xba, 0xf6, 0x90, 0x45, + 0x44, 0xeb, 0xee, 0x40, 0x4a, 0x1e, 0xfa, 0x89, 0x04, 0x81, 0x7b, 0xa8, 0x19, 0x53, 0x39, 0x54, + 0x07, 0xda, 0x2e, 0xf9, 0x7e, 0x44, 0xe5, 0x90, 0x28, 0x4f, 0x8e, 0x48, 0x81, 0xfb, 0xea, 0x70, + 0x9e, 0x43, 0x1c, 0x03, 0xf7, 0x89, 0xf2, 0xf4, 0xbf, 0xaf, 0x23, 0x5c, 0x91, 0xda, 0x45, 0xed, + 0x88, 0x4e, 0x40, 0xc4, 0x34, 0x00, 0x9d, 0xff, 0x55, 0x1d, 0xdd, 0x7e, 0x38, 0x73, 0x90, 0x12, + 0xf3, 0xf7, 0x95, 0xf0, 0x1b, 0xc8, 0x1c, 0x70, 0x96, 0xc4, 0xea, 0xe8, 0xda, 0xde, 0xcb, 0x1a, + 0x62, 0xde, 0xcb, 0x8d, 0xa4, 0xf0, 0xe1, 0x1b, 0x68, 0x53, 0x3f, 0x15, 0xab, 0xa9, 0x60, 0xdb, + 0x1a, 0xb6, 0x79, 0x5c, 0x98, 0xc9, 0xcc, 0x8f, 0x6f, 0xa2, 0xd6, 0xec, 0x2d, 0x5a, 0xa6, 0xc2, + 0x5e, 0xd1, 0xd8, 0xd6, 0x6c, 0x43, 0x64, 0x8e, 0xc0, 0xb7, 0xd1, 0x96, 0x48, 0xfc, 0x79, 0xc0, + 0x86, 0x0a, 0xb8, 0xaa, 0x03, 0xb6, 0x8e, 0x4a, 0x17, 0x79, 0x1e, 0x97, 0x6f, 0x2b, 0xdf, 0xa3, + 0xb5, 0xb9, 0xb8, 0xad, 0xfc, 0x08, 0x88, 0xf2, 0xf4, 0x7f, 0xa9, 0xa3, 0x9d, 0x23, 0x18, 0x3f, + 0xfa, 0x6f, 0x55, 0xcf, 0x16, 0x54, 0xff, 0xe0, 0x1f, 0xc8, 0xb0, 0x9a, 0xf2, 0xff, 0x4b, 0xf9, + 0x3f, 0xd4, 0xd1, 0xeb, 0x7f, 0x41, 0x14, 0x7f, 0x6d, 0x20, 0xcc, 0x97, 0xc4, 0xab, 0x8f, 0xfa, + 0xbd, 0xf5, 0x19, 0x2e, 0x3f, 0x04, 0xef, 0xb5, 0x6c, 0xda, 0xad, 0x78, 0x20, 0xa4, 0xa2, 0x2e, + 0x7e, 0x6a, 0xa0, 0x6b, 0x51, 0xd5, 0x4b, 0xd5, 0xd7, 0x74, 0x6f, 0x7d, 0x46, 0x95, 0x0f, 0xdf, + 0xbb, 0x9e, 0x4d, 0xbb, 0xd5, 0xff, 0x04, 0x52, 0x4d, 0xa0, 0xff, 0x63, 0x1d, 0x5d, 0x7d, 0xf1, + 0x5f, 0xbe, 0x5c, 0x75, 0xfe, 0xd1, 0x44, 0x3b, 0x2f, 0x94, 0xf9, 0x2f, 0x95, 0x39, 0x6f, 0x1c, + 0x8d, 0xc5, 0x3f, 0xec, 0x27, 0x02, 0xb8, 0x6e, 0x1c, 0xbd, 0x59, 0xe3, 0x68, 0xaa, 0x19, 0x04, + 0xe5, 0x57, 0xa1, 0x9a, 0x86, 0x98, 0x75, 0x8d, 0x53, 0x64, 0x42, 0x3e, 0xb3, 0x58, 0x66, 0xaf, + 0xb1, 0xbb, 0xb5, 0xff, 0xf1, 0xa5, 0x89, 0xcd, 0x51, 0xa3, 0xd0, 0x61, 0x24, 0xf9, 0x69, 0xd9, + 0xb0, 0x94, 0x8d, 0x14, 0x15, 0x3b, 0xa9, 0x1e, 0x97, 0x14, 0x06, 0x5f, 0x41, 0x8d, 0x11, 0x9c, + 0x16, 0x0d, 0x93, 0xe4, 0x9f, 0x98, 0x20, 0x33, 0xcd, 0x27, 0x29, 0x7d, 0xd0, 0xef, 0xac, 0x4f, + 0xad, 0x9c, 0xc6, 0x48, 0x91, 0xea, 0x6e, 0xfd, 0x8e, 0xd1, 0xff, 0xce, 0x40, 0xd7, 0x57, 0x4a, + 0x36, 0x6f, 0xa3, 0x74, 0x3c, 0x66, 0x8f, 0xe1, 0x44, 0x71, 0x69, 0x95, 0x6d, 0xf4, 0xa0, 0x30, + 0x93, 0x99, 0x1f, 0xbf, 0x89, 0x36, 0x38, 0x50, 0xc1, 0x22, 0xdd, 0xba, 0xe7, 0x6a, 0x27, 0xca, + 0x4a, 0xb4, 0x17, 0x1f, 0xa0, 0x6d, 0xc8, 0xcb, 0x2b, 0x72, 0x87, 0x9c, 0x33, 0xae, 0xaf, 0x6c, + 0x47, 0x07, 0x6c, 0x1f, 0x2e, 0xba, 0xc9, 0x45, 0xbc, 0x77, 0xe3, 0xec, 0xdc, 0xae, 0x3d, 0x3b, + 0xb7, 0x6b, 0x3f, 0x9f, 0xdb, 0xb5, 0x27, 0x99, 0x6d, 0x9c, 0x65, 0xb6, 0xf1, 0x2c, 0xb3, 0x8d, + 0xdf, 0x32, 0xdb, 0xf8, 0xe6, 0x77, 0xbb, 0xf6, 0xd9, 0xa6, 0xde, 0xf4, 0x9f, 0x01, 0x00, 0x00, + 0xff, 0xff, 0x0c, 0xa4, 0x8c, 0xef, 0x24, 0x0c, 0x00, 0x00, } diff --git a/pkg/apis/authorization/v1beta1/generated.proto b/pkg/apis/authorization/v1beta1/generated.proto index d514e8ab..b3df8977 100644 --- a/pkg/apis/authorization/v1beta1/generated.proto +++ b/pkg/apis/authorization/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.authorization.v1beta1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1beta1"; @@ -43,6 +43,7 @@ message ExtraValue { // Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions // checking. message LocalSubjectAccessReview { + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace @@ -50,15 +51,18 @@ message LocalSubjectAccessReview { optional SubjectAccessReviewSpec spec = 2; // Status is filled in by the server and indicates whether the request is allowed or not + // +optional optional SubjectAccessReviewStatus status = 3; } // NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface message NonResourceAttributes { // Path is the URL path of the request + // +optional optional string path = 1; // Verb is the standard HTTP verb + // +optional optional string verb = 2; } @@ -68,24 +72,31 @@ message ResourceAttributes { // "" (empty) is defaulted for LocalSubjectAccessReviews // "" (empty) is empty for cluster-scoped resources // "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview + // +optional optional string namespace = 1; // Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. + // +optional optional string verb = 2; // Group is the API Group of the Resource. "*" means all. + // +optional optional string group = 3; // Version is the API Version of the Resource. "*" means all. + // +optional optional string version = 4; // Resource is one of the existing resource types. "*" means all. + // +optional optional string resource = 5; // Subresource is one of the existing resource types. "" means none. + // +optional optional string subresource = 6; // Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all. + // +optional optional string name = 7; } @@ -93,12 +104,14 @@ 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 optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Spec holds information about the request being evaluated. user and groups must be empty optional SelfSubjectAccessReviewSpec spec = 2; // Status is filled in by the server and indicates whether the request is allowed or not + // +optional optional SubjectAccessReviewStatus status = 3; } @@ -106,20 +119,24 @@ message SelfSubjectAccessReview { // and NonResourceAuthorizationAttributes must be set message SelfSubjectAccessReviewSpec { // ResourceAuthorizationAttributes describes information for a resource access request + // +optional optional ResourceAttributes resourceAttributes = 1; // NonResourceAttributes describes information for a non-resource access request + // +optional optional NonResourceAttributes nonResourceAttributes = 2; } // SubjectAccessReview checks whether or not a user or group can perform an action. message SubjectAccessReview { + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Spec holds information about the request being evaluated optional SubjectAccessReviewSpec spec = 2; // Status is filled in by the server and indicates whether the request is allowed or not + // +optional optional SubjectAccessReviewStatus status = 3; } @@ -127,20 +144,25 @@ message SubjectAccessReview { // and NonResourceAuthorizationAttributes must be set message SubjectAccessReviewSpec { // ResourceAuthorizationAttributes describes information for a resource access request + // +optional optional ResourceAttributes resourceAttributes = 1; // NonResourceAttributes describes information for a non-resource access request + // +optional optional NonResourceAttributes nonResourceAttributes = 2; // User is the user you're testing for. // If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups + // +optional optional string verb = 3; // Groups is the groups you're testing for. + // +optional repeated string group = 4; // Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer // it needs a reflection here. + // +optional map extra = 5; } @@ -150,11 +172,13 @@ message SubjectAccessReviewStatus { optional bool allowed = 1; // Reason is optional. It indicates why a request was allowed or denied. + // +optional optional string reason = 2; // EvaluationError is an indication that some error occurred during the authorization check. // It is entirely possible to get an error and be able to continue determine authorization status in spite of it. // For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. + // +optional optional string evaluationError = 3; } diff --git a/pkg/apis/authorization/v1beta1/types.go b/pkg/apis/authorization/v1beta1/types.go index ba10b430..b254b3b0 100644 --- a/pkg/apis/authorization/v1beta1/types.go +++ b/pkg/apis/authorization/v1beta1/types.go @@ -30,12 +30,14 @@ import ( // SubjectAccessReview checks whether or not a user or group can perform an action. type SubjectAccessReview struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec holds information about the request being evaluated Spec SubjectAccessReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status is filled in by the server and indicates whether the request is allowed or not + // +optional Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -48,12 +50,14 @@ type SubjectAccessReview struct { // to check whether they can perform an action type SelfSubjectAccessReview struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec holds information about the request being evaluated. user and groups must be empty Spec SelfSubjectAccessReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status is filled in by the server and indicates whether the request is allowed or not + // +optional Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -65,13 +69,15 @@ type SelfSubjectAccessReview struct { // checking. type LocalSubjectAccessReview struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace // you made the request against. If empty, it is defaulted. Spec SubjectAccessReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status is filled in by the server and indicates whether the request is allowed or not + // +optional Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -81,26 +87,35 @@ type ResourceAttributes struct { // "" (empty) is defaulted for LocalSubjectAccessReviews // "" (empty) is empty for cluster-scoped resources // "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview + // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"` // Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. + // +optional Verb string `json:"verb,omitempty" protobuf:"bytes,2,opt,name=verb"` // Group is the API Group of the Resource. "*" means all. + // +optional Group string `json:"group,omitempty" protobuf:"bytes,3,opt,name=group"` // Version is the API Version of the Resource. "*" means all. + // +optional Version string `json:"version,omitempty" protobuf:"bytes,4,opt,name=version"` // Resource is one of the existing resource types. "*" means all. + // +optional Resource string `json:"resource,omitempty" protobuf:"bytes,5,opt,name=resource"` // Subresource is one of the existing resource types. "" means none. + // +optional Subresource string `json:"subresource,omitempty" protobuf:"bytes,6,opt,name=subresource"` // Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all. + // +optional Name string `json:"name,omitempty" protobuf:"bytes,7,opt,name=name"` } // NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface type NonResourceAttributes struct { // Path is the URL path of the request + // +optional Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` // Verb is the standard HTTP verb + // +optional Verb string `json:"verb,omitempty" protobuf:"bytes,2,opt,name=verb"` } @@ -108,17 +123,22 @@ type NonResourceAttributes struct { // and NonResourceAuthorizationAttributes must be set type SubjectAccessReviewSpec struct { // ResourceAuthorizationAttributes describes information for a resource access request + // +optional ResourceAttributes *ResourceAttributes `json:"resourceAttributes,omitempty" protobuf:"bytes,1,opt,name=resourceAttributes"` // NonResourceAttributes describes information for a non-resource access request + // +optional NonResourceAttributes *NonResourceAttributes `json:"nonResourceAttributes,omitempty" protobuf:"bytes,2,opt,name=nonResourceAttributes"` // User is the user you're testing for. // If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups + // +optional User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=verb"` // Groups is the groups you're testing for. + // +optional Groups []string `json:"group,omitempty" protobuf:"bytes,4,rep,name=group"` // Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer // it needs a reflection here. + // +optional Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,5,rep,name=extra"` } @@ -135,8 +155,10 @@ func (t ExtraValue) String() string { // and NonResourceAuthorizationAttributes must be set type SelfSubjectAccessReviewSpec struct { // ResourceAuthorizationAttributes describes information for a resource access request + // +optional ResourceAttributes *ResourceAttributes `json:"resourceAttributes,omitempty" protobuf:"bytes,1,opt,name=resourceAttributes"` // NonResourceAttributes describes information for a non-resource access request + // +optional NonResourceAttributes *NonResourceAttributes `json:"nonResourceAttributes,omitempty" protobuf:"bytes,2,opt,name=nonResourceAttributes"` } @@ -145,9 +167,11 @@ type SubjectAccessReviewStatus struct { // Allowed is required. True if the action would be allowed, false otherwise. Allowed bool `json:"allowed" protobuf:"varint,1,opt,name=allowed"` // Reason is optional. It indicates why a request was allowed or denied. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"` // EvaluationError is an indication that some error occurred during the authorization check. // It is entirely possible to get an error and be able to continue determine authorization status in spite of it. // For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. + // +optional EvaluationError string `json:"evaluationError,omitempty" protobuf:"bytes,3,opt,name=evaluationError"` } diff --git a/pkg/apis/authorization/v1beta1/zz_generated.conversion.go b/pkg/apis/authorization/v1beta1/zz_generated.conversion.go index e1c41e55..7d9dfcc6 100644 --- a/pkg/apis/authorization/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/authorization/v1beta1/zz_generated.conversion.go @@ -21,7 +21,6 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/pkg/api" authorization "k8s.io/client-go/pkg/apis/authorization" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" @@ -55,9 +54,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1beta1_LocalSubjectAccessReview_To_authorization_LocalSubjectAccessReview(in *LocalSubjectAccessReview, out *authorization.LocalSubjectAccessReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -76,9 +72,6 @@ func Convert_v1beta1_LocalSubjectAccessReview_To_authorization_LocalSubjectAcces } func autoConvert_authorization_LocalSubjectAccessReview_To_v1beta1_LocalSubjectAccessReview(in *authorization.LocalSubjectAccessReview, out *LocalSubjectAccessReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -147,9 +140,6 @@ func Convert_authorization_ResourceAttributes_To_v1beta1_ResourceAttributes(in * } func autoConvert_v1beta1_SelfSubjectAccessReview_To_authorization_SelfSubjectAccessReview(in *SelfSubjectAccessReview, out *authorization.SelfSubjectAccessReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -168,9 +158,6 @@ func Convert_v1beta1_SelfSubjectAccessReview_To_authorization_SelfSubjectAccessR } func autoConvert_authorization_SelfSubjectAccessReview_To_v1beta1_SelfSubjectAccessReview(in *authorization.SelfSubjectAccessReview, out *SelfSubjectAccessReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -241,9 +228,6 @@ func Convert_authorization_SelfSubjectAccessReviewSpec_To_v1beta1_SelfSubjectAcc } func autoConvert_v1beta1_SubjectAccessReview_To_authorization_SubjectAccessReview(in *SubjectAccessReview, out *authorization.SubjectAccessReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -262,9 +246,6 @@ func Convert_v1beta1_SubjectAccessReview_To_authorization_SubjectAccessReview(in } func autoConvert_authorization_SubjectAccessReview_To_v1beta1_SubjectAccessReview(in *authorization.SubjectAccessReview, out *SubjectAccessReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err diff --git a/pkg/apis/autoscaling/types.go b/pkg/apis/autoscaling/types.go index 6fff41cb..438d82b4 100644 --- a/pkg/apis/autoscaling/types.go +++ b/pkg/apis/autoscaling/types.go @@ -25,18 +25,22 @@ import ( type Scale struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. + // +optional api.ObjectMeta `json:"metadata,omitempty"` // defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional Spec ScaleSpec `json:"spec,omitempty"` // current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + // +optional Status ScaleStatus `json:"status,omitempty"` } // ScaleSpec describes the attributes of a scale subresource. type ScaleSpec struct { // desired number of instances for the scaled object. + // +optional Replicas int32 `json:"replicas,omitempty"` } @@ -49,6 +53,7 @@ type ScaleStatus struct { // as the label selector but in the string format to avoid introspection // by clients. The string will be in the same format as the query-param syntax. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector string `json:"selector,omitempty"` } @@ -59,6 +64,7 @@ type CrossVersionObjectReference struct { // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // API version of the referent + // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"` } @@ -68,21 +74,25 @@ type HorizontalPodAutoscalerSpec struct { // and will set the desired number of pods by using its Scale subresource. ScaleTargetRef CrossVersionObjectReference `json:"scaleTargetRef"` // lower limit for the number of pods that can be set by the autoscaler, default 1. + // +optional MinReplicas *int32 `json:"minReplicas,omitempty"` // upper limit for the number of pods that can be set by the autoscaler. It cannot be smaller than MinReplicas. MaxReplicas int32 `json:"maxReplicas"` // target average CPU utilization (represented as a percentage of requested CPU) over all the pods; // if not specified the default autoscaling policy will be used. + // +optional TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty"` } // current status of a horizontal pod autoscaler type HorizontalPodAutoscalerStatus struct { // most recent generation observed by this autoscaler. + // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // last time the HorizontalPodAutoscaler scaled the number of pods; // used by the autoscaler to control how often the number of pods is changed. + // +optional LastScaleTime *unversioned.Time `json:"lastScaleTime,omitempty"` // current number of replicas of pods managed by this autoscaler. @@ -93,6 +103,7 @@ type HorizontalPodAutoscalerStatus struct { // current average CPU utilization over all pods, represented as a percentage of requested CPU, // e.g. 70 means that an average pod is using now 70% of its requested CPU. + // +optional CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage,omitempty"` } @@ -101,18 +112,22 @@ type HorizontalPodAutoscalerStatus struct { // configuration of a horizontal pod autoscaler. type HorizontalPodAutoscaler struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional Spec HorizontalPodAutoscalerSpec `json:"spec,omitempty"` // current information about the autoscaler. + // +optional Status HorizontalPodAutoscalerStatus `json:"status,omitempty"` } // list of horizontal pod autoscaler objects. type HorizontalPodAutoscalerList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // list of horizontal pod autoscaler objects. diff --git a/pkg/apis/autoscaling/v1/defaults.go b/pkg/apis/autoscaling/v1/defaults.go index 120c6a72..dc0c90c2 100644 --- a/pkg/apis/autoscaling/v1/defaults.go +++ b/pkg/apis/autoscaling/v1/defaults.go @@ -21,6 +21,7 @@ import ( ) func addDefaultingFuncs(scheme *runtime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( SetDefaults_HorizontalPodAutoscaler, ) diff --git a/pkg/apis/autoscaling/v1/doc.go b/pkg/apis/autoscaling/v1/doc.go index f89c5c89..105a57ac 100644 --- a/pkg/apis/autoscaling/v1/doc.go +++ b/pkg/apis/autoscaling/v1/doc.go @@ -17,5 +17,6 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/autoscaling // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1 diff --git a/pkg/apis/autoscaling/v1/generated.pb.go b/pkg/apis/autoscaling/v1/generated.pb.go index 3eae1c17..2c7c4840 100644 --- a/pkg/apis/autoscaling/v1/generated.pb.go +++ b/pkg/apis/autoscaling/v1/generated.pb.go @@ -1730,57 +1730,58 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 823 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x55, 0xcf, 0x4f, 0xe3, 0x46, - 0x14, 0x26, 0xbf, 0x10, 0x8c, 0x0b, 0xb4, 0x53, 0x09, 0xa2, 0x54, 0x4d, 0x90, 0xdb, 0x03, 0x55, - 0xc1, 0x56, 0xa2, 0x52, 0x95, 0x23, 0x4e, 0x45, 0x41, 0x85, 0x12, 0x0d, 0x3f, 0x54, 0x55, 0x6a, - 0x25, 0xc7, 0x1e, 0xcc, 0x90, 0xc4, 0x8e, 0x66, 0xc6, 0x51, 0xc5, 0xa9, 0xa7, 0x9e, 0x7b, 0xe9, - 0xa1, 0xff, 0x4e, 0x4f, 0xdc, 0xca, 0xb1, 0x27, 0xb4, 0xcb, 0x6a, 0xff, 0x8b, 0x3d, 0xec, 0x78, - 0x3c, 0x38, 0x4e, 0x82, 0x03, 0xd1, 0xee, 0x1e, 0x46, 0xca, 0xcc, 0x7c, 0xdf, 0xf7, 0xde, 0x7c, - 0xef, 0xf9, 0x05, 0xec, 0x74, 0xbe, 0x63, 0x06, 0x09, 0xcc, 0x4e, 0xd8, 0xc6, 0xd4, 0xc7, 0x1c, - 0x33, 0xb3, 0xdf, 0xf1, 0x4c, 0xbb, 0x4f, 0x98, 0x69, 0x87, 0x3c, 0x60, 0x8e, 0xdd, 0x25, 0xbe, - 0x67, 0x0e, 0xea, 0xa6, 0x87, 0x7d, 0x4c, 0x6d, 0x8e, 0x5d, 0xa3, 0x4f, 0x03, 0x1e, 0xc0, 0xaf, - 0x62, 0xaa, 0x31, 0xa4, 0x1a, 0x82, 0x6a, 0x44, 0x54, 0x23, 0x45, 0x35, 0x06, 0xf5, 0xca, 0x96, - 0x47, 0xf8, 0x65, 0xd8, 0x36, 0x9c, 0xa0, 0x67, 0x7a, 0x81, 0x17, 0x98, 0x52, 0xa1, 0x1d, 0x5e, - 0xc8, 0x9d, 0xdc, 0xc8, 0x5f, 0xb1, 0x72, 0xa5, 0x91, 0x99, 0x94, 0x49, 0x31, 0x0b, 0x42, 0xea, - 0xe0, 0xf1, 0x6c, 0x2a, 0xdb, 0xd9, 0x9c, 0xd0, 0x1f, 0x60, 0xca, 0x48, 0xe0, 0x63, 0x77, 0x82, - 0xb6, 0x99, 0x4d, 0x9b, 0x7c, 0x72, 0x65, 0xeb, 0x71, 0x34, 0x0d, 0x7d, 0x4e, 0x7a, 0x93, 0x39, - 0xd5, 0x1f, 0x87, 0x87, 0x9c, 0x74, 0x4d, 0xe2, 0x73, 0xc6, 0xe9, 0x38, 0x45, 0xff, 0x3b, 0x07, - 0x3e, 0x6b, 0xd2, 0x80, 0xb1, 0xf3, 0x38, 0xe5, 0xe3, 0xf6, 0x15, 0x76, 0x38, 0xc2, 0x17, 0x98, - 0x62, 0xdf, 0xc1, 0x70, 0x1d, 0x14, 0x3b, 0xc4, 0x77, 0xcb, 0xb9, 0xf5, 0xdc, 0xc6, 0xa2, 0xf5, - 0xd1, 0xcd, 0x5d, 0x6d, 0xee, 0xfe, 0xae, 0x56, 0xfc, 0x51, 0x9c, 0x21, 0x79, 0x13, 0x21, 0x7c, - 0xbb, 0x87, 0xcb, 0xf9, 0x51, 0xc4, 0x4f, 0xe2, 0x0c, 0xc9, 0x1b, 0xd8, 0x00, 0x40, 0xbc, 0x4f, - 0x05, 0x28, 0x17, 0x24, 0x0e, 0x2a, 0x1c, 0xd8, 0x6d, 0x1d, 0xa8, 0x1b, 0x94, 0x42, 0xe9, 0xff, - 0xe5, 0xc1, 0xda, 0x7e, 0x40, 0xc9, 0x75, 0xe0, 0x73, 0xbb, 0xdb, 0x0a, 0xdc, 0x5d, 0x55, 0x61, - 0x4c, 0xe1, 0xcf, 0x60, 0xa1, 0x87, 0xb9, 0xed, 0xda, 0xdc, 0x96, 0x79, 0x69, 0x8d, 0x0d, 0x23, - 0xb3, 0x37, 0x44, 0x3b, 0x18, 0xf1, 0xa3, 0x8e, 0x04, 0x67, 0x18, 0x77, 0x78, 0x86, 0x12, 0x35, - 0x78, 0x09, 0x8a, 0xac, 0x8f, 0x1d, 0xf9, 0x16, 0xad, 0xb1, 0x67, 0x3c, 0xbb, 0xe3, 0x8c, 0x8c, - 0x5c, 0x4f, 0x84, 0xda, 0xd0, 0x93, 0x68, 0x87, 0x64, 0x04, 0xd8, 0x07, 0xf3, 0x8c, 0xdb, 0x3c, - 0x64, 0xd2, 0x0f, 0xad, 0xb1, 0xff, 0x1e, 0x62, 0x49, 0x3d, 0x6b, 0x59, 0x45, 0x9b, 0x8f, 0xf7, - 0x48, 0xc5, 0xd1, 0x5f, 0x8b, 0x4a, 0x67, 0x30, 0x0f, 0x09, 0xe3, 0xf0, 0xd7, 0x09, 0x57, 0xcd, - 0x29, 0xae, 0xa6, 0x7a, 0xdc, 0x88, 0xe8, 0xd2, 0xdc, 0x8f, 0x55, 0xe8, 0x85, 0x87, 0x93, 0x94, - 0xb5, 0x1e, 0x28, 0x11, 0x8e, 0x7b, 0x4c, 0x78, 0x5b, 0x10, 0xda, 0xd6, 0xbb, 0xbf, 0xd7, 0x5a, - 0x52, 0xe1, 0x4a, 0x07, 0x91, 0x30, 0x8a, 0xf5, 0xf5, 0x37, 0xf9, 0xcc, 0x77, 0x46, 0xfe, 0xc3, - 0x3f, 0x73, 0x60, 0x59, 0x6e, 0x4f, 0x6d, 0xea, 0xe1, 0xa8, 0xd5, 0xd5, 0x73, 0x67, 0x29, 0xf7, - 0x94, 0x4f, 0xc6, 0x5a, 0x55, 0x69, 0x2d, 0x9f, 0x8c, 0x44, 0x41, 0x63, 0x51, 0x61, 0x1d, 0x68, - 0x3d, 0xe2, 0x23, 0xdc, 0xef, 0x12, 0xc7, 0x66, 0xb2, 0xe7, 0x4a, 0xd6, 0x8a, 0x20, 0x6a, 0x47, - 0xc3, 0x63, 0x94, 0xc6, 0xc0, 0x6d, 0x41, 0xb1, 0x7f, 0x4f, 0x28, 0x05, 0x49, 0xf9, 0x54, 0xc5, - 0xd3, 0x8e, 0x86, 0x57, 0x28, 0x8d, 0x83, 0x57, 0xa0, 0xca, 0x65, 0xd8, 0x66, 0xeb, 0xec, 0x4c, - 0x0c, 0x03, 0x72, 0x6d, 0x73, 0x91, 0x78, 0x0b, 0x8b, 0xc1, 0x26, 0x4c, 0xf2, 0x70, 0xb9, 0x28, - 0x95, 0x74, 0xa1, 0x52, 0x3d, 0x9d, 0x8a, 0x44, 0x4f, 0x28, 0xe9, 0xff, 0x16, 0xc0, 0xe7, 0x53, - 0x1b, 0x14, 0xee, 0x01, 0x18, 0xb4, 0x19, 0xa6, 0x03, 0xec, 0xfe, 0x10, 0x4f, 0xa3, 0x68, 0x2c, - 0x44, 0x35, 0x28, 0x58, 0xab, 0x22, 0x03, 0x78, 0x3c, 0x71, 0x8b, 0x1e, 0x61, 0x40, 0x17, 0x2c, - 0x75, 0x6d, 0xc6, 0x63, 0x97, 0x89, 0x9a, 0x40, 0x5a, 0xe3, 0xeb, 0x67, 0x76, 0x6d, 0x44, 0xb1, - 0x3e, 0x11, 0xf1, 0x96, 0x0e, 0xd3, 0x2a, 0x68, 0x54, 0x14, 0xee, 0x82, 0x15, 0x27, 0xa4, 0xa2, - 0xb2, 0x7c, 0xcc, 0xf6, 0x35, 0x65, 0xfb, 0x4a, 0x73, 0xf4, 0x1a, 0x8d, 0xe3, 0x23, 0x09, 0x17, - 0x33, 0x42, 0xb1, 0x9b, 0x48, 0x14, 0x47, 0x25, 0xbe, 0x1f, 0xbd, 0x46, 0xe3, 0x78, 0xd8, 0x03, - 0x35, 0xa5, 0x9a, 0x59, 0xc2, 0x92, 0x94, 0xfc, 0x42, 0xc8, 0xd5, 0x9a, 0xd3, 0xa1, 0xe8, 0x29, - 0x2d, 0xfd, 0x9f, 0x3c, 0x28, 0x49, 0x0b, 0x3e, 0xe0, 0xac, 0x3d, 0x1f, 0x99, 0xb5, 0xdf, 0xcc, - 0xf0, 0xf1, 0xc9, 0xcc, 0x32, 0x27, 0xeb, 0x6f, 0x63, 0x93, 0xf5, 0xdb, 0x99, 0x95, 0xa7, 0xcf, - 0xd1, 0x1d, 0xb0, 0x98, 0x24, 0x00, 0x37, 0xc1, 0x02, 0x7d, 0xa8, 0x69, 0x4e, 0x16, 0x20, 0x99, - 0x81, 0x49, 0x31, 0x13, 0x84, 0x4e, 0x80, 0x96, 0x8a, 0x30, 0x1b, 0x39, 0x42, 0x33, 0xdc, 0x15, - 0x3e, 0x06, 0x54, 0xfd, 0xd7, 0x26, 0xe8, 0x13, 0x75, 0x8e, 0x12, 0x84, 0xf5, 0xe5, 0xcd, 0xcb, - 0xea, 0xdc, 0xad, 0x58, 0xff, 0x8b, 0xf5, 0xc7, 0x7d, 0x35, 0x77, 0x23, 0xd6, 0xad, 0x58, 0x2f, - 0xc4, 0xfa, 0xeb, 0x55, 0x75, 0xee, 0x97, 0xfc, 0xa0, 0xfe, 0x36, 0x00, 0x00, 0xff, 0xff, 0x45, - 0xec, 0x9a, 0x15, 0x8e, 0x09, 0x00, 0x00, + // 835 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, 0x5a, 0x5b, 0xbb, 0xa2, 0x88, 0x1e, 0xe3, 0xa0, 0xd2, 0x8a, 0x86, 0x46, 0x93, 0xb6, 0x42, + 0x48, 0x20, 0xcd, 0xda, 0xaf, 0xee, 0x74, 0xd7, 0x1e, 0x6b, 0x66, 0xbc, 0x42, 0x3d, 0x71, 0xe2, + 0xcc, 0x85, 0x03, 0xff, 0x0e, 0xa7, 0xdc, 0xe8, 0x91, 0xd3, 0x8a, 0x18, 0xf1, 0x5f, 0x70, 0x40, + 0x9e, 0x9d, 0x7a, 0xbf, 0xe2, 0x6d, 0x23, 0xe8, 0x6d, 0x67, 0xde, 0xef, 0xe3, 0xcd, 0x7b, 0xcf, + 0x6f, 0xd1, 0x9d, 0xd1, 0xe7, 0xd2, 0x63, 0xdc, 0x1f, 0xe5, 0x43, 0x10, 0x29, 0x28, 0x90, 0x7e, + 0x36, 0x8a, 0x7d, 0x9a, 0x31, 0xe9, 0xd3, 0x5c, 0x71, 0x19, 0xd2, 0x31, 0x4b, 0x63, 0x7f, 0xd2, + 0xf7, 0x63, 0x48, 0x41, 0x50, 0x05, 0x91, 0x97, 0x09, 0xae, 0x38, 0xfe, 0x78, 0x46, 0xf5, 0xe6, + 0x54, 0x2f, 0x1b, 0xc5, 0x5e, 0x49, 0xf5, 0x16, 0xa8, 0xde, 0xa4, 0xbf, 0x77, 0x2b, 0x66, 0xea, + 0x59, 0x3e, 0xf4, 0x42, 0x9e, 0xf8, 0x31, 0x8f, 0xb9, 0xaf, 0x15, 0x86, 0xf9, 0x53, 0x7d, 0xd2, + 0x07, 0xfd, 0x6b, 0xa6, 0xbc, 0x37, 0xa8, 0x4d, 0xca, 0x17, 0x20, 0x79, 0x2e, 0x42, 0x58, 0xcd, + 0x66, 0xef, 0x76, 0x3d, 0x27, 0x4f, 0x27, 0x20, 0x24, 0xe3, 0x29, 0x44, 0x6b, 0xb4, 0x9b, 0xf5, + 0xb4, 0xf5, 0x27, 0xef, 0xdd, 0xba, 0x18, 0x2d, 0xf2, 0x54, 0xb1, 0x64, 0x3d, 0xa7, 0xfe, 0xc5, + 0xf0, 0x5c, 0xb1, 0xb1, 0xcf, 0x52, 0x25, 0x95, 0x58, 0xa5, 0xf4, 0x7e, 0xb1, 0xd0, 0x8d, 0x23, + 0xc1, 0xa5, 0x7c, 0x32, 0x4b, 0xf9, 0xe1, 0xf0, 0x39, 0x84, 0x8a, 0xc0, 0x53, 0x10, 0x90, 0x86, + 0x80, 0xf7, 0x51, 0x7b, 0xc4, 0xd2, 0xa8, 0x6b, 0xed, 0x5b, 0x07, 0x57, 0x83, 0x77, 0xce, 0xa6, + 0x6e, 0xa3, 0x98, 0xba, 0xed, 0xaf, 0x58, 0x1a, 0x11, 0x1d, 0x29, 0x11, 0x29, 0x4d, 0xa0, 0xdb, + 0x5c, 0x46, 0x7c, 0x4d, 0x13, 0x20, 0x3a, 0x82, 0x07, 0x08, 0xd1, 0x8c, 0x19, 0x83, 0x6e, 0x4b, + 0xe3, 0xb0, 0xc1, 0xa1, 0xc3, 0x93, 0xfb, 0x26, 0x42, 0x16, 0x50, 0xbd, 0xdf, 0x9b, 0xe8, 0xfa, + 0x3d, 0x2e, 0xd8, 0x0b, 0x9e, 0x2a, 0x3a, 0x3e, 0xe1, 0xd1, 0xa1, 0xe9, 0x30, 0x08, 0xfc, 0x0d, + 0xda, 0x4a, 0x40, 0xd1, 0x88, 0x2a, 0xaa, 0xf3, 0xb2, 0x07, 0x07, 0x5e, 0xed, 0x6c, 0x78, 0x93, + 0xbe, 0x37, 0x7b, 0xd4, 0x31, 0x28, 0x3a, 0xf7, 0x9d, 0xdf, 0x91, 0x4a, 0x0d, 0x3f, 0x43, 0x6d, + 0x99, 0x41, 0xa8, 0xdf, 0x62, 0x0f, 0xee, 0x7a, 0x6f, 0x3c, 0x71, 0x5e, 0x4d, 0xae, 0xa7, 0x19, + 0x84, 0xf3, 0x9a, 0x94, 0x27, 0xa2, 0x1d, 0x70, 0x86, 0xae, 0x48, 0x45, 0x55, 0x2e, 0x75, 0x3d, + 0xec, 0xc1, 0xbd, 0xff, 0xc1, 0x4b, 0xeb, 0x05, 0x3b, 0xc6, 0xed, 0xca, 0xec, 0x4c, 0x8c, 0x4f, + 0xef, 0x6f, 0x0b, 0xdd, 0xa8, 0x61, 0x3e, 0x60, 0x52, 0xe1, 0xef, 0xd6, 0xaa, 0xea, 0x6f, 0xa8, + 0xea, 0xc2, 0x8c, 0x7b, 0x25, 0x5d, 0x17, 0xf7, 0x5d, 0x63, 0xbd, 0xf5, 0xea, 0x66, 0xa1, 0xb4, + 0x31, 0xea, 0x30, 0x05, 0x89, 0xec, 0x36, 0xf7, 0x5b, 0x07, 0xf6, 0x20, 0xf8, 0xef, 0xef, 0x0d, + 0xb6, 0x8d, 0x5d, 0xe7, 0x7e, 0x29, 0x4c, 0x66, 0xfa, 0xbd, 0x7f, 0x9a, 0xb5, 0xef, 0x2c, 0xeb, + 0x8f, 0x7f, 0xb2, 0xd0, 0x8e, 0x3e, 0x3e, 0xa2, 0x22, 0x86, 0x72, 0xd4, 0xcd, 0x73, 0x2f, 0xd3, + 0xee, 0x0d, 0x9f, 0x4c, 0x70, 0xcd, 0xa4, 0xb5, 0x73, 0xba, 0xe4, 0x42, 0x56, 0x5c, 0x71, 0x1f, + 0xd9, 0x09, 0x4b, 0x09, 0x64, 0x63, 0x16, 0x52, 0xa9, 0x67, 0xae, 0x13, 0xec, 0x16, 0x53, 0xd7, + 0x3e, 0x9e, 0x5f, 0x93, 0x45, 0x0c, 0xbe, 0x8d, 0xec, 0x84, 0xfe, 0x50, 0x51, 0x5a, 0x9a, 0xf2, + 0xbe, 0xf1, 0xb3, 0x8f, 0xe7, 0x21, 0xb2, 0x88, 0xc3, 0xcf, 0x91, 0xa3, 0xb4, 0xed, 0xd1, 0xc9, + 0xe3, 0xc7, 0x8a, 0x8d, 0xd9, 0x0b, 0xaa, 0x18, 0x4f, 0x4f, 0x40, 0x84, 0x90, 0x2a, 0x1a, 0x43, + 0xb7, 0xad, 0x95, 0x7a, 0xc5, 0xd4, 0x75, 0x1e, 0x6d, 0x44, 0x92, 0xd7, 0x28, 0xf5, 0x7e, 0x6b, + 0xa1, 0x0f, 0x36, 0x0e, 0x28, 0xbe, 0x8b, 0x30, 0x1f, 0x4a, 0x10, 0x13, 0x88, 0xbe, 0x9c, 0x6d, + 0xa3, 0x72, 0x2d, 0x94, 0x3d, 0x68, 0x05, 0xd7, 0x8a, 0xa9, 0x8b, 0x1f, 0xae, 0x45, 0xc9, 0x05, + 0x0c, 0x1c, 0xa1, 0xed, 0x31, 0x95, 0x6a, 0x56, 0x65, 0x66, 0x36, 0x90, 0x3d, 0xf8, 0xe4, 0x0d, + 0xa7, 0xb6, 0xa4, 0x04, 0xef, 0x15, 0x53, 0x77, 0xfb, 0xc1, 0xa2, 0x0a, 0x59, 0x16, 0xc5, 0x87, + 0x68, 0x37, 0xcc, 0x85, 0x80, 0x54, 0xad, 0x94, 0xfd, 0xba, 0x29, 0xfb, 0xee, 0xd1, 0x72, 0x98, + 0xac, 0xe2, 0x4b, 0x89, 0x08, 0x24, 0x13, 0x10, 0x55, 0x12, 0xed, 0x65, 0x89, 0x2f, 0x96, 0xc3, + 0x64, 0x15, 0x8f, 0x13, 0xe4, 0x1a, 0xd5, 0xda, 0x16, 0x76, 0xb4, 0xe4, 0x87, 0xc5, 0xd4, 0x75, + 0x8f, 0x36, 0x43, 0xc9, 0xeb, 0xb4, 0x7a, 0xbf, 0x36, 0x51, 0x47, 0x97, 0xe0, 0x2d, 0xee, 0xda, + 0x27, 0x4b, 0xbb, 0xf6, 0xd3, 0x4b, 0x7c, 0x7c, 0x3a, 0xb3, 0xda, 0xcd, 0xfa, 0xfd, 0xca, 0x66, + 0xfd, 0xec, 0xd2, 0xca, 0x9b, 0xf7, 0xe8, 0x1d, 0x74, 0xb5, 0x4a, 0x00, 0xdf, 0x44, 0x5b, 0xe2, + 0x55, 0x4f, 0x2d, 0xdd, 0x80, 0x6a, 0x07, 0x56, 0xcd, 0xac, 0x10, 0x3d, 0x86, 0xec, 0x05, 0x87, + 0xcb, 0x91, 0x4b, 0xb4, 0x84, 0x31, 0x84, 0x8a, 0x0b, 0xf3, 0x5f, 0x5b, 0xa1, 0x4f, 0xcd, 0x3d, + 0xa9, 0x10, 0xc1, 0x47, 0x67, 0xe7, 0x4e, 0xe3, 0xe5, 0xb9, 0xd3, 0xf8, 0xe3, 0xdc, 0x69, 0xfc, + 0x58, 0x38, 0xd6, 0x59, 0xe1, 0x58, 0x2f, 0x0b, 0xc7, 0xfa, 0xb3, 0x70, 0xac, 0x9f, 0xff, 0x72, + 0x1a, 0xdf, 0x36, 0x27, 0xfd, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x45, 0xec, 0x9a, 0x15, 0x8e, + 0x09, 0x00, 0x00, } diff --git a/pkg/apis/autoscaling/v1/generated.proto b/pkg/apis/autoscaling/v1/generated.proto index 7b601d51..56d19a9c 100644 --- a/pkg/apis/autoscaling/v1/generated.proto +++ b/pkg/apis/autoscaling/v1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.autoscaling.v1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1"; @@ -39,24 +39,29 @@ message CrossVersionObjectReference { optional string name = 2; // API version of the referent + // +optional optional string apiVersion = 3; } // configuration of a horizontal pod autoscaler. message HorizontalPodAutoscaler { // 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; // behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional optional HorizontalPodAutoscalerSpec spec = 2; // current information about the autoscaler. + // +optional optional HorizontalPodAutoscalerStatus status = 3; } // list of horizontal pod autoscaler objects. message HorizontalPodAutoscalerList { // Standard list metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // list of horizontal pod autoscaler objects. @@ -70,6 +75,7 @@ message HorizontalPodAutoscalerSpec { optional CrossVersionObjectReference scaleTargetRef = 1; // lower limit for the number of pods that can be set by the autoscaler, default 1. + // +optional optional int32 minReplicas = 2; // upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. @@ -77,16 +83,19 @@ message HorizontalPodAutoscalerSpec { // target average CPU utilization (represented as a percentage of requested CPU) over all the pods; // if not specified the default autoscaling policy will be used. + // +optional optional int32 targetCPUUtilizationPercentage = 4; } // current status of a horizontal pod autoscaler message HorizontalPodAutoscalerStatus { // most recent generation observed by this autoscaler. + // +optional optional int64 observedGeneration = 1; // 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.api.unversioned.Time lastScaleTime = 2; // current number of replicas of pods managed by this autoscaler. @@ -97,24 +106,29 @@ message HorizontalPodAutoscalerStatus { // current average CPU utilization over all pods, represented as a percentage of requested CPU, // e.g. 70 means that an average pod is using now 70% of its requested CPU. + // +optional optional int32 currentCPUUtilizationPercentage = 5; } // Scale represents a scaling request for a resource. message Scale { // 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; // defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional optional ScaleSpec spec = 2; // current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + // +optional optional ScaleStatus status = 3; } // ScaleSpec describes the attributes of a scale subresource. message ScaleSpec { // desired number of instances for the scaled object. + // +optional optional int32 replicas = 1; } @@ -127,6 +141,7 @@ message ScaleStatus { // as the label selector but in the string format to avoid introspection // by clients. The string will be in the same format as the query-param syntax. // More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional optional string selector = 2; } diff --git a/pkg/apis/autoscaling/v1/types.go b/pkg/apis/autoscaling/v1/types.go index 25b458ea..444124ae 100644 --- a/pkg/apis/autoscaling/v1/types.go +++ b/pkg/apis/autoscaling/v1/types.go @@ -28,6 +28,7 @@ type CrossVersionObjectReference struct { // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // API version of the referent + // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"` } @@ -37,21 +38,25 @@ type HorizontalPodAutoscalerSpec struct { // and will set the desired number of pods by using its Scale subresource. ScaleTargetRef CrossVersionObjectReference `json:"scaleTargetRef" protobuf:"bytes,1,opt,name=scaleTargetRef"` // lower limit for the number of pods that can be set by the autoscaler, default 1. + // +optional MinReplicas *int32 `json:"minReplicas,omitempty" protobuf:"varint,2,opt,name=minReplicas"` // upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. MaxReplicas int32 `json:"maxReplicas" protobuf:"varint,3,opt,name=maxReplicas"` // target average CPU utilization (represented as a percentage of requested CPU) over all the pods; // if not specified the default autoscaling policy will be used. + // +optional TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty" protobuf:"varint,4,opt,name=targetCPUUtilizationPercentage"` } // current status of a horizontal pod autoscaler type HorizontalPodAutoscalerStatus struct { // most recent generation observed by this autoscaler. + // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` // last time the HorizontalPodAutoscaler scaled the number of pods; // used by the autoscaler to control how often the number of pods is changed. + // +optional LastScaleTime *unversioned.Time `json:"lastScaleTime,omitempty" protobuf:"bytes,2,opt,name=lastScaleTime"` // current number of replicas of pods managed by this autoscaler. @@ -62,6 +67,7 @@ type HorizontalPodAutoscalerStatus struct { // current average CPU utilization over all pods, represented as a percentage of requested CPU, // e.g. 70 means that an average pod is using now 70% of its requested CPU. + // +optional CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage,omitempty" protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage"` } @@ -71,12 +77,15 @@ type HorizontalPodAutoscalerStatus struct { type HorizontalPodAutoscaler struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional Spec HorizontalPodAutoscalerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // current information about the autoscaler. + // +optional Status HorizontalPodAutoscalerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -84,6 +93,7 @@ type HorizontalPodAutoscaler struct { type HorizontalPodAutoscalerList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // list of horizontal pod autoscaler objects. @@ -94,18 +104,22 @@ type HorizontalPodAutoscalerList struct { type Scale struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional Spec ScaleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + // +optional Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } // ScaleSpec describes the attributes of a scale subresource. type ScaleSpec struct { // desired number of instances for the scaled object. + // +optional Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` } @@ -118,5 +132,6 @@ type ScaleStatus struct { // as the label selector but in the string format to avoid introspection // by clients. The string will be in the same format as the query-param syntax. // More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector string `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` } diff --git a/pkg/apis/autoscaling/v1/zz_generated.conversion.go b/pkg/apis/autoscaling/v1/zz_generated.conversion.go index 99f642fb..760cd31f 100644 --- a/pkg/apis/autoscaling/v1/zz_generated.conversion.go +++ b/pkg/apis/autoscaling/v1/zz_generated.conversion.go @@ -21,7 +21,6 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/pkg/api" autoscaling "k8s.io/client-go/pkg/apis/autoscaling" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" @@ -77,10 +76,6 @@ func Convert_autoscaling_CrossVersionObjectReference_To_v1_CrossVersionObjectRef } func autoConvert_v1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler(in *HorizontalPodAutoscaler, out *autoscaling.HorizontalPodAutoscaler, s conversion.Scope) error { - SetDefaults_HorizontalPodAutoscaler(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -99,9 +94,6 @@ func Convert_v1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler(i } func autoConvert_autoscaling_HorizontalPodAutoscaler_To_v1_HorizontalPodAutoscaler(in *autoscaling.HorizontalPodAutoscaler, out *HorizontalPodAutoscaler, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -120,12 +112,7 @@ func Convert_autoscaling_HorizontalPodAutoscaler_To_v1_HorizontalPodAutoscaler(i } func autoConvert_v1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAutoscalerList(in *HorizontalPodAutoscalerList, out *autoscaling.HorizontalPodAutoscalerList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]autoscaling.HorizontalPodAutoscaler, len(*in)) @@ -145,12 +132,7 @@ func Convert_v1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAutoscal } func autoConvert_autoscaling_HorizontalPodAutoscalerList_To_v1_HorizontalPodAutoscalerList(in *autoscaling.HorizontalPodAutoscalerList, out *HorizontalPodAutoscalerList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]HorizontalPodAutoscaler, len(*in)) @@ -224,9 +206,6 @@ func Convert_autoscaling_HorizontalPodAutoscalerStatus_To_v1_HorizontalPodAutosc } func autoConvert_v1_Scale_To_autoscaling_Scale(in *Scale, out *autoscaling.Scale, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -245,9 +224,6 @@ func Convert_v1_Scale_To_autoscaling_Scale(in *Scale, out *autoscaling.Scale, s } func autoConvert_autoscaling_Scale_To_v1_Scale(in *autoscaling.Scale, out *Scale, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err diff --git a/pkg/apis/autoscaling/v1/zz_generated.defaults.go b/pkg/apis/autoscaling/v1/zz_generated.defaults.go new file mode 100644 index 00000000..db483be8 --- /dev/null +++ b/pkg/apis/autoscaling/v1/zz_generated.defaults.go @@ -0,0 +1,47 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v1 + +import ( + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&HorizontalPodAutoscaler{}, func(obj interface{}) { SetObjectDefaults_HorizontalPodAutoscaler(obj.(*HorizontalPodAutoscaler)) }) + scheme.AddTypeDefaultingFunc(&HorizontalPodAutoscalerList{}, func(obj interface{}) { + SetObjectDefaults_HorizontalPodAutoscalerList(obj.(*HorizontalPodAutoscalerList)) + }) + return nil +} + +func SetObjectDefaults_HorizontalPodAutoscaler(in *HorizontalPodAutoscaler) { + SetDefaults_HorizontalPodAutoscaler(in) +} + +func SetObjectDefaults_HorizontalPodAutoscalerList(in *HorizontalPodAutoscalerList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_HorizontalPodAutoscaler(a) + } +} diff --git a/pkg/apis/batch/types.go b/pkg/apis/batch/types.go index 7e8deb42..3d3c8278 100644 --- a/pkg/apis/batch/types.go +++ b/pkg/apis/batch/types.go @@ -28,14 +28,17 @@ type Job struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Spec is a structure defining the expected behavior of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec JobSpec `json:"spec,omitempty"` // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status JobStatus `json:"status,omitempty"` } @@ -44,6 +47,7 @@ type JobList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of Job. @@ -55,10 +59,12 @@ type JobTemplate struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Template defines jobs that will be created from this template // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Template JobTemplateSpec `json:"template,omitempty"` } @@ -66,10 +72,12 @@ type JobTemplate struct { type JobTemplateSpec struct { // Standard object's metadata of the jobs created from this template. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec JobSpec `json:"spec,omitempty"` } @@ -80,6 +88,7 @@ type JobSpec struct { // run at any given time. The actual number of pods running in steady state will // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. + // +optional Parallelism *int32 `json:"parallelism,omitempty"` // Completions specifies the desired number of successfully finished pods the @@ -87,14 +96,17 @@ type JobSpec struct { // pod signals the success of all pods, and allows parallelism to have any positive // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. + // +optional Completions *int32 `json:"completions,omitempty"` // Optional duration in seconds relative to the startTime that the job may be active // before the system tries to terminate it; value must be positive integer + // +optional ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"` // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` // ManualSelector controls generation of pod labels and pod selectors. @@ -106,6 +118,7 @@ type JobSpec struct { // and other jobs to not function correctly. However, You may see // `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` // API. + // +optional ManualSelector *bool `json:"manualSelector,omitempty"` // Template is the object that describes the pod that will be created when @@ -117,25 +130,31 @@ type JobSpec struct { type JobStatus struct { // Conditions represent the latest available observations of an object's current state. + // +optional Conditions []JobCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` // StartTime represents time when the job was acknowledged by the Job Manager. // 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 StartTime *unversioned.Time `json:"startTime,omitempty"` // 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 CompletionTime *unversioned.Time `json:"completionTime,omitempty"` // Active is the number of actively running pods. + // +optional Active int32 `json:"active,omitempty"` // Succeeded is the number of pods which reached Phase Succeeded. + // +optional Succeeded int32 `json:"succeeded,omitempty"` // Failed is the number of pods which reached Phase Failed. + // +optional Failed int32 `json:"failed,omitempty"` } @@ -156,12 +175,16 @@ type JobCondition struct { // Status of the condition, one of True, False, Unknown. Status api.ConditionStatus `json:"status"` // Last time the condition was checked. + // +optional LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` // Last time the condition transit from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. + // +optional Message string `json:"message,omitempty"` } @@ -172,14 +195,17 @@ type ScheduledJob struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Spec is a structure defining the expected behavior of a job, including the schedule. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec ScheduledJobSpec `json:"spec,omitempty"` // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status ScheduledJobStatus `json:"status,omitempty"` } @@ -188,6 +214,7 @@ type ScheduledJobList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of ScheduledJob. @@ -202,13 +229,16 @@ type ScheduledJobSpec struct { // Optional deadline in seconds for starting the job if it misses scheduled // time for any reason. Missed jobs executions will be counted as failed ones. + // +optional StartingDeadlineSeconds *int64 `json:"startingDeadlineSeconds,omitempty"` // ConcurrencyPolicy specifies how to treat concurrent executions of a Job. + // +optional ConcurrencyPolicy ConcurrencyPolicy `json:"concurrencyPolicy,omitempty"` // Suspend flag tells the controller to suspend subsequent executions, it does // not apply to already started executions. Defaults to false. + // +optional Suspend *bool `json:"suspend,omitempty"` // JobTemplate is the object that describes the job that will be created when @@ -237,8 +267,10 @@ const ( // ScheduledJobStatus represents the current state of a Job. type ScheduledJobStatus struct { // Active holds pointers to currently running jobs. + // +optional Active []api.ObjectReference `json:"active,omitempty"` // LastScheduleTime keeps information of when was the last time the job was successfully scheduled. + // +optional LastScheduleTime *unversioned.Time `json:"lastScheduleTime,omitempty"` } diff --git a/pkg/apis/batch/v1/conversion.go b/pkg/apis/batch/v1/conversion.go index 46fe4976..17024769 100644 --- a/pkg/apis/batch/v1/conversion.go +++ b/pkg/apis/batch/v1/conversion.go @@ -20,7 +20,6 @@ import ( "fmt" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/unversioned" v1 "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/apis/batch" "k8s.io/client-go/pkg/conversion" @@ -53,15 +52,7 @@ func Convert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s conv out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1.LabelSelector - if in.Selector != nil { - out.Selector = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector @@ -79,15 +70,7 @@ func Convert_v1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s conv out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // unable to generate simple pointer conversion for v1.LabelSelector -> unversioned.LabelSelector - if in.Selector != nil { - out.Selector = new(unversioned.LabelSelector) - if err := Convert_v1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector diff --git a/pkg/apis/batch/v1/defaults.go b/pkg/apis/batch/v1/defaults.go index 70dbaddc..3fcb01b0 100644 --- a/pkg/apis/batch/v1/defaults.go +++ b/pkg/apis/batch/v1/defaults.go @@ -21,6 +21,7 @@ import ( ) func addDefaultingFuncs(scheme *runtime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( SetDefaults_Job, ) diff --git a/pkg/apis/batch/v1/doc.go b/pkg/apis/batch/v1/doc.go index 608c03bd..7ae7265b 100644 --- a/pkg/apis/batch/v1/doc.go +++ b/pkg/apis/batch/v1/doc.go @@ -17,5 +17,6 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1 diff --git a/pkg/apis/batch/v1/generated.pb.go b/pkg/apis/batch/v1/generated.pb.go index 906c26b0..f062e52e 100644 --- a/pkg/apis/batch/v1/generated.pb.go +++ b/pkg/apis/batch/v1/generated.pb.go @@ -30,8 +30,6 @@ limitations under the License. JobList JobSpec JobStatus - LabelSelector - LabelSelectorRequirement */ package v1 @@ -44,7 +42,6 @@ import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import strings "strings" import reflect "reflect" -import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" import io "io" @@ -77,24 +74,12 @@ func (m *JobStatus) Reset() { *m = JobStatus{} } func (*JobStatus) ProtoMessage() {} func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } -func (m *LabelSelector) Reset() { *m = LabelSelector{} } -func (*LabelSelector) ProtoMessage() {} -func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } - -func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } -func (*LabelSelectorRequirement) ProtoMessage() {} -func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{6} -} - func init() { proto.RegisterType((*Job)(nil), "k8s.io.client-go.pkg.apis.batch.v1.Job") proto.RegisterType((*JobCondition)(nil), "k8s.io.client-go.pkg.apis.batch.v1.JobCondition") proto.RegisterType((*JobList)(nil), "k8s.io.client-go.pkg.apis.batch.v1.JobList") proto.RegisterType((*JobSpec)(nil), "k8s.io.client-go.pkg.apis.batch.v1.JobSpec") proto.RegisterType((*JobStatus)(nil), "k8s.io.client-go.pkg.apis.batch.v1.JobStatus") - proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.pkg.apis.batch.v1.LabelSelector") - proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.pkg.apis.batch.v1.LabelSelectorRequirement") } func (m *Job) Marshal() (data []byte, err error) { size := m.Size() @@ -346,94 +331,6 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *LabelSelector) 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 *LabelSelector) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.MatchLabels) > 0 { - for k := range m.MatchLabels { - data[i] = 0xa - i++ - v := m.MatchLabels[k] - mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - i = encodeVarintGenerated(data, i, uint64(mapSize)) - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(k))) - i += copy(data[i:], k) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(v))) - i += copy(data[i:], v) - } - } - if len(m.MatchExpressions) > 0 { - for _, msg := range m.MatchExpressions { - data[i] = 0x12 - 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 -} - -func (m *LabelSelectorRequirement) 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 *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Key))) - i += copy(data[i:], m.Key) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Operator))) - i += copy(data[i:], m.Operator) - if len(m.Values) > 0 { - for _, s := range m.Values { - data[i] = 0x1a - 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 -} - func encodeFixed64Generated(data []byte, offset int, v uint64) int { data[offset] = uint8(v) data[offset+1] = uint8(v >> 8) @@ -552,42 +449,6 @@ func (m *JobStatus) Size() (n int) { return n } -func (m *LabelSelector) Size() (n int) { - var l int - _ = l - if len(m.MatchLabels) > 0 { - for k, v := range m.MatchLabels { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) - } - } - if len(m.MatchExpressions) > 0 { - for _, e := range m.MatchExpressions { - l = e.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - -func (m *LabelSelectorRequirement) Size() (n int) { - var l int - _ = l - l = len(m.Key) - n += 1 + l + sovGenerated(uint64(l)) - l = len(m.Operator) - n += 1 + l + sovGenerated(uint64(l)) - if len(m.Values) > 0 { - for _, s := range m.Values { - l = len(s) - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - func sovGenerated(x uint64) (n int) { for { n++ @@ -647,7 +508,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", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -669,39 +530,6 @@ func (this *JobStatus) String() string { }, "") return s } -func (this *LabelSelector) String() string { - if this == nil { - return "nil" - } - keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) - for k := range this.MatchLabels { - keysForMatchLabels = append(keysForMatchLabels, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) - mapStringForMatchLabels := "map[string]string{" - for _, k := range keysForMatchLabels { - mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) - } - mapStringForMatchLabels += "}" - s := strings.Join([]string{`&LabelSelector{`, - `MatchLabels:` + mapStringForMatchLabels + `,`, - `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func (this *LabelSelectorRequirement) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&LabelSelectorRequirement{`, - `Key:` + fmt.Sprintf("%v", this.Key) + `,`, - `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, - `Values:` + fmt.Sprintf("%v", this.Values) + `,`, - `}`, - }, "") - return s -} func valueToStringGenerated(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -1303,7 +1131,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1585,335 +1413,6 @@ func (m *JobStatus) Unmarshal(data []byte) error { } return nil } -func (m *LabelSelector) 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: LabelSelector: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", 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 - } - var keykey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - keykey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey := string(data[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - var valuekey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - valuekey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue := string(data[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - if m.MatchLabels == nil { - m.MatchLabels = make(map[string]string) - } - m.MatchLabels[mapkey] = mapvalue - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", 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.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) - if err := m.MatchExpressions[len(m.MatchExpressions)-1].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 *LabelSelectorRequirement) 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: LabelSelectorRequirement: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", 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.Key = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operator", 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.Operator = LabelSelectorOperator(data[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Values", 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.Values = append(m.Values, string(data[iNdEx:postIndex])) - 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 @@ -2020,70 +1519,59 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 1027 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x6e, 0x23, 0x45, - 0x10, 0x8e, 0x3d, 0xb1, 0x63, 0xb7, 0x93, 0xac, 0x69, 0x88, 0x64, 0x2c, 0x91, 0xac, 0x0c, 0x42, - 0xbb, 0x62, 0x33, 0x23, 0x07, 0x90, 0x56, 0x2b, 0xb1, 0x12, 0x13, 0x82, 0x04, 0xc4, 0x24, 0x6a, - 0x47, 0x2b, 0xc4, 0xcf, 0xa1, 0x3d, 0xae, 0x75, 0x86, 0x8c, 0x67, 0x86, 0xe9, 0x1e, 0x43, 0x38, - 0x21, 0x71, 0xe0, 0xca, 0x43, 0xf0, 0x0c, 0xec, 0x2b, 0xe4, 0xb8, 0x70, 0xe2, 0x14, 0xc1, 0xf2, - 0x16, 0x9c, 0xe8, 0xee, 0xe9, 0xf9, 0xf1, 0x5f, 0xe4, 0xec, 0xa1, 0x25, 0x77, 0x75, 0x7d, 0x5f, - 0x55, 0x77, 0x7d, 0x55, 0x63, 0xf4, 0xee, 0xc5, 0x43, 0x66, 0xba, 0x81, 0x75, 0x11, 0x0f, 0x20, - 0xf2, 0x81, 0x03, 0xb3, 0xc2, 0x8b, 0x91, 0x45, 0x43, 0x97, 0x59, 0x03, 0xca, 0x9d, 0x73, 0x6b, - 0xd2, 0xb5, 0x46, 0xe0, 0x43, 0x44, 0x39, 0x0c, 0xcd, 0x30, 0x0a, 0x78, 0x80, 0xdf, 0x4c, 0x40, - 0x66, 0x0e, 0x32, 0x05, 0xc8, 0x94, 0x20, 0x53, 0x81, 0xcc, 0x49, 0xb7, 0xbd, 0x3f, 0x72, 0xf9, - 0x79, 0x3c, 0x30, 0x9d, 0x60, 0x6c, 0x8d, 0x82, 0x51, 0x60, 0x29, 0xec, 0x20, 0x7e, 0xaa, 0x76, - 0x6a, 0xa3, 0x7e, 0x25, 0x9c, 0xed, 0x83, 0xa5, 0x89, 0x58, 0x11, 0xb0, 0x20, 0x8e, 0x1c, 0x98, - 0xcd, 0xa3, 0xfd, 0xfe, 0x72, 0x4c, 0xec, 0x4f, 0x20, 0x62, 0x6e, 0xe0, 0xc3, 0x70, 0x0e, 0xf6, - 0x60, 0x39, 0x6c, 0xfe, 0xb2, 0xed, 0xfd, 0xc5, 0xde, 0x51, 0xec, 0x73, 0x77, 0x3c, 0x9f, 0x53, - 0x77, 0xb1, 0x7b, 0xcc, 0x5d, 0xcf, 0x72, 0x7d, 0xce, 0x78, 0x34, 0x0b, 0xe9, 0xfc, 0x52, 0x46, - 0xc6, 0xa7, 0xc1, 0x00, 0x7f, 0x81, 0x6a, 0x63, 0xe0, 0x74, 0x48, 0x39, 0x6d, 0x95, 0xee, 0x96, - 0xee, 0x35, 0x0e, 0xee, 0x99, 0x4b, 0x5f, 0x5a, 0x3c, 0xb1, 0x79, 0x32, 0xf8, 0x16, 0x1c, 0xde, - 0x13, 0x18, 0x1b, 0x5f, 0x5d, 0xef, 0xad, 0xbd, 0xb8, 0xde, 0x43, 0xb9, 0x8d, 0x64, 0x6c, 0xf8, - 0x73, 0xb4, 0xce, 0x42, 0x70, 0x5a, 0x65, 0xc5, 0xfa, 0xc0, 0x5c, 0xa1, 0x7e, 0xa6, 0xc8, 0xa8, - 0x2f, 0x30, 0xf6, 0xa6, 0x66, 0x5e, 0x97, 0x3b, 0xa2, 0x78, 0xf0, 0x13, 0x54, 0x65, 0x9c, 0xf2, - 0x98, 0xb5, 0x0c, 0xc5, 0x68, 0xae, 0xcc, 0xa8, 0x50, 0xf6, 0xb6, 0xe6, 0xac, 0x26, 0x7b, 0xa2, - 0xd9, 0x3a, 0x7f, 0x1a, 0x68, 0x53, 0x78, 0x1d, 0x06, 0xfe, 0xd0, 0xe5, 0xa2, 0x78, 0xf8, 0x3d, - 0xb4, 0xce, 0x2f, 0x43, 0x50, 0xcf, 0x51, 0xb7, 0xef, 0xa6, 0xa9, 0x9c, 0x09, 0xdb, 0x7f, 0xd7, - 0x7b, 0xcd, 0xa2, 0xaf, 0xb4, 0x11, 0xe5, 0x5d, 0x48, 0xaf, 0xac, 0x70, 0x8f, 0xa7, 0xc3, 0x09, - 0xe4, 0x8d, 0x12, 0x30, 0x33, 0xce, 0xe9, 0xf4, 0xf0, 0x39, 0xda, 0xf2, 0x28, 0xe3, 0xa7, 0x51, - 0x30, 0x80, 0x33, 0x51, 0x7c, 0x7d, 0xfb, 0x77, 0x6e, 0xa8, 0x52, 0x41, 0x87, 0xa6, 0x84, 0xd8, - 0x3b, 0x3a, 0x97, 0xad, 0xe3, 0x22, 0x13, 0x99, 0x26, 0xc6, 0xdf, 0x23, 0x2c, 0x0d, 0x67, 0x11, - 0xf5, 0x59, 0x72, 0x3b, 0x19, 0x6e, 0xfd, 0xf6, 0xe1, 0xda, 0x3a, 0x1c, 0x3e, 0x9e, 0xa3, 0x23, - 0x0b, 0x42, 0xe0, 0xb7, 0x51, 0x35, 0x02, 0xca, 0x02, 0xbf, 0x55, 0x51, 0x4f, 0x97, 0x55, 0x8a, - 0x28, 0x2b, 0xd1, 0xa7, 0xf8, 0x3e, 0xda, 0x18, 0x03, 0x63, 0x74, 0x04, 0xad, 0xaa, 0x72, 0xbc, - 0xa3, 0x1d, 0x37, 0x7a, 0x89, 0x99, 0xa4, 0xe7, 0x9d, 0x67, 0x25, 0xb4, 0x21, 0x0a, 0x75, 0xec, - 0x32, 0x8e, 0xbf, 0x99, 0x93, 0xb8, 0xb5, 0xe2, 0x6d, 0x24, 0x5c, 0x29, 0xbd, 0xa9, 0x03, 0xd5, - 0x52, 0x4b, 0x41, 0xe7, 0x3d, 0x54, 0x71, 0x39, 0x8c, 0x65, 0xdd, 0x8d, 0x9b, 0xdb, 0x67, 0x5a, - 0x96, 0xf6, 0x96, 0x26, 0xad, 0x7c, 0x22, 0xe1, 0x24, 0x61, 0xe9, 0x3c, 0x33, 0x54, 0xe6, 0x52, - 0xf8, 0xb8, 0x8b, 0x1a, 0x21, 0x8d, 0xa8, 0xe7, 0x81, 0xe7, 0xb2, 0xb1, 0x4a, 0xbe, 0x62, 0xdf, - 0x11, 0x90, 0xc6, 0x69, 0x6e, 0x26, 0x45, 0x1f, 0x09, 0x11, 0xc3, 0x2f, 0xf4, 0x40, 0xbe, 0x6e, - 0xa2, 0x45, 0x0d, 0x39, 0xcc, 0xcd, 0xa4, 0xe8, 0x83, 0x4f, 0xd0, 0x0e, 0x75, 0xb8, 0x3b, 0x81, - 0x8f, 0x80, 0x0e, 0x3d, 0xd7, 0x87, 0x3e, 0x38, 0x42, 0x8c, 0x49, 0x9f, 0x19, 0xf6, 0xeb, 0x02, - 0xbc, 0xf3, 0xe1, 0x22, 0x07, 0xb2, 0x18, 0x87, 0xbf, 0x46, 0x35, 0x06, 0x9e, 0x98, 0x08, 0x41, - 0xa4, 0xe5, 0x73, 0xb0, 0xd2, 0xa3, 0x1c, 0xd3, 0x01, 0x78, 0x7d, 0x8d, 0xb4, 0x37, 0xe5, 0x7b, - 0xa7, 0x3b, 0x92, 0x31, 0xe2, 0x47, 0x68, 0x7b, 0x4c, 0xfd, 0x98, 0x66, 0x9e, 0x4a, 0x35, 0x35, - 0x1b, 0x0b, 0xff, 0xed, 0xde, 0xd4, 0x09, 0x99, 0xf1, 0xc4, 0x5f, 0xa1, 0x9a, 0x78, 0xe4, 0xd0, - 0x13, 0x83, 0x50, 0x49, 0xa8, 0x71, 0xb0, 0x7f, 0xf3, 0xb4, 0x3b, 0x0d, 0x86, 0x67, 0x1a, 0xa0, - 0x06, 0x53, 0x26, 0x84, 0xd4, 0x4a, 0x32, 0xc2, 0xce, 0xef, 0x06, 0xaa, 0x67, 0xe3, 0x06, 0x03, - 0x42, 0x4e, 0xda, 0xd2, 0x4c, 0x94, 0x4e, 0x6a, 0xa3, 0xbb, 0xaa, 0x36, 0xb2, 0x61, 0x90, 0xcf, - 0xd8, 0xcc, 0xc4, 0x48, 0x81, 0x58, 0xcc, 0xef, 0xba, 0x18, 0x14, 0x11, 0x57, 0xbd, 0x5a, 0xbe, - 0x7d, 0xaf, 0x6e, 0x09, 0xee, 0x7a, 0x3f, 0x65, 0x20, 0x39, 0x19, 0x1e, 0xa1, 0xed, 0x5c, 0x25, - 0x2f, 0x3b, 0x79, 0x54, 0x51, 0x0e, 0xa7, 0x68, 0xc8, 0x0c, 0xad, 0x6c, 0xff, 0x44, 0x47, 0x4a, - 0x2c, 0x95, 0xbc, 0xfd, 0x13, 0xd1, 0x11, 0x7d, 0x8a, 0x2d, 0x71, 0xd5, 0xd8, 0x71, 0x00, 0x86, - 0x30, 0x54, 0x35, 0xaf, 0xd8, 0xaf, 0x68, 0xd7, 0x7a, 0x3f, 0x3d, 0x20, 0xb9, 0x8f, 0x24, 0x7e, - 0x4a, 0x5d, 0x4f, 0x78, 0x57, 0xa7, 0x89, 0x3f, 0x56, 0x56, 0xa2, 0x4f, 0x3b, 0x7f, 0x94, 0xd1, - 0xd6, 0x94, 0xf6, 0xf0, 0x8f, 0xa8, 0x31, 0x96, 0xe5, 0x50, 0xd6, 0xb4, 0x7a, 0x87, 0xb7, 0x17, - 0xb1, 0xd9, 0xcb, 0x59, 0x8e, 0x7c, 0x1e, 0x5d, 0xda, 0xaf, 0xea, 0x1c, 0x1a, 0x85, 0x13, 0x52, - 0x0c, 0x86, 0x7f, 0x2e, 0xa1, 0xa6, 0xda, 0x1f, 0xfd, 0x10, 0x8a, 0x7f, 0x21, 0x4c, 0xf7, 0xb1, - 0xcc, 0xe0, 0x83, 0xdb, 0x67, 0x40, 0xe0, 0xbb, 0xd8, 0x8d, 0x60, 0x0c, 0x3e, 0xb7, 0x5b, 0x3a, - 0x76, 0xb3, 0x37, 0x43, 0x4f, 0xe6, 0x02, 0xb6, 0x1f, 0xa3, 0xe6, 0x6c, 0xee, 0xb8, 0x89, 0x8c, - 0x0b, 0xb8, 0x4c, 0xbe, 0x8b, 0x44, 0xfe, 0xc4, 0xaf, 0xa1, 0xca, 0x84, 0x7a, 0x71, 0xa2, 0xbc, - 0x3a, 0x49, 0x36, 0x8f, 0xca, 0x0f, 0x4b, 0x9d, 0xdf, 0x4a, 0xa8, 0xb5, 0x2c, 0x11, 0xfc, 0x46, - 0x81, 0xc8, 0x6e, 0xe8, 0xac, 0x8c, 0xcf, 0xe0, 0x32, 0x61, 0x3d, 0x42, 0xb5, 0x20, 0x94, 0xff, - 0x56, 0x44, 0x6f, 0x27, 0x1f, 0xd3, 0xfb, 0x69, 0xdb, 0x9d, 0x68, 0xbb, 0xf8, 0x9c, 0xee, 0x4c, - 0xd1, 0xa7, 0x07, 0x24, 0x83, 0xe2, 0x0e, 0xaa, 0xaa, 0x7c, 0xe4, 0x20, 0x33, 0x04, 0x09, 0x92, - 0xa5, 0x7f, 0xa2, 0x2c, 0x44, 0x9f, 0xd8, 0x6f, 0x5d, 0xfd, 0xb3, 0xbb, 0xf6, 0x5c, 0xac, 0xbf, - 0xc4, 0xfa, 0xe9, 0xc5, 0x6e, 0xe9, 0x4a, 0xac, 0xe7, 0x62, 0xfd, 0x2d, 0xd6, 0xaf, 0xff, 0xee, - 0xae, 0x7d, 0x59, 0x9e, 0x74, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x8b, 0x10, 0xf1, 0xb1, - 0x0a, 0x00, 0x00, + // 863 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6f, 0xe3, 0x44, + 0x14, 0xce, 0x8f, 0xa6, 0x4d, 0xa6, 0x3f, 0x76, 0x19, 0xa9, 0x52, 0xc8, 0x21, 0x59, 0x05, 0x84, + 0x16, 0xb1, 0x1d, 0x2b, 0x65, 0x91, 0x10, 0x07, 0x24, 0x5c, 0x84, 0x44, 0xd5, 0xb2, 0xd5, 0xa4, + 0x42, 0x2b, 0x10, 0x48, 0x63, 0xfb, 0x6d, 0x3a, 0xd4, 0xf6, 0x58, 0x9e, 0x71, 0xd0, 0xde, 0xb8, + 0x71, 0xe5, 0xaf, 0x01, 0xf1, 0x1f, 0xf4, 0xb8, 0xe2, 0xc4, 0x29, 0xa2, 0xe6, 0xbf, 0xd8, 0x13, + 0xf2, 0x78, 0x62, 0x3b, 0x4d, 0x1a, 0xa5, 0xdc, 0x3c, 0x6f, 0xbe, 0xef, 0x7b, 0xcf, 0xef, 0x7d, + 0xf3, 0xd0, 0xc7, 0xd7, 0x9f, 0x4a, 0xc2, 0x85, 0x75, 0x9d, 0x38, 0x10, 0x87, 0xa0, 0x40, 0x5a, + 0xd1, 0xf5, 0xc4, 0x62, 0x11, 0x97, 0x96, 0xc3, 0x94, 0x7b, 0x65, 0x4d, 0x47, 0xd6, 0x04, 0x42, + 0x88, 0x99, 0x02, 0x8f, 0x44, 0xb1, 0x50, 0x02, 0xbf, 0x97, 0x93, 0x48, 0x49, 0x22, 0xd1, 0xf5, + 0x84, 0x64, 0x24, 0xa2, 0x49, 0x64, 0x3a, 0xea, 0x1d, 0x4d, 0xb8, 0xba, 0x4a, 0x1c, 0xe2, 0x8a, + 0xc0, 0x9a, 0x88, 0x89, 0xb0, 0x34, 0xd7, 0x49, 0x5e, 0xe9, 0x93, 0x3e, 0xe8, 0xaf, 0x5c, 0xb3, + 0x77, 0x7c, 0x6f, 0x21, 0x56, 0x0c, 0x52, 0x24, 0xb1, 0x0b, 0x77, 0xeb, 0xe8, 0x7d, 0x72, 0x3f, + 0x27, 0x09, 0xa7, 0x10, 0x4b, 0x2e, 0x42, 0xf0, 0x96, 0x68, 0xcf, 0xee, 0xa7, 0x2d, 0xff, 0x6c, + 0xef, 0x68, 0x35, 0x3a, 0x4e, 0x42, 0xc5, 0x83, 0xe5, 0x9a, 0x46, 0xab, 0xe1, 0x89, 0xe2, 0xbe, + 0xc5, 0x43, 0x25, 0x55, 0x7c, 0x97, 0x32, 0xfc, 0xb5, 0x81, 0x9a, 0xa7, 0xc2, 0xc1, 0x2f, 0x51, + 0x3b, 0x00, 0xc5, 0x3c, 0xa6, 0x58, 0xb7, 0xfe, 0xa4, 0xfe, 0x74, 0xf7, 0xf8, 0x29, 0xb9, 0xb7, + 0xd3, 0x64, 0x3a, 0x22, 0x2f, 0x9c, 0x9f, 0xc0, 0x55, 0xe7, 0xa0, 0x98, 0x8d, 0x6f, 0x66, 0x83, + 0x5a, 0x3a, 0x1b, 0xa0, 0x32, 0x46, 0x0b, 0x35, 0xfc, 0x0d, 0xda, 0x92, 0x11, 0xb8, 0xdd, 0x86, + 0x56, 0x7d, 0x46, 0x36, 0x98, 0x1f, 0x39, 0x15, 0xce, 0x38, 0x02, 0xd7, 0xde, 0x33, 0xca, 0x5b, + 0xd9, 0x89, 0x6a, 0x1d, 0xfc, 0x2d, 0xda, 0x96, 0x8a, 0xa9, 0x44, 0x76, 0x9b, 0x5a, 0x91, 0x6c, + 0xac, 0xa8, 0x59, 0xf6, 0x81, 0xd1, 0xdc, 0xce, 0xcf, 0xd4, 0xa8, 0x0d, 0xff, 0x6a, 0xa2, 0xbd, + 0x53, 0xe1, 0x9c, 0x88, 0xd0, 0xe3, 0x8a, 0x8b, 0x10, 0x3f, 0x47, 0x5b, 0xea, 0x75, 0x04, 0xba, + 0x1d, 0x1d, 0xfb, 0xc9, 0xbc, 0x94, 0xcb, 0xd7, 0x11, 0xbc, 0x9d, 0x0d, 0x1e, 0x57, 0xb1, 0x59, + 0x8c, 0x6a, 0x74, 0xa5, 0xbc, 0x86, 0xe6, 0x7d, 0xbe, 0x98, 0xee, 0xed, 0x6c, 0xb0, 0xd6, 0x02, + 0xa4, 0xd0, 0x5c, 0x2c, 0x0f, 0x5f, 0xa1, 0x7d, 0x9f, 0x49, 0x75, 0x11, 0x0b, 0x07, 0x2e, 0x79, + 0x00, 0xe6, 0xef, 0x3f, 0x5a, 0x33, 0xa5, 0x8a, 0x0f, 0x49, 0x46, 0xb1, 0x0f, 0x4d, 0x2d, 0xfb, + 0x67, 0x55, 0x25, 0xba, 0x28, 0x8c, 0x7f, 0x46, 0x38, 0x0b, 0x5c, 0xc6, 0x2c, 0x94, 0xf9, 0xdf, + 0x65, 0xe9, 0xb6, 0x1e, 0x9e, 0xae, 0x67, 0xd2, 0xe1, 0xb3, 0x25, 0x39, 0xba, 0x22, 0x05, 0xfe, + 0x00, 0x6d, 0xc7, 0xc0, 0xa4, 0x08, 0xbb, 0x2d, 0xdd, 0xba, 0x62, 0x52, 0x54, 0x47, 0xa9, 0xb9, + 0xc5, 0x1f, 0xa2, 0x9d, 0x00, 0xa4, 0x64, 0x13, 0xe8, 0x6e, 0x6b, 0xe0, 0x23, 0x03, 0xdc, 0x39, + 0xcf, 0xc3, 0x74, 0x7e, 0x3f, 0xfc, 0xa3, 0x8e, 0x76, 0x4e, 0x85, 0x73, 0xc6, 0xa5, 0xc2, 0x3f, + 0x2c, 0x59, 0xdc, 0xda, 0xf0, 0x6f, 0x32, 0xba, 0x76, 0xfa, 0x63, 0x93, 0xa8, 0x3d, 0x8f, 0x54, + 0x7c, 0x7e, 0x8e, 0x5a, 0x5c, 0x41, 0x90, 0xcd, 0xbd, 0xb9, 0xfe, 0xf9, 0x2c, 0xda, 0xd2, 0xde, + 0x37, 0xa2, 0xad, 0xaf, 0x33, 0x3a, 0xcd, 0x55, 0x86, 0x7f, 0x36, 0x75, 0xe5, 0x99, 0xf1, 0xf1, + 0x08, 0xed, 0x46, 0x2c, 0x66, 0xbe, 0x0f, 0x3e, 0x97, 0x81, 0x2e, 0xbe, 0x65, 0x3f, 0x4a, 0x67, + 0x83, 0xdd, 0x8b, 0x32, 0x4c, 0xab, 0x98, 0x8c, 0xe2, 0x8a, 0x20, 0xf2, 0x21, 0xeb, 0x6e, 0xee, + 0x45, 0x43, 0x39, 0x29, 0xc3, 0xb4, 0x8a, 0xc1, 0x2f, 0xd0, 0x21, 0x73, 0x15, 0x9f, 0xc2, 0x97, + 0xc0, 0x3c, 0x9f, 0x87, 0x30, 0x06, 0x57, 0x84, 0x5e, 0xfe, 0xce, 0x9a, 0xf6, 0xbb, 0xe9, 0x6c, + 0x70, 0xf8, 0xc5, 0x2a, 0x00, 0x5d, 0xcd, 0xc3, 0x3f, 0xa2, 0xb6, 0x04, 0x1f, 0x5c, 0x25, 0x62, + 0x63, 0x9f, 0xe7, 0x9b, 0x36, 0x9c, 0x39, 0xe0, 0x8f, 0x0d, 0xd7, 0xde, 0xcb, 0x3a, 0x3e, 0x3f, + 0xd1, 0x42, 0x13, 0x7f, 0x86, 0x0e, 0x02, 0x16, 0x26, 0xac, 0x40, 0x6a, 0xdf, 0xb4, 0x6d, 0x9c, + 0xce, 0x06, 0x07, 0xe7, 0x0b, 0x37, 0xf4, 0x0e, 0x12, 0x7f, 0x8f, 0xda, 0x0a, 0x82, 0xc8, 0x67, + 0x2a, 0x37, 0xd1, 0xee, 0xf1, 0xd1, 0xfa, 0x7d, 0x77, 0x21, 0xbc, 0x4b, 0x43, 0xd0, 0xab, 0xa9, + 0xb0, 0xc2, 0x3c, 0x4a, 0x0b, 0xc1, 0xe1, 0xef, 0x4d, 0xd4, 0x29, 0x16, 0x0e, 0x06, 0x84, 0xdc, + 0xf9, 0xa3, 0x96, 0xdd, 0xba, 0x76, 0xc7, 0x68, 0x53, 0x77, 0x14, 0xeb, 0xa0, 0xdc, 0xb2, 0x45, + 0x48, 0xd2, 0x8a, 0x30, 0x7e, 0x89, 0x3a, 0x52, 0xb1, 0x58, 0xe9, 0xd7, 0xda, 0x78, 0xf8, 0x6b, + 0xdd, 0x4f, 0x67, 0x83, 0xce, 0x78, 0xae, 0x40, 0x4b, 0x31, 0x3c, 0x41, 0x07, 0xa5, 0x4f, 0xfe, + 0xef, 0xee, 0xd1, 0x43, 0x39, 0x59, 0x90, 0xa1, 0x77, 0x64, 0xb3, 0x05, 0x90, 0x3b, 0x49, 0xdb, + 0xa5, 0x55, 0x2e, 0x80, 0xdc, 0x76, 0xd4, 0xdc, 0x62, 0x0b, 0x75, 0x64, 0xe2, 0xba, 0x00, 0x1e, + 0x78, 0x7a, 0xe6, 0x2d, 0xfb, 0x1d, 0x03, 0xed, 0x8c, 0xe7, 0x17, 0xb4, 0xc4, 0x64, 0xc2, 0xaf, + 0x18, 0xf7, 0xc1, 0xd3, 0xb3, 0xae, 0x08, 0x7f, 0xa5, 0xa3, 0xd4, 0xdc, 0xda, 0xef, 0xdf, 0xdc, + 0xf6, 0x6b, 0x6f, 0x6e, 0xfb, 0xb5, 0xbf, 0x6f, 0xfb, 0xb5, 0x5f, 0xd2, 0x7e, 0xfd, 0x26, 0xed, + 0xd7, 0xdf, 0xa4, 0xfd, 0xfa, 0x3f, 0x69, 0xbf, 0xfe, 0xdb, 0xbf, 0xfd, 0xda, 0x77, 0x8d, 0xe9, + 0xe8, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x45, 0x86, 0xd9, 0xb8, 0x08, 0x00, 0x00, } diff --git a/pkg/apis/batch/v1/generated.proto b/pkg/apis/batch/v1/generated.proto index 06d6edc0..17a6add0 100644 --- a/pkg/apis/batch/v1/generated.proto +++ b/pkg/apis/batch/v1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.batch.v1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1"; @@ -34,14 +34,17 @@ option go_package = "v1"; message Job { // Standard object's 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; // Spec is a structure defining the expected behavior of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobSpec spec = 2; // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobStatus status = 3; } @@ -54,15 +57,19 @@ message JobCondition { optional string status = 2; // Last time the condition was checked. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastProbeTime = 3; // Last time the condition transit from one status to another. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. + // +optional optional string reason = 5; // Human readable message indicating details about last transition. + // +optional optional string message = 6; } @@ -70,6 +77,7 @@ message JobCondition { message JobList { // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of Job. @@ -83,6 +91,7 @@ message JobSpec { // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional optional int32 parallelism = 1; // Completions specifies the desired number of successfully finished pods the @@ -91,16 +100,19 @@ message JobSpec { // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional optional int32 completions = 2; // Optional duration in seconds relative to the startTime that the job may be active // before the system tries to terminate it; value must be positive integer + // +optional optional int64 activeDeadlineSeconds = 3; // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - optional LabelSelector selector = 4; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -112,6 +124,7 @@ message JobSpec { // `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` // API. // More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md + // +optional optional bool manualSelector = 5; // Template is the object that describes the pod that will be created when @@ -124,55 +137,31 @@ message JobSpec { message JobStatus { // Conditions represent the latest available observations of an object's current state. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional repeated JobCondition conditions = 1; // StartTime represents time when the job was acknowledged by the Job Manager. // 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.api.unversioned.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.api.unversioned.Time completionTime = 3; // Active is the number of actively running pods. + // +optional optional int32 active = 4; // Succeeded is the number of pods which reached Phase Succeeded. + // +optional optional int32 succeeded = 5; // Failed is the number of pods which reached Phase Failed. + // +optional optional int32 failed = 6; } -// A label selector is a label query over a set of resources. The result of matchLabels and -// matchExpressions are ANDed. An empty label selector matches all objects. A null -// label selector matches no objects. -message LabelSelector { - // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels - // map is equivalent to an element of matchExpressions, whose key field is "key", the - // operator is "In", and the values array contains only "value". The requirements are ANDed. - map matchLabels = 1; - - // matchExpressions is a list of label selector requirements. The requirements are ANDed. - repeated LabelSelectorRequirement matchExpressions = 2; -} - -// A label selector requirement is a selector that contains values, a key, and an operator that -// relates the key and values. -message LabelSelectorRequirement { - // key is the label key that the selector applies to. - optional string key = 1; - - // operator represents a key's relationship to a set of values. - // Valid operators ard In, NotIn, Exists and DoesNotExist. - optional string operator = 2; - - // values is an array of string values. If the operator is In or NotIn, - // the values array must be non-empty. If the operator is Exists or DoesNotExist, - // the values array must be empty. This array is replaced during a strategic - // merge patch. - repeated string values = 3; -} - diff --git a/pkg/apis/batch/v1/types.generated.go b/pkg/apis/batch/v1/types.generated.go index c7ad51bf..b6c6658d 100644 --- a/pkg/apis/batch/v1/types.generated.go +++ b/pkg/apis/batch/v1/types.generated.go @@ -908,7 +908,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym82 := z.EncBinary() + _ = yym82 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() @@ -921,7 +927,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym83 := z.EncBinary() + _ = yym83 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } @@ -931,12 +943,12 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy83 := *x.ManualSelector - yym84 := z.EncBinary() - _ = yym84 + yy85 := *x.ManualSelector + yym86 := z.EncBinary() + _ = yym86 if false { } else { - r.EncodeBool(bool(yy83)) + r.EncodeBool(bool(yy85)) } } } else { @@ -950,26 +962,26 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy85 := *x.ManualSelector - yym86 := z.EncBinary() - _ = yym86 + yy87 := *x.ManualSelector + yym88 := z.EncBinary() + _ = yym88 if false { } else { - r.EncodeBool(bool(yy85)) + r.EncodeBool(bool(yy87)) } } } } if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy88 := &x.Template - yy88.CodecEncodeSelf(e) + yy90 := &x.Template + yy90.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy89 := &x.Template - yy89.CodecEncodeSelf(e) + yy91 := &x.Template + yy91.CodecEncodeSelf(e) } if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -984,25 +996,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym90 := z.DecBinary() - _ = yym90 + yym92 := z.DecBinary() + _ = yym92 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct91 := r.ContainerType() - if yyct91 == codecSelferValueTypeMap1234 { - yyl91 := r.ReadMapStart() - if yyl91 == 0 { + yyct93 := r.ContainerType() + if yyct93 == codecSelferValueTypeMap1234 { + yyl93 := r.ReadMapStart() + if yyl93 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl91, d) + x.codecDecodeSelfFromMap(yyl93, d) } - } else if yyct91 == codecSelferValueTypeArray1234 { - yyl91 := r.ReadArrayStart() - if yyl91 == 0 { + } else if yyct93 == codecSelferValueTypeArray1234 { + yyl93 := r.ReadArrayStart() + if yyl93 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl91, d) + x.codecDecodeSelfFromArray(yyl93, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1014,12 +1026,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys92Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys92Slc - var yyhl92 bool = l >= 0 - for yyj92 := 0; ; yyj92++ { - if yyhl92 { - if yyj92 >= l { + var yys94Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys94Slc + var yyhl94 bool = l >= 0 + for yyj94 := 0; ; yyj94++ { + if yyhl94 { + if yyj94 >= l { break } } else { @@ -1028,10 +1040,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys92Slc = r.DecodeBytes(yys92Slc, true, true) - yys92 := string(yys92Slc) + yys94Slc = r.DecodeBytes(yys94Slc, true, true) + yys94 := string(yys94Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys92 { + switch yys94 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1041,8 +1053,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym94 := z.DecBinary() - _ = yym94 + yym96 := z.DecBinary() + _ = yym96 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1057,8 +1069,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym96 := z.DecBinary() - _ = yym96 + yym98 := z.DecBinary() + _ = yym98 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1073,8 +1085,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym98 := z.DecBinary() - _ = yym98 + yym100 := z.DecBinary() + _ = yym100 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1087,9 +1099,15 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym102 := z.DecBinary() + _ = yym102 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } case "manualSelector": if r.TryDecodeAsNil() { @@ -1100,8 +1118,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym101 := z.DecBinary() - _ = yym101 + yym104 := z.DecBinary() + _ = yym104 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1111,13 +1129,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv102 := &x.Template - yyv102.CodecDecodeSelf(d) + yyv105 := &x.Template + yyv105.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys92) - } // end switch yys92 - } // end for yyj92 + z.DecStructFieldNotFound(-1, yys94) + } // end switch yys94 + } // end for yyj94 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1125,16 +1143,16 @@ func (x *JobSpec) 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 yyj106 int + var yyb106 bool + var yyhl106 bool = l >= 0 + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1147,20 +1165,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym105 := z.DecBinary() - _ = yym105 + yym108 := z.DecBinary() + _ = yym108 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1173,20 +1191,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym107 := z.DecBinary() - _ = yym107 + yym110 := z.DecBinary() + _ = yym110 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1199,20 +1217,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym109 := z.DecBinary() - _ = yym109 + yym112 := z.DecBinary() + _ = yym112 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1223,17 +1241,23 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym114 := z.DecBinary() + _ = yym114 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1246,20 +1270,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym112 := z.DecBinary() - _ = yym112 + yym116 := z.DecBinary() + _ = yym116 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1267,21 +1291,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv113 := &x.Template - yyv113.CodecDecodeSelf(d) + yyv117 := &x.Template + yyv117.CodecDecodeSelf(d) } for { - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj103-1, "") + z.DecStructFieldNotFound(yyj106-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1293,43 +1317,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym114 := z.EncBinary() - _ = yym114 + yym118 := z.EncBinary() + _ = yym118 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep115 := !z.EncBinary() - yy2arr115 := z.EncBasicHandle().StructToArray - var yyq115 [6]bool - _, _, _ = yysep115, yyq115, yy2arr115 - const yyr115 bool = false - yyq115[0] = len(x.Conditions) != 0 - yyq115[1] = x.StartTime != nil - yyq115[2] = x.CompletionTime != nil - yyq115[3] = x.Active != 0 - yyq115[4] = x.Succeeded != 0 - yyq115[5] = x.Failed != 0 - var yynn115 int - if yyr115 || yy2arr115 { + 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 { r.EncodeArrayStart(6) } else { - yynn115 = 0 - for _, b := range yyq115 { + yynn119 = 0 + for _, b := range yyq119 { if b { - yynn115++ + yynn119++ } } - r.EncodeMapStart(yynn115) - yynn115 = 0 + r.EncodeMapStart(yynn119) + yynn119 = 0 } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[0] { + if yyq119[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym117 := z.EncBinary() - _ = yym117 + yym121 := z.EncBinary() + _ = yym121 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1339,15 +1363,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[0] { + if yyq119[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym118 := z.EncBinary() - _ = yym118 + yym122 := z.EncBinary() + _ = yym122 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1355,19 +1379,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[1] { + if yyq119[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym120 := z.EncBinary() - _ = yym120 + yym124 := z.EncBinary() + _ = yym124 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym120 { + } else if yym124 { z.EncBinaryMarshal(x.StartTime) - } else if !yym120 && z.IsJSONHandle() { + } else if !yym124 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1377,20 +1401,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[1] { + if yyq119[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym121 := z.EncBinary() - _ = yym121 + yym125 := z.EncBinary() + _ = yym125 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym121 { + } else if yym125 { z.EncBinaryMarshal(x.StartTime) - } else if !yym121 && z.IsJSONHandle() { + } else if !yym125 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1398,19 +1422,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[2] { + if yyq119[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym123 := z.EncBinary() - _ = yym123 + yym127 := z.EncBinary() + _ = yym127 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym123 { + } else if yym127 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym123 && z.IsJSONHandle() { + } else if !yym127 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1420,20 +1444,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[2] { + if yyq119[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym124 := z.EncBinary() - _ = yym124 + yym128 := z.EncBinary() + _ = yym128 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym124 { + } else if yym128 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym124 && z.IsJSONHandle() { + } else if !yym128 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1441,61 +1465,61 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[3] { - yym126 := z.EncBinary() - _ = yym126 - if false { - } else { - r.EncodeInt(int64(x.Active)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq115[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("active")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym127 := z.EncBinary() - _ = yym127 - if false { - } else { - r.EncodeInt(int64(x.Active)) - } - } - } - if yyr115 || yy2arr115 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[4] { - yym129 := z.EncBinary() - _ = yym129 - if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq115[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("succeeded")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq119[3] { yym130 := z.EncBinary() _ = yym130 if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq119[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("active")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym131 := z.EncBinary() + _ = yym131 + if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } + } + if yyr119 || yy2arr119 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq119[4] { + yym133 := z.EncBinary() + _ = yym133 + if false { + } else { + r.EncodeInt(int64(x.Succeeded)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq119[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("succeeded")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym134 := z.EncBinary() + _ = yym134 + if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[5] { - yym132 := z.EncBinary() - _ = yym132 + if yyq119[5] { + yym136 := z.EncBinary() + _ = yym136 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -1504,19 +1528,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq115[5] { + if yyq119[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym133 := z.EncBinary() - _ = yym133 + yym137 := z.EncBinary() + _ = yym137 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1529,25 +1553,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym134 := z.DecBinary() - _ = yym134 + yym138 := z.DecBinary() + _ = yym138 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct135 := r.ContainerType() - if yyct135 == codecSelferValueTypeMap1234 { - yyl135 := r.ReadMapStart() - if yyl135 == 0 { + yyct139 := r.ContainerType() + if yyct139 == codecSelferValueTypeMap1234 { + yyl139 := r.ReadMapStart() + if yyl139 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl135, d) + x.codecDecodeSelfFromMap(yyl139, d) } - } else if yyct135 == codecSelferValueTypeArray1234 { - yyl135 := r.ReadArrayStart() - if yyl135 == 0 { + } else if yyct139 == codecSelferValueTypeArray1234 { + yyl139 := r.ReadArrayStart() + if yyl139 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl135, d) + x.codecDecodeSelfFromArray(yyl139, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1559,12 +1583,12 @@ func (x *JobStatus) 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 yys140Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys140Slc + var yyhl140 bool = l >= 0 + for yyj140 := 0; ; yyj140++ { + if yyhl140 { + if yyj140 >= l { break } } else { @@ -1573,20 +1597,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys136Slc = r.DecodeBytes(yys136Slc, true, true) - yys136 := string(yys136Slc) + yys140Slc = r.DecodeBytes(yys140Slc, true, true) + yys140 := string(yys140Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys136 { + switch yys140 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv137 := &x.Conditions - yym138 := z.DecBinary() - _ = yym138 + yyv141 := &x.Conditions + yym142 := z.DecBinary() + _ = yym142 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv137), d) + h.decSliceJobCondition((*[]JobCondition)(yyv141), d) } } case "startTime": @@ -1598,13 +1622,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym140 := z.DecBinary() - _ = yym140 + yym144 := z.DecBinary() + _ = yym144 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym140 { + } else if yym144 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym140 && z.IsJSONHandle() { + } else if !yym144 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -1619,13 +1643,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym142 := z.DecBinary() - _ = yym142 + yym146 := z.DecBinary() + _ = yym146 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym142 { + } else if yym146 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym142 && z.IsJSONHandle() { + } else if !yym146 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -1650,9 +1674,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys136) - } // end switch yys136 - } // end for yyj136 + z.DecStructFieldNotFound(-1, yys140) + } // end switch yys140 + } // end for yyj140 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1660,16 +1684,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj146 int - var yyb146 bool - var yyhl146 bool = l >= 0 - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + var yyj150 int + var yyb150 bool + var yyhl150 bool = l >= 0 + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1677,21 +1701,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv147 := &x.Conditions - yym148 := z.DecBinary() - _ = yym148 + yyv151 := &x.Conditions + yym152 := z.DecBinary() + _ = yym152 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv147), d) + h.decSliceJobCondition((*[]JobCondition)(yyv151), d) } } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1704,25 +1728,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym150 := z.DecBinary() - _ = yym150 + yym154 := z.DecBinary() + _ = yym154 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym150 { + } else if yym154 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym150 && z.IsJSONHandle() { + } else if !yym154 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1735,25 +1759,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym152 := z.DecBinary() - _ = yym152 + yym156 := z.DecBinary() + _ = yym156 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym152 { + } else if yym156 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym152 && z.IsJSONHandle() { + } else if !yym156 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1763,13 +1787,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1779,13 +1803,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1796,17 +1820,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj146-1, "") + z.DecStructFieldNotFound(yyj150-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1815,8 +1839,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym156 := z.EncBinary() - _ = yym156 + yym160 := z.EncBinary() + _ = yym160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1828,8 +1852,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym157 := z.DecBinary() - _ = yym157 + yym161 := z.DecBinary() + _ = yym161 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1844,34 +1868,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym158 := z.EncBinary() - _ = yym158 + yym162 := z.EncBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep159 := !z.EncBinary() - yy2arr159 := z.EncBasicHandle().StructToArray - var yyq159 [6]bool - _, _, _ = yysep159, yyq159, yy2arr159 - const yyr159 bool = false - yyq159[2] = true - yyq159[3] = true - yyq159[4] = x.Reason != "" - yyq159[5] = x.Message != "" - var yynn159 int - if yyr159 || yy2arr159 { + 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 { r.EncodeArrayStart(6) } else { - yynn159 = 2 - for _, b := range yyq159 { + yynn163 = 2 + for _, b := range yyq163 { if b { - yynn159++ + yynn163++ } } - r.EncodeMapStart(yynn159) - yynn159 = 0 + r.EncodeMapStart(yynn163) + yynn163 = 0 } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1880,10 +1904,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym162 := z.EncBinary() - _ = yym162 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -1893,139 +1917,139 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym163 := z.EncBinary() - _ = yym163 + yym167 := z.EncBinary() + _ = yym167 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq159[2] { - yy165 := &x.LastProbeTime - yym166 := z.EncBinary() - _ = yym166 + if yyq163[2] { + yy169 := &x.LastProbeTime + yym170 := z.EncBinary() + _ = yym170 if false { - } else if z.HasExtensions() && z.EncExt(yy165) { - } else if yym166 { - z.EncBinaryMarshal(yy165) - } else if !yym166 && z.IsJSONHandle() { - z.EncJSONMarshal(yy165) + } else if z.HasExtensions() && z.EncExt(yy169) { + } else if yym170 { + z.EncBinaryMarshal(yy169) + } else if !yym170 && z.IsJSONHandle() { + z.EncJSONMarshal(yy169) } else { - z.EncFallback(yy165) + z.EncFallback(yy169) } } else { r.EncodeNil() } } else { - if yyq159[2] { + if yyq163[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy167 := &x.LastProbeTime - yym168 := z.EncBinary() - _ = yym168 + yy171 := &x.LastProbeTime + yym172 := z.EncBinary() + _ = yym172 if false { - } else if z.HasExtensions() && z.EncExt(yy167) { - } else if yym168 { - z.EncBinaryMarshal(yy167) - } else if !yym168 && z.IsJSONHandle() { - z.EncJSONMarshal(yy167) + } else if z.HasExtensions() && z.EncExt(yy171) { + } else if yym172 { + z.EncBinaryMarshal(yy171) + } else if !yym172 && z.IsJSONHandle() { + z.EncJSONMarshal(yy171) } else { - z.EncFallback(yy167) + z.EncFallback(yy171) } } } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq159[3] { - yy170 := &x.LastTransitionTime - yym171 := z.EncBinary() - _ = yym171 + if yyq163[3] { + yy174 := &x.LastTransitionTime + yym175 := z.EncBinary() + _ = yym175 if false { - } else if z.HasExtensions() && z.EncExt(yy170) { - } else if yym171 { - z.EncBinaryMarshal(yy170) - } else if !yym171 && z.IsJSONHandle() { - z.EncJSONMarshal(yy170) + } else if z.HasExtensions() && z.EncExt(yy174) { + } else if yym175 { + z.EncBinaryMarshal(yy174) + } else if !yym175 && z.IsJSONHandle() { + z.EncJSONMarshal(yy174) } else { - z.EncFallback(yy170) + z.EncFallback(yy174) } } else { r.EncodeNil() } } else { - if yyq159[3] { + if yyq163[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy172 := &x.LastTransitionTime - yym173 := z.EncBinary() - _ = yym173 + yy176 := &x.LastTransitionTime + yym177 := z.EncBinary() + _ = yym177 if false { - } else if z.HasExtensions() && z.EncExt(yy172) { - } else if yym173 { - z.EncBinaryMarshal(yy172) - } else if !yym173 && z.IsJSONHandle() { - z.EncJSONMarshal(yy172) + } else if z.HasExtensions() && z.EncExt(yy176) { + } else if yym177 { + z.EncBinaryMarshal(yy176) + } else if !yym177 && z.IsJSONHandle() { + z.EncJSONMarshal(yy176) } else { - z.EncFallback(yy172) + z.EncFallback(yy176) } } } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq159[4] { - yym175 := z.EncBinary() - _ = yym175 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq159[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym176 := z.EncBinary() - _ = yym176 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr159 || yy2arr159 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq159[5] { - yym178 := z.EncBinary() - _ = yym178 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq159[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq163[4] { yym179 := z.EncBinary() _ = yym179 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq163[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym180 := z.EncBinary() + _ = yym180 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr163 || yy2arr163 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq163[5] { + yym182 := z.EncBinary() + _ = yym182 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq163[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym183 := z.EncBinary() + _ = yym183 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2038,25 +2062,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym180 := z.DecBinary() - _ = yym180 + yym184 := z.DecBinary() + _ = yym184 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct181 := r.ContainerType() - if yyct181 == codecSelferValueTypeMap1234 { - yyl181 := r.ReadMapStart() - if yyl181 == 0 { + yyct185 := r.ContainerType() + if yyct185 == codecSelferValueTypeMap1234 { + yyl185 := r.ReadMapStart() + if yyl185 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl181, d) + x.codecDecodeSelfFromMap(yyl185, d) } - } else if yyct181 == codecSelferValueTypeArray1234 { - yyl181 := r.ReadArrayStart() - if yyl181 == 0 { + } else if yyct185 == codecSelferValueTypeArray1234 { + yyl185 := r.ReadArrayStart() + if yyl185 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl181, d) + x.codecDecodeSelfFromArray(yyl185, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2068,12 +2092,12 @@ func (x *JobCondition) 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 yys186Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys186Slc + var yyhl186 bool = l >= 0 + for yyj186 := 0; ; yyj186++ { + if yyhl186 { + if yyj186 >= l { break } } else { @@ -2082,10 +2106,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys182Slc = r.DecodeBytes(yys182Slc, true, true) - yys182 := string(yys182Slc) + yys186Slc = r.DecodeBytes(yys186Slc, true, true) + yys186 := string(yys186Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys182 { + switch yys186 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2102,34 +2126,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv185 := &x.LastProbeTime - yym186 := z.DecBinary() - _ = yym186 + yyv189 := &x.LastProbeTime + yym190 := z.DecBinary() + _ = yym190 if false { - } else if z.HasExtensions() && z.DecExt(yyv185) { - } else if yym186 { - z.DecBinaryUnmarshal(yyv185) - } else if !yym186 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv185) + } else if z.HasExtensions() && z.DecExt(yyv189) { + } else if yym190 { + z.DecBinaryUnmarshal(yyv189) + } else if !yym190 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv189) } else { - z.DecFallback(yyv185, false) + z.DecFallback(yyv189, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv187 := &x.LastTransitionTime - yym188 := z.DecBinary() - _ = yym188 + yyv191 := &x.LastTransitionTime + yym192 := z.DecBinary() + _ = yym192 if false { - } else if z.HasExtensions() && z.DecExt(yyv187) { - } else if yym188 { - z.DecBinaryUnmarshal(yyv187) - } else if !yym188 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv187) + } else if z.HasExtensions() && z.DecExt(yyv191) { + } else if yym192 { + z.DecBinaryUnmarshal(yyv191) + } else if !yym192 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv191) } else { - z.DecFallback(yyv187, false) + z.DecFallback(yyv191, false) } } case "reason": @@ -2145,9 +2169,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys182) - } // end switch yys182 - } // end for yyj182 + z.DecStructFieldNotFound(-1, yys186) + } // end switch yys186 + } // end for yyj186 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2155,16 +2179,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj191 int - var yyb191 bool - var yyhl191 bool = l >= 0 - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + var yyj195 int + var yyb195 bool + var yyhl195 bool = l >= 0 + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2174,13 +2198,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2190,13 +2214,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2204,26 +2228,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv194 := &x.LastProbeTime - yym195 := z.DecBinary() - _ = yym195 + yyv198 := &x.LastProbeTime + yym199 := z.DecBinary() + _ = yym199 if false { - } else if z.HasExtensions() && z.DecExt(yyv194) { - } else if yym195 { - z.DecBinaryUnmarshal(yyv194) - } else if !yym195 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv194) + } else if z.HasExtensions() && z.DecExt(yyv198) { + } else if yym199 { + z.DecBinaryUnmarshal(yyv198) + } else if !yym199 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv198) } else { - z.DecFallback(yyv194, false) + z.DecFallback(yyv198, false) } } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2231,26 +2255,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv196 := &x.LastTransitionTime - yym197 := z.DecBinary() - _ = yym197 + yyv200 := &x.LastTransitionTime + yym201 := z.DecBinary() + _ = yym201 if false { - } else if z.HasExtensions() && z.DecExt(yyv196) { - } else if yym197 { - z.DecBinaryUnmarshal(yyv196) - } else if !yym197 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv196) + } else if z.HasExtensions() && z.DecExt(yyv200) { + } else if yym201 { + z.DecBinaryUnmarshal(yyv200) + } else if !yym201 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv200) } else { - z.DecFallback(yyv196, false) + z.DecFallback(yyv200, false) } } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2260,13 +2284,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2277,574 +2301,30 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj191-1, "") + z.DecStructFieldNotFound(yyj195-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym200 := z.EncBinary() - _ = yym200 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep201 := !z.EncBinary() - yy2arr201 := z.EncBasicHandle().StructToArray - var yyq201 [2]bool - _, _, _ = yysep201, yyq201, yy2arr201 - const yyr201 bool = false - yyq201[0] = len(x.MatchLabels) != 0 - yyq201[1] = len(x.MatchExpressions) != 0 - var yynn201 int - if yyr201 || yy2arr201 { - r.EncodeArrayStart(2) - } else { - yynn201 = 0 - for _, b := range yyq201 { - if b { - yynn201++ - } - } - r.EncodeMapStart(yynn201) - yynn201 = 0 - } - if yyr201 || yy2arr201 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[0] { - if x.MatchLabels == nil { - r.EncodeNil() - } else { - yym203 := z.EncBinary() - _ = yym203 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq201[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchLabels == nil { - r.EncodeNil() - } else { - yym204 := z.EncBinary() - _ = yym204 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } - } - } - } - if yyr201 || yy2arr201 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[1] { - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym206 := z.EncBinary() - _ = yym206 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq201[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym207 := z.EncBinary() - _ = yym207 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } - } - } - if yyr201 || yy2arr201 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym208 := z.DecBinary() - _ = yym208 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct209 := r.ContainerType() - if yyct209 == codecSelferValueTypeMap1234 { - yyl209 := r.ReadMapStart() - if yyl209 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl209, d) - } - } else if yyct209 == codecSelferValueTypeArray1234 { - yyl209 := r.ReadArrayStart() - if yyl209 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl209, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys210Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys210Slc - var yyhl210 bool = l >= 0 - for yyj210 := 0; ; yyj210++ { - if yyhl210 { - if yyj210 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys210Slc = r.DecodeBytes(yys210Slc, true, true) - yys210 := string(yys210Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys210 { - case "matchLabels": - if r.TryDecodeAsNil() { - x.MatchLabels = nil - } else { - yyv211 := &x.MatchLabels - yym212 := z.DecBinary() - _ = yym212 - if false { - } else { - z.F.DecMapStringStringX(yyv211, false, d) - } - } - case "matchExpressions": - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv213 := &x.MatchExpressions - yym214 := z.DecBinary() - _ = yym214 - if false { - } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv213), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys210) - } // end switch yys210 - } // end for yyj210 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LabelSelector) 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 - } else { - yyb215 = r.CheckBreak() - } - if yyb215 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchLabels = nil - } else { - yyv216 := &x.MatchLabels - yym217 := z.DecBinary() - _ = yym217 - if false { - } else { - z.F.DecMapStringStringX(yyv216, false, d) - } - } - yyj215++ - if yyhl215 { - yyb215 = yyj215 > l - } else { - yyb215 = r.CheckBreak() - } - if yyb215 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv218 := &x.MatchExpressions - yym219 := z.DecBinary() - _ = yym219 - if false { - } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv218), d) - } - } - for { - yyj215++ - if yyhl215 { - yyb215 = yyj215 > l - } else { - yyb215 = r.CheckBreak() - } - if yyb215 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj215-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym220 := z.EncBinary() - _ = yym220 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep221 := !z.EncBinary() - yy2arr221 := z.EncBasicHandle().StructToArray - var yyq221 [3]bool - _, _, _ = yysep221, yyq221, yy2arr221 - const yyr221 bool = false - yyq221[2] = len(x.Values) != 0 - var yynn221 int - if yyr221 || yy2arr221 { - r.EncodeArrayStart(3) - } else { - yynn221 = 2 - for _, b := range yyq221 { - if b { - yynn221++ - } - } - r.EncodeMapStart(yynn221) - yynn221 = 0 - } - if yyr221 || yy2arr221 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym223 := z.EncBinary() - _ = yym223 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("key")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym224 := z.EncBinary() - _ = yym224 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr221 || yy2arr221 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Operator.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("operator")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Operator.CodecEncodeSelf(e) - } - if yyr221 || yy2arr221 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq221[2] { - if x.Values == nil { - r.EncodeNil() - } else { - yym227 := z.EncBinary() - _ = yym227 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq221[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("values")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Values == nil { - r.EncodeNil() - } else { - yym228 := z.EncBinary() - _ = yym228 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } - } - if yyr221 || yy2arr221 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym229 := z.DecBinary() - _ = yym229 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct230 := r.ContainerType() - if yyct230 == codecSelferValueTypeMap1234 { - yyl230 := r.ReadMapStart() - if yyl230 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl230, d) - } - } else if yyct230 == codecSelferValueTypeArray1234 { - yyl230 := r.ReadArrayStart() - if yyl230 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl230, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys231Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys231Slc - var yyhl231 bool = l >= 0 - for yyj231 := 0; ; yyj231++ { - if yyhl231 { - if yyj231 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys231Slc = r.DecodeBytes(yys231Slc, true, true) - yys231 := string(yys231Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys231 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - case "operator": - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) - } - case "values": - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv234 := &x.Values - yym235 := z.DecBinary() - _ = yym235 - if false { - } else { - z.F.DecSliceStringX(yyv234, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys231) - } // end switch yys231 - } // end for yyj231 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj236 int - var yyb236 bool - var yyhl236 bool = l >= 0 - yyj236++ - if yyhl236 { - yyb236 = yyj236 > l - } else { - yyb236 = r.CheckBreak() - } - if yyb236 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj236++ - if yyhl236 { - yyb236 = yyj236 > l - } else { - yyb236 = r.CheckBreak() - } - if yyb236 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) - } - yyj236++ - if yyhl236 { - yyb236 = yyj236 > l - } else { - yyb236 = r.CheckBreak() - } - if yyb236 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv239 := &x.Values - yym240 := z.DecBinary() - _ = yym240 - if false { - } else { - z.F.DecSliceStringX(yyv239, false, d) - } - } - for { - yyj236++ - if yyhl236 { - yyb236 = yyj236 > l - } else { - yyb236 = r.CheckBreak() - } - if yyb236 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj236-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym241 := z.EncBinary() - _ = yym241 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym242 := z.DecBinary() - _ = yym242 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv243 := range v { + for _, yyv204 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy244 := &yyv243 - yy244.CodecEncodeSelf(e) + yy205 := &yyv204 + yy205.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2854,83 +2334,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv245 := *v - yyh245, yyl245 := z.DecSliceHelperStart() - var yyc245 bool - if yyl245 == 0 { - if yyv245 == nil { - yyv245 = []Job{} - yyc245 = true - } else if len(yyv245) != 0 { - yyv245 = yyv245[:0] - yyc245 = true + 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 } - } else if yyl245 > 0 { - var yyrr245, yyrl245 int - var yyrt245 bool - if yyl245 > cap(yyv245) { + } else if yyl206 > 0 { + var yyrr206, yyrl206 int + var yyrt206 bool + if yyl206 > cap(yyv206) { - yyrg245 := len(yyv245) > 0 - yyv2245 := yyv245 - yyrl245, yyrt245 = z.DecInferLen(yyl245, z.DecBasicHandle().MaxInitLen, 824) - if yyrt245 { - if yyrl245 <= cap(yyv245) { - yyv245 = yyv245[:yyrl245] + yyrg206 := len(yyv206) > 0 + yyv2206 := yyv206 + yyrl206, yyrt206 = z.DecInferLen(yyl206, z.DecBasicHandle().MaxInitLen, 824) + if yyrt206 { + if yyrl206 <= cap(yyv206) { + yyv206 = yyv206[:yyrl206] } else { - yyv245 = make([]Job, yyrl245) + yyv206 = make([]Job, yyrl206) } } else { - yyv245 = make([]Job, yyrl245) + yyv206 = make([]Job, yyrl206) } - yyc245 = true - yyrr245 = len(yyv245) - if yyrg245 { - copy(yyv245, yyv2245) + yyc206 = true + yyrr206 = len(yyv206) + if yyrg206 { + copy(yyv206, yyv2206) } - } else if yyl245 != len(yyv245) { - yyv245 = yyv245[:yyl245] - yyc245 = true + } else if yyl206 != len(yyv206) { + yyv206 = yyv206[:yyl206] + yyc206 = true } - yyj245 := 0 - for ; yyj245 < yyrr245; yyj245++ { - yyh245.ElemContainerState(yyj245) + yyj206 := 0 + for ; yyj206 < yyrr206; yyj206++ { + yyh206.ElemContainerState(yyj206) if r.TryDecodeAsNil() { - yyv245[yyj245] = Job{} + yyv206[yyj206] = Job{} } else { - yyv246 := &yyv245[yyj245] - yyv246.CodecDecodeSelf(d) + yyv207 := &yyv206[yyj206] + yyv207.CodecDecodeSelf(d) } } - if yyrt245 { - for ; yyj245 < yyl245; yyj245++ { - yyv245 = append(yyv245, Job{}) - yyh245.ElemContainerState(yyj245) + if yyrt206 { + for ; yyj206 < yyl206; yyj206++ { + yyv206 = append(yyv206, Job{}) + yyh206.ElemContainerState(yyj206) if r.TryDecodeAsNil() { - yyv245[yyj245] = Job{} + yyv206[yyj206] = Job{} } else { - yyv247 := &yyv245[yyj245] - yyv247.CodecDecodeSelf(d) + yyv208 := &yyv206[yyj206] + yyv208.CodecDecodeSelf(d) } } } } else { - yyj245 := 0 - for ; !r.CheckBreak(); yyj245++ { + yyj206 := 0 + for ; !r.CheckBreak(); yyj206++ { - if yyj245 >= len(yyv245) { - yyv245 = append(yyv245, Job{}) // var yyz245 Job - yyc245 = true + if yyj206 >= len(yyv206) { + yyv206 = append(yyv206, Job{}) // var yyz206 Job + yyc206 = true } - yyh245.ElemContainerState(yyj245) - if yyj245 < len(yyv245) { + yyh206.ElemContainerState(yyj206) + if yyj206 < len(yyv206) { if r.TryDecodeAsNil() { - yyv245[yyj245] = Job{} + yyv206[yyj206] = Job{} } else { - yyv248 := &yyv245[yyj245] - yyv248.CodecDecodeSelf(d) + yyv209 := &yyv206[yyj206] + yyv209.CodecDecodeSelf(d) } } else { @@ -2938,17 +2418,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj245 < len(yyv245) { - yyv245 = yyv245[:yyj245] - yyc245 = true - } else if yyj245 == 0 && yyv245 == nil { - yyv245 = []Job{} - yyc245 = true + if yyj206 < len(yyv206) { + yyv206 = yyv206[:yyj206] + yyc206 = true + } else if yyj206 == 0 && yyv206 == nil { + yyv206 = []Job{} + yyc206 = true } } - yyh245.End() - if yyc245 { - *v = yyv245 + yyh206.End() + if yyc206 { + *v = yyv206 } } @@ -2957,10 +2437,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv249 := range v { + for _, yyv210 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy250 := &yyv249 - yy250.CodecEncodeSelf(e) + yy211 := &yyv210 + yy211.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2970,83 +2450,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv251 := *v - yyh251, yyl251 := z.DecSliceHelperStart() - var yyc251 bool - if yyl251 == 0 { - if yyv251 == nil { - yyv251 = []JobCondition{} - yyc251 = true - } else if len(yyv251) != 0 { - yyv251 = yyv251[:0] - yyc251 = true + 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 } - } else if yyl251 > 0 { - var yyrr251, yyrl251 int - var yyrt251 bool - if yyl251 > cap(yyv251) { + } else if yyl212 > 0 { + var yyrr212, yyrl212 int + var yyrt212 bool + if yyl212 > cap(yyv212) { - yyrg251 := len(yyv251) > 0 - yyv2251 := yyv251 - yyrl251, yyrt251 = z.DecInferLen(yyl251, z.DecBasicHandle().MaxInitLen, 112) - if yyrt251 { - if yyrl251 <= cap(yyv251) { - yyv251 = yyv251[:yyrl251] + yyrg212 := len(yyv212) > 0 + yyv2212 := yyv212 + yyrl212, yyrt212 = z.DecInferLen(yyl212, z.DecBasicHandle().MaxInitLen, 112) + if yyrt212 { + if yyrl212 <= cap(yyv212) { + yyv212 = yyv212[:yyrl212] } else { - yyv251 = make([]JobCondition, yyrl251) + yyv212 = make([]JobCondition, yyrl212) } } else { - yyv251 = make([]JobCondition, yyrl251) + yyv212 = make([]JobCondition, yyrl212) } - yyc251 = true - yyrr251 = len(yyv251) - if yyrg251 { - copy(yyv251, yyv2251) + yyc212 = true + yyrr212 = len(yyv212) + if yyrg212 { + copy(yyv212, yyv2212) } - } else if yyl251 != len(yyv251) { - yyv251 = yyv251[:yyl251] - yyc251 = true + } else if yyl212 != len(yyv212) { + yyv212 = yyv212[:yyl212] + yyc212 = true } - yyj251 := 0 - for ; yyj251 < yyrr251; yyj251++ { - yyh251.ElemContainerState(yyj251) + yyj212 := 0 + for ; yyj212 < yyrr212; yyj212++ { + yyh212.ElemContainerState(yyj212) if r.TryDecodeAsNil() { - yyv251[yyj251] = JobCondition{} + yyv212[yyj212] = JobCondition{} } else { - yyv252 := &yyv251[yyj251] - yyv252.CodecDecodeSelf(d) + yyv213 := &yyv212[yyj212] + yyv213.CodecDecodeSelf(d) } } - if yyrt251 { - for ; yyj251 < yyl251; yyj251++ { - yyv251 = append(yyv251, JobCondition{}) - yyh251.ElemContainerState(yyj251) + if yyrt212 { + for ; yyj212 < yyl212; yyj212++ { + yyv212 = append(yyv212, JobCondition{}) + yyh212.ElemContainerState(yyj212) if r.TryDecodeAsNil() { - yyv251[yyj251] = JobCondition{} + yyv212[yyj212] = JobCondition{} } else { - yyv253 := &yyv251[yyj251] - yyv253.CodecDecodeSelf(d) + yyv214 := &yyv212[yyj212] + yyv214.CodecDecodeSelf(d) } } } } else { - yyj251 := 0 - for ; !r.CheckBreak(); yyj251++ { + yyj212 := 0 + for ; !r.CheckBreak(); yyj212++ { - if yyj251 >= len(yyv251) { - yyv251 = append(yyv251, JobCondition{}) // var yyz251 JobCondition - yyc251 = true + if yyj212 >= len(yyv212) { + yyv212 = append(yyv212, JobCondition{}) // var yyz212 JobCondition + yyc212 = true } - yyh251.ElemContainerState(yyj251) - if yyj251 < len(yyv251) { + yyh212.ElemContainerState(yyj212) + if yyj212 < len(yyv212) { if r.TryDecodeAsNil() { - yyv251[yyj251] = JobCondition{} + yyv212[yyj212] = JobCondition{} } else { - yyv254 := &yyv251[yyj251] - yyv254.CodecDecodeSelf(d) + yyv215 := &yyv212[yyj212] + yyv215.CodecDecodeSelf(d) } } else { @@ -3054,132 +2534,16 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj251 < len(yyv251) { - yyv251 = yyv251[:yyj251] - yyc251 = true - } else if yyj251 == 0 && yyv251 == nil { - yyv251 = []JobCondition{} - yyc251 = true + if yyj212 < len(yyv212) { + yyv212 = yyv212[:yyj212] + yyc212 = true + } else if yyj212 == 0 && yyv212 == nil { + yyv212 = []JobCondition{} + yyc212 = true } } - yyh251.End() - if yyc251 { - *v = yyv251 - } -} - -func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequirement, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv255 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy256 := &yyv255 - yy256.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequirement, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv257 := *v - yyh257, yyl257 := z.DecSliceHelperStart() - var yyc257 bool - if yyl257 == 0 { - if yyv257 == nil { - yyv257 = []LabelSelectorRequirement{} - yyc257 = true - } else if len(yyv257) != 0 { - yyv257 = yyv257[:0] - yyc257 = true - } - } else if yyl257 > 0 { - var yyrr257, yyrl257 int - var yyrt257 bool - if yyl257 > cap(yyv257) { - - yyrg257 := len(yyv257) > 0 - yyv2257 := yyv257 - yyrl257, yyrt257 = z.DecInferLen(yyl257, z.DecBasicHandle().MaxInitLen, 56) - if yyrt257 { - if yyrl257 <= cap(yyv257) { - yyv257 = yyv257[:yyrl257] - } else { - yyv257 = make([]LabelSelectorRequirement, yyrl257) - } - } else { - yyv257 = make([]LabelSelectorRequirement, yyrl257) - } - yyc257 = true - yyrr257 = len(yyv257) - if yyrg257 { - copy(yyv257, yyv2257) - } - } else if yyl257 != len(yyv257) { - yyv257 = yyv257[:yyl257] - yyc257 = true - } - yyj257 := 0 - for ; yyj257 < yyrr257; yyj257++ { - yyh257.ElemContainerState(yyj257) - if r.TryDecodeAsNil() { - yyv257[yyj257] = LabelSelectorRequirement{} - } else { - yyv258 := &yyv257[yyj257] - yyv258.CodecDecodeSelf(d) - } - - } - if yyrt257 { - for ; yyj257 < yyl257; yyj257++ { - yyv257 = append(yyv257, LabelSelectorRequirement{}) - yyh257.ElemContainerState(yyj257) - if r.TryDecodeAsNil() { - yyv257[yyj257] = LabelSelectorRequirement{} - } else { - yyv259 := &yyv257[yyj257] - yyv259.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj257 := 0 - for ; !r.CheckBreak(); yyj257++ { - - if yyj257 >= len(yyv257) { - yyv257 = append(yyv257, LabelSelectorRequirement{}) // var yyz257 LabelSelectorRequirement - yyc257 = true - } - yyh257.ElemContainerState(yyj257) - if yyj257 < len(yyv257) { - if r.TryDecodeAsNil() { - yyv257[yyj257] = LabelSelectorRequirement{} - } else { - yyv260 := &yyv257[yyj257] - yyv260.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj257 < len(yyv257) { - yyv257 = yyv257[:yyj257] - yyc257 = true - } else if yyj257 == 0 && yyv257 == nil { - yyv257 = []LabelSelectorRequirement{} - yyc257 = true - } - } - yyh257.End() - if yyc257 { - *v = yyv257 + yyh212.End() + if yyc212 { + *v = yyv212 } } diff --git a/pkg/apis/batch/v1/types.go b/pkg/apis/batch/v1/types.go index 4f23fc4d..ec44c4e4 100644 --- a/pkg/apis/batch/v1/types.go +++ b/pkg/apis/batch/v1/types.go @@ -28,14 +28,17 @@ type Job struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is a structure defining the expected behavior of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status JobStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -44,6 +47,7 @@ type JobList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of Job. @@ -58,6 +62,7 @@ type JobSpec struct { // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Parallelism *int32 `json:"parallelism,omitempty" protobuf:"varint,1,opt,name=parallelism"` // Completions specifies the desired number of successfully finished pods the @@ -66,16 +71,19 @@ type JobSpec struct { // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Completions *int32 `json:"completions,omitempty" protobuf:"varint,2,opt,name=completions"` // Optional duration in seconds relative to the startTime that the job may be active // before the system tries to terminate it; value must be positive integer + // +optional ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,3,opt,name=activeDeadlineSeconds"` // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + // +optional + Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -87,6 +95,7 @@ type JobSpec struct { // `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` // API. // More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md + // +optional ManualSelector *bool `json:"manualSelector,omitempty" protobuf:"varint,5,opt,name=manualSelector"` // Template is the object that describes the pod that will be created when @@ -100,25 +109,31 @@ type JobStatus struct { // Conditions represent the latest available observations of an object's current state. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Conditions []JobCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // StartTime represents time when the job was acknowledged by the Job Manager. // 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 StartTime *unversioned.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"` // 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 CompletionTime *unversioned.Time `json:"completionTime,omitempty" protobuf:"bytes,3,opt,name=completionTime"` // Active is the number of actively running pods. + // +optional Active int32 `json:"active,omitempty" protobuf:"varint,4,opt,name=active"` // Succeeded is the number of pods which reached Phase Succeeded. + // +optional Succeeded int32 `json:"succeeded,omitempty" protobuf:"varint,5,opt,name=succeeded"` // Failed is the number of pods which reached Phase Failed. + // +optional Failed int32 `json:"failed,omitempty" protobuf:"varint,6,opt,name=failed"` } @@ -139,48 +154,15 @@ type JobCondition struct { // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"` // Last time the condition was checked. + // +optional LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transit from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } - -// A label selector is a label query over a set of resources. The result of matchLabels and -// matchExpressions are ANDed. An empty label selector matches all objects. A null -// label selector matches no objects. -type LabelSelector struct { - // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels - // map is equivalent to an element of matchExpressions, whose key field is "key", the - // operator is "In", and the values array contains only "value". The requirements are ANDed. - MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` - // matchExpressions is a list of label selector requirements. The requirements are ANDed. - MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` -} - -// A label selector requirement is a selector that contains values, a key, and an operator that -// relates the key and values. -type LabelSelectorRequirement struct { - // key is the label key that the selector applies to. - Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` - // operator represents a key's relationship to a set of values. - // Valid operators ard In, NotIn, Exists and DoesNotExist. - Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"` - // values is an array of string values. If the operator is In or NotIn, - // the values array must be non-empty. If the operator is Exists or DoesNotExist, - // the values array must be empty. This array is replaced during a strategic - // merge patch. - Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` -} - -// A label selector operator is the set of operators that can be used in a selector requirement. -type LabelSelectorOperator string - -const ( - LabelSelectorOpIn LabelSelectorOperator = "In" - LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" - LabelSelectorOpExists LabelSelectorOperator = "Exists" - LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" -) diff --git a/pkg/apis/batch/v1/types_swagger_doc_generated.go b/pkg/apis/batch/v1/types_swagger_doc_generated.go index 10d76e29..3d224e70 100644 --- a/pkg/apis/batch/v1/types_swagger_doc_generated.go +++ b/pkg/apis/batch/v1/types_swagger_doc_generated.go @@ -90,25 +90,4 @@ func (JobStatus) SwaggerDoc() map[string]string { return map_JobStatus } -var map_LabelSelector = map[string]string{ - "": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "matchLabels": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "matchExpressions": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", -} - -func (LabelSelector) SwaggerDoc() map[string]string { - return map_LabelSelector -} - -var map_LabelSelectorRequirement = map[string]string{ - "": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "key": "key is the label key that the selector applies to.", - "operator": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", - "values": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", -} - -func (LabelSelectorRequirement) SwaggerDoc() map[string]string { - return map_LabelSelectorRequirement -} - // AUTO-GENERATED FUNCTIONS END HERE diff --git a/pkg/apis/batch/v1/zz_generated.conversion.go b/pkg/apis/batch/v1/zz_generated.conversion.go index de8a114e..06970269 100644 --- a/pkg/apis/batch/v1/zz_generated.conversion.go +++ b/pkg/apis/batch/v1/zz_generated.conversion.go @@ -22,7 +22,6 @@ package v1 import ( api "k8s.io/client-go/pkg/api" - unversioned "k8s.io/client-go/pkg/api/unversioned" api_v1 "k8s.io/client-go/pkg/api/v1" batch "k8s.io/client-go/pkg/apis/batch" conversion "k8s.io/client-go/pkg/conversion" @@ -47,18 +46,10 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_batch_JobSpec_To_v1_JobSpec, Convert_v1_JobStatus_To_batch_JobStatus, Convert_batch_JobStatus_To_v1_JobStatus, - Convert_v1_LabelSelector_To_unversioned_LabelSelector, - Convert_unversioned_LabelSelector_To_v1_LabelSelector, - Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, - Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement, ) } func autoConvert_v1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error { - SetDefaults_Job(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -77,9 +68,6 @@ func Convert_v1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) er } func autoConvert_batch_Job_To_v1_Job(in *batch.Job, out *Job, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -100,12 +88,8 @@ func Convert_batch_Job_To_v1_Job(in *batch.Job, out *Job, s conversion.Scope) er func autoConvert_v1_JobCondition_To_batch_JobCondition(in *JobCondition, out *batch.JobCondition, s conversion.Scope) error { out.Type = batch.JobConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -118,12 +102,8 @@ func Convert_v1_JobCondition_To_batch_JobCondition(in *JobCondition, out *batch. func autoConvert_batch_JobCondition_To_v1_JobCondition(in *batch.JobCondition, out *JobCondition, s conversion.Scope) error { out.Type = JobConditionType(in.Type) out.Status = api_v1.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -134,12 +114,7 @@ func Convert_batch_JobCondition_To_v1_JobCondition(in *batch.JobCondition, out * } func autoConvert_v1_JobList_To_batch_JobList(in *JobList, out *batch.JobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]batch.Job, len(*in)) @@ -159,12 +134,7 @@ func Convert_v1_JobList_To_batch_JobList(in *JobList, out *batch.JobList, s conv } func autoConvert_batch_JobList_To_v1_JobList(in *batch.JobList, out *JobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Job, len(*in)) @@ -187,15 +157,7 @@ func autoConvert_v1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := Convert_v1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector out.ManualSelector = in.ManualSelector if err := api_v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -207,15 +169,7 @@ func autoConvert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector out.ManualSelector = in.ManualSelector if err := api_v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -270,65 +224,3 @@ func autoConvert_batch_JobStatus_To_v1_JobStatus(in *batch.JobStatus, out *JobSt func Convert_batch_JobStatus_To_v1_JobStatus(in *batch.JobStatus, out *JobStatus, s conversion.Scope) error { return autoConvert_batch_JobStatus_To_v1_JobStatus(in, out, s) } - -func autoConvert_v1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { - out.MatchLabels = in.MatchLabels - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]unversioned.LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil -} - -func Convert_v1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { - return autoConvert_v1_LabelSelector_To_unversioned_LabelSelector(in, out, s) -} - -func autoConvert_unversioned_LabelSelector_To_v1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { - out.MatchLabels = in.MatchLabels - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil -} - -func Convert_unversioned_LabelSelector_To_v1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { - return autoConvert_unversioned_LabelSelector_To_v1_LabelSelector(in, out, s) -} - -func autoConvert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { - out.Key = in.Key - out.Operator = unversioned.LabelSelectorOperator(in.Operator) - out.Values = in.Values - return nil -} - -func Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { - return autoConvert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in, out, s) -} - -func autoConvert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { - out.Key = in.Key - out.Operator = LabelSelectorOperator(in.Operator) - out.Values = in.Values - return nil -} - -func Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { - return autoConvert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(in, out, s) -} diff --git a/pkg/apis/batch/v1/zz_generated.deepcopy.go b/pkg/apis/batch/v1/zz_generated.deepcopy.go index 9e75f350..8a9e4e85 100644 --- a/pkg/apis/batch/v1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v1/zz_generated.deepcopy.go @@ -41,8 +41,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobList, InType: reflect.TypeOf(&JobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, ) } @@ -126,8 +124,8 @@ func DeepCopy_v1_JobSpec(in interface{}, out interface{}, c *conversion.Cloner) } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -182,48 +180,3 @@ func DeepCopy_v1_JobStatus(in interface{}, out interface{}, c *conversion.Cloner return nil } } - -func DeepCopy_v1_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*LabelSelector) - out := out.(*LabelSelector) - 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 - *out = make([]LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := DeepCopy_v1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil - } -} - -func DeepCopy_v1_LabelSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*LabelSelectorRequirement) - out := out.(*LabelSelectorRequirement) - out.Key = in.Key - out.Operator = in.Operator - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]string, len(*in)) - copy(*out, *in) - } else { - out.Values = nil - } - return nil - } -} diff --git a/pkg/apis/batch/v1/zz_generated.defaults.go b/pkg/apis/batch/v1/zz_generated.defaults.go new file mode 100644 index 00000000..ef8a8b0e --- /dev/null +++ b/pkg/apis/batch/v1/zz_generated.defaults.go @@ -0,0 +1,159 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v1 + +import ( + api_v1 "k8s.io/client-go/pkg/api/v1" + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&Job{}, func(obj interface{}) { SetObjectDefaults_Job(obj.(*Job)) }) + scheme.AddTypeDefaultingFunc(&JobList{}, func(obj interface{}) { SetObjectDefaults_JobList(obj.(*JobList)) }) + return nil +} + +func SetObjectDefaults_Job(in *Job) { + SetDefaults_Job(in) + api_v1.SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + api_v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + api_v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + api_v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + api_v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + api_v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + api_v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + api_v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + api_v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + api_v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + api_v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + api_v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + api_v1.SetDefaults_ResourceList(&a.Resources.Limits) + api_v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + api_v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + api_v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + api_v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + api_v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + api_v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + api_v1.SetDefaults_ResourceList(&a.Resources.Limits) + api_v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + api_v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + api_v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + api_v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_JobList(in *JobList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Job(a) + } +} diff --git a/pkg/apis/batch/v2alpha1/conversion.go b/pkg/apis/batch/v2alpha1/conversion.go index e74ed989..8878c841 100644 --- a/pkg/apis/batch/v2alpha1/conversion.go +++ b/pkg/apis/batch/v2alpha1/conversion.go @@ -18,10 +18,8 @@ package v2alpha1 import ( "fmt" - "reflect" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/unversioned" v1 "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/apis/batch" "k8s.io/client-go/pkg/conversion" @@ -57,21 +55,10 @@ func addConversionFuncs(scheme *runtime.Scheme) error { } func Convert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSpec, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*batch.JobSpec))(in) - } out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1.LabelSelector - if in.Selector != nil { - out.Selector = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector @@ -86,21 +73,10 @@ func Convert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSpec, } func Convert_v2alpha1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*JobSpec))(in) - } out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1.LabelSelector - if in.Selector != nil { - out.Selector = new(unversioned.LabelSelector) - if err := Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector diff --git a/pkg/apis/batch/v2alpha1/defaults.go b/pkg/apis/batch/v2alpha1/defaults.go index f093ae57..787505ba 100644 --- a/pkg/apis/batch/v2alpha1/defaults.go +++ b/pkg/apis/batch/v2alpha1/defaults.go @@ -21,6 +21,7 @@ import ( ) func addDefaultingFuncs(scheme *runtime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( SetDefaults_Job, SetDefaults_ScheduledJob, diff --git a/pkg/apis/batch/v2alpha1/doc.go b/pkg/apis/batch/v2alpha1/doc.go index 087b478c..8fb2e2e6 100644 --- a/pkg/apis/batch/v2alpha1/doc.go +++ b/pkg/apis/batch/v2alpha1/doc.go @@ -17,5 +17,6 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v2alpha1 diff --git a/pkg/apis/batch/v2alpha1/generated.pb.go b/pkg/apis/batch/v2alpha1/generated.pb.go index 0d8d2b98..7ff22564 100644 --- a/pkg/apis/batch/v2alpha1/generated.pb.go +++ b/pkg/apis/batch/v2alpha1/generated.pb.go @@ -32,8 +32,6 @@ limitations under the License. JobStatus JobTemplate JobTemplateSpec - LabelSelector - LabelSelectorRequirement ScheduledJob ScheduledJobList ScheduledJobSpec @@ -50,7 +48,6 @@ import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import strings "strings" import reflect "reflect" -import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" import io "io" @@ -91,31 +88,21 @@ func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} } func (*JobTemplateSpec) ProtoMessage() {} func (*JobTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } -func (m *LabelSelector) Reset() { *m = LabelSelector{} } -func (*LabelSelector) ProtoMessage() {} -func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } - -func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } -func (*LabelSelectorRequirement) ProtoMessage() {} -func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{8} -} - func (m *ScheduledJob) Reset() { *m = ScheduledJob{} } func (*ScheduledJob) ProtoMessage() {} -func (*ScheduledJob) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } +func (*ScheduledJob) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } func (m *ScheduledJobList) Reset() { *m = ScheduledJobList{} } func (*ScheduledJobList) ProtoMessage() {} -func (*ScheduledJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } +func (*ScheduledJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } func (m *ScheduledJobSpec) Reset() { *m = ScheduledJobSpec{} } func (*ScheduledJobSpec) ProtoMessage() {} -func (*ScheduledJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } +func (*ScheduledJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } func (m *ScheduledJobStatus) Reset() { *m = ScheduledJobStatus{} } func (*ScheduledJobStatus) ProtoMessage() {} -func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } +func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } func init() { proto.RegisterType((*Job)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.Job") @@ -125,8 +112,6 @@ func init() { proto.RegisterType((*JobStatus)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.JobStatus") proto.RegisterType((*JobTemplate)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.JobTemplate") proto.RegisterType((*JobTemplateSpec)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.JobTemplateSpec") - proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.LabelSelector") - proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.LabelSelectorRequirement") proto.RegisterType((*ScheduledJob)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.ScheduledJob") proto.RegisterType((*ScheduledJobList)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.ScheduledJobList") proto.RegisterType((*ScheduledJobSpec)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.ScheduledJobSpec") @@ -450,94 +435,6 @@ func (m *JobTemplateSpec) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *LabelSelector) 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 *LabelSelector) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.MatchLabels) > 0 { - for k := range m.MatchLabels { - data[i] = 0xa - i++ - v := m.MatchLabels[k] - mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - i = encodeVarintGenerated(data, i, uint64(mapSize)) - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(k))) - i += copy(data[i:], k) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(v))) - i += copy(data[i:], v) - } - } - if len(m.MatchExpressions) > 0 { - for _, msg := range m.MatchExpressions { - data[i] = 0x12 - 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 -} - -func (m *LabelSelectorRequirement) 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 *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Key))) - i += copy(data[i:], m.Key) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Operator))) - i += copy(data[i:], m.Operator) - if len(m.Values) > 0 { - for _, s := range m.Values { - data[i] = 0x1a - 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 -} - func (m *ScheduledJob) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -845,42 +742,6 @@ func (m *JobTemplateSpec) Size() (n int) { return n } -func (m *LabelSelector) Size() (n int) { - var l int - _ = l - if len(m.MatchLabels) > 0 { - for k, v := range m.MatchLabels { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) - } - } - if len(m.MatchExpressions) > 0 { - for _, e := range m.MatchExpressions { - l = e.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - -func (m *LabelSelectorRequirement) Size() (n int) { - var l int - _ = l - l = len(m.Key) - n += 1 + l + sovGenerated(uint64(l)) - l = len(m.Operator) - n += 1 + l + sovGenerated(uint64(l)) - if len(m.Values) > 0 { - for _, s := range m.Values { - l = len(s) - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - func (m *ScheduledJob) Size() (n int) { var l int _ = l @@ -1000,7 +861,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", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -1044,39 +905,6 @@ func (this *JobTemplateSpec) String() string { }, "") return s } -func (this *LabelSelector) String() string { - if this == nil { - return "nil" - } - keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) - for k := range this.MatchLabels { - keysForMatchLabels = append(keysForMatchLabels, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) - mapStringForMatchLabels := "map[string]string{" - for _, k := range keysForMatchLabels { - mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) - } - mapStringForMatchLabels += "}" - s := strings.Join([]string{`&LabelSelector{`, - `MatchLabels:` + mapStringForMatchLabels + `,`, - `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func (this *LabelSelectorRequirement) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&LabelSelectorRequirement{`, - `Key:` + fmt.Sprintf("%v", this.Key) + `,`, - `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, - `Values:` + fmt.Sprintf("%v", this.Values) + `,`, - `}`, - }, "") - return s -} func (this *ScheduledJob) String() string { if this == nil { return "nil" @@ -1726,7 +1554,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -2228,335 +2056,6 @@ func (m *JobTemplateSpec) Unmarshal(data []byte) error { } return nil } -func (m *LabelSelector) 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: LabelSelector: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", 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 - } - var keykey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - keykey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey := string(data[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - var valuekey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - valuekey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue := string(data[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - if m.MatchLabels == nil { - m.MatchLabels = make(map[string]string) - } - m.MatchLabels[mapkey] = mapvalue - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", 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.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) - if err := m.MatchExpressions[len(m.MatchExpressions)-1].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 *LabelSelectorRequirement) 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: LabelSelectorRequirement: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", 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.Key = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operator", 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.Operator = LabelSelectorOperator(data[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Values", 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.Values = append(m.Values, string(data[iNdEx:postIndex])) - 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 *ScheduledJob) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -3207,87 +2706,77 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 1300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, - 0x17, 0xaf, 0xed, 0xd8, 0xb1, 0xc7, 0xf9, 0xe1, 0xcc, 0xb7, 0x51, 0xfd, 0x35, 0x22, 0xa9, 0x2c, - 0x81, 0x1a, 0x68, 0x76, 0x95, 0xa8, 0xa8, 0x21, 0x88, 0x4a, 0x6c, 0x08, 0x52, 0x21, 0x51, 0xa2, - 0x71, 0xa8, 0x10, 0xb4, 0x87, 0xf1, 0x7a, 0x62, 0x6f, 0xb3, 0xde, 0x75, 0x77, 0x67, 0x0d, 0xbe, - 0xf5, 0xca, 0x09, 0x24, 0xfe, 0x05, 0xce, 0xfc, 0x05, 0xf4, 0xc0, 0x2d, 0x37, 0x0a, 0x27, 0xc4, - 0x21, 0x82, 0xf2, 0x5f, 0xf4, 0xc4, 0x9b, 0xd9, 0xd9, 0xf5, 0xfa, 0x57, 0x14, 0x1b, 0x15, 0x89, - 0xc3, 0x4a, 0x9e, 0x37, 0xef, 0xf3, 0x99, 0x37, 0xf3, 0x3e, 0xf3, 0xe6, 0x19, 0xbd, 0x7b, 0xb6, - 0xe3, 0x6b, 0x96, 0xab, 0x9f, 0x05, 0x75, 0xe6, 0x39, 0x8c, 0x33, 0x5f, 0xef, 0x9c, 0x35, 0x75, - 0xda, 0xb1, 0x7c, 0xbd, 0x4e, 0xb9, 0xd9, 0xd2, 0xbb, 0xdb, 0xd4, 0xee, 0xb4, 0xe8, 0x96, 0xde, - 0x64, 0x0e, 0xf3, 0x28, 0x67, 0x0d, 0xad, 0xe3, 0xb9, 0xdc, 0xc5, 0x1b, 0x21, 0x54, 0xeb, 0x43, - 0x35, 0x80, 0x6a, 0x02, 0xaa, 0x49, 0xa8, 0x16, 0x41, 0x2b, 0x9b, 0x4d, 0x8b, 0xb7, 0x82, 0xba, - 0x66, 0xba, 0x6d, 0xbd, 0xe9, 0x36, 0x5d, 0x5d, 0x32, 0xd4, 0x83, 0x53, 0x39, 0x92, 0x03, 0xf9, - 0x2b, 0x64, 0xae, 0x6c, 0x4f, 0x0c, 0x4a, 0xf7, 0x98, 0xef, 0x06, 0x9e, 0xc9, 0x86, 0xa3, 0xa9, - 0xbc, 0x33, 0x19, 0x13, 0x38, 0x5d, 0xe6, 0xf9, 0x96, 0xeb, 0xb0, 0xc6, 0x08, 0xec, 0xf6, 0x64, - 0x58, 0x77, 0x64, 0xcb, 0x95, 0xcd, 0xf1, 0xde, 0x5e, 0xe0, 0x70, 0xab, 0x3d, 0x1a, 0xd3, 0xd6, - 0x78, 0xf7, 0x80, 0x5b, 0xb6, 0x6e, 0x39, 0xdc, 0xe7, 0xde, 0x30, 0xa4, 0xfa, 0x5d, 0x1a, 0x65, - 0x3e, 0x76, 0xeb, 0xf8, 0x33, 0x94, 0x6f, 0x33, 0x4e, 0x1b, 0x94, 0xd3, 0x72, 0xea, 0x66, 0xea, - 0x56, 0x71, 0xfb, 0x96, 0x36, 0xf1, 0xbc, 0xb5, 0xee, 0x96, 0x76, 0x54, 0x7f, 0xcc, 0x4c, 0x7e, - 0x08, 0x18, 0x03, 0x9f, 0x5f, 0xac, 0x5f, 0x7b, 0x71, 0xb1, 0x8e, 0xfa, 0x36, 0x12, 0xb3, 0xe1, - 0x13, 0x34, 0xe7, 0x77, 0x98, 0x59, 0x4e, 0x4b, 0xd6, 0x6d, 0xed, 0xca, 0x59, 0xd4, 0x20, 0xae, - 0x1a, 0x20, 0x8d, 0x05, 0xc5, 0x3f, 0x27, 0x46, 0x44, 0xb2, 0xe1, 0x87, 0x28, 0xe7, 0x73, 0xca, - 0x03, 0xbf, 0x9c, 0x91, 0xbc, 0x77, 0xa6, 0xe4, 0x95, 0x58, 0x63, 0x49, 0x31, 0xe7, 0xc2, 0x31, - 0x51, 0x9c, 0xd5, 0x5f, 0x33, 0x68, 0x01, 0xbc, 0xf6, 0x5c, 0xa7, 0x61, 0x71, 0x48, 0x24, 0xbe, - 0x83, 0xe6, 0x78, 0xaf, 0xc3, 0xe4, 0xd1, 0x14, 0x8c, 0x9b, 0x51, 0x40, 0x27, 0x60, 0x7b, 0x79, - 0xb1, 0x5e, 0x4a, 0xfa, 0x0a, 0x1b, 0x91, 0xde, 0xf8, 0x41, 0x1c, 0x64, 0x5a, 0xe2, 0xee, 0x0d, - 0x2e, 0x07, 0xc8, 0x4b, 0xe5, 0xa0, 0xc5, 0x9c, 0x83, 0xe1, 0xe1, 0x16, 0x5a, 0xb4, 0xa9, 0xcf, - 0x8f, 0x3d, 0xb7, 0xce, 0x4e, 0x40, 0x08, 0xea, 0x0c, 0xde, 0xbe, 0x24, 0x63, 0x09, 0x4d, 0x6a, - 0x02, 0x62, 0xac, 0xaa, 0x58, 0x16, 0x0f, 0x92, 0x4c, 0x64, 0x90, 0x18, 0x7f, 0x89, 0xb0, 0x30, - 0x9c, 0x78, 0xd4, 0xf1, 0xc3, 0xdd, 0x89, 0xe5, 0xe6, 0xa6, 0x5f, 0xae, 0xa2, 0x96, 0xc3, 0x07, - 0x23, 0x74, 0x64, 0xcc, 0x12, 0xf8, 0x4d, 0x94, 0xf3, 0x18, 0xf5, 0x5d, 0xa7, 0x9c, 0x95, 0x47, - 0x17, 0x67, 0x8a, 0x48, 0x2b, 0x51, 0xb3, 0x78, 0x03, 0xcd, 0xb7, 0x99, 0xef, 0xd3, 0x26, 0x2b, - 0xe7, 0xa4, 0xe3, 0xb2, 0x72, 0x9c, 0x3f, 0x0c, 0xcd, 0x24, 0x9a, 0xaf, 0x3e, 0x4b, 0xa1, 0x79, - 0x48, 0xd4, 0x81, 0xe5, 0x73, 0xfc, 0x68, 0x44, 0xee, 0xfa, 0x15, 0x77, 0x23, 0xe0, 0x52, 0xf5, - 0x25, 0xb5, 0x50, 0x3e, 0xb2, 0x24, 0x34, 0x5f, 0x43, 0x59, 0x8b, 0xb3, 0xb6, 0xc8, 0x7b, 0x06, - 0xb8, 0xb5, 0xe9, 0xc4, 0x69, 0x2c, 0x2a, 0xea, 0xec, 0x7d, 0x41, 0x42, 0x42, 0xae, 0xea, 0xb3, - 0x8c, 0x8c, 0x5f, 0x5c, 0x02, 0xbc, 0x85, 0x8a, 0x1d, 0xea, 0x51, 0xdb, 0x66, 0xb6, 0xe5, 0xb7, - 0xe5, 0x16, 0xb2, 0xc6, 0x32, 0x40, 0x8a, 0xc7, 0x7d, 0x33, 0x49, 0xfa, 0x08, 0x08, 0x94, 0xc3, - 0x8e, 0xcd, 0xc4, 0x19, 0x87, 0x8a, 0x54, 0x90, 0xbd, 0xbe, 0x99, 0x24, 0x7d, 0xf0, 0x11, 0x5a, - 0xa5, 0x26, 0xb7, 0xba, 0xec, 0x43, 0x46, 0x1b, 0xb6, 0xe5, 0xb0, 0x1a, 0x33, 0x41, 0x92, 0xe1, - 0x9d, 0xcb, 0x18, 0xff, 0x07, 0xf0, 0xea, 0x07, 0xe3, 0x1c, 0xc8, 0x78, 0x1c, 0xae, 0xa3, 0xbc, - 0xcf, 0x6c, 0xa8, 0x11, 0xae, 0xa7, 0x44, 0xb4, 0x33, 0xc5, 0xd1, 0x1c, 0xd0, 0x3a, 0xb3, 0x6b, - 0x0a, 0x6f, 0x2c, 0x88, 0xb3, 0x8f, 0x46, 0x24, 0xe6, 0xc5, 0xbb, 0x68, 0xa9, 0x4d, 0x9d, 0x80, - 0xc6, 0x9e, 0x52, 0x41, 0x79, 0x03, 0x83, 0xff, 0xd2, 0xe1, 0xc0, 0x0c, 0x19, 0xf2, 0xc4, 0x5f, - 0xa0, 0x3c, 0x1c, 0x75, 0xc7, 0x86, 0x02, 0x29, 0xe5, 0x54, 0xdc, 0xde, 0xbc, 0xbc, 0x0a, 0x1e, - 0xbb, 0x8d, 0x13, 0x05, 0x90, 0xa5, 0x2a, 0x16, 0x45, 0x64, 0x25, 0x31, 0x61, 0xf5, 0xc7, 0x0c, - 0x2a, 0xc4, 0xa5, 0x07, 0x9f, 0x21, 0x64, 0x46, 0xd7, 0xdb, 0x87, 0x04, 0x0a, 0x9d, 0xdc, 0x9d, - 0x4e, 0x27, 0x71, 0x79, 0xe8, 0x57, 0xe0, 0xd8, 0xe4, 0x93, 0x04, 0x3d, 0x54, 0xf7, 0x02, 0x94, - 0x0e, 0x8f, 0xcb, 0xdb, 0x9b, 0x9e, 0xfe, 0xf6, 0x2e, 0x02, 0x77, 0xa1, 0x16, 0x31, 0x90, 0x3e, - 0x19, 0x6e, 0xa2, 0xa5, 0xbe, 0x62, 0x66, 0xad, 0x45, 0x32, 0x35, 0x7b, 0x03, 0x34, 0x64, 0x88, - 0x56, 0x14, 0x84, 0x50, 0x53, 0x52, 0x38, 0xd9, 0x7e, 0x41, 0x08, 0x05, 0x48, 0xd4, 0x2c, 0xd6, - 0x61, 0xab, 0x81, 0x69, 0x32, 0xd6, 0x60, 0x0d, 0x99, 0xf9, 0xac, 0xb1, 0xa2, 0x5c, 0x0b, 0xb5, - 0x68, 0x82, 0xf4, 0x7d, 0x04, 0xf1, 0x29, 0xb5, 0x6c, 0xf0, 0xce, 0x0d, 0x12, 0x7f, 0x24, 0xad, - 0x44, 0xcd, 0x56, 0x7f, 0x49, 0xa1, 0x22, 0x1c, 0x7a, 0x94, 0xd8, 0x57, 0xf8, 0x62, 0xb6, 0x12, - 0x2a, 0x0c, 0x93, 0xb5, 0x3b, 0x9d, 0x30, 0xae, 0x2c, 0xc9, 0x9f, 0x52, 0x68, 0x79, 0xc8, 0xff, - 0xbf, 0xd6, 0x09, 0x54, 0x2f, 0xd2, 0x68, 0x71, 0xa0, 0x32, 0xe0, 0xa7, 0x90, 0xa9, 0xb6, 0x20, - 0x90, 0xe6, 0xe8, 0x72, 0xdd, 0x9f, 0xb5, 0xd2, 0x68, 0x87, 0x7d, 0xae, 0x7d, 0x87, 0x7b, 0x3d, - 0xe3, 0x7f, 0x2a, 0x8c, 0x62, 0x62, 0x86, 0x24, 0x97, 0xc4, 0x5f, 0xa7, 0x50, 0x49, 0x8e, 0xf7, - 0xbf, 0xea, 0x40, 0x0b, 0xe9, 0xab, 0x92, 0x2b, 0xe2, 0xd8, 0x9b, 0x35, 0x0e, 0xc2, 0x9e, 0x04, - 0x96, 0xc7, 0xda, 0xcc, 0xe1, 0x46, 0x59, 0x45, 0x50, 0x3a, 0x1c, 0x5a, 0x84, 0x8c, 0x2c, 0x5b, - 0xb9, 0x87, 0x4a, 0xc3, 0x3b, 0xc0, 0x25, 0x94, 0x39, 0x63, 0xbd, 0xb0, 0x9d, 0x21, 0xe2, 0x27, - 0xbe, 0x8e, 0xb2, 0x5d, 0x6a, 0x07, 0xa1, 0xe2, 0x0a, 0x24, 0x1c, 0xec, 0xa6, 0x77, 0x52, 0xd5, - 0xef, 0x53, 0xa8, 0x3c, 0x29, 0x10, 0xfc, 0x7a, 0x82, 0xc8, 0x28, 0xaa, 0xa8, 0x32, 0x9f, 0xb0, - 0x5e, 0xc8, 0xba, 0x8f, 0xf2, 0x6e, 0x47, 0x34, 0x9c, 0x50, 0x86, 0xc3, 0x1e, 0x68, 0x23, 0x92, - 0xe3, 0x91, 0xb2, 0x43, 0x17, 0xb4, 0x3a, 0x40, 0x1f, 0x4d, 0x90, 0x18, 0x8a, 0xab, 0x28, 0x27, - 0xe3, 0x11, 0x2f, 0x4f, 0x06, 0x48, 0x90, 0xb8, 0x9f, 0x0f, 0xa4, 0x85, 0xa8, 0x99, 0xea, 0x0f, - 0x69, 0xb4, 0x50, 0x33, 0x5b, 0xac, 0x11, 0xc0, 0x6d, 0x7d, 0xb5, 0x2d, 0xed, 0xa3, 0x01, 0x21, - 0xbf, 0x37, 0x45, 0x42, 0x93, 0x01, 0x4e, 0xec, 0x6d, 0xd9, 0x50, 0x6f, 0xfb, 0xfe, 0xac, 0x0b, - 0x5c, 0xde, 0xe4, 0xfe, 0x0c, 0x1a, 0x4d, 0xba, 0xff, 0x1b, 0x8d, 0xd1, 0xc3, 0xc1, 0xc6, 0xe8, - 0xee, 0x8c, 0x3b, 0x9b, 0xd0, 0x21, 0x7d, 0x93, 0x19, 0xdc, 0x91, 0xac, 0x67, 0xb7, 0xa1, 0xe7, - 0x50, 0x36, 0x25, 0xd3, 0x38, 0xc0, 0xc8, 0x97, 0xc4, 0x1e, 0xf8, 0x53, 0x74, 0x43, 0x3e, 0x6e, - 0x96, 0xd3, 0x1c, 0x6e, 0x7a, 0xd2, 0xb2, 0xe9, 0x79, 0x0d, 0x80, 0x37, 0x6a, 0xe3, 0x5d, 0xc8, - 0x24, 0x2c, 0xec, 0x7b, 0x05, 0x7e, 0x98, 0x81, 0xe7, 0x31, 0xc7, 0xec, 0x1d, 0xbb, 0xb6, 0x65, - 0xf6, 0x64, 0x76, 0x0b, 0x86, 0xa6, 0xa2, 0x59, 0xd9, 0x1b, 0x76, 0x78, 0x39, 0xce, 0x48, 0x46, - 0x89, 0xf0, 0x1b, 0x68, 0xde, 0x0f, 0x40, 0x3a, 0x4e, 0x43, 0x3e, 0x8e, 0x79, 0xa3, 0x28, 0x1a, - 0xe0, 0x5a, 0x68, 0x22, 0xd1, 0x1c, 0x7e, 0x82, 0x8a, 0x8f, 0xfb, 0xc5, 0x5e, 0x3e, 0x8e, 0xff, - 0xec, 0x69, 0x89, 0xeb, 0x60, 0x62, 0x82, 0x24, 0xd7, 0xa8, 0xfe, 0x9e, 0x42, 0x78, 0x54, 0x92, - 0x70, 0xca, 0xd1, 0x63, 0x1e, 0xd6, 0xe6, 0xcd, 0xab, 0x5c, 0x4c, 0xc2, 0x4e, 0x99, 0xd8, 0x35, - 0x9b, 0xf8, 0xf6, 0xb7, 0x51, 0x49, 0xfc, 0x95, 0x88, 0x16, 0x9c, 0xf5, 0xbf, 0xca, 0x75, 0x51, - 0x58, 0x0f, 0x86, 0x88, 0xc8, 0x08, 0xb5, 0xf1, 0xd6, 0xf9, 0x9f, 0x6b, 0xd7, 0x9e, 0xc3, 0xf7, - 0x1b, 0x7c, 0x4f, 0x5f, 0xac, 0xa5, 0xce, 0xe1, 0x7b, 0x0e, 0xdf, 0x1f, 0xf0, 0x7d, 0xfb, 0xd7, - 0xda, 0xb5, 0xcf, 0xf3, 0xd1, 0xd1, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x67, 0x5d, 0xb9, 0x32, - 0xf8, 0x10, 0x00, 0x00, + // 1139 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x56, 0xcf, 0x6f, 0xe3, 0x44, + 0x14, 0xae, 0x93, 0xa6, 0x4d, 0x26, 0x6d, 0xb7, 0x1d, 0xa8, 0x36, 0x14, 0x29, 0x59, 0x45, 0x02, + 0x75, 0x61, 0x6b, 0xab, 0x51, 0xd1, 0xc2, 0x22, 0x90, 0x70, 0x11, 0x12, 0x55, 0xab, 0xad, 0x26, + 0x5d, 0xb4, 0x82, 0x2e, 0xd2, 0xd8, 0x7e, 0x4d, 0xbc, 0x75, 0x3c, 0xc6, 0x33, 0x2e, 0xea, 0x8d, + 0xff, 0x00, 0x24, 0xfe, 0x0f, 0xee, 0x48, 0x70, 0xe0, 0xd6, 0x1b, 0x0b, 0x27, 0xc4, 0x21, 0xa2, + 0xe6, 0xbf, 0xe8, 0x09, 0x79, 0xfc, 0x23, 0xce, 0xaf, 0xaa, 0x29, 0x5a, 0x24, 0x6e, 0xf6, 0x9b, + 0xef, 0xfb, 0xe6, 0xcd, 0xbc, 0x6f, 0xde, 0x0c, 0x7a, 0xef, 0xf4, 0x5d, 0xae, 0xda, 0x4c, 0x3b, + 0x0d, 0x0c, 0xf0, 0x5d, 0x10, 0xc0, 0x35, 0xef, 0xb4, 0xa3, 0x51, 0xcf, 0xe6, 0x9a, 0x41, 0x85, + 0xd9, 0xd5, 0xce, 0x5a, 0xd4, 0xf1, 0xba, 0x74, 0x5b, 0xeb, 0x80, 0x0b, 0x3e, 0x15, 0x60, 0xa9, + 0x9e, 0xcf, 0x04, 0xc3, 0xf7, 0x63, 0xaa, 0x3a, 0xa0, 0xaa, 0xde, 0x69, 0x47, 0x8d, 0xa8, 0xaa, + 0xa4, 0xaa, 0x29, 0x75, 0x63, 0xab, 0x63, 0x8b, 0x6e, 0x60, 0xa8, 0x26, 0xeb, 0x69, 0x1d, 0xd6, + 0x61, 0x9a, 0x54, 0x30, 0x82, 0x13, 0xf9, 0x27, 0x7f, 0xe4, 0x57, 0xac, 0xbc, 0xd1, 0x9a, 0x9a, + 0x94, 0xe6, 0x03, 0x67, 0x81, 0x6f, 0xc2, 0x68, 0x36, 0x1b, 0xef, 0x4c, 0xe7, 0x04, 0xee, 0x19, + 0xf8, 0xdc, 0x66, 0x2e, 0x58, 0x63, 0xb4, 0x07, 0xd3, 0x69, 0x67, 0x63, 0x4b, 0xde, 0xd8, 0x9a, + 0x8c, 0xf6, 0x03, 0x57, 0xd8, 0xbd, 0xf1, 0x9c, 0xb6, 0x27, 0xc3, 0x03, 0x61, 0x3b, 0x9a, 0xed, + 0x0a, 0x2e, 0xfc, 0x51, 0x4a, 0xf3, 0xfb, 0x02, 0x2a, 0xee, 0x31, 0x03, 0x3f, 0x45, 0xe5, 0x1e, + 0x08, 0x6a, 0x51, 0x41, 0x6b, 0xca, 0x3d, 0x65, 0xb3, 0xda, 0xda, 0x54, 0xa7, 0xee, 0xb7, 0x7a, + 0xb6, 0xad, 0x3e, 0x36, 0x9e, 0x83, 0x29, 0x0e, 0x40, 0x50, 0x1d, 0x5f, 0xf4, 0x1b, 0x73, 0x61, + 0xbf, 0x81, 0x06, 0x31, 0x92, 0xa9, 0xe1, 0x23, 0x34, 0xcf, 0x3d, 0x30, 0x6b, 0x05, 0xa9, 0xda, + 0x52, 0x6f, 0x5c, 0x45, 0x75, 0x8f, 0x19, 0x6d, 0x0f, 0x4c, 0x7d, 0x29, 0xd1, 0x9f, 0x8f, 0xfe, + 0x88, 0x54, 0xc3, 0xc7, 0x68, 0x81, 0x0b, 0x2a, 0x02, 0x5e, 0x2b, 0x4a, 0xdd, 0x9d, 0x19, 0x75, + 0x25, 0x57, 0x5f, 0x49, 0x94, 0x17, 0xe2, 0x7f, 0x92, 0x68, 0x36, 0x7f, 0x2f, 0xa2, 0xa5, 0x3d, + 0x66, 0xec, 0x32, 0xd7, 0xb2, 0x85, 0xcd, 0x5c, 0xbc, 0x83, 0xe6, 0xc5, 0xb9, 0x07, 0x72, 0x6b, + 0x2a, 0xfa, 0xbd, 0x34, 0xa1, 0xa3, 0x73, 0x0f, 0xae, 0xfa, 0x8d, 0xd5, 0x3c, 0x36, 0x8a, 0x11, + 0x89, 0xc6, 0x9f, 0x65, 0x49, 0x16, 0x24, 0xef, 0xc3, 0xe1, 0xe9, 0xae, 0xfa, 0x8d, 0x6b, 0xed, + 0xa0, 0x66, 0x9a, 0xc3, 0xe9, 0xe1, 0x2e, 0x5a, 0x76, 0x28, 0x17, 0x87, 0x3e, 0x33, 0xe0, 0xc8, + 0xee, 0x41, 0xb2, 0x07, 0x6f, 0x5f, 0x53, 0xb1, 0x9c, 0x27, 0xd5, 0x88, 0xa2, 0xaf, 0x27, 0xb9, + 0x2c, 0xef, 0xe7, 0x95, 0xc8, 0xb0, 0x30, 0xfe, 0x1a, 0xe1, 0x28, 0x70, 0xe4, 0x53, 0x97, 0xc7, + 0xab, 0x8b, 0xa6, 0x9b, 0x9f, 0x7d, 0xba, 0x8d, 0x64, 0x3a, 0xbc, 0x3f, 0x26, 0x47, 0x26, 0x4c, + 0x81, 0xdf, 0x44, 0x0b, 0x3e, 0x50, 0xce, 0xdc, 0x5a, 0x49, 0x6e, 0x5d, 0x56, 0x29, 0x22, 0xa3, + 0x24, 0x19, 0xc5, 0xf7, 0xd1, 0x62, 0x0f, 0x38, 0xa7, 0x1d, 0xa8, 0x2d, 0x48, 0xe0, 0x9d, 0x04, + 0xb8, 0x78, 0x10, 0x87, 0x49, 0x3a, 0xde, 0xfc, 0x59, 0x41, 0x8b, 0x7b, 0xcc, 0xd8, 0xb7, 0xb9, + 0xc0, 0xcf, 0xc6, 0xec, 0xae, 0xdd, 0x70, 0x35, 0x11, 0x5d, 0xba, 0x7e, 0x35, 0x99, 0xa8, 0x9c, + 0x46, 0x72, 0x9e, 0x6f, 0xa3, 0x92, 0x2d, 0xa0, 0x17, 0xd5, 0xbd, 0xb8, 0x59, 0x6d, 0xa9, 0xb3, + 0x99, 0x53, 0x5f, 0x4e, 0xa4, 0x4b, 0x9f, 0x46, 0x22, 0x24, 0xd6, 0x6a, 0xfe, 0x58, 0x94, 0xf9, + 0x47, 0x87, 0x00, 0x6f, 0xa3, 0xaa, 0x47, 0x7d, 0xea, 0x38, 0xe0, 0xd8, 0xbc, 0x27, 0x97, 0x50, + 0xd2, 0xef, 0x84, 0xfd, 0x46, 0xf5, 0x70, 0x10, 0x26, 0x79, 0x4c, 0x44, 0x31, 0x59, 0xcf, 0x73, + 0x20, 0xda, 0xe3, 0xd8, 0x91, 0x09, 0x65, 0x77, 0x10, 0x26, 0x79, 0x0c, 0x7e, 0x8c, 0xd6, 0xa9, + 0x29, 0xec, 0x33, 0xf8, 0x18, 0xa8, 0xe5, 0xd8, 0x2e, 0xb4, 0xc1, 0x64, 0xae, 0x15, 0x9f, 0xb9, + 0xa2, 0xfe, 0x5a, 0xd8, 0x6f, 0xac, 0x7f, 0x34, 0x09, 0x40, 0x26, 0xf3, 0xf0, 0x97, 0xa8, 0xcc, + 0xc1, 0x01, 0x53, 0x30, 0x3f, 0x31, 0xd1, 0xce, 0x4d, 0xb7, 0x9d, 0x1a, 0xe0, 0xb4, 0x13, 0xae, + 0xbe, 0x14, 0xed, 0x7b, 0xfa, 0x47, 0x32, 0x4d, 0xfc, 0x08, 0xad, 0xf4, 0xa8, 0x1b, 0xd0, 0x0c, + 0x29, 0xdd, 0x53, 0xd6, 0x71, 0xd8, 0x6f, 0xac, 0x1c, 0x0c, 0x8d, 0x90, 0x11, 0x24, 0xfe, 0x02, + 0x95, 0x05, 0xf4, 0x3c, 0x87, 0x8a, 0xd8, 0x4a, 0xd5, 0xd6, 0xd6, 0xf5, 0x1d, 0xf0, 0x90, 0x59, + 0x47, 0x09, 0x41, 0xb6, 0xa9, 0xcc, 0x10, 0x69, 0x94, 0x64, 0x82, 0xcd, 0x9f, 0x8a, 0xa8, 0x92, + 0xb5, 0x1d, 0x7c, 0x8a, 0x90, 0x99, 0x1e, 0x6d, 0x5e, 0x53, 0xa4, 0x47, 0x1e, 0xce, 0xe6, 0x91, + 0xac, 0x35, 0x0c, 0xba, 0x6f, 0x16, 0xe2, 0x24, 0x27, 0x8f, 0x9f, 0xa2, 0x0a, 0x17, 0xd4, 0x17, + 0xf2, 0xe4, 0x16, 0x66, 0x3f, 0xb9, 0xcb, 0x61, 0xbf, 0x51, 0x69, 0xa7, 0x0a, 0x64, 0x20, 0x86, + 0x3b, 0x68, 0x65, 0xe0, 0x96, 0xdb, 0xf6, 0x21, 0x59, 0x9a, 0xdd, 0x21, 0x19, 0x32, 0x22, 0x1b, + 0x35, 0x83, 0xd8, 0x4f, 0xd2, 0x34, 0xa5, 0x41, 0x33, 0x88, 0xcd, 0x47, 0x92, 0x51, 0xac, 0xa1, + 0x0a, 0x0f, 0x4c, 0x13, 0xc0, 0x02, 0x4b, 0x56, 0xbe, 0xa4, 0xaf, 0x25, 0xd0, 0x4a, 0x3b, 0x1d, + 0x20, 0x03, 0x4c, 0x24, 0x7c, 0x42, 0x6d, 0x07, 0x2c, 0x59, 0xf1, 0x9c, 0xf0, 0x27, 0x32, 0x4a, + 0x92, 0xd1, 0xe6, 0x6f, 0x0a, 0xaa, 0xee, 0x31, 0x23, 0x2d, 0xec, 0x4b, 0xbc, 0x2d, 0xbb, 0x39, + 0x17, 0xc6, 0xc5, 0x7a, 0x34, 0x9b, 0x31, 0x6e, 0x6c, 0xc9, 0x5f, 0x14, 0x74, 0x67, 0x04, 0xff, + 0x7f, 0x7b, 0x05, 0x34, 0x7f, 0x28, 0xa0, 0xa5, 0xb6, 0xd9, 0x05, 0x2b, 0x70, 0xc0, 0x7a, 0xb9, + 0xcf, 0x98, 0x67, 0x43, 0x0b, 0x78, 0x7f, 0x86, 0x05, 0xe4, 0x13, 0x9c, 0xfa, 0x9e, 0x81, 0x91, + 0xf7, 0xcc, 0x07, 0xb7, 0x9d, 0xe0, 0xfa, 0x87, 0xcd, 0xaf, 0x0a, 0x5a, 0xcd, 0xc3, 0xff, 0x8b, + 0xcb, 0xf0, 0x78, 0xf8, 0x32, 0x7c, 0x78, 0xcb, 0x95, 0x4d, 0xb9, 0x15, 0xbf, 0x2d, 0x0e, 0xaf, + 0x48, 0xfa, 0xf8, 0x01, 0x2a, 0xf3, 0x24, 0x96, 0x3c, 0xd9, 0xb2, 0x04, 0x53, 0x2c, 0xc9, 0x10, + 0xf8, 0x09, 0xba, 0x2b, 0x9b, 0x9a, 0xed, 0x76, 0x46, 0x2f, 0xba, 0x82, 0xbc, 0xe8, 0x5e, 0x0f, + 0xfb, 0x8d, 0xbb, 0xed, 0xc9, 0x10, 0x32, 0x8d, 0x8b, 0x8f, 0xd1, 0x9a, 0xc9, 0x5c, 0x33, 0xf0, + 0x7d, 0x70, 0xcd, 0xf3, 0x43, 0xe6, 0xd8, 0xe6, 0xb9, 0xac, 0x6e, 0x45, 0x57, 0x93, 0x6c, 0xd6, + 0x76, 0x47, 0x01, 0x57, 0x93, 0x82, 0x64, 0x5c, 0x08, 0xbf, 0x81, 0x16, 0x79, 0xc0, 0x3d, 0x70, + 0x2d, 0xd9, 0x14, 0xcb, 0x7a, 0x35, 0x7a, 0xf4, 0xb4, 0xe3, 0x10, 0x49, 0xc7, 0xf0, 0x57, 0xa8, + 0xfa, 0x7c, 0x70, 0xc8, 0x65, 0x53, 0xfc, 0x77, 0x2d, 0xe5, 0x95, 0x24, 0xf5, 0x7c, 0x3f, 0x24, + 0xf9, 0x39, 0x9a, 0x7f, 0x2a, 0x08, 0x8f, 0x5b, 0x12, 0x3f, 0xc9, 0x9a, 0x78, 0x7c, 0xe1, 0x6d, + 0xdd, 0xe4, 0x60, 0x12, 0x38, 0x81, 0x68, 0xd5, 0x30, 0xb5, 0xe7, 0xf7, 0xd0, 0x6a, 0xf4, 0x7c, + 0x4c, 0x27, 0xbc, 0xed, 0xfb, 0xf4, 0xd5, 0xb0, 0xdf, 0x58, 0xdd, 0x1f, 0x11, 0x22, 0x63, 0xd2, + 0xfa, 0x5b, 0x17, 0x97, 0xf5, 0xb9, 0x17, 0x97, 0xf5, 0xb9, 0x3f, 0x2e, 0xeb, 0x73, 0xdf, 0x84, + 0x75, 0xe5, 0x22, 0xac, 0x2b, 0x2f, 0xc2, 0xba, 0xf2, 0x57, 0x58, 0x57, 0xbe, 0xfb, 0xbb, 0x3e, + 0xf7, 0x79, 0x39, 0xdd, 0xba, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x80, 0x6a, 0xa7, 0x35, 0xec, + 0x0e, 0x00, 0x00, } diff --git a/pkg/apis/batch/v2alpha1/generated.proto b/pkg/apis/batch/v2alpha1/generated.proto index 7fed5271..ebc58b08 100644 --- a/pkg/apis/batch/v2alpha1/generated.proto +++ b/pkg/apis/batch/v2alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.batch.v2alpha1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v2alpha1"; @@ -34,14 +34,17 @@ option go_package = "v2alpha1"; message Job { // Standard object's 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; // Spec is a structure defining the expected behavior of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobSpec spec = 2; // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobStatus status = 3; } @@ -54,15 +57,19 @@ message JobCondition { optional string status = 2; // Last time the condition was checked. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastProbeTime = 3; // Last time the condition transit from one status to another. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. + // +optional optional string reason = 5; // Human readable message indicating details about last transition. + // +optional optional string message = 6; } @@ -70,6 +77,7 @@ message JobCondition { message JobList { // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of Job. @@ -83,6 +91,7 @@ message JobSpec { // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional optional int32 parallelism = 1; // Completions specifies the desired number of successfully finished pods the @@ -91,16 +100,19 @@ message JobSpec { // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional optional int32 completions = 2; // Optional duration in seconds relative to the startTime that the job may be active // before the system tries to terminate it; value must be positive integer + // +optional optional int64 activeDeadlineSeconds = 3; // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - optional LabelSelector selector = 4; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -112,6 +124,7 @@ message JobSpec { // `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` // API. // More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md + // +optional optional bool manualSelector = 5; // Template is the object that describes the pod that will be created when @@ -124,25 +137,31 @@ message JobSpec { message JobStatus { // Conditions represent the latest available observations of an object's current state. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional repeated JobCondition conditions = 1; // StartTime represents time when the job was acknowledged by the Job Manager. // 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.api.unversioned.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.api.unversioned.Time completionTime = 3; // Active is the number of actively running pods. + // +optional optional int32 active = 4; // Succeeded is the number of pods which reached Phase Succeeded. + // +optional optional int32 succeeded = 5; // Failed is the number of pods which reached Phase Failed. + // +optional optional int32 failed = 6; } @@ -150,10 +169,12 @@ message JobStatus { message JobTemplate { // Standard object's 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; // Template defines jobs that will be created from this template // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobTemplateSpec template = 2; } @@ -161,55 +182,30 @@ message JobTemplate { message JobTemplateSpec { // Standard object's metadata of the jobs created from this template. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Specification of the desired behavior of the job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobSpec spec = 2; } -// A label selector is a label query over a set of resources. The result of matchLabels and -// matchExpressions are ANDed. An empty label selector matches all objects. A null -// label selector matches no objects. -message LabelSelector { - // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels - // map is equivalent to an element of matchExpressions, whose key field is "key", the - // operator is "In", and the values array contains only "value". The requirements are ANDed. - map matchLabels = 1; - - // matchExpressions is a list of label selector requirements. The requirements are ANDed. - repeated LabelSelectorRequirement matchExpressions = 2; -} - -// A label selector requirement is a selector that contains values, a key, and an operator that -// relates the key and values. -message LabelSelectorRequirement { - // key is the label key that the selector applies to. - optional string key = 1; - - // operator represents a key's relationship to a set of values. - // Valid operators ard In, NotIn, Exists and DoesNotExist. - optional string operator = 2; - - // values is an array of string values. If the operator is In or NotIn, - // the values array must be non-empty. If the operator is Exists or DoesNotExist, - // the values array must be empty. This array is replaced during a strategic - // merge patch. - repeated string values = 3; -} - // ScheduledJob represents the configuration of a single scheduled job. message ScheduledJob { // Standard object's 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; // Spec is a structure defining the expected behavior of a job, including the schedule. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ScheduledJobSpec spec = 2; // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ScheduledJobStatus status = 3; } @@ -217,6 +213,7 @@ message ScheduledJob { message ScheduledJobList { // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of ScheduledJob. @@ -230,13 +227,16 @@ message ScheduledJobSpec { // Optional deadline in seconds for starting the job if it misses scheduled // time for any reason. Missed jobs executions will be counted as failed ones. + // +optional optional int64 startingDeadlineSeconds = 2; // ConcurrencyPolicy specifies how to treat concurrent executions of a Job. + // +optional optional string concurrencyPolicy = 3; // Suspend flag tells the controller to suspend subsequent executions, it does // not apply to already started executions. Defaults to false. + // +optional optional bool suspend = 4; // JobTemplate is the object that describes the job that will be created when @@ -247,9 +247,11 @@ message ScheduledJobSpec { // ScheduledJobStatus represents the current state of a Job. message ScheduledJobStatus { // Active holds pointers to currently running jobs. + // +optional repeated k8s.io.kubernetes.pkg.api.v1.ObjectReference active = 1; // LastScheduleTime keeps information of when was the last time the job was successfully scheduled. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastScheduleTime = 4; } diff --git a/pkg/apis/batch/v2alpha1/types.generated.go b/pkg/apis/batch/v2alpha1/types.generated.go index 75afe6f2..fbdf99e8 100644 --- a/pkg/apis/batch/v2alpha1/types.generated.go +++ b/pkg/apis/batch/v2alpha1/types.generated.go @@ -1414,7 +1414,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym124 := z.EncBinary() + _ = yym124 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() @@ -1427,7 +1433,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym125 := z.EncBinary() + _ = yym125 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } @@ -1437,12 +1449,12 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy125 := *x.ManualSelector - yym126 := z.EncBinary() - _ = yym126 + yy127 := *x.ManualSelector + yym128 := z.EncBinary() + _ = yym128 if false { } else { - r.EncodeBool(bool(yy125)) + r.EncodeBool(bool(yy127)) } } } else { @@ -1456,26 +1468,26 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy127 := *x.ManualSelector - yym128 := z.EncBinary() - _ = yym128 + yy129 := *x.ManualSelector + yym130 := z.EncBinary() + _ = yym130 if false { } else { - r.EncodeBool(bool(yy127)) + r.EncodeBool(bool(yy129)) } } } } if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy130 := &x.Template - yy130.CodecEncodeSelf(e) + yy132 := &x.Template + yy132.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy131 := &x.Template - yy131.CodecEncodeSelf(e) + yy133 := &x.Template + yy133.CodecEncodeSelf(e) } if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -1490,25 +1502,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym132 := z.DecBinary() - _ = yym132 + yym134 := z.DecBinary() + _ = yym134 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct133 := r.ContainerType() - if yyct133 == codecSelferValueTypeMap1234 { - yyl133 := r.ReadMapStart() - if yyl133 == 0 { + yyct135 := r.ContainerType() + if yyct135 == codecSelferValueTypeMap1234 { + yyl135 := r.ReadMapStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl133, d) + x.codecDecodeSelfFromMap(yyl135, d) } - } else if yyct133 == codecSelferValueTypeArray1234 { - yyl133 := r.ReadArrayStart() - if yyl133 == 0 { + } else if yyct135 == codecSelferValueTypeArray1234 { + yyl135 := r.ReadArrayStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl133, d) + x.codecDecodeSelfFromArray(yyl135, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1520,12 +1532,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys134Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys134Slc - var yyhl134 bool = l >= 0 - for yyj134 := 0; ; yyj134++ { - if yyhl134 { - if yyj134 >= l { + var yys136Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys136Slc + var yyhl136 bool = l >= 0 + for yyj136 := 0; ; yyj136++ { + if yyhl136 { + if yyj136 >= l { break } } else { @@ -1534,10 +1546,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys134Slc = r.DecodeBytes(yys134Slc, true, true) - yys134 := string(yys134Slc) + yys136Slc = r.DecodeBytes(yys136Slc, true, true) + yys136 := string(yys136Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys134 { + switch yys136 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1547,8 +1559,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym136 := z.DecBinary() - _ = yym136 + yym138 := z.DecBinary() + _ = yym138 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1563,8 +1575,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym138 := z.DecBinary() - _ = yym138 + yym140 := z.DecBinary() + _ = yym140 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1579,8 +1591,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym140 := z.DecBinary() - _ = yym140 + yym142 := z.DecBinary() + _ = yym142 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1593,9 +1605,15 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym144 := z.DecBinary() + _ = yym144 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } case "manualSelector": if r.TryDecodeAsNil() { @@ -1606,8 +1624,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym143 := z.DecBinary() - _ = yym143 + yym146 := z.DecBinary() + _ = yym146 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1617,13 +1635,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv144 := &x.Template - yyv144.CodecDecodeSelf(d) + yyv147 := &x.Template + yyv147.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys134) - } // end switch yys134 - } // end for yyj134 + z.DecStructFieldNotFound(-1, yys136) + } // end switch yys136 + } // end for yyj136 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1631,16 +1649,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj145 int - var yyb145 bool - var yyhl145 bool = l >= 0 - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + var yyj148 int + var yyb148 bool + var yyhl148 bool = l >= 0 + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1653,20 +1671,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym147 := z.DecBinary() - _ = yym147 + yym150 := z.DecBinary() + _ = yym150 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1679,20 +1697,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym149 := z.DecBinary() - _ = yym149 + yym152 := z.DecBinary() + _ = yym152 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1705,20 +1723,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym151 := z.DecBinary() - _ = yym151 + yym154 := z.DecBinary() + _ = yym154 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1729,17 +1747,23 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym156 := z.DecBinary() + _ = yym156 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1752,20 +1776,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym154 := z.DecBinary() - _ = yym154 + yym158 := z.DecBinary() + _ = yym158 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1773,21 +1797,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv155 := &x.Template - yyv155.CodecDecodeSelf(d) + yyv159 := &x.Template + yyv159.CodecDecodeSelf(d) } for { - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj145-1, "") + z.DecStructFieldNotFound(yyj148-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1799,43 +1823,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym156 := z.EncBinary() - _ = yym156 + yym160 := z.EncBinary() + _ = yym160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep157 := !z.EncBinary() - yy2arr157 := z.EncBasicHandle().StructToArray - var yyq157 [6]bool - _, _, _ = yysep157, yyq157, yy2arr157 - const yyr157 bool = false - yyq157[0] = len(x.Conditions) != 0 - yyq157[1] = x.StartTime != nil - yyq157[2] = x.CompletionTime != nil - yyq157[3] = x.Active != 0 - yyq157[4] = x.Succeeded != 0 - yyq157[5] = x.Failed != 0 - var yynn157 int - if yyr157 || yy2arr157 { + 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 { r.EncodeArrayStart(6) } else { - yynn157 = 0 - for _, b := range yyq157 { + yynn161 = 0 + for _, b := range yyq161 { if b { - yynn157++ + yynn161++ } } - r.EncodeMapStart(yynn157) - yynn157 = 0 + r.EncodeMapStart(yynn161) + yynn161 = 0 } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[0] { + if yyq161[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym159 := z.EncBinary() - _ = yym159 + yym163 := z.EncBinary() + _ = yym163 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1845,15 +1869,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq157[0] { + if yyq161[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym160 := z.EncBinary() - _ = yym160 + yym164 := z.EncBinary() + _ = yym164 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1861,19 +1885,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[1] { + if yyq161[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym162 := z.EncBinary() - _ = yym162 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym162 { + } else if yym166 { z.EncBinaryMarshal(x.StartTime) - } else if !yym162 && z.IsJSONHandle() { + } else if !yym166 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1883,20 +1907,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq157[1] { + if yyq161[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym163 := z.EncBinary() - _ = yym163 + yym167 := z.EncBinary() + _ = yym167 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym163 { + } else if yym167 { z.EncBinaryMarshal(x.StartTime) - } else if !yym163 && z.IsJSONHandle() { + } else if !yym167 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1904,19 +1928,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[2] { + if yyq161[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym165 := z.EncBinary() - _ = yym165 + yym169 := z.EncBinary() + _ = yym169 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym165 { + } else if yym169 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym165 && z.IsJSONHandle() { + } else if !yym169 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1926,20 +1950,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq157[2] { + if yyq161[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym166 := z.EncBinary() - _ = yym166 + yym170 := z.EncBinary() + _ = yym170 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym166 { + } else if yym170 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym166 && z.IsJSONHandle() { + } else if !yym170 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1947,61 +1971,61 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[3] { - yym168 := z.EncBinary() - _ = yym168 - if false { - } else { - r.EncodeInt(int64(x.Active)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq157[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("active")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym169 := z.EncBinary() - _ = yym169 - if false { - } else { - r.EncodeInt(int64(x.Active)) - } - } - } - if yyr157 || yy2arr157 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[4] { - yym171 := z.EncBinary() - _ = yym171 - if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq157[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("succeeded")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq161[3] { yym172 := z.EncBinary() _ = yym172 if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq161[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("active")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym173 := z.EncBinary() + _ = yym173 + if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } + } + if yyr161 || yy2arr161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq161[4] { + yym175 := z.EncBinary() + _ = yym175 + if false { + } else { + r.EncodeInt(int64(x.Succeeded)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq161[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("succeeded")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym176 := z.EncBinary() + _ = yym176 + if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[5] { - yym174 := z.EncBinary() - _ = yym174 + if yyq161[5] { + yym178 := z.EncBinary() + _ = yym178 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -2010,19 +2034,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq157[5] { + if yyq161[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym175 := z.EncBinary() - _ = yym175 + yym179 := z.EncBinary() + _ = yym179 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2035,25 +2059,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym176 := z.DecBinary() - _ = yym176 + yym180 := z.DecBinary() + _ = yym180 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct177 := r.ContainerType() - if yyct177 == codecSelferValueTypeMap1234 { - yyl177 := r.ReadMapStart() - if yyl177 == 0 { + yyct181 := r.ContainerType() + if yyct181 == codecSelferValueTypeMap1234 { + yyl181 := r.ReadMapStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl177, d) + x.codecDecodeSelfFromMap(yyl181, d) } - } else if yyct177 == codecSelferValueTypeArray1234 { - yyl177 := r.ReadArrayStart() - if yyl177 == 0 { + } else if yyct181 == codecSelferValueTypeArray1234 { + yyl181 := r.ReadArrayStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl177, d) + x.codecDecodeSelfFromArray(yyl181, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2065,12 +2089,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys178Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys178Slc - var yyhl178 bool = l >= 0 - for yyj178 := 0; ; yyj178++ { - if yyhl178 { - if yyj178 >= l { + var yys182Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys182Slc + var yyhl182 bool = l >= 0 + for yyj182 := 0; ; yyj182++ { + if yyhl182 { + if yyj182 >= l { break } } else { @@ -2079,20 +2103,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys178Slc = r.DecodeBytes(yys178Slc, true, true) - yys178 := string(yys178Slc) + yys182Slc = r.DecodeBytes(yys182Slc, true, true) + yys182 := string(yys182Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys178 { + switch yys182 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv179 := &x.Conditions - yym180 := z.DecBinary() - _ = yym180 + yyv183 := &x.Conditions + yym184 := z.DecBinary() + _ = yym184 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv179), d) + h.decSliceJobCondition((*[]JobCondition)(yyv183), d) } } case "startTime": @@ -2104,13 +2128,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym182 := z.DecBinary() - _ = yym182 + yym186 := z.DecBinary() + _ = yym186 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym182 { + } else if yym186 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym182 && z.IsJSONHandle() { + } else if !yym186 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -2125,13 +2149,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym184 := z.DecBinary() - _ = yym184 + yym188 := z.DecBinary() + _ = yym188 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym184 { + } else if yym188 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym184 && z.IsJSONHandle() { + } else if !yym188 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -2156,9 +2180,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys178) - } // end switch yys178 - } // end for yyj178 + z.DecStructFieldNotFound(-1, yys182) + } // end switch yys182 + } // end for yyj182 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2166,16 +2190,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj188 int - var yyb188 bool - var yyhl188 bool = l >= 0 - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + var yyj192 int + var yyb192 bool + var yyhl192 bool = l >= 0 + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2183,21 +2207,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv189 := &x.Conditions - yym190 := z.DecBinary() - _ = yym190 + yyv193 := &x.Conditions + yym194 := z.DecBinary() + _ = yym194 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv189), d) + h.decSliceJobCondition((*[]JobCondition)(yyv193), d) } } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2210,25 +2234,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym192 := z.DecBinary() - _ = yym192 + yym196 := z.DecBinary() + _ = yym196 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym192 { + } else if yym196 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym192 && z.IsJSONHandle() { + } else if !yym196 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2241,25 +2265,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym194 := z.DecBinary() - _ = yym194 + yym198 := z.DecBinary() + _ = yym198 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym194 { + } else if yym198 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym194 && z.IsJSONHandle() { + } else if !yym198 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2269,13 +2293,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2285,13 +2309,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2302,17 +2326,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj188-1, "") + z.DecStructFieldNotFound(yyj192-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2321,8 +2345,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym198 := z.EncBinary() - _ = yym198 + yym202 := z.EncBinary() + _ = yym202 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2334,8 +2358,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym199 := z.DecBinary() - _ = yym199 + yym203 := z.DecBinary() + _ = yym203 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2350,34 +2374,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym200 := z.EncBinary() - _ = yym200 + yym204 := z.EncBinary() + _ = yym204 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep201 := !z.EncBinary() - yy2arr201 := z.EncBasicHandle().StructToArray - var yyq201 [6]bool - _, _, _ = yysep201, yyq201, yy2arr201 - const yyr201 bool = false - yyq201[2] = true - yyq201[3] = true - yyq201[4] = x.Reason != "" - yyq201[5] = x.Message != "" - var yynn201 int - if yyr201 || yy2arr201 { + 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 { r.EncodeArrayStart(6) } else { - yynn201 = 2 - for _, b := range yyq201 { + yynn205 = 2 + for _, b := range yyq205 { if b { - yynn201++ + yynn205++ } } - r.EncodeMapStart(yynn201) - yynn201 = 0 + r.EncodeMapStart(yynn205) + yynn205 = 0 } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -2386,10 +2410,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym204 := z.EncBinary() - _ = yym204 + yym208 := z.EncBinary() + _ = yym208 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -2399,139 +2423,139 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym205 := z.EncBinary() - _ = yym205 + yym209 := z.EncBinary() + _ = yym209 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[2] { - yy207 := &x.LastProbeTime - yym208 := z.EncBinary() - _ = yym208 + if yyq205[2] { + yy211 := &x.LastProbeTime + yym212 := z.EncBinary() + _ = yym212 if false { - } else if z.HasExtensions() && z.EncExt(yy207) { - } else if yym208 { - z.EncBinaryMarshal(yy207) - } else if !yym208 && z.IsJSONHandle() { - z.EncJSONMarshal(yy207) + } else if z.HasExtensions() && z.EncExt(yy211) { + } else if yym212 { + z.EncBinaryMarshal(yy211) + } else if !yym212 && z.IsJSONHandle() { + z.EncJSONMarshal(yy211) } else { - z.EncFallback(yy207) + z.EncFallback(yy211) } } else { r.EncodeNil() } } else { - if yyq201[2] { + if yyq205[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy209 := &x.LastProbeTime - yym210 := z.EncBinary() - _ = yym210 + yy213 := &x.LastProbeTime + yym214 := z.EncBinary() + _ = yym214 if false { - } else if z.HasExtensions() && z.EncExt(yy209) { - } else if yym210 { - z.EncBinaryMarshal(yy209) - } else if !yym210 && z.IsJSONHandle() { - z.EncJSONMarshal(yy209) + } else if z.HasExtensions() && z.EncExt(yy213) { + } else if yym214 { + z.EncBinaryMarshal(yy213) + } else if !yym214 && z.IsJSONHandle() { + z.EncJSONMarshal(yy213) } else { - z.EncFallback(yy209) + z.EncFallback(yy213) } } } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[3] { - yy212 := &x.LastTransitionTime - yym213 := z.EncBinary() - _ = yym213 + if yyq205[3] { + yy216 := &x.LastTransitionTime + yym217 := z.EncBinary() + _ = yym217 if false { - } else if z.HasExtensions() && z.EncExt(yy212) { - } else if yym213 { - z.EncBinaryMarshal(yy212) - } else if !yym213 && z.IsJSONHandle() { - z.EncJSONMarshal(yy212) + } else if z.HasExtensions() && z.EncExt(yy216) { + } else if yym217 { + z.EncBinaryMarshal(yy216) + } else if !yym217 && z.IsJSONHandle() { + z.EncJSONMarshal(yy216) } else { - z.EncFallback(yy212) + z.EncFallback(yy216) } } else { r.EncodeNil() } } else { - if yyq201[3] { + if yyq205[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy214 := &x.LastTransitionTime - yym215 := z.EncBinary() - _ = yym215 + yy218 := &x.LastTransitionTime + yym219 := z.EncBinary() + _ = yym219 if false { - } else if z.HasExtensions() && z.EncExt(yy214) { - } else if yym215 { - z.EncBinaryMarshal(yy214) - } else if !yym215 && z.IsJSONHandle() { - z.EncJSONMarshal(yy214) + } else if z.HasExtensions() && z.EncExt(yy218) { + } else if yym219 { + z.EncBinaryMarshal(yy218) + } else if !yym219 && z.IsJSONHandle() { + z.EncJSONMarshal(yy218) } else { - z.EncFallback(yy214) + z.EncFallback(yy218) } } } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[4] { - yym217 := z.EncBinary() - _ = yym217 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq201[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym218 := z.EncBinary() - _ = yym218 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr201 || yy2arr201 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[5] { - yym220 := z.EncBinary() - _ = yym220 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq201[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq205[4] { yym221 := z.EncBinary() _ = yym221 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq205[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym222 := z.EncBinary() + _ = yym222 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr205 || yy2arr205 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq205[5] { + yym224 := z.EncBinary() + _ = yym224 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq205[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym225 := z.EncBinary() + _ = yym225 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2544,25 +2568,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym222 := z.DecBinary() - _ = yym222 + yym226 := z.DecBinary() + _ = yym226 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct223 := r.ContainerType() - if yyct223 == codecSelferValueTypeMap1234 { - yyl223 := r.ReadMapStart() - if yyl223 == 0 { + yyct227 := r.ContainerType() + if yyct227 == codecSelferValueTypeMap1234 { + yyl227 := r.ReadMapStart() + if yyl227 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl223, d) + x.codecDecodeSelfFromMap(yyl227, d) } - } else if yyct223 == codecSelferValueTypeArray1234 { - yyl223 := r.ReadArrayStart() - if yyl223 == 0 { + } else if yyct227 == codecSelferValueTypeArray1234 { + yyl227 := r.ReadArrayStart() + if yyl227 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl223, d) + x.codecDecodeSelfFromArray(yyl227, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2574,12 +2598,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys224Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys224Slc - var yyhl224 bool = l >= 0 - for yyj224 := 0; ; yyj224++ { - if yyhl224 { - if yyj224 >= l { + var yys228Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys228Slc + var yyhl228 bool = l >= 0 + for yyj228 := 0; ; yyj228++ { + if yyhl228 { + if yyj228 >= l { break } } else { @@ -2588,10 +2612,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys224Slc = r.DecodeBytes(yys224Slc, true, true) - yys224 := string(yys224Slc) + yys228Slc = r.DecodeBytes(yys228Slc, true, true) + yys228 := string(yys228Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys224 { + switch yys228 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2608,34 +2632,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv227 := &x.LastProbeTime - yym228 := z.DecBinary() - _ = yym228 + yyv231 := &x.LastProbeTime + yym232 := z.DecBinary() + _ = yym232 if false { - } else if z.HasExtensions() && z.DecExt(yyv227) { - } else if yym228 { - z.DecBinaryUnmarshal(yyv227) - } else if !yym228 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv227) + } else if z.HasExtensions() && z.DecExt(yyv231) { + } else if yym232 { + z.DecBinaryUnmarshal(yyv231) + } else if !yym232 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv231) } else { - z.DecFallback(yyv227, false) + z.DecFallback(yyv231, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv229 := &x.LastTransitionTime - yym230 := z.DecBinary() - _ = yym230 + yyv233 := &x.LastTransitionTime + yym234 := z.DecBinary() + _ = yym234 if false { - } else if z.HasExtensions() && z.DecExt(yyv229) { - } else if yym230 { - z.DecBinaryUnmarshal(yyv229) - } else if !yym230 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv229) + } else if z.HasExtensions() && z.DecExt(yyv233) { + } else if yym234 { + z.DecBinaryUnmarshal(yyv233) + } else if !yym234 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv233) } else { - z.DecFallback(yyv229, false) + z.DecFallback(yyv233, false) } } case "reason": @@ -2651,9 +2675,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys224) - } // end switch yys224 - } // end for yyj224 + z.DecStructFieldNotFound(-1, yys228) + } // end switch yys228 + } // end for yyj228 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2661,16 +2685,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj233 int - var yyb233 bool - var yyhl233 bool = l >= 0 - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + var yyj237 int + var yyb237 bool + var yyhl237 bool = l >= 0 + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2680,13 +2704,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2696,13 +2720,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2710,26 +2734,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv236 := &x.LastProbeTime - yym237 := z.DecBinary() - _ = yym237 + yyv240 := &x.LastProbeTime + yym241 := z.DecBinary() + _ = yym241 if false { - } else if z.HasExtensions() && z.DecExt(yyv236) { - } else if yym237 { - z.DecBinaryUnmarshal(yyv236) - } else if !yym237 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv236) + } else if z.HasExtensions() && z.DecExt(yyv240) { + } else if yym241 { + z.DecBinaryUnmarshal(yyv240) + } else if !yym241 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv240) } else { - z.DecFallback(yyv236, false) + z.DecFallback(yyv240, false) } } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2737,26 +2761,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv238 := &x.LastTransitionTime - yym239 := z.DecBinary() - _ = yym239 + yyv242 := &x.LastTransitionTime + yym243 := z.DecBinary() + _ = yym243 if false { - } else if z.HasExtensions() && z.DecExt(yyv238) { - } else if yym239 { - z.DecBinaryUnmarshal(yyv238) - } else if !yym239 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv238) + } else if z.HasExtensions() && z.DecExt(yyv242) { + } else if yym243 { + z.DecBinaryUnmarshal(yyv242) + } else if !yym243 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv242) } else { - z.DecFallback(yyv238, false) + z.DecFallback(yyv242, false) } } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2766,13 +2790,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2783,17 +2807,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj233-1, "") + z.DecStructFieldNotFound(yyj237-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2805,136 +2829,136 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym242 := z.EncBinary() - _ = yym242 + yym246 := z.EncBinary() + _ = yym246 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep243 := !z.EncBinary() - yy2arr243 := z.EncBasicHandle().StructToArray - var yyq243 [5]bool - _, _, _ = yysep243, yyq243, yy2arr243 - const yyr243 bool = false - yyq243[0] = x.Kind != "" - yyq243[1] = x.APIVersion != "" - yyq243[2] = true - yyq243[3] = true - yyq243[4] = true - var yynn243 int - if yyr243 || yy2arr243 { + 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 { r.EncodeArrayStart(5) } else { - yynn243 = 0 - for _, b := range yyq243 { + yynn247 = 0 + for _, b := range yyq247 { if b { - yynn243++ + yynn247++ } } - r.EncodeMapStart(yynn243) - yynn243 = 0 + r.EncodeMapStart(yynn247) + yynn247 = 0 } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[0] { - yym245 := z.EncBinary() - _ = yym245 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq243[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym246 := z.EncBinary() - _ = yym246 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr243 || yy2arr243 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[1] { - yym248 := z.EncBinary() - _ = yym248 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq243[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq247[0] { yym249 := z.EncBinary() _ = yym249 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq247[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym250 := z.EncBinary() + _ = yym250 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr247 || yy2arr247 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq247[1] { + yym252 := z.EncBinary() + _ = yym252 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq247[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym253 := z.EncBinary() + _ = yym253 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[2] { - yy251 := &x.ObjectMeta - yy251.CodecEncodeSelf(e) + if yyq247[2] { + yy255 := &x.ObjectMeta + yy255.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq243[2] { + if yyq247[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy252 := &x.ObjectMeta - yy252.CodecEncodeSelf(e) + yy256 := &x.ObjectMeta + yy256.CodecEncodeSelf(e) } } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[3] { - yy254 := &x.Spec - yy254.CodecEncodeSelf(e) + if yyq247[3] { + yy258 := &x.Spec + yy258.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq243[3] { + if yyq247[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy255 := &x.Spec - yy255.CodecEncodeSelf(e) + yy259 := &x.Spec + yy259.CodecEncodeSelf(e) } } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[4] { - yy257 := &x.Status - yy257.CodecEncodeSelf(e) + if yyq247[4] { + yy261 := &x.Status + yy261.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq243[4] { + if yyq247[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy258 := &x.Status - yy258.CodecEncodeSelf(e) + yy262 := &x.Status + yy262.CodecEncodeSelf(e) } } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2947,25 +2971,25 @@ func (x *ScheduledJob) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym259 := z.DecBinary() - _ = yym259 + yym263 := z.DecBinary() + _ = yym263 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct260 := r.ContainerType() - if yyct260 == codecSelferValueTypeMap1234 { - yyl260 := r.ReadMapStart() - if yyl260 == 0 { + yyct264 := r.ContainerType() + if yyct264 == codecSelferValueTypeMap1234 { + yyl264 := r.ReadMapStart() + if yyl264 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl260, d) + x.codecDecodeSelfFromMap(yyl264, d) } - } else if yyct260 == codecSelferValueTypeArray1234 { - yyl260 := r.ReadArrayStart() - if yyl260 == 0 { + } else if yyct264 == codecSelferValueTypeArray1234 { + yyl264 := r.ReadArrayStart() + if yyl264 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl260, d) + x.codecDecodeSelfFromArray(yyl264, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2977,12 +3001,12 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys261Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys261Slc - var yyhl261 bool = l >= 0 - for yyj261 := 0; ; yyj261++ { - if yyhl261 { - if yyj261 >= l { + var yys265Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys265Slc + var yyhl265 bool = l >= 0 + for yyj265 := 0; ; yyj265++ { + if yyhl265 { + if yyj265 >= l { break } } else { @@ -2991,10 +3015,10 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys261Slc = r.DecodeBytes(yys261Slc, true, true) - yys261 := string(yys261Slc) + yys265Slc = r.DecodeBytes(yys265Slc, true, true) + yys265 := string(yys265Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys261 { + switch yys265 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3011,27 +3035,27 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv264 := &x.ObjectMeta - yyv264.CodecDecodeSelf(d) + yyv268 := &x.ObjectMeta + yyv268.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ScheduledJobSpec{} } else { - yyv265 := &x.Spec - yyv265.CodecDecodeSelf(d) + yyv269 := &x.Spec + yyv269.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ScheduledJobStatus{} } else { - yyv266 := &x.Status - yyv266.CodecDecodeSelf(d) + yyv270 := &x.Status + yyv270.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys261) - } // end switch yys261 - } // end for yyj261 + z.DecStructFieldNotFound(-1, yys265) + } // end switch yys265 + } // end for yyj265 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3039,16 +3063,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj267 int - var yyb267 bool - var yyhl267 bool = l >= 0 - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + var yyj271 int + var yyb271 bool + var yyhl271 bool = l >= 0 + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3058,13 +3082,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3074,13 +3098,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3088,16 +3112,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv270 := &x.ObjectMeta - yyv270.CodecDecodeSelf(d) + yyv274 := &x.ObjectMeta + yyv274.CodecDecodeSelf(d) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3105,16 +3129,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ScheduledJobSpec{} } else { - yyv271 := &x.Spec - yyv271.CodecDecodeSelf(d) + yyv275 := &x.Spec + yyv275.CodecDecodeSelf(d) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3122,21 +3146,21 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ScheduledJobStatus{} } else { - yyv272 := &x.Status - yyv272.CodecDecodeSelf(d) + yyv276 := &x.Status + yyv276.CodecDecodeSelf(d) } for { - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj267-1, "") + z.DecStructFieldNotFound(yyj271-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3148,118 +3172,118 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym273 := z.EncBinary() - _ = yym273 + yym277 := z.EncBinary() + _ = yym277 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep274 := !z.EncBinary() - yy2arr274 := z.EncBasicHandle().StructToArray - var yyq274 [4]bool - _, _, _ = yysep274, yyq274, yy2arr274 - const yyr274 bool = false - yyq274[0] = x.Kind != "" - yyq274[1] = x.APIVersion != "" - yyq274[2] = true - var yynn274 int - if yyr274 || yy2arr274 { + 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 { r.EncodeArrayStart(4) } else { - yynn274 = 1 - for _, b := range yyq274 { + yynn278 = 1 + for _, b := range yyq278 { if b { - yynn274++ + yynn278++ } } - r.EncodeMapStart(yynn274) - yynn274 = 0 + r.EncodeMapStart(yynn278) + yynn278 = 0 } - if yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq274[0] { - yym276 := z.EncBinary() - _ = yym276 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq274[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym277 := z.EncBinary() - _ = yym277 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr274 || yy2arr274 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq274[1] { - yym279 := z.EncBinary() - _ = yym279 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq274[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq278[0] { yym280 := z.EncBinary() _ = yym280 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq278[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym281 := z.EncBinary() + _ = yym281 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr278 || yy2arr278 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq278[1] { + yym283 := z.EncBinary() + _ = yym283 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq278[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym284 := z.EncBinary() + _ = yym284 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq274[2] { - yy282 := &x.ListMeta - yym283 := z.EncBinary() - _ = yym283 + if yyq278[2] { + yy286 := &x.ListMeta + yym287 := z.EncBinary() + _ = yym287 if false { - } else if z.HasExtensions() && z.EncExt(yy282) { + } else if z.HasExtensions() && z.EncExt(yy286) { } else { - z.EncFallback(yy282) + z.EncFallback(yy286) } } else { r.EncodeNil() } } else { - if yyq274[2] { + if yyq278[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy284 := &x.ListMeta - yym285 := z.EncBinary() - _ = yym285 + yy288 := &x.ListMeta + yym289 := z.EncBinary() + _ = yym289 if false { - } else if z.HasExtensions() && z.EncExt(yy284) { + } else if z.HasExtensions() && z.EncExt(yy288) { } else { - z.EncFallback(yy284) + z.EncFallback(yy288) } } } - if yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym287 := z.EncBinary() - _ = yym287 + yym291 := z.EncBinary() + _ = yym291 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) @@ -3272,15 +3296,15 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym288 := z.EncBinary() - _ = yym288 + yym292 := z.EncBinary() + _ = yym292 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) } } } - if yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3293,25 +3317,25 @@ func (x *ScheduledJobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym289 := z.DecBinary() - _ = yym289 + yym293 := z.DecBinary() + _ = yym293 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct290 := r.ContainerType() - if yyct290 == codecSelferValueTypeMap1234 { - yyl290 := r.ReadMapStart() - if yyl290 == 0 { + yyct294 := r.ContainerType() + if yyct294 == codecSelferValueTypeMap1234 { + yyl294 := r.ReadMapStart() + if yyl294 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl290, d) + x.codecDecodeSelfFromMap(yyl294, d) } - } else if yyct290 == codecSelferValueTypeArray1234 { - yyl290 := r.ReadArrayStart() - if yyl290 == 0 { + } else if yyct294 == codecSelferValueTypeArray1234 { + yyl294 := r.ReadArrayStart() + if yyl294 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl290, d) + x.codecDecodeSelfFromArray(yyl294, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3323,12 +3347,12 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys291Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys291Slc - var yyhl291 bool = l >= 0 - for yyj291 := 0; ; yyj291++ { - if yyhl291 { - if yyj291 >= l { + var yys295Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys295Slc + var yyhl295 bool = l >= 0 + for yyj295 := 0; ; yyj295++ { + if yyhl295 { + if yyj295 >= l { break } } else { @@ -3337,10 +3361,10 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys291Slc = r.DecodeBytes(yys291Slc, true, true) - yys291 := string(yys291Slc) + yys295Slc = r.DecodeBytes(yys295Slc, true, true) + yys295 := string(yys295Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys291 { + switch yys295 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3357,31 +3381,31 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv294 := &x.ListMeta - yym295 := z.DecBinary() - _ = yym295 + yyv298 := &x.ListMeta + yym299 := z.DecBinary() + _ = yym299 if false { - } else if z.HasExtensions() && z.DecExt(yyv294) { + } else if z.HasExtensions() && z.DecExt(yyv298) { } else { - z.DecFallback(yyv294, false) + z.DecFallback(yyv298, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv296 := &x.Items - yym297 := z.DecBinary() - _ = yym297 + yyv300 := &x.Items + yym301 := z.DecBinary() + _ = yym301 if false { } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv296), d) + h.decSliceScheduledJob((*[]ScheduledJob)(yyv300), d) } } default: - z.DecStructFieldNotFound(-1, yys291) - } // end switch yys291 - } // end for yyj291 + z.DecStructFieldNotFound(-1, yys295) + } // end switch yys295 + } // end for yyj295 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3389,16 +3413,16 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj298 int - var yyb298 bool - var yyhl298 bool = l >= 0 - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + var yyj302 int + var yyb302 bool + var yyhl302 bool = l >= 0 + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3408,13 +3432,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3424,13 +3448,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3438,22 +3462,22 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv301 := &x.ListMeta - yym302 := z.DecBinary() - _ = yym302 + yyv305 := &x.ListMeta + yym306 := z.DecBinary() + _ = yym306 if false { - } else if z.HasExtensions() && z.DecExt(yyv301) { + } else if z.HasExtensions() && z.DecExt(yyv305) { } else { - z.DecFallback(yyv301, false) + z.DecFallback(yyv305, false) } } - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3461,26 +3485,26 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv303 := &x.Items - yym304 := z.DecBinary() - _ = yym304 + yyv307 := &x.Items + yym308 := z.DecBinary() + _ = yym308 if false { } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv303), d) + h.decSliceScheduledJob((*[]ScheduledJob)(yyv307), d) } } for { - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj298-1, "") + z.DecStructFieldNotFound(yyj302-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3492,36 +3516,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym305 := z.EncBinary() - _ = yym305 + yym309 := z.EncBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep306 := !z.EncBinary() - yy2arr306 := z.EncBasicHandle().StructToArray - var yyq306 [5]bool - _, _, _ = yysep306, yyq306, yy2arr306 - const yyr306 bool = false - yyq306[1] = x.StartingDeadlineSeconds != nil - yyq306[2] = x.ConcurrencyPolicy != "" - yyq306[3] = x.Suspend != nil - var yynn306 int - if yyr306 || yy2arr306 { + 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 { r.EncodeArrayStart(5) } else { - yynn306 = 2 - for _, b := range yyq306 { + yynn310 = 2 + for _, b := range yyq310 { if b { - yynn306++ + yynn310++ } } - r.EncodeMapStart(yynn306) - yynn306 = 0 + r.EncodeMapStart(yynn310) + yynn310 = 0 } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym308 := z.EncBinary() - _ = yym308 + yym312 := z.EncBinary() + _ = yym312 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) @@ -3530,110 +3554,110 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym309 := z.EncBinary() - _ = yym309 + yym313 := z.EncBinary() + _ = yym313 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq306[1] { + if yyq310[1] { if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy311 := *x.StartingDeadlineSeconds - yym312 := z.EncBinary() - _ = yym312 + yy315 := *x.StartingDeadlineSeconds + yym316 := z.EncBinary() + _ = yym316 if false { } else { - r.EncodeInt(int64(yy311)) + r.EncodeInt(int64(yy315)) } } } else { r.EncodeNil() } } else { - if yyq306[1] { + if yyq310[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startingDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy313 := *x.StartingDeadlineSeconds - yym314 := z.EncBinary() - _ = yym314 + yy317 := *x.StartingDeadlineSeconds + yym318 := z.EncBinary() + _ = yym318 if false { } else { - r.EncodeInt(int64(yy313)) + r.EncodeInt(int64(yy317)) } } } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq306[2] { + if yyq310[2] { x.ConcurrencyPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq306[2] { + if yyq310[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrencyPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ConcurrencyPolicy.CodecEncodeSelf(e) } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq306[3] { + if yyq310[3] { if x.Suspend == nil { r.EncodeNil() } else { - yy317 := *x.Suspend - yym318 := z.EncBinary() - _ = yym318 + yy321 := *x.Suspend + yym322 := z.EncBinary() + _ = yym322 if false { } else { - r.EncodeBool(bool(yy317)) + r.EncodeBool(bool(yy321)) } } } else { r.EncodeNil() } } else { - if yyq306[3] { + if yyq310[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Suspend == nil { r.EncodeNil() } else { - yy319 := *x.Suspend - yym320 := z.EncBinary() - _ = yym320 + yy323 := *x.Suspend + yym324 := z.EncBinary() + _ = yym324 if false { } else { - r.EncodeBool(bool(yy319)) + r.EncodeBool(bool(yy323)) } } } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy322 := &x.JobTemplate - yy322.CodecEncodeSelf(e) + yy326 := &x.JobTemplate + yy326.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("jobTemplate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy323 := &x.JobTemplate - yy323.CodecEncodeSelf(e) + yy327 := &x.JobTemplate + yy327.CodecEncodeSelf(e) } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3646,25 +3670,25 @@ func (x *ScheduledJobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym324 := z.DecBinary() - _ = yym324 + yym328 := z.DecBinary() + _ = yym328 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct325 := r.ContainerType() - if yyct325 == codecSelferValueTypeMap1234 { - yyl325 := r.ReadMapStart() - if yyl325 == 0 { + yyct329 := r.ContainerType() + if yyct329 == codecSelferValueTypeMap1234 { + yyl329 := r.ReadMapStart() + if yyl329 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl325, d) + x.codecDecodeSelfFromMap(yyl329, d) } - } else if yyct325 == codecSelferValueTypeArray1234 { - yyl325 := r.ReadArrayStart() - if yyl325 == 0 { + } else if yyct329 == codecSelferValueTypeArray1234 { + yyl329 := r.ReadArrayStart() + if yyl329 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl325, d) + x.codecDecodeSelfFromArray(yyl329, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3676,12 +3700,12 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys326Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys326Slc - var yyhl326 bool = l >= 0 - for yyj326 := 0; ; yyj326++ { - if yyhl326 { - if yyj326 >= l { + var yys330Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys330Slc + var yyhl330 bool = l >= 0 + for yyj330 := 0; ; yyj330++ { + if yyhl330 { + if yyj330 >= l { break } } else { @@ -3690,10 +3714,10 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys326Slc = r.DecodeBytes(yys326Slc, true, true) - yys326 := string(yys326Slc) + yys330Slc = r.DecodeBytes(yys330Slc, true, true) + yys330 := string(yys330Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys326 { + switch yys330 { case "schedule": if r.TryDecodeAsNil() { x.Schedule = "" @@ -3709,8 +3733,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym329 := z.DecBinary() - _ = yym329 + yym333 := z.DecBinary() + _ = yym333 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -3731,8 +3755,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Suspend == nil { x.Suspend = new(bool) } - yym332 := z.DecBinary() - _ = yym332 + yym336 := z.DecBinary() + _ = yym336 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() @@ -3742,13 +3766,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv333 := &x.JobTemplate - yyv333.CodecDecodeSelf(d) + yyv337 := &x.JobTemplate + yyv337.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys326) - } // end switch yys326 - } // end for yyj326 + z.DecStructFieldNotFound(-1, yys330) + } // end switch yys330 + } // end for yyj330 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3756,16 +3780,16 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj334 int - var yyb334 bool - var yyhl334 bool = l >= 0 - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + var yyj338 int + var yyb338 bool + var yyhl338 bool = l >= 0 + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3775,13 +3799,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Schedule = string(r.DecodeString()) } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3794,20 +3818,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym337 := z.DecBinary() - _ = yym337 + yym341 := z.DecBinary() + _ = yym341 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3817,13 +3841,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ConcurrencyPolicy = ConcurrencyPolicy(r.DecodeString()) } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3836,20 +3860,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Suspend == nil { x.Suspend = new(bool) } - yym340 := z.DecBinary() - _ = yym340 + yym344 := z.DecBinary() + _ = yym344 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() } } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3857,21 +3881,21 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv341 := &x.JobTemplate - yyv341.CodecDecodeSelf(d) + yyv345 := &x.JobTemplate + yyv345.CodecDecodeSelf(d) } for { - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj334-1, "") + z.DecStructFieldNotFound(yyj338-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3880,8 +3904,8 @@ func (x ConcurrencyPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym342 := z.EncBinary() - _ = yym342 + yym346 := z.EncBinary() + _ = yym346 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -3893,8 +3917,8 @@ func (x *ConcurrencyPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym343 := z.DecBinary() - _ = yym343 + yym347 := z.DecBinary() + _ = yym347 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -3909,39 +3933,39 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym344 := z.EncBinary() - _ = yym344 + yym348 := z.EncBinary() + _ = yym348 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep345 := !z.EncBinary() - yy2arr345 := z.EncBasicHandle().StructToArray - var yyq345 [2]bool - _, _, _ = yysep345, yyq345, yy2arr345 - const yyr345 bool = false - yyq345[0] = len(x.Active) != 0 - yyq345[1] = x.LastScheduleTime != nil - var yynn345 int - if yyr345 || yy2arr345 { + 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 { r.EncodeArrayStart(2) } else { - yynn345 = 0 - for _, b := range yyq345 { + yynn349 = 0 + for _, b := range yyq349 { if b { - yynn345++ + yynn349++ } } - r.EncodeMapStart(yynn345) - yynn345 = 0 + r.EncodeMapStart(yynn349) + yynn349 = 0 } - if yyr345 || yy2arr345 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq345[0] { + if yyq349[0] { if x.Active == nil { r.EncodeNil() } else { - yym347 := z.EncBinary() - _ = yym347 + yym351 := z.EncBinary() + _ = yym351 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3951,15 +3975,15 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq345[0] { + if yyq349[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Active == nil { r.EncodeNil() } else { - yym348 := z.EncBinary() - _ = yym348 + yym352 := z.EncBinary() + _ = yym352 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3967,19 +3991,19 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr345 || yy2arr345 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq345[1] { + if yyq349[1] { if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym350 := z.EncBinary() - _ = yym350 + yym354 := z.EncBinary() + _ = yym354 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym350 { + } else if yym354 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym350 && z.IsJSONHandle() { + } else if !yym354 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -3989,20 +4013,20 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq345[1] { + if yyq349[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScheduleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym351 := z.EncBinary() - _ = yym351 + yym355 := z.EncBinary() + _ = yym355 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym351 { + } else if yym355 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym351 && z.IsJSONHandle() { + } else if !yym355 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4010,7 +4034,7 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr345 || yy2arr345 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4023,25 +4047,25 @@ func (x *ScheduledJobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym352 := z.DecBinary() - _ = yym352 + yym356 := z.DecBinary() + _ = yym356 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct353 := r.ContainerType() - if yyct353 == codecSelferValueTypeMap1234 { - yyl353 := r.ReadMapStart() - if yyl353 == 0 { + yyct357 := r.ContainerType() + if yyct357 == codecSelferValueTypeMap1234 { + yyl357 := r.ReadMapStart() + if yyl357 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl353, d) + x.codecDecodeSelfFromMap(yyl357, d) } - } else if yyct353 == codecSelferValueTypeArray1234 { - yyl353 := r.ReadArrayStart() - if yyl353 == 0 { + } else if yyct357 == codecSelferValueTypeArray1234 { + yyl357 := r.ReadArrayStart() + if yyl357 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl353, d) + x.codecDecodeSelfFromArray(yyl357, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4053,12 +4077,12 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys354Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys354Slc - var yyhl354 bool = l >= 0 - for yyj354 := 0; ; yyj354++ { - if yyhl354 { - if yyj354 >= l { + var yys358Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys358Slc + var yyhl358 bool = l >= 0 + for yyj358 := 0; ; yyj358++ { + if yyhl358 { + if yyj358 >= l { break } } else { @@ -4067,20 +4091,20 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys354Slc = r.DecodeBytes(yys354Slc, true, true) - yys354 := string(yys354Slc) + yys358Slc = r.DecodeBytes(yys358Slc, true, true) + yys358 := string(yys358Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys354 { + switch yys358 { case "active": if r.TryDecodeAsNil() { x.Active = nil } else { - yyv355 := &x.Active - yym356 := z.DecBinary() - _ = yym356 + yyv359 := &x.Active + yym360 := z.DecBinary() + _ = yym360 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv355), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv359), d) } } case "lastScheduleTime": @@ -4092,22 +4116,22 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym358 := z.DecBinary() - _ = yym358 + yym362 := z.DecBinary() + _ = yym362 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym358 { + } else if yym362 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym358 && z.IsJSONHandle() { + } else if !yym362 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } default: - z.DecStructFieldNotFound(-1, yys354) - } // end switch yys354 - } // end for yyj354 + z.DecStructFieldNotFound(-1, yys358) + } // end switch yys358 + } // end for yyj358 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4115,16 +4139,16 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj359 int - var yyb359 bool - var yyhl359 bool = l >= 0 - yyj359++ - if yyhl359 { - yyb359 = yyj359 > l + var yyj363 int + var yyb363 bool + var yyhl363 bool = l >= 0 + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb359 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb359 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4132,21 +4156,21 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Active = nil } else { - yyv360 := &x.Active - yym361 := z.DecBinary() - _ = yym361 + yyv364 := &x.Active + yym365 := z.DecBinary() + _ = yym365 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv360), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv364), d) } } - yyj359++ - if yyhl359 { - yyb359 = yyj359 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb359 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb359 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4159,587 +4183,43 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym363 := z.DecBinary() - _ = yym363 + yym367 := z.DecBinary() + _ = yym367 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym363 { + } else if yym367 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym363 && z.IsJSONHandle() { + } else if !yym367 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } for { - yyj359++ - if yyhl359 { - yyb359 = yyj359 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb359 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb359 { + if yyb363 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj359-1, "") + z.DecStructFieldNotFound(yyj363-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym364 := z.EncBinary() - _ = yym364 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep365 := !z.EncBinary() - yy2arr365 := z.EncBasicHandle().StructToArray - var yyq365 [2]bool - _, _, _ = yysep365, yyq365, yy2arr365 - const yyr365 bool = false - yyq365[0] = len(x.MatchLabels) != 0 - yyq365[1] = len(x.MatchExpressions) != 0 - var yynn365 int - if yyr365 || yy2arr365 { - r.EncodeArrayStart(2) - } else { - yynn365 = 0 - for _, b := range yyq365 { - if b { - yynn365++ - } - } - r.EncodeMapStart(yynn365) - yynn365 = 0 - } - if yyr365 || yy2arr365 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq365[0] { - if x.MatchLabels == nil { - r.EncodeNil() - } else { - yym367 := z.EncBinary() - _ = yym367 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq365[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchLabels == nil { - r.EncodeNil() - } else { - yym368 := z.EncBinary() - _ = yym368 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } - } - } - } - if yyr365 || yy2arr365 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq365[1] { - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym370 := z.EncBinary() - _ = yym370 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq365[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym371 := z.EncBinary() - _ = yym371 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } - } - } - if yyr365 || yy2arr365 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym372 := z.DecBinary() - _ = yym372 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct373 := r.ContainerType() - if yyct373 == codecSelferValueTypeMap1234 { - yyl373 := r.ReadMapStart() - if yyl373 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl373, d) - } - } else if yyct373 == codecSelferValueTypeArray1234 { - yyl373 := r.ReadArrayStart() - if yyl373 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl373, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys374Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys374Slc - var yyhl374 bool = l >= 0 - for yyj374 := 0; ; yyj374++ { - if yyhl374 { - if yyj374 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys374Slc = r.DecodeBytes(yys374Slc, true, true) - yys374 := string(yys374Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys374 { - case "matchLabels": - if r.TryDecodeAsNil() { - x.MatchLabels = nil - } else { - yyv375 := &x.MatchLabels - yym376 := z.DecBinary() - _ = yym376 - if false { - } else { - z.F.DecMapStringStringX(yyv375, false, d) - } - } - case "matchExpressions": - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv377 := &x.MatchExpressions - yym378 := z.DecBinary() - _ = yym378 - if false { - } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv377), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys374) - } // end switch yys374 - } // end for yyj374 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj379 int - var yyb379 bool - var yyhl379 bool = l >= 0 - yyj379++ - if yyhl379 { - yyb379 = yyj379 > l - } else { - yyb379 = r.CheckBreak() - } - if yyb379 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchLabels = nil - } else { - yyv380 := &x.MatchLabels - yym381 := z.DecBinary() - _ = yym381 - if false { - } else { - z.F.DecMapStringStringX(yyv380, false, d) - } - } - yyj379++ - if yyhl379 { - yyb379 = yyj379 > l - } else { - yyb379 = r.CheckBreak() - } - if yyb379 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv382 := &x.MatchExpressions - yym383 := z.DecBinary() - _ = yym383 - if false { - } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv382), d) - } - } - for { - yyj379++ - if yyhl379 { - yyb379 = yyj379 > l - } else { - yyb379 = r.CheckBreak() - } - if yyb379 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj379-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym384 := z.EncBinary() - _ = yym384 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep385 := !z.EncBinary() - yy2arr385 := z.EncBasicHandle().StructToArray - var yyq385 [3]bool - _, _, _ = yysep385, yyq385, yy2arr385 - const yyr385 bool = false - yyq385[2] = len(x.Values) != 0 - var yynn385 int - if yyr385 || yy2arr385 { - r.EncodeArrayStart(3) - } else { - yynn385 = 2 - for _, b := range yyq385 { - if b { - yynn385++ - } - } - r.EncodeMapStart(yynn385) - yynn385 = 0 - } - if yyr385 || yy2arr385 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym387 := z.EncBinary() - _ = yym387 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("key")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym388 := z.EncBinary() - _ = yym388 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr385 || yy2arr385 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Operator.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("operator")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Operator.CodecEncodeSelf(e) - } - if yyr385 || yy2arr385 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq385[2] { - if x.Values == nil { - r.EncodeNil() - } else { - yym391 := z.EncBinary() - _ = yym391 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq385[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("values")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Values == nil { - r.EncodeNil() - } else { - yym392 := z.EncBinary() - _ = yym392 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } - } - if yyr385 || yy2arr385 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym393 := z.DecBinary() - _ = yym393 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct394 := r.ContainerType() - if yyct394 == codecSelferValueTypeMap1234 { - yyl394 := r.ReadMapStart() - if yyl394 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl394, d) - } - } else if yyct394 == codecSelferValueTypeArray1234 { - yyl394 := r.ReadArrayStart() - if yyl394 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl394, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys395Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys395Slc - var yyhl395 bool = l >= 0 - for yyj395 := 0; ; yyj395++ { - if yyhl395 { - if yyj395 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys395Slc = r.DecodeBytes(yys395Slc, true, true) - yys395 := string(yys395Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys395 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - case "operator": - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) - } - case "values": - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv398 := &x.Values - yym399 := z.DecBinary() - _ = yym399 - if false { - } else { - z.F.DecSliceStringX(yyv398, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys395) - } // end switch yys395 - } // end for yyj395 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj400 int - var yyb400 bool - var yyhl400 bool = l >= 0 - yyj400++ - if yyhl400 { - yyb400 = yyj400 > l - } else { - yyb400 = r.CheckBreak() - } - if yyb400 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj400++ - if yyhl400 { - yyb400 = yyj400 > l - } else { - yyb400 = r.CheckBreak() - } - if yyb400 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) - } - yyj400++ - if yyhl400 { - yyb400 = yyj400 > l - } else { - yyb400 = r.CheckBreak() - } - if yyb400 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv403 := &x.Values - yym404 := z.DecBinary() - _ = yym404 - if false { - } else { - z.F.DecSliceStringX(yyv403, false, d) - } - } - for { - yyj400++ - if yyhl400 { - yyb400 = yyj400 > l - } else { - yyb400 = r.CheckBreak() - } - if yyb400 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj400-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym405 := z.EncBinary() - _ = yym405 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym406 := z.DecBinary() - _ = yym406 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv407 := range v { + for _, yyv368 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy408 := &yyv407 - yy408.CodecEncodeSelf(e) + yy369 := &yyv368 + yy369.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4749,83 +4229,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv409 := *v - yyh409, yyl409 := z.DecSliceHelperStart() - var yyc409 bool - if yyl409 == 0 { - if yyv409 == nil { - yyv409 = []Job{} - yyc409 = true - } else if len(yyv409) != 0 { - yyv409 = yyv409[:0] - yyc409 = true + 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 } - } else if yyl409 > 0 { - var yyrr409, yyrl409 int - var yyrt409 bool - if yyl409 > cap(yyv409) { + } else if yyl370 > 0 { + var yyrr370, yyrl370 int + var yyrt370 bool + if yyl370 > cap(yyv370) { - yyrg409 := len(yyv409) > 0 - yyv2409 := yyv409 - yyrl409, yyrt409 = z.DecInferLen(yyl409, z.DecBasicHandle().MaxInitLen, 824) - if yyrt409 { - if yyrl409 <= cap(yyv409) { - yyv409 = yyv409[:yyrl409] + yyrg370 := len(yyv370) > 0 + yyv2370 := yyv370 + yyrl370, yyrt370 = z.DecInferLen(yyl370, z.DecBasicHandle().MaxInitLen, 824) + if yyrt370 { + if yyrl370 <= cap(yyv370) { + yyv370 = yyv370[:yyrl370] } else { - yyv409 = make([]Job, yyrl409) + yyv370 = make([]Job, yyrl370) } } else { - yyv409 = make([]Job, yyrl409) + yyv370 = make([]Job, yyrl370) } - yyc409 = true - yyrr409 = len(yyv409) - if yyrg409 { - copy(yyv409, yyv2409) + yyc370 = true + yyrr370 = len(yyv370) + if yyrg370 { + copy(yyv370, yyv2370) } - } else if yyl409 != len(yyv409) { - yyv409 = yyv409[:yyl409] - yyc409 = true + } else if yyl370 != len(yyv370) { + yyv370 = yyv370[:yyl370] + yyc370 = true } - yyj409 := 0 - for ; yyj409 < yyrr409; yyj409++ { - yyh409.ElemContainerState(yyj409) + yyj370 := 0 + for ; yyj370 < yyrr370; yyj370++ { + yyh370.ElemContainerState(yyj370) if r.TryDecodeAsNil() { - yyv409[yyj409] = Job{} + yyv370[yyj370] = Job{} } else { - yyv410 := &yyv409[yyj409] - yyv410.CodecDecodeSelf(d) + yyv371 := &yyv370[yyj370] + yyv371.CodecDecodeSelf(d) } } - if yyrt409 { - for ; yyj409 < yyl409; yyj409++ { - yyv409 = append(yyv409, Job{}) - yyh409.ElemContainerState(yyj409) + if yyrt370 { + for ; yyj370 < yyl370; yyj370++ { + yyv370 = append(yyv370, Job{}) + yyh370.ElemContainerState(yyj370) if r.TryDecodeAsNil() { - yyv409[yyj409] = Job{} + yyv370[yyj370] = Job{} } else { - yyv411 := &yyv409[yyj409] - yyv411.CodecDecodeSelf(d) + yyv372 := &yyv370[yyj370] + yyv372.CodecDecodeSelf(d) } } } } else { - yyj409 := 0 - for ; !r.CheckBreak(); yyj409++ { + yyj370 := 0 + for ; !r.CheckBreak(); yyj370++ { - if yyj409 >= len(yyv409) { - yyv409 = append(yyv409, Job{}) // var yyz409 Job - yyc409 = true + if yyj370 >= len(yyv370) { + yyv370 = append(yyv370, Job{}) // var yyz370 Job + yyc370 = true } - yyh409.ElemContainerState(yyj409) - if yyj409 < len(yyv409) { + yyh370.ElemContainerState(yyj370) + if yyj370 < len(yyv370) { if r.TryDecodeAsNil() { - yyv409[yyj409] = Job{} + yyv370[yyj370] = Job{} } else { - yyv412 := &yyv409[yyj409] - yyv412.CodecDecodeSelf(d) + yyv373 := &yyv370[yyj370] + yyv373.CodecDecodeSelf(d) } } else { @@ -4833,17 +4313,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj409 < len(yyv409) { - yyv409 = yyv409[:yyj409] - yyc409 = true - } else if yyj409 == 0 && yyv409 == nil { - yyv409 = []Job{} - yyc409 = true + if yyj370 < len(yyv370) { + yyv370 = yyv370[:yyj370] + yyc370 = true + } else if yyj370 == 0 && yyv370 == nil { + yyv370 = []Job{} + yyc370 = true } } - yyh409.End() - if yyc409 { - *v = yyv409 + yyh370.End() + if yyc370 { + *v = yyv370 } } @@ -4852,10 +4332,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv413 := range v { + for _, yyv374 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy414 := &yyv413 - yy414.CodecEncodeSelf(e) + yy375 := &yyv374 + yy375.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4865,83 +4345,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv415 := *v - yyh415, yyl415 := z.DecSliceHelperStart() - var yyc415 bool - if yyl415 == 0 { - if yyv415 == nil { - yyv415 = []JobCondition{} - yyc415 = true - } else if len(yyv415) != 0 { - yyv415 = yyv415[:0] - yyc415 = true + 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 } - } else if yyl415 > 0 { - var yyrr415, yyrl415 int - var yyrt415 bool - if yyl415 > cap(yyv415) { + } else if yyl376 > 0 { + var yyrr376, yyrl376 int + var yyrt376 bool + if yyl376 > cap(yyv376) { - yyrg415 := len(yyv415) > 0 - yyv2415 := yyv415 - yyrl415, yyrt415 = z.DecInferLen(yyl415, z.DecBasicHandle().MaxInitLen, 112) - if yyrt415 { - if yyrl415 <= cap(yyv415) { - yyv415 = yyv415[:yyrl415] + yyrg376 := len(yyv376) > 0 + yyv2376 := yyv376 + yyrl376, yyrt376 = z.DecInferLen(yyl376, z.DecBasicHandle().MaxInitLen, 112) + if yyrt376 { + if yyrl376 <= cap(yyv376) { + yyv376 = yyv376[:yyrl376] } else { - yyv415 = make([]JobCondition, yyrl415) + yyv376 = make([]JobCondition, yyrl376) } } else { - yyv415 = make([]JobCondition, yyrl415) + yyv376 = make([]JobCondition, yyrl376) } - yyc415 = true - yyrr415 = len(yyv415) - if yyrg415 { - copy(yyv415, yyv2415) + yyc376 = true + yyrr376 = len(yyv376) + if yyrg376 { + copy(yyv376, yyv2376) } - } else if yyl415 != len(yyv415) { - yyv415 = yyv415[:yyl415] - yyc415 = true + } else if yyl376 != len(yyv376) { + yyv376 = yyv376[:yyl376] + yyc376 = true } - yyj415 := 0 - for ; yyj415 < yyrr415; yyj415++ { - yyh415.ElemContainerState(yyj415) + yyj376 := 0 + for ; yyj376 < yyrr376; yyj376++ { + yyh376.ElemContainerState(yyj376) if r.TryDecodeAsNil() { - yyv415[yyj415] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv416 := &yyv415[yyj415] - yyv416.CodecDecodeSelf(d) + yyv377 := &yyv376[yyj376] + yyv377.CodecDecodeSelf(d) } } - if yyrt415 { - for ; yyj415 < yyl415; yyj415++ { - yyv415 = append(yyv415, JobCondition{}) - yyh415.ElemContainerState(yyj415) + if yyrt376 { + for ; yyj376 < yyl376; yyj376++ { + yyv376 = append(yyv376, JobCondition{}) + yyh376.ElemContainerState(yyj376) if r.TryDecodeAsNil() { - yyv415[yyj415] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv417 := &yyv415[yyj415] - yyv417.CodecDecodeSelf(d) + yyv378 := &yyv376[yyj376] + yyv378.CodecDecodeSelf(d) } } } } else { - yyj415 := 0 - for ; !r.CheckBreak(); yyj415++ { + yyj376 := 0 + for ; !r.CheckBreak(); yyj376++ { - if yyj415 >= len(yyv415) { - yyv415 = append(yyv415, JobCondition{}) // var yyz415 JobCondition - yyc415 = true + if yyj376 >= len(yyv376) { + yyv376 = append(yyv376, JobCondition{}) // var yyz376 JobCondition + yyc376 = true } - yyh415.ElemContainerState(yyj415) - if yyj415 < len(yyv415) { + yyh376.ElemContainerState(yyj376) + if yyj376 < len(yyv376) { if r.TryDecodeAsNil() { - yyv415[yyj415] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv418 := &yyv415[yyj415] - yyv418.CodecDecodeSelf(d) + yyv379 := &yyv376[yyj376] + yyv379.CodecDecodeSelf(d) } } else { @@ -4949,17 +4429,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj415 < len(yyv415) { - yyv415 = yyv415[:yyj415] - yyc415 = true - } else if yyj415 == 0 && yyv415 == nil { - yyv415 = []JobCondition{} - yyc415 = true + if yyj376 < len(yyv376) { + yyv376 = yyv376[:yyj376] + yyc376 = true + } else if yyj376 == 0 && yyv376 == nil { + yyv376 = []JobCondition{} + yyc376 = true } } - yyh415.End() - if yyc415 { - *v = yyv415 + yyh376.End() + if yyc376 { + *v = yyv376 } } @@ -4968,10 +4448,10 @@ func (x codecSelfer1234) encSliceScheduledJob(v []ScheduledJob, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv419 := range v { + for _, yyv380 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy420 := &yyv419 - yy420.CodecEncodeSelf(e) + yy381 := &yyv380 + yy381.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4981,83 +4461,83 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv421 := *v - yyh421, yyl421 := z.DecSliceHelperStart() - var yyc421 bool - if yyl421 == 0 { - if yyv421 == nil { - yyv421 = []ScheduledJob{} - yyc421 = true - } else if len(yyv421) != 0 { - yyv421 = yyv421[:0] - yyc421 = true + yyv382 := *v + yyh382, yyl382 := z.DecSliceHelperStart() + var yyc382 bool + if yyl382 == 0 { + if yyv382 == nil { + yyv382 = []ScheduledJob{} + yyc382 = true + } else if len(yyv382) != 0 { + yyv382 = yyv382[:0] + yyc382 = true } - } else if yyl421 > 0 { - var yyrr421, yyrl421 int - var yyrt421 bool - if yyl421 > cap(yyv421) { + } else if yyl382 > 0 { + var yyrr382, yyrl382 int + var yyrt382 bool + if yyl382 > cap(yyv382) { - yyrg421 := len(yyv421) > 0 - yyv2421 := yyv421 - yyrl421, yyrt421 = z.DecInferLen(yyl421, z.DecBasicHandle().MaxInitLen, 1072) - if yyrt421 { - if yyrl421 <= cap(yyv421) { - yyv421 = yyv421[:yyrl421] + yyrg382 := len(yyv382) > 0 + yyv2382 := yyv382 + yyrl382, yyrt382 = z.DecInferLen(yyl382, z.DecBasicHandle().MaxInitLen, 1072) + if yyrt382 { + if yyrl382 <= cap(yyv382) { + yyv382 = yyv382[:yyrl382] } else { - yyv421 = make([]ScheduledJob, yyrl421) + yyv382 = make([]ScheduledJob, yyrl382) } } else { - yyv421 = make([]ScheduledJob, yyrl421) + yyv382 = make([]ScheduledJob, yyrl382) } - yyc421 = true - yyrr421 = len(yyv421) - if yyrg421 { - copy(yyv421, yyv2421) + yyc382 = true + yyrr382 = len(yyv382) + if yyrg382 { + copy(yyv382, yyv2382) } - } else if yyl421 != len(yyv421) { - yyv421 = yyv421[:yyl421] - yyc421 = true + } else if yyl382 != len(yyv382) { + yyv382 = yyv382[:yyl382] + yyc382 = true } - yyj421 := 0 - for ; yyj421 < yyrr421; yyj421++ { - yyh421.ElemContainerState(yyj421) + yyj382 := 0 + for ; yyj382 < yyrr382; yyj382++ { + yyh382.ElemContainerState(yyj382) if r.TryDecodeAsNil() { - yyv421[yyj421] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv422 := &yyv421[yyj421] - yyv422.CodecDecodeSelf(d) + yyv383 := &yyv382[yyj382] + yyv383.CodecDecodeSelf(d) } } - if yyrt421 { - for ; yyj421 < yyl421; yyj421++ { - yyv421 = append(yyv421, ScheduledJob{}) - yyh421.ElemContainerState(yyj421) + if yyrt382 { + for ; yyj382 < yyl382; yyj382++ { + yyv382 = append(yyv382, ScheduledJob{}) + yyh382.ElemContainerState(yyj382) if r.TryDecodeAsNil() { - yyv421[yyj421] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv423 := &yyv421[yyj421] - yyv423.CodecDecodeSelf(d) + yyv384 := &yyv382[yyj382] + yyv384.CodecDecodeSelf(d) } } } } else { - yyj421 := 0 - for ; !r.CheckBreak(); yyj421++ { + yyj382 := 0 + for ; !r.CheckBreak(); yyj382++ { - if yyj421 >= len(yyv421) { - yyv421 = append(yyv421, ScheduledJob{}) // var yyz421 ScheduledJob - yyc421 = true + if yyj382 >= len(yyv382) { + yyv382 = append(yyv382, ScheduledJob{}) // var yyz382 ScheduledJob + yyc382 = true } - yyh421.ElemContainerState(yyj421) - if yyj421 < len(yyv421) { + yyh382.ElemContainerState(yyj382) + if yyj382 < len(yyv382) { if r.TryDecodeAsNil() { - yyv421[yyj421] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv424 := &yyv421[yyj421] - yyv424.CodecDecodeSelf(d) + yyv385 := &yyv382[yyj382] + yyv385.CodecDecodeSelf(d) } } else { @@ -5065,17 +4545,17 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De } } - if yyj421 < len(yyv421) { - yyv421 = yyv421[:yyj421] - yyc421 = true - } else if yyj421 == 0 && yyv421 == nil { - yyv421 = []ScheduledJob{} - yyc421 = true + if yyj382 < len(yyv382) { + yyv382 = yyv382[:yyj382] + yyc382 = true + } else if yyj382 == 0 && yyv382 == nil { + yyv382 = []ScheduledJob{} + yyc382 = true } } - yyh421.End() - if yyc421 { - *v = yyv421 + yyh382.End() + if yyc382 { + *v = yyv382 } } @@ -5084,10 +4564,10 @@ func (x codecSelfer1234) encSlicev1_ObjectReference(v []pkg2_v1.ObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv425 := range v { + for _, yyv386 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy426 := &yyv425 - yy426.CodecEncodeSelf(e) + yy387 := &yyv386 + yy387.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5097,83 +4577,83 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv427 := *v - yyh427, yyl427 := z.DecSliceHelperStart() - var yyc427 bool - if yyl427 == 0 { - if yyv427 == nil { - yyv427 = []pkg2_v1.ObjectReference{} - yyc427 = true - } else if len(yyv427) != 0 { - yyv427 = yyv427[:0] - yyc427 = true + 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 } - } else if yyl427 > 0 { - var yyrr427, yyrl427 int - var yyrt427 bool - if yyl427 > cap(yyv427) { + } else if yyl388 > 0 { + var yyrr388, yyrl388 int + var yyrt388 bool + if yyl388 > cap(yyv388) { - yyrg427 := len(yyv427) > 0 - yyv2427 := yyv427 - yyrl427, yyrt427 = z.DecInferLen(yyl427, z.DecBasicHandle().MaxInitLen, 112) - if yyrt427 { - if yyrl427 <= cap(yyv427) { - yyv427 = yyv427[:yyrl427] + yyrg388 := len(yyv388) > 0 + yyv2388 := yyv388 + yyrl388, yyrt388 = z.DecInferLen(yyl388, z.DecBasicHandle().MaxInitLen, 112) + if yyrt388 { + if yyrl388 <= cap(yyv388) { + yyv388 = yyv388[:yyrl388] } else { - yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) + yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) } } else { - yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) + yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) } - yyc427 = true - yyrr427 = len(yyv427) - if yyrg427 { - copy(yyv427, yyv2427) + yyc388 = true + yyrr388 = len(yyv388) + if yyrg388 { + copy(yyv388, yyv2388) } - } else if yyl427 != len(yyv427) { - yyv427 = yyv427[:yyl427] - yyc427 = true + } else if yyl388 != len(yyv388) { + yyv388 = yyv388[:yyl388] + yyc388 = true } - yyj427 := 0 - for ; yyj427 < yyrr427; yyj427++ { - yyh427.ElemContainerState(yyj427) + yyj388 := 0 + for ; yyj388 < yyrr388; yyj388++ { + yyh388.ElemContainerState(yyj388) if r.TryDecodeAsNil() { - yyv427[yyj427] = pkg2_v1.ObjectReference{} + yyv388[yyj388] = pkg2_v1.ObjectReference{} } else { - yyv428 := &yyv427[yyj427] - yyv428.CodecDecodeSelf(d) + yyv389 := &yyv388[yyj388] + yyv389.CodecDecodeSelf(d) } } - if yyrt427 { - for ; yyj427 < yyl427; yyj427++ { - yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) - yyh427.ElemContainerState(yyj427) + if yyrt388 { + for ; yyj388 < yyl388; yyj388++ { + yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) + yyh388.ElemContainerState(yyj388) if r.TryDecodeAsNil() { - yyv427[yyj427] = pkg2_v1.ObjectReference{} + yyv388[yyj388] = pkg2_v1.ObjectReference{} } else { - yyv429 := &yyv427[yyj427] - yyv429.CodecDecodeSelf(d) + yyv390 := &yyv388[yyj388] + yyv390.CodecDecodeSelf(d) } } } } else { - yyj427 := 0 - for ; !r.CheckBreak(); yyj427++ { + yyj388 := 0 + for ; !r.CheckBreak(); yyj388++ { - if yyj427 >= len(yyv427) { - yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) // var yyz427 pkg2_v1.ObjectReference - yyc427 = true + if yyj388 >= len(yyv388) { + yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) // var yyz388 pkg2_v1.ObjectReference + yyc388 = true } - yyh427.ElemContainerState(yyj427) - if yyj427 < len(yyv427) { + yyh388.ElemContainerState(yyj388) + if yyj388 < len(yyv388) { if r.TryDecodeAsNil() { - yyv427[yyj427] = pkg2_v1.ObjectReference{} + yyv388[yyj388] = pkg2_v1.ObjectReference{} } else { - yyv430 := &yyv427[yyj427] - yyv430.CodecDecodeSelf(d) + yyv391 := &yyv388[yyj388] + yyv391.CodecDecodeSelf(d) } } else { @@ -5181,132 +4661,16 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference } } - if yyj427 < len(yyv427) { - yyv427 = yyv427[:yyj427] - yyc427 = true - } else if yyj427 == 0 && yyv427 == nil { - yyv427 = []pkg2_v1.ObjectReference{} - yyc427 = true + if yyj388 < len(yyv388) { + yyv388 = yyv388[:yyj388] + yyc388 = true + } else if yyj388 == 0 && yyv388 == nil { + yyv388 = []pkg2_v1.ObjectReference{} + yyc388 = true } } - yyh427.End() - if yyc427 { - *v = yyv427 - } -} - -func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequirement, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv431 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy432 := &yyv431 - yy432.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequirement, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv433 := *v - yyh433, yyl433 := z.DecSliceHelperStart() - var yyc433 bool - if yyl433 == 0 { - if yyv433 == nil { - yyv433 = []LabelSelectorRequirement{} - yyc433 = true - } else if len(yyv433) != 0 { - yyv433 = yyv433[:0] - yyc433 = true - } - } else if yyl433 > 0 { - var yyrr433, yyrl433 int - var yyrt433 bool - if yyl433 > cap(yyv433) { - - yyrg433 := len(yyv433) > 0 - yyv2433 := yyv433 - yyrl433, yyrt433 = z.DecInferLen(yyl433, z.DecBasicHandle().MaxInitLen, 56) - if yyrt433 { - if yyrl433 <= cap(yyv433) { - yyv433 = yyv433[:yyrl433] - } else { - yyv433 = make([]LabelSelectorRequirement, yyrl433) - } - } else { - yyv433 = make([]LabelSelectorRequirement, yyrl433) - } - yyc433 = true - yyrr433 = len(yyv433) - if yyrg433 { - copy(yyv433, yyv2433) - } - } else if yyl433 != len(yyv433) { - yyv433 = yyv433[:yyl433] - yyc433 = true - } - yyj433 := 0 - for ; yyj433 < yyrr433; yyj433++ { - yyh433.ElemContainerState(yyj433) - if r.TryDecodeAsNil() { - yyv433[yyj433] = LabelSelectorRequirement{} - } else { - yyv434 := &yyv433[yyj433] - yyv434.CodecDecodeSelf(d) - } - - } - if yyrt433 { - for ; yyj433 < yyl433; yyj433++ { - yyv433 = append(yyv433, LabelSelectorRequirement{}) - yyh433.ElemContainerState(yyj433) - if r.TryDecodeAsNil() { - yyv433[yyj433] = LabelSelectorRequirement{} - } else { - yyv435 := &yyv433[yyj433] - yyv435.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj433 := 0 - for ; !r.CheckBreak(); yyj433++ { - - if yyj433 >= len(yyv433) { - yyv433 = append(yyv433, LabelSelectorRequirement{}) // var yyz433 LabelSelectorRequirement - yyc433 = true - } - yyh433.ElemContainerState(yyj433) - if yyj433 < len(yyv433) { - if r.TryDecodeAsNil() { - yyv433[yyj433] = LabelSelectorRequirement{} - } else { - yyv436 := &yyv433[yyj433] - yyv436.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj433 < len(yyv433) { - yyv433 = yyv433[:yyj433] - yyc433 = true - } else if yyj433 == 0 && yyv433 == nil { - yyv433 = []LabelSelectorRequirement{} - yyc433 = true - } - } - yyh433.End() - if yyc433 { - *v = yyv433 + yyh388.End() + if yyc388 { + *v = yyv388 } } diff --git a/pkg/apis/batch/v2alpha1/types.go b/pkg/apis/batch/v2alpha1/types.go index f318c224..9a988673 100644 --- a/pkg/apis/batch/v2alpha1/types.go +++ b/pkg/apis/batch/v2alpha1/types.go @@ -26,14 +26,17 @@ type Job struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is a structure defining the expected behavior of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status JobStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -42,6 +45,7 @@ type JobList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of Job. @@ -53,10 +57,12 @@ type JobTemplate struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Template defines jobs that will be created from this template // http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Template JobTemplateSpec `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"` } @@ -64,10 +70,12 @@ type JobTemplate struct { type JobTemplateSpec struct { // Standard object's metadata of the jobs created from this template. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Specification of the desired behavior of the job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` } @@ -79,6 +87,7 @@ type JobSpec struct { // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Parallelism *int32 `json:"parallelism,omitempty" protobuf:"varint,1,opt,name=parallelism"` // Completions specifies the desired number of successfully finished pods the @@ -87,16 +96,19 @@ type JobSpec struct { // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Completions *int32 `json:"completions,omitempty" protobuf:"varint,2,opt,name=completions"` // Optional duration in seconds relative to the startTime that the job may be active // before the system tries to terminate it; value must be positive integer + // +optional ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,3,opt,name=activeDeadlineSeconds"` // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + // +optional + Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -108,6 +120,7 @@ type JobSpec struct { // `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` // API. // More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md + // +optional ManualSelector *bool `json:"manualSelector,omitempty" protobuf:"varint,5,opt,name=manualSelector"` // Template is the object that describes the pod that will be created when @@ -121,25 +134,31 @@ type JobStatus struct { // Conditions represent the latest available observations of an object's current state. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Conditions []JobCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // StartTime represents time when the job was acknowledged by the Job Manager. // 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 StartTime *unversioned.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"` // 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 CompletionTime *unversioned.Time `json:"completionTime,omitempty" protobuf:"bytes,3,opt,name=completionTime"` // Active is the number of actively running pods. + // +optional Active int32 `json:"active,omitempty" protobuf:"varint,4,opt,name=active"` // Succeeded is the number of pods which reached Phase Succeeded. + // +optional Succeeded int32 `json:"succeeded,omitempty" protobuf:"varint,5,opt,name=succeeded"` // Failed is the number of pods which reached Phase Failed. + // +optional Failed int32 `json:"failed,omitempty" protobuf:"varint,6,opt,name=failed"` } @@ -160,12 +179,16 @@ type JobCondition struct { // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"` // Last time the condition was checked. + // +optional LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transit from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } @@ -174,14 +197,17 @@ type ScheduledJob struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is a structure defining the expected behavior of a job, including the schedule. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec ScheduledJobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status ScheduledJobStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -190,6 +216,7 @@ type ScheduledJobList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of ScheduledJob. @@ -204,13 +231,16 @@ type ScheduledJobSpec struct { // Optional deadline in seconds for starting the job if it misses scheduled // time for any reason. Missed jobs executions will be counted as failed ones. + // +optional StartingDeadlineSeconds *int64 `json:"startingDeadlineSeconds,omitempty" protobuf:"varint,2,opt,name=startingDeadlineSeconds"` // ConcurrencyPolicy specifies how to treat concurrent executions of a Job. + // +optional ConcurrencyPolicy ConcurrencyPolicy `json:"concurrencyPolicy,omitempty" protobuf:"bytes,3,opt,name=concurrencyPolicy,casttype=ConcurrencyPolicy"` // Suspend flag tells the controller to suspend subsequent executions, it does // not apply to already started executions. Defaults to false. + // +optional Suspend *bool `json:"suspend,omitempty" protobuf:"varint,4,opt,name=suspend"` // JobTemplate is the object that describes the job that will be created when @@ -239,45 +269,10 @@ const ( // ScheduledJobStatus represents the current state of a Job. type ScheduledJobStatus struct { // Active holds pointers to currently running jobs. + // +optional Active []v1.ObjectReference `json:"active,omitempty" protobuf:"bytes,1,rep,name=active"` // LastScheduleTime keeps information of when was the last time the job was successfully scheduled. + // +optional LastScheduleTime *unversioned.Time `json:"lastScheduleTime,omitempty" protobuf:"bytes,4,opt,name=lastScheduleTime"` } - -// A label selector is a label query over a set of resources. The result of matchLabels and -// matchExpressions are ANDed. An empty label selector matches all objects. A null -// label selector matches no objects. -type LabelSelector struct { - // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels - // map is equivalent to an element of matchExpressions, whose key field is "key", the - // operator is "In", and the values array contains only "value". The requirements are ANDed. - MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` - // matchExpressions is a list of label selector requirements. The requirements are ANDed. - MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` -} - -// A label selector requirement is a selector that contains values, a key, and an operator that -// relates the key and values. -type LabelSelectorRequirement struct { - // key is the label key that the selector applies to. - Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` - // operator represents a key's relationship to a set of values. - // Valid operators ard In, NotIn, Exists and DoesNotExist. - Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"` - // values is an array of string values. If the operator is In or NotIn, - // the values array must be non-empty. If the operator is Exists or DoesNotExist, - // the values array must be empty. This array is replaced during a strategic - // merge patch. - Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` -} - -// A label selector operator is the set of operators that can be used in a selector requirement. -type LabelSelectorOperator string - -const ( - LabelSelectorOpIn LabelSelectorOperator = "In" - LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" - LabelSelectorOpExists LabelSelectorOperator = "Exists" - LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" -) diff --git a/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go b/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go index 5d965f4f..4eb60928 100644 --- a/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go @@ -110,27 +110,6 @@ func (JobTemplateSpec) SwaggerDoc() map[string]string { return map_JobTemplateSpec } -var map_LabelSelector = map[string]string{ - "": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "matchLabels": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "matchExpressions": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", -} - -func (LabelSelector) SwaggerDoc() map[string]string { - return map_LabelSelector -} - -var map_LabelSelectorRequirement = map[string]string{ - "": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "key": "key is the label key that the selector applies to.", - "operator": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", - "values": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", -} - -func (LabelSelectorRequirement) SwaggerDoc() map[string]string { - return map_LabelSelectorRequirement -} - var map_ScheduledJob = map[string]string{ "": "ScheduledJob represents the configuration of a single scheduled job.", "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", diff --git a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go index 6089e8a7..a81391d3 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go @@ -22,7 +22,6 @@ package v2alpha1 import ( api "k8s.io/client-go/pkg/api" - unversioned "k8s.io/client-go/pkg/api/unversioned" v1 "k8s.io/client-go/pkg/api/v1" batch "k8s.io/client-go/pkg/apis/batch" conversion "k8s.io/client-go/pkg/conversion" @@ -51,10 +50,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_batch_JobTemplate_To_v2alpha1_JobTemplate, Convert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec, Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec, - Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector, - Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector, - Convert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, - Convert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement, Convert_v2alpha1_ScheduledJob_To_batch_ScheduledJob, Convert_batch_ScheduledJob_To_v2alpha1_ScheduledJob, Convert_v2alpha1_ScheduledJobList_To_batch_ScheduledJobList, @@ -67,10 +62,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v2alpha1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error { - SetDefaults_Job(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -89,9 +80,6 @@ func Convert_v2alpha1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Sco } func autoConvert_batch_Job_To_v2alpha1_Job(in *batch.Job, out *Job, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -112,12 +100,8 @@ func Convert_batch_Job_To_v2alpha1_Job(in *batch.Job, out *Job, s conversion.Sco func autoConvert_v2alpha1_JobCondition_To_batch_JobCondition(in *JobCondition, out *batch.JobCondition, s conversion.Scope) error { out.Type = batch.JobConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -130,12 +114,8 @@ func Convert_v2alpha1_JobCondition_To_batch_JobCondition(in *JobCondition, out * func autoConvert_batch_JobCondition_To_v2alpha1_JobCondition(in *batch.JobCondition, out *JobCondition, s conversion.Scope) error { out.Type = JobConditionType(in.Type) out.Status = v1.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -146,12 +126,7 @@ func Convert_batch_JobCondition_To_v2alpha1_JobCondition(in *batch.JobCondition, } func autoConvert_v2alpha1_JobList_To_batch_JobList(in *JobList, out *batch.JobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]batch.Job, len(*in)) @@ -171,12 +146,7 @@ func Convert_v2alpha1_JobList_To_batch_JobList(in *JobList, out *batch.JobList, } func autoConvert_batch_JobList_To_v2alpha1_JobList(in *batch.JobList, out *JobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Job, len(*in)) @@ -199,15 +169,7 @@ func autoConvert_v2alpha1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSp out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector out.ManualSelector = in.ManualSelector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -219,15 +181,7 @@ func autoConvert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSp out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector out.ManualSelector = in.ManualSelector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -284,9 +238,6 @@ func Convert_batch_JobStatus_To_v2alpha1_JobStatus(in *batch.JobStatus, out *Job } func autoConvert_v2alpha1_JobTemplate_To_batch_JobTemplate(in *JobTemplate, out *batch.JobTemplate, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -302,9 +253,6 @@ func Convert_v2alpha1_JobTemplate_To_batch_JobTemplate(in *JobTemplate, out *bat } func autoConvert_batch_JobTemplate_To_v2alpha1_JobTemplate(in *batch.JobTemplate, out *JobTemplate, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -349,73 +297,7 @@ func Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(in *batch.JobTemp return autoConvert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(in, out, s) } -func autoConvert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { - out.MatchLabels = in.MatchLabels - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]unversioned.LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := Convert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil -} - -func Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { - return autoConvert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in, out, s) -} - -func autoConvert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { - out.MatchLabels = in.MatchLabels - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := Convert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil -} - -func Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { - return autoConvert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in, out, s) -} - -func autoConvert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { - out.Key = in.Key - out.Operator = unversioned.LabelSelectorOperator(in.Operator) - out.Values = in.Values - return nil -} - -func Convert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { - return autoConvert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in, out, s) -} - -func autoConvert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { - out.Key = in.Key - out.Operator = LabelSelectorOperator(in.Operator) - out.Values = in.Values - return nil -} - -func Convert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { - return autoConvert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(in, out, s) -} - func autoConvert_v2alpha1_ScheduledJob_To_batch_ScheduledJob(in *ScheduledJob, out *batch.ScheduledJob, s conversion.Scope) error { - SetDefaults_ScheduledJob(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -434,9 +316,6 @@ func Convert_v2alpha1_ScheduledJob_To_batch_ScheduledJob(in *ScheduledJob, out * } func autoConvert_batch_ScheduledJob_To_v2alpha1_ScheduledJob(in *batch.ScheduledJob, out *ScheduledJob, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -455,12 +334,7 @@ func Convert_batch_ScheduledJob_To_v2alpha1_ScheduledJob(in *batch.ScheduledJob, } func autoConvert_v2alpha1_ScheduledJobList_To_batch_ScheduledJobList(in *ScheduledJobList, out *batch.ScheduledJobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]batch.ScheduledJob, len(*in)) @@ -480,12 +354,7 @@ func Convert_v2alpha1_ScheduledJobList_To_batch_ScheduledJobList(in *ScheduledJo } func autoConvert_batch_ScheduledJobList_To_v2alpha1_ScheduledJobList(in *batch.ScheduledJobList, out *ScheduledJobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ScheduledJob, len(*in)) diff --git a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go index ff9c6781..a6cee354 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go @@ -43,8 +43,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplate, InType: reflect.TypeOf(&JobTemplate{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplateSpec, InType: reflect.TypeOf(&JobTemplateSpec{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJob, InType: reflect.TypeOf(&ScheduledJob{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobList, InType: reflect.TypeOf(&ScheduledJobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobSpec, InType: reflect.TypeOf(&ScheduledJobSpec{})}, @@ -132,8 +130,8 @@ func DeepCopy_v2alpha1_JobSpec(in interface{}, out interface{}, c *conversion.Cl } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v2alpha1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -218,51 +216,6 @@ func DeepCopy_v2alpha1_JobTemplateSpec(in interface{}, out interface{}, c *conve } } -func DeepCopy_v2alpha1_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*LabelSelector) - out := out.(*LabelSelector) - 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 - *out = make([]LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := DeepCopy_v2alpha1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil - } -} - -func DeepCopy_v2alpha1_LabelSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*LabelSelectorRequirement) - out := out.(*LabelSelectorRequirement) - out.Key = in.Key - out.Operator = in.Operator - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]string, len(*in)) - copy(*out, *in) - } else { - out.Values = nil - } - return nil - } -} - func DeepCopy_v2alpha1_ScheduledJob(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ScheduledJob) diff --git a/pkg/apis/batch/v2alpha1/zz_generated.defaults.go b/pkg/apis/batch/v2alpha1/zz_generated.defaults.go new file mode 100644 index 00000000..b024dd97 --- /dev/null +++ b/pkg/apis/batch/v2alpha1/zz_generated.defaults.go @@ -0,0 +1,402 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v2alpha1 + +import ( + v1 "k8s.io/client-go/pkg/api/v1" + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&Job{}, func(obj interface{}) { SetObjectDefaults_Job(obj.(*Job)) }) + scheme.AddTypeDefaultingFunc(&JobList{}, func(obj interface{}) { SetObjectDefaults_JobList(obj.(*JobList)) }) + scheme.AddTypeDefaultingFunc(&JobTemplate{}, func(obj interface{}) { SetObjectDefaults_JobTemplate(obj.(*JobTemplate)) }) + scheme.AddTypeDefaultingFunc(&ScheduledJob{}, func(obj interface{}) { SetObjectDefaults_ScheduledJob(obj.(*ScheduledJob)) }) + scheme.AddTypeDefaultingFunc(&ScheduledJobList{}, func(obj interface{}) { SetObjectDefaults_ScheduledJobList(obj.(*ScheduledJobList)) }) + return nil +} + +func SetObjectDefaults_Job(in *Job) { + SetDefaults_Job(in) + v1.SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_JobList(in *JobList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Job(a) + } +} + +func SetObjectDefaults_JobTemplate(in *JobTemplate) { + v1.SetDefaults_PodSpec(&in.Template.Spec.Template.Spec) + for i := range in.Template.Spec.Template.Spec.Volumes { + a := &in.Template.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Template.Spec.Template.Spec.InitContainers { + a := &in.Template.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Template.Spec.Template.Spec.Containers { + a := &in.Template.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_ScheduledJob(in *ScheduledJob) { + SetDefaults_ScheduledJob(in) + v1.SetDefaults_PodSpec(&in.Spec.JobTemplate.Spec.Template.Spec) + for i := range in.Spec.JobTemplate.Spec.Template.Spec.Volumes { + a := &in.Spec.JobTemplate.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.JobTemplate.Spec.Template.Spec.InitContainers { + a := &in.Spec.JobTemplate.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.JobTemplate.Spec.Template.Spec.Containers { + a := &in.Spec.JobTemplate.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_ScheduledJobList(in *ScheduledJobList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_ScheduledJob(a) + } +} diff --git a/pkg/apis/certificates/types.go b/pkg/apis/certificates/types.go index 8255ed5d..4fb5b01f 100644 --- a/pkg/apis/certificates/types.go +++ b/pkg/apis/certificates/types.go @@ -27,12 +27,15 @@ import ( // Describes a certificate signing request type CertificateSigningRequest struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // The certificate request itself and any additional information. + // +optional Spec CertificateSigningRequestSpec `json:"spec,omitempty"` // Derived information about the request. + // +optional Status CertificateSigningRequestStatus `json:"status,omitempty"` } @@ -45,16 +48,21 @@ type CertificateSigningRequestSpec struct { // Information about the requesting user (if relevant) // See user.Info interface for details - Username string `json:"username,omitempty"` - UID string `json:"uid,omitempty"` - Groups []string `json:"groups,omitempty"` + // +optional + Username string `json:"username,omitempty"` + // +optional + UID string `json:"uid,omitempty"` + // +optional + Groups []string `json:"groups,omitempty"` } type CertificateSigningRequestStatus struct { // Conditions applied to the request, such as approval or denial. + // +optional Conditions []CertificateSigningRequestCondition `json:"conditions,omitempty"` // If request was approved, the controller will place the issued certificate here. + // +optional Certificate []byte `json:"certificate,omitempty"` } @@ -70,16 +78,21 @@ type CertificateSigningRequestCondition struct { // request approval state, currently Approved or Denied. Type RequestConditionType `json:"type"` // brief reason for the request state + // +optional Reason string `json:"reason,omitempty"` // human readable message with details about the request state + // +optional Message string `json:"message,omitempty"` // timestamp for the last update to this condition + // +optional LastUpdateTime unversioned.Time `json:"lastUpdateTime,omitempty"` } type CertificateSigningRequestList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` + // +optional Items []CertificateSigningRequest `json:"items,omitempty"` } diff --git a/pkg/apis/certificates/v1alpha1/doc.go b/pkg/apis/certificates/v1alpha1/doc.go index 08eb6459..0e0b1cea 100644 --- a/pkg/apis/certificates/v1alpha1/doc.go +++ b/pkg/apis/certificates/v1alpha1/doc.go @@ -17,6 +17,7 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/certificates // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta // +groupName=certificates.k8s.io package v1alpha1 diff --git a/pkg/apis/certificates/v1alpha1/generated.pb.go b/pkg/apis/certificates/v1alpha1/generated.pb.go index 0ba3e220..9d8377ab 100644 --- a/pkg/apis/certificates/v1alpha1/generated.pb.go +++ b/pkg/apis/certificates/v1alpha1/generated.pb.go @@ -1277,48 +1277,49 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 681 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x4f, 0x13, 0x4f, - 0x18, 0xa6, 0xb4, 0x94, 0x32, 0xe5, 0x07, 0xbf, 0x4c, 0x8c, 0xa9, 0x4d, 0xa0, 0x66, 0xa3, 0x06, - 0x15, 0x66, 0x2d, 0x89, 0x09, 0x47, 0xb3, 0x98, 0x18, 0x22, 0x84, 0x38, 0x40, 0x62, 0x4c, 0x3c, - 0x6c, 0xb7, 0xc3, 0x32, 0x96, 0xee, 0x2e, 0xf3, 0x87, 0x84, 0x9b, 0x47, 0x8f, 0x7e, 0x02, 0xbf, - 0x86, 0x5f, 0x81, 0x23, 0x47, 0x4f, 0xa8, 0xf0, 0x05, 0x3c, 0x7b, 0x72, 0x66, 0x76, 0xb6, 0x5d, - 0x5b, 0x16, 0x35, 0xe1, 0x30, 0x49, 0xe7, 0x99, 0xf7, 0x7d, 0xde, 0xf7, 0x7d, 0xde, 0x67, 0x0b, - 0x9e, 0xf5, 0xd6, 0x38, 0xa2, 0xb1, 0xdb, 0x93, 0x1d, 0xc2, 0x22, 0x22, 0x08, 0x77, 0x93, 0x5e, - 0xe8, 0xfa, 0x09, 0xe5, 0x6e, 0x40, 0x98, 0xa0, 0xfb, 0x34, 0xf0, 0x35, 0x7a, 0xdc, 0xf6, 0x0f, - 0x93, 0x03, 0xbf, 0xed, 0x86, 0x24, 0x22, 0x4c, 0x41, 0x5d, 0x94, 0xb0, 0x58, 0xc4, 0xf0, 0x49, - 0xca, 0x80, 0x86, 0x0c, 0x48, 0x31, 0x20, 0xcd, 0x80, 0xf2, 0x0c, 0x28, 0x63, 0x68, 0xae, 0x84, - 0x54, 0x1c, 0xc8, 0x0e, 0x0a, 0xe2, 0xbe, 0x1b, 0xc6, 0x61, 0xec, 0x1a, 0xa2, 0x8e, 0xdc, 0x37, - 0x37, 0x73, 0x31, 0xbf, 0xd2, 0x02, 0xcd, 0xd5, 0xc2, 0x16, 0x5d, 0x46, 0x78, 0x2c, 0x59, 0x40, - 0x46, 0x9b, 0x6a, 0x3e, 0x2d, 0xce, 0x91, 0xd1, 0x31, 0x61, 0x9c, 0xc6, 0x11, 0xe9, 0x8e, 0xa5, - 0x2d, 0x17, 0xa7, 0x1d, 0x8f, 0x4d, 0xde, 0x5c, 0xb9, 0x3a, 0x9a, 0xc9, 0x48, 0xd0, 0xfe, 0x78, - 0x4f, 0xed, 0xab, 0xc3, 0xa5, 0xa0, 0x87, 0x2e, 0x8d, 0x04, 0x17, 0x6c, 0x34, 0xc5, 0xb9, 0x9c, - 0x04, 0x77, 0xd6, 0x87, 0x1a, 0xee, 0xd0, 0x30, 0xa2, 0x51, 0x88, 0xc9, 0x91, 0x24, 0x5c, 0xc0, - 0xd7, 0xa0, 0xd6, 0x27, 0xc2, 0xef, 0xfa, 0xc2, 0x6f, 0x94, 0xee, 0x96, 0x96, 0xea, 0xab, 0x4b, - 0xa8, 0x70, 0x19, 0x4a, 0x7e, 0xb4, 0xdd, 0x79, 0x47, 0x02, 0xb1, 0xa5, 0x72, 0x3c, 0x78, 0x7a, - 0xde, 0x9a, 0xb8, 0x38, 0x6f, 0x81, 0x21, 0x86, 0x07, 0x6c, 0xf0, 0x08, 0x54, 0x78, 0x42, 0x82, - 0xc6, 0xa4, 0x61, 0xdd, 0x46, 0xff, 0xba, 0x62, 0x54, 0xd8, 0xf4, 0x8e, 0xa2, 0xf5, 0x66, 0x6d, - 0xf1, 0x8a, 0xbe, 0x61, 0x53, 0x0a, 0x9e, 0x80, 0x2a, 0x17, 0xbe, 0x90, 0xbc, 0x51, 0x36, 0x45, - 0x5f, 0xdd, 0x64, 0x51, 0x43, 0xec, 0xcd, 0xd9, 0xb2, 0xd5, 0xf4, 0x8e, 0x6d, 0x41, 0xe7, 0xd3, - 0x24, 0x70, 0x0a, 0x73, 0xd7, 0xe3, 0xa8, 0x4b, 0x85, 0xb2, 0x0b, 0x5c, 0x03, 0x15, 0x71, 0x92, - 0x10, 0x23, 0xf5, 0x8c, 0x77, 0x2f, 0x9b, 0x61, 0x57, 0x61, 0x3f, 0xcf, 0x5b, 0xb7, 0x46, 0xe3, - 0x35, 0x8e, 0x4d, 0x06, 0x7c, 0x00, 0xaa, 0x8c, 0xf8, 0x3c, 0x8e, 0x8c, 0xa0, 0x33, 0xc3, 0x46, - 0xb0, 0x41, 0xb1, 0x7d, 0x85, 0x0f, 0xc1, 0x74, 0x9f, 0x70, 0xee, 0x87, 0xc4, 0x88, 0x30, 0xe3, - 0xcd, 0xdb, 0xc0, 0xe9, 0xad, 0x14, 0xc6, 0xd9, 0x3b, 0xec, 0x81, 0xb9, 0x43, 0x9f, 0x8b, 0xbd, - 0x44, 0xed, 0x8b, 0xec, 0x2a, 0xbb, 0x35, 0x2a, 0x46, 0xb6, 0xc7, 0xd7, 0x38, 0x20, 0xe7, 0x7c, - 0xa4, 0x53, 0xbc, 0xdb, 0x96, 0x7e, 0x6e, 0xf3, 0x37, 0x2a, 0x3c, 0x42, 0xed, 0xfc, 0x28, 0x81, - 0x85, 0x42, 0x81, 0x36, 0xa9, 0xb2, 0xe2, 0xdb, 0x31, 0x2b, 0xba, 0x7f, 0xd9, 0x88, 0x4e, 0x37, - 0x8e, 0xfc, 0xdf, 0x36, 0x53, 0xcb, 0x90, 0x9c, 0x1f, 0x13, 0x30, 0x45, 0x05, 0xe9, 0x73, 0xa5, - 0x5f, 0x59, 0x71, 0xbf, 0xbc, 0x41, 0x6f, 0x78, 0xff, 0xd9, 0xba, 0x53, 0x1b, 0xba, 0x02, 0x4e, - 0x0b, 0x39, 0x9f, 0xaf, 0x1b, 0x59, 0xdb, 0x16, 0xde, 0x07, 0xd3, 0x2c, 0xbd, 0x9a, 0x89, 0x67, - 0xbd, 0xba, 0x5e, 0x94, 0x8d, 0xc0, 0xd9, 0x1b, 0x5c, 0x06, 0x35, 0xc9, 0x55, 0x93, 0xbe, 0x5a, - 0x51, 0xba, 0xfd, 0xc1, 0xa0, 0x7b, 0x16, 0xc7, 0x83, 0x08, 0xb8, 0x00, 0xca, 0x92, 0x76, 0xed, - 0xf6, 0xeb, 0x36, 0xb0, 0xbc, 0xb7, 0xf1, 0x1c, 0x6b, 0x1c, 0x3a, 0xa0, 0x1a, 0xb2, 0x58, 0x26, - 0x5c, 0x6d, 0xbb, 0xac, 0x22, 0x80, 0x36, 0xd1, 0x0b, 0x83, 0x60, 0xfb, 0xe2, 0x7c, 0x2d, 0x81, - 0xd6, 0x1f, 0xbe, 0x04, 0xf8, 0xa1, 0x04, 0x40, 0x90, 0x19, 0x95, 0xab, 0xfe, 0xb5, 0xaa, 0xbb, - 0x37, 0xa8, 0xea, 0xe0, 0x2b, 0x18, 0xfe, 0xd1, 0x0c, 0x20, 0x8e, 0x73, 0xb5, 0x61, 0x1b, 0xd4, - 0x73, 0xdc, 0x46, 0xa2, 0x59, 0x6f, 0x5e, 0x25, 0xd4, 0x73, 0xe4, 0x38, 0x1f, 0xe3, 0x3d, 0x3a, - 0xfd, 0xbe, 0x38, 0x71, 0xa6, 0xce, 0x17, 0x75, 0xde, 0x5f, 0x2c, 0x96, 0x4e, 0xd5, 0x39, 0x53, - 0xe7, 0x9b, 0x3a, 0x1f, 0x2f, 0x17, 0x27, 0xde, 0xd4, 0xb2, 0x0e, 0x7f, 0x05, 0x00, 0x00, 0xff, - 0xff, 0x29, 0x0b, 0xef, 0x6d, 0xe0, 0x06, 0x00, 0x00, + // 692 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0xcd, 0x6e, 0xd3, 0x4a, + 0x14, 0x8e, 0x93, 0x34, 0x4d, 0x26, 0xbd, 0xed, 0xd5, 0xe8, 0xea, 0x2a, 0x37, 0x52, 0x9d, 0x2a, + 0xba, 0xa0, 0x00, 0xed, 0x98, 0x54, 0x42, 0xea, 0x12, 0xb9, 0x48, 0xa8, 0xa2, 0x55, 0xc5, 0xb4, + 0x95, 0x10, 0x12, 0x8b, 0x89, 0x73, 0xea, 0x0e, 0x69, 0x6c, 0xd7, 0x33, 0x8e, 0xd4, 0x1d, 0x4b, + 0x96, 0x3c, 0x01, 0xaf, 0xc1, 0x2b, 0x74, 0xd9, 0x25, 0xab, 0x40, 0xd3, 0x17, 0x60, 0xcd, 0x0a, + 0x79, 0x32, 0x4e, 0x4c, 0x52, 0x17, 0x90, 0xba, 0xcb, 0xf9, 0xe6, 0x9c, 0xef, 0x3b, 0x3f, 0x9f, + 0x83, 0x9e, 0xf6, 0xb6, 0x04, 0xe1, 0xbe, 0xd5, 0x8b, 0x3a, 0x10, 0x7a, 0x20, 0x41, 0x58, 0x41, + 0xcf, 0xb5, 0x58, 0xc0, 0x85, 0xe5, 0x40, 0x28, 0xf9, 0x31, 0x77, 0x58, 0x8c, 0x0e, 0xda, 0xec, + 0x34, 0x38, 0x61, 0x6d, 0xcb, 0x05, 0x0f, 0x42, 0x26, 0xa1, 0x4b, 0x82, 0xd0, 0x97, 0x3e, 0x7e, + 0x3c, 0x66, 0x20, 0x53, 0x06, 0x12, 0xf4, 0x5c, 0x12, 0x33, 0x90, 0x34, 0x03, 0x49, 0x18, 0xea, + 0x1b, 0x2e, 0x97, 0x27, 0x51, 0x87, 0x38, 0x7e, 0xdf, 0x72, 0x7d, 0xd7, 0xb7, 0x14, 0x51, 0x27, + 0x3a, 0x56, 0x91, 0x0a, 0xd4, 0xaf, 0xb1, 0x40, 0x7d, 0x33, 0xb3, 0x45, 0x2b, 0x04, 0xe1, 0x47, + 0xa1, 0x03, 0xb3, 0x4d, 0xd5, 0x9f, 0x64, 0xd7, 0x44, 0xde, 0x00, 0x42, 0xc1, 0x7d, 0x0f, 0xba, + 0x73, 0x65, 0xeb, 0xd9, 0x65, 0x83, 0xb9, 0xc9, 0xeb, 0x1b, 0x37, 0x67, 0x87, 0x91, 0x27, 0x79, + 0x7f, 0xbe, 0xa7, 0xf6, 0xcd, 0xe9, 0x91, 0xe4, 0xa7, 0x16, 0xf7, 0xa4, 0x90, 0xe1, 0x6c, 0x49, + 0xf3, 0x3a, 0x8f, 0xfe, 0xdb, 0x9e, 0xee, 0xf0, 0x80, 0xbb, 0x1e, 0xf7, 0x5c, 0x0a, 0x67, 0x11, + 0x08, 0x89, 0x5f, 0xa1, 0x72, 0x1f, 0x24, 0xeb, 0x32, 0xc9, 0x6a, 0xc6, 0x9a, 0xd1, 0xaa, 0x6e, + 0xb6, 0x48, 0xe6, 0x31, 0xc8, 0xa0, 0x4d, 0xf6, 0x3b, 0x6f, 0xc1, 0x91, 0x7b, 0x20, 0x99, 0x8d, + 0x2f, 0x86, 0x8d, 0xdc, 0x68, 0xd8, 0x40, 0x53, 0x8c, 0x4e, 0xd8, 0xf0, 0x19, 0x2a, 0x8a, 0x00, + 0x9c, 0x5a, 0x5e, 0xb1, 0xee, 0x93, 0x3f, 0x3d, 0x31, 0xc9, 0x6c, 0xfa, 0x20, 0x00, 0xc7, 0x5e, + 0xd2, 0xe2, 0xc5, 0x38, 0xa2, 0x4a, 0x0a, 0x9f, 0xa3, 0x92, 0x90, 0x4c, 0x46, 0xa2, 0x56, 0x50, + 0xa2, 0x2f, 0xef, 0x52, 0x54, 0x11, 0xdb, 0xcb, 0x5a, 0xb6, 0x34, 0x8e, 0xa9, 0x16, 0x6c, 0x7e, + 0xcc, 0xa3, 0x66, 0x66, 0xed, 0xb6, 0xef, 0x75, 0xb9, 0xe4, 0xbe, 0x87, 0xb7, 0x50, 0x51, 0x9e, + 0x07, 0xa0, 0x56, 0x5d, 0xb1, 0xff, 0x4f, 0x66, 0x38, 0x3c, 0x0f, 0xe0, 0xfb, 0xb0, 0xf1, 0xcf, + 0x6c, 0x7e, 0x8c, 0x53, 0x55, 0x81, 0xef, 0xa3, 0x52, 0x08, 0x4c, 0xf8, 0x9e, 0x5a, 0x68, 0x65, + 0xda, 0x08, 0x55, 0x28, 0xd5, 0xaf, 0xf8, 0x01, 0x5a, 0xec, 0x83, 0x10, 0xcc, 0x05, 0xb5, 0x84, + 0x8a, 0xbd, 0xa2, 0x13, 0x17, 0xf7, 0xc6, 0x30, 0x4d, 0xde, 0x71, 0x0f, 0x2d, 0x9f, 0x32, 0x21, + 0x8f, 0x82, 0x2e, 0x93, 0x70, 0xc8, 0xfb, 0x50, 0x2b, 0xaa, 0xb5, 0x3d, 0xba, 0xc5, 0x01, 0x29, + 0xe7, 0x93, 0xb8, 0xc4, 0xfe, 0x57, 0xd3, 0x2f, 0xef, 0xfe, 0x44, 0x45, 0x67, 0xa8, 0x9b, 0xdf, + 0x0c, 0xb4, 0x9a, 0xb9, 0xa0, 0x5d, 0x2e, 0x24, 0x7e, 0x33, 0x67, 0x45, 0xeb, 0x37, 0x1b, 0x89, + 0xcb, 0x95, 0x23, 0xff, 0xd6, 0xcd, 0x94, 0x13, 0x24, 0xe5, 0xc7, 0x00, 0x2d, 0x70, 0x09, 0x7d, + 0x51, 0xcb, 0xaf, 0x15, 0x5a, 0xd5, 0xcd, 0x17, 0x77, 0xe8, 0x0d, 0xfb, 0x2f, 0xad, 0xbb, 0xb0, + 0x13, 0x2b, 0xd0, 0xb1, 0x50, 0xf3, 0xd3, 0x6d, 0x23, 0xc7, 0xb6, 0xc5, 0xf7, 0xd0, 0x62, 0x38, + 0x0e, 0xd5, 0xc4, 0x4b, 0x76, 0x35, 0x3e, 0x94, 0xce, 0xa0, 0xc9, 0x1b, 0x5e, 0x47, 0xe5, 0x48, + 0x40, 0xe8, 0xb1, 0x3e, 0xe8, 0xeb, 0x4f, 0x06, 0x3d, 0xd2, 0x38, 0x9d, 0x64, 0xe0, 0x55, 0x54, + 0x88, 0x78, 0x57, 0x5f, 0xbf, 0xaa, 0x13, 0x0b, 0x47, 0x3b, 0xcf, 0x68, 0x8c, 0xe3, 0x26, 0x2a, + 0xb9, 0xa1, 0x1f, 0x05, 0xa2, 0x56, 0x5c, 0x2b, 0xb4, 0x2a, 0x36, 0x8a, 0x4d, 0xf4, 0x5c, 0x21, + 0x54, 0xbf, 0x34, 0xbf, 0x18, 0xa8, 0xf1, 0x8b, 0x2f, 0x01, 0xbf, 0x37, 0x10, 0x72, 0x12, 0xa3, + 0x8a, 0x9a, 0xa1, 0xb6, 0x7a, 0x78, 0x87, 0x5b, 0x9d, 0x7c, 0x05, 0xd3, 0x3f, 0x9a, 0x09, 0x24, + 0x68, 0x4a, 0x1b, 0xb7, 0x51, 0x35, 0xc5, 0xad, 0x56, 0xb4, 0x64, 0xaf, 0x8c, 0x86, 0x8d, 0x6a, + 0x8a, 0x9c, 0xa6, 0x73, 0xec, 0x87, 0x17, 0x57, 0x66, 0xee, 0xf2, 0xca, 0xcc, 0x7d, 0xbe, 0x32, + 0x73, 0xef, 0x46, 0xa6, 0x71, 0x31, 0x32, 0x8d, 0xcb, 0x91, 0x69, 0x7c, 0x1d, 0x99, 0xc6, 0x87, + 0x6b, 0x33, 0xf7, 0xba, 0x9c, 0x74, 0xf8, 0x23, 0x00, 0x00, 0xff, 0xff, 0x29, 0x0b, 0xef, 0x6d, + 0xe0, 0x06, 0x00, 0x00, } diff --git a/pkg/apis/certificates/v1alpha1/generated.proto b/pkg/apis/certificates/v1alpha1/generated.proto index d2fe12e2..5c576a2e 100644 --- a/pkg/apis/certificates/v1alpha1/generated.proto +++ b/pkg/apis/certificates/v1alpha1/generated.proto @@ -21,23 +21,26 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.certificates.v1alpha1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1alpha1"; // Describes a certificate signing request message CertificateSigningRequest { + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // The certificate request itself and any additional information. + // +optional optional CertificateSigningRequestSpec spec = 2; // Derived information about the request. + // +optional optional CertificateSigningRequestStatus status = 3; } @@ -46,16 +49,20 @@ message CertificateSigningRequestCondition { optional string type = 1; // brief reason for the request state + // +optional optional string reason = 2; // human readable message with details about the request state + // +optional optional string message = 3; // timestamp for the last update to this condition + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastUpdateTime = 4; } message CertificateSigningRequestList { + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; repeated CertificateSigningRequest items = 2; @@ -70,18 +77,23 @@ message CertificateSigningRequestSpec { // Information about the requesting user (if relevant) // See user.Info interface for details + // +optional optional string username = 2; + // +optional optional string uid = 3; + // +optional repeated string groups = 4; } message CertificateSigningRequestStatus { // Conditions applied to the request, such as approval or denial. + // +optional repeated CertificateSigningRequestCondition conditions = 1; // If request was approved, the controller will place the issued certificate here. + // +optional optional bytes certificate = 2; } diff --git a/pkg/apis/certificates/v1alpha1/types.go b/pkg/apis/certificates/v1alpha1/types.go index c4cfaa73..fb1a4d34 100644 --- a/pkg/apis/certificates/v1alpha1/types.go +++ b/pkg/apis/certificates/v1alpha1/types.go @@ -27,12 +27,15 @@ import ( // Describes a certificate signing request type CertificateSigningRequest struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // The certificate request itself and any additional information. + // +optional Spec CertificateSigningRequestSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Derived information about the request. + // +optional Status CertificateSigningRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -45,16 +48,21 @@ type CertificateSigningRequestSpec struct { // Information about the requesting user (if relevant) // See user.Info interface for details - Username string `json:"username,omitempty" protobuf:"bytes,2,opt,name=username"` - UID string `json:"uid,omitempty" protobuf:"bytes,3,opt,name=uid"` - Groups []string `json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"` + // +optional + Username string `json:"username,omitempty" protobuf:"bytes,2,opt,name=username"` + // +optional + UID string `json:"uid,omitempty" protobuf:"bytes,3,opt,name=uid"` + // +optional + Groups []string `json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"` } type CertificateSigningRequestStatus struct { // Conditions applied to the request, such as approval or denial. + // +optional Conditions []CertificateSigningRequestCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"` // If request was approved, the controller will place the issued certificate here. + // +optional Certificate []byte `json:"certificate,omitempty" protobuf:"bytes,2,opt,name=certificate"` } @@ -70,15 +78,19 @@ type CertificateSigningRequestCondition struct { // request approval state, currently Approved or Denied. Type RequestConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=RequestConditionType"` // brief reason for the request state + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"` // human readable message with details about the request state + // +optional Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // timestamp for the last update to this condition + // +optional LastUpdateTime unversioned.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,4,opt,name=lastUpdateTime"` } type CertificateSigningRequestList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []CertificateSigningRequest `json:"items" protobuf:"bytes,2,rep,name=items"` diff --git a/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go b/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go index db000f23..5d6574d6 100644 --- a/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go @@ -21,7 +21,6 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/pkg/api" certificates "k8s.io/client-go/pkg/apis/certificates" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" @@ -49,9 +48,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1alpha1_CertificateSigningRequest_To_certificates_CertificateSigningRequest(in *CertificateSigningRequest, out *certificates.CertificateSigningRequest, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -70,9 +66,6 @@ func Convert_v1alpha1_CertificateSigningRequest_To_certificates_CertificateSigni } func autoConvert_certificates_CertificateSigningRequest_To_v1alpha1_CertificateSigningRequest(in *certificates.CertificateSigningRequest, out *CertificateSigningRequest, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -94,9 +87,7 @@ func autoConvert_v1alpha1_CertificateSigningRequestCondition_To_certificates_Cer out.Type = certificates.RequestConditionType(in.Type) out.Reason = in.Reason out.Message = in.Message - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastUpdateTime, &out.LastUpdateTime, s); err != nil { - return err - } + out.LastUpdateTime = in.LastUpdateTime return nil } @@ -108,9 +99,7 @@ func autoConvert_certificates_CertificateSigningRequestCondition_To_v1alpha1_Cer out.Type = RequestConditionType(in.Type) out.Reason = in.Reason out.Message = in.Message - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastUpdateTime, &out.LastUpdateTime, s); err != nil { - return err - } + out.LastUpdateTime = in.LastUpdateTime return nil } @@ -119,12 +108,7 @@ func Convert_certificates_CertificateSigningRequestCondition_To_v1alpha1_Certifi } func autoConvert_v1alpha1_CertificateSigningRequestList_To_certificates_CertificateSigningRequestList(in *CertificateSigningRequestList, out *certificates.CertificateSigningRequestList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]certificates.CertificateSigningRequest, len(*in)) @@ -144,12 +128,7 @@ func Convert_v1alpha1_CertificateSigningRequestList_To_certificates_CertificateS } func autoConvert_certificates_CertificateSigningRequestList_To_v1alpha1_CertificateSigningRequestList(in *certificates.CertificateSigningRequestList, out *CertificateSigningRequestList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CertificateSigningRequest, len(*in)) diff --git a/pkg/apis/componentconfig/types.generated.go b/pkg/apis/componentconfig/types.generated.go index 976b6369..8503be82 100644 --- a/pkg/apis/componentconfig/types.generated.go +++ b/pkg/apis/componentconfig/types.generated.go @@ -1259,38 +1259,40 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep135 := !z.EncBinary() yy2arr135 := z.EncBasicHandle().StructToArray - var yyq135 [108]bool + var yyq135 [111]bool _, _, _ = yysep135, yyq135, yy2arr135 const yyr135 bool = false yyq135[0] = x.Kind != "" yyq135[1] = x.APIVersion != "" - yyq135[53] = x.CloudProvider != "" - yyq135[54] = x.CloudConfigFile != "" - yyq135[55] = x.KubeletCgroups != "" - yyq135[56] = x.CgroupsPerQOS != false - yyq135[57] = x.CgroupDriver != "" - yyq135[58] = x.RuntimeCgroups != "" - yyq135[59] = x.SystemCgroups != "" - yyq135[60] = x.CgroupRoot != "" - yyq135[64] = true - yyq135[65] = x.RktPath != "" - yyq135[66] = x.RktAPIEndpoint != "" - yyq135[67] = x.RktStage1Image != "" - yyq135[87] = true - yyq135[88] = x.NodeIP != "" - yyq135[92] = x.EvictionHard != "" - yyq135[93] = x.EvictionSoft != "" - yyq135[94] = x.EvictionSoftGracePeriod != "" - yyq135[95] = true - yyq135[96] = x.EvictionMaxPodGracePeriod != 0 - yyq135[97] = x.EvictionMinimumReclaim != "" - yyq135[106] = len(x.AllowedUnsafeSysctls) != 0 - yyq135[107] = x.ExperimentalRuntimeIntegrationType != "" + yyq135[55] = x.CloudProvider != "" + yyq135[56] = x.CloudConfigFile != "" + yyq135[57] = x.KubeletCgroups != "" + yyq135[58] = x.CgroupsPerQOS != false + yyq135[59] = x.CgroupDriver != "" + yyq135[60] = x.RuntimeCgroups != "" + yyq135[61] = x.SystemCgroups != "" + yyq135[62] = x.CgroupRoot != "" + yyq135[66] = true + yyq135[67] = x.RktPath != "" + yyq135[68] = x.ExperimentalMounterPath != "" + yyq135[69] = x.ExperimentalMounterRootfsPath != "" + yyq135[70] = x.RktAPIEndpoint != "" + yyq135[71] = x.RktStage1Image != "" + yyq135[90] = true + yyq135[91] = x.NodeIP != "" + yyq135[95] = x.EvictionHard != "" + yyq135[96] = x.EvictionSoft != "" + yyq135[97] = x.EvictionSoftGracePeriod != "" + yyq135[98] = true + yyq135[99] = x.EvictionMaxPodGracePeriod != 0 + yyq135[100] = x.EvictionMinimumReclaim != "" + yyq135[109] = len(x.AllowedUnsafeSysctls) != 0 + yyq135[110] = x.ExperimentalRuntimeIntegrationType != "" var yynn135 int if yyr135 || yy2arr135 { - r.EncodeArrayStart(108) + r.EncodeArrayStart(111) } else { - yynn135 = 84 + yynn135 = 85 for _, b := range yyq135 { if b { yynn135++ @@ -1622,8 +1624,30 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym188 := z.EncBinary() - _ = yym188 + yy188 := &x.Authentication + yy188.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("authentication")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy189 := &x.Authentication + yy189.CodecEncodeSelf(e) + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy191 := &x.Authorization + yy191.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("authorization")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy192 := &x.Authorization + yy192.CodecEncodeSelf(e) + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym194 := z.EncBinary() + _ = yym194 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) @@ -1632,49 +1656,11 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostnameOverride")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym189 := z.EncBinary() - _ = yym189 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym191 := z.EncBinary() - _ = yym191 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podInfraContainerImage")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym192 := z.EncBinary() - _ = yym192 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym194 := z.EncBinary() - _ = yym194 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("dockerEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) yym195 := z.EncBinary() _ = yym195 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) + r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) } } if yyr135 || yy2arr135 { @@ -1683,17 +1669,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym197 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rootDirectory")) + r.EncodeString(codecSelferC_UTF81234, string("podInfraContainerImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym198 := z.EncBinary() _ = yym198 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) } } if yyr135 || yy2arr135 { @@ -1702,17 +1688,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym200 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) + r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("seccompProfileRoot")) + r.EncodeString(codecSelferC_UTF81234, string("dockerEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym201 := z.EncBinary() _ = yym201 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) + r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) } } if yyr135 || yy2arr135 { @@ -1720,6 +1706,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym203 := z.EncBinary() _ = yym203 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rootDirectory")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym204 := z.EncBinary() + _ = yym204 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym206 := z.EncBinary() + _ = yym206 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("seccompProfileRoot")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym207 := z.EncBinary() + _ = yym207 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym209 := z.EncBinary() + _ = yym209 + if false { } else { r.EncodeBool(bool(x.AllowPrivileged)) } @@ -1727,8 +1751,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowPrivileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym204 := z.EncBinary() - _ = yym204 + yym210 := z.EncBinary() + _ = yym210 if false { } else { r.EncodeBool(bool(x.AllowPrivileged)) @@ -1739,8 +1763,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostNetworkSources == nil { r.EncodeNil() } else { - yym206 := z.EncBinary() - _ = yym206 + yym212 := z.EncBinary() + _ = yym212 if false { } else { z.F.EncSliceStringV(x.HostNetworkSources, false, e) @@ -1753,8 +1777,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostNetworkSources == nil { r.EncodeNil() } else { - yym207 := z.EncBinary() - _ = yym207 + yym213 := z.EncBinary() + _ = yym213 if false { } else { z.F.EncSliceStringV(x.HostNetworkSources, false, e) @@ -1766,8 +1790,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostPIDSources == nil { r.EncodeNil() } else { - yym209 := z.EncBinary() - _ = yym209 + yym215 := z.EncBinary() + _ = yym215 if false { } else { z.F.EncSliceStringV(x.HostPIDSources, false, e) @@ -1780,8 +1804,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostPIDSources == nil { r.EncodeNil() } else { - yym210 := z.EncBinary() - _ = yym210 + yym216 := z.EncBinary() + _ = yym216 if false { } else { z.F.EncSliceStringV(x.HostPIDSources, false, e) @@ -1793,8 +1817,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostIPCSources == nil { r.EncodeNil() } else { - yym212 := z.EncBinary() - _ = yym212 + yym218 := z.EncBinary() + _ = yym218 if false { } else { z.F.EncSliceStringV(x.HostIPCSources, false, e) @@ -1807,8 +1831,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostIPCSources == nil { r.EncodeNil() } else { - yym213 := z.EncBinary() - _ = yym213 + yym219 := z.EncBinary() + _ = yym219 if false { } else { z.F.EncSliceStringV(x.HostIPCSources, false, e) @@ -1817,8 +1841,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym215 := z.EncBinary() - _ = yym215 + yym221 := z.EncBinary() + _ = yym221 if false { } else { r.EncodeInt(int64(x.RegistryPullQPS)) @@ -1827,49 +1851,11 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registryPullQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym216 := z.EncBinary() - _ = yym216 - if false { - } else { - r.EncodeInt(int64(x.RegistryPullQPS)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym218 := z.EncBinary() - _ = yym218 - if false { - } else { - r.EncodeInt(int64(x.RegistryBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registryBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym219 := z.EncBinary() - _ = yym219 - if false { - } else { - r.EncodeInt(int64(x.RegistryBurst)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym221 := z.EncBinary() - _ = yym221 - if false { - } else { - r.EncodeInt(int64(x.EventRecordQPS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("eventRecordQPS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) yym222 := z.EncBinary() _ = yym222 if false { } else { - r.EncodeInt(int64(x.EventRecordQPS)) + r.EncodeInt(int64(x.RegistryPullQPS)) } } if yyr135 || yy2arr135 { @@ -1878,17 +1864,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym224 if false { } else { - r.EncodeInt(int64(x.EventBurst)) + r.EncodeInt(int64(x.RegistryBurst)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("eventBurst")) + r.EncodeString(codecSelferC_UTF81234, string("registryBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym225 := z.EncBinary() _ = yym225 if false { } else { - r.EncodeInt(int64(x.EventBurst)) + r.EncodeInt(int64(x.RegistryBurst)) } } if yyr135 || yy2arr135 { @@ -1896,6 +1882,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym227 := z.EncBinary() _ = yym227 if false { + } else { + r.EncodeInt(int64(x.EventRecordQPS)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("eventRecordQPS")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym228 := z.EncBinary() + _ = yym228 + if false { + } else { + r.EncodeInt(int64(x.EventRecordQPS)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym230 := z.EncBinary() + _ = yym230 + if false { + } else { + r.EncodeInt(int64(x.EventBurst)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("eventBurst")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym231 := z.EncBinary() + _ = yym231 + if false { + } else { + r.EncodeInt(int64(x.EventBurst)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym233 := z.EncBinary() + _ = yym233 + if false { } else { r.EncodeBool(bool(x.EnableDebuggingHandlers)) } @@ -1903,8 +1927,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableDebuggingHandlers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym228 := z.EncBinary() - _ = yym228 + yym234 := z.EncBinary() + _ = yym234 if false { } else { r.EncodeBool(bool(x.EnableDebuggingHandlers)) @@ -1912,67 +1936,29 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy230 := &x.MinimumGCAge - yym231 := z.EncBinary() - _ = yym231 + yy236 := &x.MinimumGCAge + yym237 := z.EncBinary() + _ = yym237 if false { - } else if z.HasExtensions() && z.EncExt(yy230) { - } else if !yym231 && z.IsJSONHandle() { - z.EncJSONMarshal(yy230) + } else if z.HasExtensions() && z.EncExt(yy236) { + } else if !yym237 && z.IsJSONHandle() { + z.EncJSONMarshal(yy236) } else { - z.EncFallback(yy230) + z.EncFallback(yy236) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumGCAge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy232 := &x.MinimumGCAge - yym233 := z.EncBinary() - _ = yym233 - if false { - } else if z.HasExtensions() && z.EncExt(yy232) { - } else if !yym233 && z.IsJSONHandle() { - z.EncJSONMarshal(yy232) - } else { - z.EncFallback(yy232) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym235 := z.EncBinary() - _ = yym235 - if false { - } else { - r.EncodeInt(int64(x.MaxPerPodContainerCount)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxPerPodContainerCount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym236 := z.EncBinary() - _ = yym236 - if false { - } else { - r.EncodeInt(int64(x.MaxPerPodContainerCount)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym238 := z.EncBinary() - _ = yym238 - if false { - } else { - r.EncodeInt(int64(x.MaxContainerCount)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxContainerCount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy238 := &x.MinimumGCAge yym239 := z.EncBinary() _ = yym239 if false { + } else if z.HasExtensions() && z.EncExt(yy238) { + } else if !yym239 && z.IsJSONHandle() { + z.EncJSONMarshal(yy238) } else { - r.EncodeInt(int64(x.MaxContainerCount)) + z.EncFallback(yy238) } } if yyr135 || yy2arr135 { @@ -1981,17 +1967,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym241 if false { } else { - r.EncodeInt(int64(x.CAdvisorPort)) + r.EncodeInt(int64(x.MaxPerPodContainerCount)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cAdvisorPort")) + r.EncodeString(codecSelferC_UTF81234, string("maxPerPodContainerCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym242 := z.EncBinary() _ = yym242 if false { } else { - r.EncodeInt(int64(x.CAdvisorPort)) + r.EncodeInt(int64(x.MaxPerPodContainerCount)) } } if yyr135 || yy2arr135 { @@ -2000,17 +1986,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym244 if false { } else { - r.EncodeInt(int64(x.HealthzPort)) + r.EncodeInt(int64(x.MaxContainerCount)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("healthzPort")) + r.EncodeString(codecSelferC_UTF81234, string("maxContainerCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym245 := z.EncBinary() _ = yym245 if false { } else { - r.EncodeInt(int64(x.HealthzPort)) + r.EncodeInt(int64(x.MaxContainerCount)) } } if yyr135 || yy2arr135 { @@ -2019,17 +2005,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym247 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) + r.EncodeInt(int64(x.CAdvisorPort)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("healthzBindAddress")) + r.EncodeString(codecSelferC_UTF81234, string("cAdvisorPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym248 := z.EncBinary() _ = yym248 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) + r.EncodeInt(int64(x.CAdvisorPort)) } } if yyr135 || yy2arr135 { @@ -2038,17 +2024,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym250 if false { } else { - r.EncodeInt(int64(x.OOMScoreAdj)) + r.EncodeInt(int64(x.HealthzPort)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("oomScoreAdj")) + r.EncodeString(codecSelferC_UTF81234, string("healthzPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym251 := z.EncBinary() _ = yym251 if false { } else { - r.EncodeInt(int64(x.OOMScoreAdj)) + r.EncodeInt(int64(x.HealthzPort)) } } if yyr135 || yy2arr135 { @@ -2057,17 +2043,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym253 if false { } else { - r.EncodeBool(bool(x.RegisterNode)) + r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerNode")) + r.EncodeString(codecSelferC_UTF81234, string("healthzBindAddress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym254 := z.EncBinary() _ = yym254 if false { } else { - r.EncodeBool(bool(x.RegisterNode)) + r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) } } if yyr135 || yy2arr135 { @@ -2076,17 +2062,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym256 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) + r.EncodeInt(int64(x.OOMScoreAdj)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterDomain")) + r.EncodeString(codecSelferC_UTF81234, string("oomScoreAdj")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym257 := z.EncBinary() _ = yym257 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) + r.EncodeInt(int64(x.OOMScoreAdj)) } } if yyr135 || yy2arr135 { @@ -2095,17 +2081,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym259 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) + r.EncodeBool(bool(x.RegisterNode)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("masterServiceNamespace")) + r.EncodeString(codecSelferC_UTF81234, string("registerNode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym260 := z.EncBinary() _ = yym260 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) + r.EncodeBool(bool(x.RegisterNode)) } } if yyr135 || yy2arr135 { @@ -2113,6 +2099,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym262 := z.EncBinary() _ = yym262 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("clusterDomain")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym263 := z.EncBinary() + _ = yym263 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym265 := z.EncBinary() + _ = yym265 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("masterServiceNamespace")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym266 := z.EncBinary() + _ = yym266 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym268 := z.EncBinary() + _ = yym268 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDNS)) } @@ -2120,8 +2144,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterDNS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym263 := z.EncBinary() - _ = yym263 + yym269 := z.EncBinary() + _ = yym269 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDNS)) @@ -2129,121 +2153,83 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy265 := &x.StreamingConnectionIdleTimeout - yym266 := z.EncBinary() - _ = yym266 + yy271 := &x.StreamingConnectionIdleTimeout + yym272 := z.EncBinary() + _ = yym272 if false { - } else if z.HasExtensions() && z.EncExt(yy265) { - } else if !yym266 && z.IsJSONHandle() { - z.EncJSONMarshal(yy265) + } else if z.HasExtensions() && z.EncExt(yy271) { + } else if !yym272 && z.IsJSONHandle() { + z.EncJSONMarshal(yy271) } else { - z.EncFallback(yy265) + z.EncFallback(yy271) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("streamingConnectionIdleTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy267 := &x.StreamingConnectionIdleTimeout - yym268 := z.EncBinary() - _ = yym268 + yy273 := &x.StreamingConnectionIdleTimeout + yym274 := z.EncBinary() + _ = yym274 if false { - } else if z.HasExtensions() && z.EncExt(yy267) { - } else if !yym268 && z.IsJSONHandle() { - z.EncJSONMarshal(yy267) + } else if z.HasExtensions() && z.EncExt(yy273) { + } else if !yym274 && z.IsJSONHandle() { + z.EncJSONMarshal(yy273) } else { - z.EncFallback(yy267) + z.EncFallback(yy273) } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy270 := &x.NodeStatusUpdateFrequency - yym271 := z.EncBinary() - _ = yym271 + yy276 := &x.NodeStatusUpdateFrequency + yym277 := z.EncBinary() + _ = yym277 if false { - } else if z.HasExtensions() && z.EncExt(yy270) { - } else if !yym271 && z.IsJSONHandle() { - z.EncJSONMarshal(yy270) + } else if z.HasExtensions() && z.EncExt(yy276) { + } else if !yym277 && z.IsJSONHandle() { + z.EncJSONMarshal(yy276) } else { - z.EncFallback(yy270) + z.EncFallback(yy276) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeStatusUpdateFrequency")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy272 := &x.NodeStatusUpdateFrequency - yym273 := z.EncBinary() - _ = yym273 + yy278 := &x.NodeStatusUpdateFrequency + yym279 := z.EncBinary() + _ = yym279 if false { - } else if z.HasExtensions() && z.EncExt(yy272) { - } else if !yym273 && z.IsJSONHandle() { - z.EncJSONMarshal(yy272) + } else if z.HasExtensions() && z.EncExt(yy278) { + } else if !yym279 && z.IsJSONHandle() { + z.EncJSONMarshal(yy278) } else { - z.EncFallback(yy272) + z.EncFallback(yy278) } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy275 := &x.ImageMinimumGCAge - yym276 := z.EncBinary() - _ = yym276 + yy281 := &x.ImageMinimumGCAge + yym282 := z.EncBinary() + _ = yym282 if false { - } else if z.HasExtensions() && z.EncExt(yy275) { - } else if !yym276 && z.IsJSONHandle() { - z.EncJSONMarshal(yy275) + } else if z.HasExtensions() && z.EncExt(yy281) { + } else if !yym282 && z.IsJSONHandle() { + z.EncJSONMarshal(yy281) } else { - z.EncFallback(yy275) + z.EncFallback(yy281) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageMinimumGCAge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy277 := &x.ImageMinimumGCAge - yym278 := z.EncBinary() - _ = yym278 - if false { - } else if z.HasExtensions() && z.EncExt(yy277) { - } else if !yym278 && z.IsJSONHandle() { - z.EncJSONMarshal(yy277) - } else { - z.EncFallback(yy277) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym280 := z.EncBinary() - _ = yym280 - if false { - } else { - r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imageGCHighThresholdPercent")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym281 := z.EncBinary() - _ = yym281 - if false { - } else { - r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym283 := z.EncBinary() - _ = yym283 - if false { - } else { - r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imageGCLowThresholdPercent")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy283 := &x.ImageMinimumGCAge yym284 := z.EncBinary() _ = yym284 if false { + } else if z.HasExtensions() && z.EncExt(yy283) { + } else if !yym284 && z.IsJSONHandle() { + z.EncJSONMarshal(yy283) } else { - r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) + z.EncFallback(yy283) } } if yyr135 || yy2arr135 { @@ -2251,6 +2237,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym286 := z.EncBinary() _ = yym286 if false { + } else { + r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("imageGCHighThresholdPercent")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym287 := z.EncBinary() + _ = yym287 + if false { + } else { + r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym289 := z.EncBinary() + _ = yym289 + if false { + } else { + r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("imageGCLowThresholdPercent")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym290 := z.EncBinary() + _ = yym290 + if false { + } else { + r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym292 := z.EncBinary() + _ = yym292 + if false { } else { r.EncodeInt(int64(x.LowDiskSpaceThresholdMB)) } @@ -2258,8 +2282,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lowDiskSpaceThresholdMB")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym287 := z.EncBinary() - _ = yym287 + yym293 := z.EncBinary() + _ = yym293 if false { } else { r.EncodeInt(int64(x.LowDiskSpaceThresholdMB)) @@ -2267,67 +2291,29 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy289 := &x.VolumeStatsAggPeriod - yym290 := z.EncBinary() - _ = yym290 + yy295 := &x.VolumeStatsAggPeriod + yym296 := z.EncBinary() + _ = yym296 if false { - } else if z.HasExtensions() && z.EncExt(yy289) { - } else if !yym290 && z.IsJSONHandle() { - z.EncJSONMarshal(yy289) + } else if z.HasExtensions() && z.EncExt(yy295) { + } else if !yym296 && z.IsJSONHandle() { + z.EncJSONMarshal(yy295) } else { - z.EncFallback(yy289) + z.EncFallback(yy295) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeStatsAggPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy291 := &x.VolumeStatsAggPeriod - yym292 := z.EncBinary() - _ = yym292 - if false { - } else if z.HasExtensions() && z.EncExt(yy291) { - } else if !yym292 && z.IsJSONHandle() { - z.EncJSONMarshal(yy291) - } else { - z.EncFallback(yy291) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym294 := z.EncBinary() - _ = yym294 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("networkPluginName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym295 := z.EncBinary() - _ = yym295 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym297 := z.EncBinary() - _ = yym297 - if false { - } else { - r.EncodeInt(int64(x.NetworkPluginMTU)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("networkPluginMTU")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy297 := &x.VolumeStatsAggPeriod yym298 := z.EncBinary() _ = yym298 if false { + } else if z.HasExtensions() && z.EncExt(yy297) { + } else if !yym298 && z.IsJSONHandle() { + z.EncJSONMarshal(yy297) } else { - r.EncodeInt(int64(x.NetworkPluginMTU)) + z.EncFallback(yy297) } } if yyr135 || yy2arr135 { @@ -2336,17 +2322,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym300 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) + r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("networkPluginDir")) + r.EncodeString(codecSelferC_UTF81234, string("networkPluginName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym301 := z.EncBinary() _ = yym301 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) + r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) } } if yyr135 || yy2arr135 { @@ -2355,17 +2341,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym303 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIConfDir)) + r.EncodeInt(int64(x.NetworkPluginMTU)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cniConfDir")) + r.EncodeString(codecSelferC_UTF81234, string("networkPluginMTU")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym304 := z.EncBinary() _ = yym304 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIConfDir)) + r.EncodeInt(int64(x.NetworkPluginMTU)) } } if yyr135 || yy2arr135 { @@ -2374,17 +2360,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym306 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIBinDir)) + r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cniBinDir")) + r.EncodeString(codecSelferC_UTF81234, string("networkPluginDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym307 := z.EncBinary() _ = yym307 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIBinDir)) + r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) } } if yyr135 || yy2arr135 { @@ -2392,6 +2378,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym309 := z.EncBinary() _ = yym309 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CNIConfDir)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cniConfDir")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym310 := z.EncBinary() + _ = yym310 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CNIConfDir)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym312 := z.EncBinary() + _ = yym312 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CNIBinDir)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cniBinDir")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym313 := z.EncBinary() + _ = yym313 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CNIBinDir)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym315 := z.EncBinary() + _ = yym315 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePluginDir)) } @@ -2399,63 +2423,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumePluginDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym310 := z.EncBinary() - _ = yym310 + yym316 := z.EncBinary() + _ = yym316 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePluginDir)) } } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[53] { - yym312 := z.EncBinary() - _ = yym312 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[53] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym313 := z.EncBinary() - _ = yym313 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[54] { - yym315 := z.EncBinary() - _ = yym315 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[54] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym316 := z.EncBinary() - _ = yym316 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) - } - } - } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq135[55] { @@ -2463,7 +2437,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym318 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2471,13 +2445,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[55] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeletCgroups")) + r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym319 := z.EncBinary() _ = yym319 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) } } } @@ -2488,21 +2462,21 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym321 if false { } else { - r.EncodeBool(bool(x.CgroupsPerQOS)) + r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) } } else { - r.EncodeBool(false) + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq135[56] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cgroupsPerQOS")) + r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym322 := z.EncBinary() _ = yym322 if false { } else { - r.EncodeBool(bool(x.CgroupsPerQOS)) + r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) } } } @@ -2513,7 +2487,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym324 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) + r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2521,13 +2495,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[57] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cgroupDriver")) + r.EncodeString(codecSelferC_UTF81234, string("kubeletCgroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym325 := z.EncBinary() _ = yym325 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) + r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) } } } @@ -2538,21 +2512,21 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym327 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) + r.EncodeBool(bool(x.CgroupsPerQOS)) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeBool(false) } } else { if yyq135[58] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("runtimeCgroups")) + r.EncodeString(codecSelferC_UTF81234, string("cgroupsPerQOS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym328 := z.EncBinary() _ = yym328 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) + r.EncodeBool(bool(x.CgroupsPerQOS)) } } } @@ -2563,7 +2537,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym330 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2571,13 +2545,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[59] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("systemCgroups")) + r.EncodeString(codecSelferC_UTF81234, string("cgroupDriver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym331 := z.EncBinary() _ = yym331 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) } } } @@ -2588,7 +2562,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym333 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2596,52 +2570,64 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[60] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cgroupRoot")) + r.EncodeString(codecSelferC_UTF81234, string("runtimeCgroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym334 := z.EncBinary() _ = yym334 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym336 := z.EncBinary() - _ = yym336 - if false { + if yyq135[61] { + yym336 := z.EncBinary() + _ = yym336 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("containerRuntime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym337 := z.EncBinary() - _ = yym337 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) + if yyq135[61] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("systemCgroups")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym337 := z.EncBinary() + _ = yym337 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) + } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym339 := z.EncBinary() - _ = yym339 - if false { + if yyq135[62] { + yym339 := z.EncBinary() + _ = yym339 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("remoteRuntimeEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym340 := z.EncBinary() - _ = yym340 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) + if yyq135[62] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cgroupRoot")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym340 := z.EncBinary() + _ = yym340 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + } } } if yyr135 || yy2arr135 { @@ -2649,6 +2635,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym342 := z.EncBinary() _ = yym342 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("containerRuntime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym343 := z.EncBinary() + _ = yym343 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym345 := z.EncBinary() + _ = yym345 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("remoteRuntimeEndpoint")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym346 := z.EncBinary() + _ = yym346 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym348 := z.EncBinary() + _ = yym348 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RemoteImageEndpoint)) } @@ -2656,8 +2680,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("remoteImageEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym343 := z.EncBinary() - _ = yym343 + yym349 := z.EncBinary() + _ = yym349 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RemoteImageEndpoint)) @@ -2665,84 +2689,34 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[64] { - yy345 := &x.RuntimeRequestTimeout - yym346 := z.EncBinary() - _ = yym346 + if yyq135[66] { + yy351 := &x.RuntimeRequestTimeout + yym352 := z.EncBinary() + _ = yym352 if false { - } else if z.HasExtensions() && z.EncExt(yy345) { - } else if !yym346 && z.IsJSONHandle() { - z.EncJSONMarshal(yy345) + } else if z.HasExtensions() && z.EncExt(yy351) { + } else if !yym352 && z.IsJSONHandle() { + z.EncJSONMarshal(yy351) } else { - z.EncFallback(yy345) + z.EncFallback(yy351) } } else { r.EncodeNil() } } else { - if yyq135[64] { + if yyq135[66] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runtimeRequestTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy347 := &x.RuntimeRequestTimeout - yym348 := z.EncBinary() - _ = yym348 - if false { - } else if z.HasExtensions() && z.EncExt(yy347) { - } else if !yym348 && z.IsJSONHandle() { - z.EncJSONMarshal(yy347) - } else { - z.EncFallback(yy347) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[65] { - yym350 := z.EncBinary() - _ = yym350 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[65] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym351 := z.EncBinary() - _ = yym351 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[66] { - yym353 := z.EncBinary() - _ = yym353 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[66] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktAPIEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy353 := &x.RuntimeRequestTimeout yym354 := z.EncBinary() _ = yym354 if false { + } else if z.HasExtensions() && z.EncExt(yy353) { + } else if !yym354 && z.IsJSONHandle() { + z.EncJSONMarshal(yy353) } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) + z.EncFallback(yy353) } } } @@ -2753,7 +2727,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym356 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) + r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2761,90 +2735,114 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[67] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktStage1Image")) + r.EncodeString(codecSelferC_UTF81234, string("rktPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym357 := z.EncBinary() _ = yym357 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) + r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym359 := z.EncBinary() - _ = yym359 - if false { + if yyq135[68] { + yym359 := z.EncBinary() + _ = yym359 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterPath)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lockFilePath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym360 := z.EncBinary() - _ = yym360 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) + if yyq135[68] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("experimentalMounterPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym360 := z.EncBinary() + _ = yym360 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterPath)) + } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym362 := z.EncBinary() - _ = yym362 - if false { + if yyq135[69] { + yym362 := z.EncBinary() + _ = yym362 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterRootfsPath)) + } } else { - r.EncodeBool(bool(x.ExitOnLockContention)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("exitOnLockContention")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym363 := z.EncBinary() - _ = yym363 - if false { - } else { - r.EncodeBool(bool(x.ExitOnLockContention)) + if yyq135[69] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("experimentalMounterRootfsPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym363 := z.EncBinary() + _ = yym363 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterRootfsPath)) + } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym365 := z.EncBinary() - _ = yym365 - if false { + if yyq135[70] { + yym365 := z.EncBinary() + _ = yym365 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) + } } else { - r.EncodeBool(bool(x.ConfigureCBR0)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("configureCbr0")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym366 := z.EncBinary() - _ = yym366 - if false { - } else { - r.EncodeBool(bool(x.ConfigureCBR0)) + if yyq135[70] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rktAPIEndpoint")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym366 := z.EncBinary() + _ = yym366 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) + } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym368 := z.EncBinary() - _ = yym368 - if false { + if yyq135[71] { + yym368 := z.EncBinary() + _ = yym368 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hairpinMode")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym369 := z.EncBinary() - _ = yym369 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) + if yyq135[71] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rktStage1Image")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym369 := z.EncBinary() + _ = yym369 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) + } } } if yyr135 || yy2arr135 { @@ -2853,17 +2851,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym371 if false { } else { - r.EncodeBool(bool(x.BabysitDaemons)) + r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("babysitDaemons")) + r.EncodeString(codecSelferC_UTF81234, string("lockFilePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym372 := z.EncBinary() _ = yym372 if false { } else { - r.EncodeBool(bool(x.BabysitDaemons)) + r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) } } if yyr135 || yy2arr135 { @@ -2872,17 +2870,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym374 if false { } else { - r.EncodeInt(int64(x.MaxPods)) + r.EncodeBool(bool(x.ExitOnLockContention)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxPods")) + r.EncodeString(codecSelferC_UTF81234, string("exitOnLockContention")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym375 := z.EncBinary() _ = yym375 if false { } else { - r.EncodeInt(int64(x.MaxPods)) + r.EncodeBool(bool(x.ExitOnLockContention)) } } if yyr135 || yy2arr135 { @@ -2891,17 +2889,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym377 if false { } else { - r.EncodeInt(int64(x.NvidiaGPUs)) + r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nvidiaGPUs")) + r.EncodeString(codecSelferC_UTF81234, string("hairpinMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym378 := z.EncBinary() _ = yym378 if false { } else { - r.EncodeInt(int64(x.NvidiaGPUs)) + r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) } } if yyr135 || yy2arr135 { @@ -2910,17 +2908,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym380 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) + r.EncodeBool(bool(x.BabysitDaemons)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("dockerExecHandlerName")) + r.EncodeString(codecSelferC_UTF81234, string("babysitDaemons")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym381 := z.EncBinary() _ = yym381 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) + r.EncodeBool(bool(x.BabysitDaemons)) } } if yyr135 || yy2arr135 { @@ -2929,17 +2927,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym383 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) + r.EncodeInt(int64(x.MaxPods)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) + r.EncodeString(codecSelferC_UTF81234, string("maxPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym384 := z.EncBinary() _ = yym384 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) + r.EncodeInt(int64(x.MaxPods)) } } if yyr135 || yy2arr135 { @@ -2948,17 +2946,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym386 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) + r.EncodeInt(int64(x.NvidiaGPUs)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resolvConf")) + r.EncodeString(codecSelferC_UTF81234, string("nvidiaGPUs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym387 := z.EncBinary() _ = yym387 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) + r.EncodeInt(int64(x.NvidiaGPUs)) } } if yyr135 || yy2arr135 { @@ -2967,17 +2965,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym389 if false { } else { - r.EncodeBool(bool(x.CPUCFSQuota)) + r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cpuCFSQuota")) + r.EncodeString(codecSelferC_UTF81234, string("dockerExecHandlerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym390 := z.EncBinary() _ = yym390 if false { } else { - r.EncodeBool(bool(x.CPUCFSQuota)) + r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) } } if yyr135 || yy2arr135 { @@ -2986,17 +2984,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym392 if false { } else { - r.EncodeBool(bool(x.Containerized)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("containerized")) + r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym393 := z.EncBinary() _ = yym393 if false { } else { - r.EncodeBool(bool(x.Containerized)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } if yyr135 || yy2arr135 { @@ -3005,17 +3003,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym395 if false { } else { - r.EncodeInt(int64(x.MaxOpenFiles)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxOpenFiles")) + r.EncodeString(codecSelferC_UTF81234, string("resolvConf")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym396 := z.EncBinary() _ = yym396 if false { } else { - r.EncodeInt(int64(x.MaxOpenFiles)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) } } if yyr135 || yy2arr135 { @@ -3024,17 +3022,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym398 if false { } else { - r.EncodeBool(bool(x.ReconcileCIDR)) + r.EncodeBool(bool(x.CPUCFSQuota)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reconcileCIDR")) + r.EncodeString(codecSelferC_UTF81234, string("cpuCFSQuota")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym399 := z.EncBinary() _ = yym399 if false { } else { - r.EncodeBool(bool(x.ReconcileCIDR)) + r.EncodeBool(bool(x.CPUCFSQuota)) } } if yyr135 || yy2arr135 { @@ -3043,17 +3041,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym401 if false { } else { - r.EncodeBool(bool(x.RegisterSchedulable)) + r.EncodeBool(bool(x.Containerized)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerSchedulable")) + r.EncodeString(codecSelferC_UTF81234, string("containerized")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym402 := z.EncBinary() _ = yym402 if false { } else { - r.EncodeBool(bool(x.RegisterSchedulable)) + r.EncodeBool(bool(x.Containerized)) } } if yyr135 || yy2arr135 { @@ -3062,17 +3060,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym404 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + r.EncodeInt(int64(x.MaxOpenFiles)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("contentType")) + r.EncodeString(codecSelferC_UTF81234, string("maxOpenFiles")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym405 := z.EncBinary() _ = yym405 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + r.EncodeInt(int64(x.MaxOpenFiles)) } } if yyr135 || yy2arr135 { @@ -3081,17 +3079,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym407 if false { } else { - r.EncodeInt(int64(x.KubeAPIQPS)) + r.EncodeBool(bool(x.ReconcileCIDR)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) + r.EncodeString(codecSelferC_UTF81234, string("reconcileCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym408 := z.EncBinary() _ = yym408 if false { } else { - r.EncodeInt(int64(x.KubeAPIQPS)) + r.EncodeBool(bool(x.ReconcileCIDR)) } } if yyr135 || yy2arr135 { @@ -3100,17 +3098,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym410 if false { } else { - r.EncodeInt(int64(x.KubeAPIBurst)) + r.EncodeBool(bool(x.RegisterSchedulable)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) + r.EncodeString(codecSelferC_UTF81234, string("registerSchedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym411 := z.EncBinary() _ = yym411 if false { } else { - r.EncodeInt(int64(x.KubeAPIBurst)) + r.EncodeBool(bool(x.RegisterSchedulable)) } } if yyr135 || yy2arr135 { @@ -3118,6 +3116,63 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym413 := z.EncBinary() _ = yym413 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("contentType")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym414 := z.EncBinary() + _ = yym414 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym416 := z.EncBinary() + _ = yym416 + if false { + } else { + r.EncodeInt(int64(x.KubeAPIQPS)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym417 := z.EncBinary() + _ = yym417 + if false { + } else { + r.EncodeInt(int64(x.KubeAPIQPS)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym419 := z.EncBinary() + _ = yym419 + if false { + } else { + r.EncodeInt(int64(x.KubeAPIBurst)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym420 := z.EncBinary() + _ = yym420 + if false { + } else { + r.EncodeInt(int64(x.KubeAPIBurst)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym422 := z.EncBinary() + _ = yym422 + if false { } else { r.EncodeBool(bool(x.SerializeImagePulls)) } @@ -3125,8 +3180,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serializeImagePulls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym414 := z.EncBinary() - _ = yym414 + yym423 := z.EncBinary() + _ = yym423 if false { } else { r.EncodeBool(bool(x.SerializeImagePulls)) @@ -3134,42 +3189,42 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[87] { - yy416 := &x.OutOfDiskTransitionFrequency - yym417 := z.EncBinary() - _ = yym417 + if yyq135[90] { + yy425 := &x.OutOfDiskTransitionFrequency + yym426 := z.EncBinary() + _ = yym426 if false { - } else if z.HasExtensions() && z.EncExt(yy416) { - } else if !yym417 && z.IsJSONHandle() { - z.EncJSONMarshal(yy416) + } else if z.HasExtensions() && z.EncExt(yy425) { + } else if !yym426 && z.IsJSONHandle() { + z.EncJSONMarshal(yy425) } else { - z.EncFallback(yy416) + z.EncFallback(yy425) } } else { r.EncodeNil() } } else { - if yyq135[87] { + if yyq135[90] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("outOfDiskTransitionFrequency")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy418 := &x.OutOfDiskTransitionFrequency - yym419 := z.EncBinary() - _ = yym419 + yy427 := &x.OutOfDiskTransitionFrequency + yym428 := z.EncBinary() + _ = yym428 if false { - } else if z.HasExtensions() && z.EncExt(yy418) { - } else if !yym419 && z.IsJSONHandle() { - z.EncJSONMarshal(yy418) + } else if z.HasExtensions() && z.EncExt(yy427) { + } else if !yym428 && z.IsJSONHandle() { + z.EncJSONMarshal(yy427) } else { - z.EncFallback(yy418) + z.EncFallback(yy427) } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[88] { - yym421 := z.EncBinary() - _ = yym421 + if yyq135[91] { + yym430 := z.EncBinary() + _ = yym430 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeIP)) @@ -3178,12 +3233,12 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq135[88] { + if yyq135[91] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym422 := z.EncBinary() - _ = yym422 + yym431 := z.EncBinary() + _ = yym431 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeIP)) @@ -3195,8 +3250,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeLabels == nil { r.EncodeNil() } else { - yym424 := z.EncBinary() - _ = yym424 + yym433 := z.EncBinary() + _ = yym433 if false { } else { z.F.EncMapStringStringV(x.NodeLabels, false, e) @@ -3209,8 +3264,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeLabels == nil { r.EncodeNil() } else { - yym425 := z.EncBinary() - _ = yym425 + yym434 := z.EncBinary() + _ = yym434 if false { } else { z.F.EncMapStringStringV(x.NodeLabels, false, e) @@ -3219,8 +3274,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym427 := z.EncBinary() - _ = yym427 + yym436 := z.EncBinary() + _ = yym436 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NonMasqueradeCIDR)) @@ -3229,8 +3284,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nonMasqueradeCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym428 := z.EncBinary() - _ = yym428 + yym437 := z.EncBinary() + _ = yym437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NonMasqueradeCIDR)) @@ -3238,8 +3293,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym430 := z.EncBinary() - _ = yym430 + yym439 := z.EncBinary() + _ = yym439 if false { } else { r.EncodeBool(bool(x.EnableCustomMetrics)) @@ -3248,8 +3303,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableCustomMetrics")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym431 := z.EncBinary() - _ = yym431 + yym440 := z.EncBinary() + _ = yym440 if false { } else { r.EncodeBool(bool(x.EnableCustomMetrics)) @@ -3257,9 +3312,9 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[92] { - yym433 := z.EncBinary() - _ = yym433 + if yyq135[95] { + yym442 := z.EncBinary() + _ = yym442 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionHard)) @@ -3268,106 +3323,106 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq135[92] { + if yyq135[95] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionHard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym434 := z.EncBinary() - _ = yym434 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionHard)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[93] { - yym436 := z.EncBinary() - _ = yym436 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[93] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionSoft")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym437 := z.EncBinary() - _ = yym437 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[94] { - yym439 := z.EncBinary() - _ = yym439 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[94] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionSoftGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym440 := z.EncBinary() - _ = yym440 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[95] { - yy442 := &x.EvictionPressureTransitionPeriod yym443 := z.EncBinary() _ = yym443 if false { - } else if z.HasExtensions() && z.EncExt(yy442) { - } else if !yym443 && z.IsJSONHandle() { - z.EncJSONMarshal(yy442) } else { - z.EncFallback(yy442) - } - } else { - r.EncodeNil() - } - } else { - if yyq135[95] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionPressureTransitionPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy444 := &x.EvictionPressureTransitionPeriod - yym445 := z.EncBinary() - _ = yym445 - if false { - } else if z.HasExtensions() && z.EncExt(yy444) { - } else if !yym445 && z.IsJSONHandle() { - z.EncJSONMarshal(yy444) - } else { - z.EncFallback(yy444) + r.EncodeString(codecSelferC_UTF81234, string(x.EvictionHard)) } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq135[96] { - yym447 := z.EncBinary() - _ = yym447 + yym445 := z.EncBinary() + _ = yym445 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq135[96] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("evictionSoft")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym446 := z.EncBinary() + _ = yym446 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) + } + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq135[97] { + yym448 := z.EncBinary() + _ = yym448 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq135[97] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("evictionSoftGracePeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym449 := z.EncBinary() + _ = yym449 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) + } + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq135[98] { + yy451 := &x.EvictionPressureTransitionPeriod + yym452 := z.EncBinary() + _ = yym452 + if false { + } else if z.HasExtensions() && z.EncExt(yy451) { + } else if !yym452 && z.IsJSONHandle() { + z.EncJSONMarshal(yy451) + } else { + z.EncFallback(yy451) + } + } else { + r.EncodeNil() + } + } else { + if yyq135[98] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("evictionPressureTransitionPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy453 := &x.EvictionPressureTransitionPeriod + yym454 := z.EncBinary() + _ = yym454 + if false { + } else if z.HasExtensions() && z.EncExt(yy453) { + } else if !yym454 && z.IsJSONHandle() { + z.EncJSONMarshal(yy453) + } else { + z.EncFallback(yy453) + } + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq135[99] { + yym456 := z.EncBinary() + _ = yym456 if false { } else { r.EncodeInt(int64(x.EvictionMaxPodGracePeriod)) @@ -3376,12 +3431,12 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq135[96] { + if yyq135[99] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionMaxPodGracePeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym448 := z.EncBinary() - _ = yym448 + yym457 := z.EncBinary() + _ = yym457 if false { } else { r.EncodeInt(int64(x.EvictionMaxPodGracePeriod)) @@ -3390,9 +3445,9 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[97] { - yym450 := z.EncBinary() - _ = yym450 + if yyq135[100] { + yym459 := z.EncBinary() + _ = yym459 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionMinimumReclaim)) @@ -3401,12 +3456,12 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq135[97] { + if yyq135[100] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionMinimumReclaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym451 := z.EncBinary() - _ = yym451 + yym460 := z.EncBinary() + _ = yym460 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionMinimumReclaim)) @@ -3415,8 +3470,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym453 := z.EncBinary() - _ = yym453 + yym462 := z.EncBinary() + _ = yym462 if false { } else { r.EncodeInt(int64(x.PodsPerCore)) @@ -3425,8 +3480,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podsPerCore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym454 := z.EncBinary() - _ = yym454 + yym463 := z.EncBinary() + _ = yym463 if false { } else { r.EncodeInt(int64(x.PodsPerCore)) @@ -3434,8 +3489,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym456 := z.EncBinary() - _ = yym456 + yym465 := z.EncBinary() + _ = yym465 if false { } else { r.EncodeBool(bool(x.EnableControllerAttachDetach)) @@ -3444,8 +3499,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableControllerAttachDetach")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym457 := z.EncBinary() - _ = yym457 + yym466 := z.EncBinary() + _ = yym466 if false { } else { r.EncodeBool(bool(x.EnableControllerAttachDetach)) @@ -3456,8 +3511,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.SystemReserved == nil { r.EncodeNil() } else { - yym459 := z.EncBinary() - _ = yym459 + yym468 := z.EncBinary() + _ = yym468 if false { } else if z.HasExtensions() && z.EncExt(x.SystemReserved) { } else { @@ -3471,8 +3526,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.SystemReserved == nil { r.EncodeNil() } else { - yym460 := z.EncBinary() - _ = yym460 + yym469 := z.EncBinary() + _ = yym469 if false { } else if z.HasExtensions() && z.EncExt(x.SystemReserved) { } else { @@ -3485,8 +3540,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.KubeReserved == nil { r.EncodeNil() } else { - yym462 := z.EncBinary() - _ = yym462 + yym471 := z.EncBinary() + _ = yym471 if false { } else if z.HasExtensions() && z.EncExt(x.KubeReserved) { } else { @@ -3500,8 +3555,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.KubeReserved == nil { r.EncodeNil() } else { - yym463 := z.EncBinary() - _ = yym463 + yym472 := z.EncBinary() + _ = yym472 if false { } else if z.HasExtensions() && z.EncExt(x.KubeReserved) { } else { @@ -3511,8 +3566,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym465 := z.EncBinary() - _ = yym465 + yym474 := z.EncBinary() + _ = yym474 if false { } else { r.EncodeBool(bool(x.ProtectKernelDefaults)) @@ -3521,8 +3576,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protectKernelDefaults")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym466 := z.EncBinary() - _ = yym466 + yym475 := z.EncBinary() + _ = yym475 if false { } else { r.EncodeBool(bool(x.ProtectKernelDefaults)) @@ -3530,8 +3585,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym468 := z.EncBinary() - _ = yym468 + yym477 := z.EncBinary() + _ = yym477 if false { } else { r.EncodeBool(bool(x.MakeIPTablesUtilChains)) @@ -3540,8 +3595,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("makeIPTablesUtilChains")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym469 := z.EncBinary() - _ = yym469 + yym478 := z.EncBinary() + _ = yym478 if false { } else { r.EncodeBool(bool(x.MakeIPTablesUtilChains)) @@ -3549,8 +3604,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym471 := z.EncBinary() - _ = yym471 + yym480 := z.EncBinary() + _ = yym480 if false { } else { r.EncodeInt(int64(x.IPTablesMasqueradeBit)) @@ -3559,8 +3614,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iptablesMasqueradeBit")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym472 := z.EncBinary() - _ = yym472 + yym481 := z.EncBinary() + _ = yym481 if false { } else { r.EncodeInt(int64(x.IPTablesMasqueradeBit)) @@ -3568,8 +3623,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym474 := z.EncBinary() - _ = yym474 + yym483 := z.EncBinary() + _ = yym483 if false { } else { r.EncodeInt(int64(x.IPTablesDropBit)) @@ -3578,8 +3633,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iptablesDropBit")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym475 := z.EncBinary() - _ = yym475 + yym484 := z.EncBinary() + _ = yym484 if false { } else { r.EncodeInt(int64(x.IPTablesDropBit)) @@ -3587,12 +3642,12 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[106] { + if yyq135[109] { if x.AllowedUnsafeSysctls == nil { r.EncodeNil() } else { - yym477 := z.EncBinary() - _ = yym477 + yym486 := z.EncBinary() + _ = yym486 if false { } else { z.F.EncSliceStringV(x.AllowedUnsafeSysctls, false, e) @@ -3602,15 +3657,15 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq135[106] { + if yyq135[109] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("experimentalAllowedUnsafeSysctls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedUnsafeSysctls == nil { r.EncodeNil() } else { - yym478 := z.EncBinary() - _ = yym478 + yym487 := z.EncBinary() + _ = yym487 if false { } else { z.F.EncSliceStringV(x.AllowedUnsafeSysctls, false, e) @@ -3620,9 +3675,9 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[107] { - yym480 := z.EncBinary() - _ = yym480 + if yyq135[110] { + yym489 := z.EncBinary() + _ = yym489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalRuntimeIntegrationType)) @@ -3631,12 +3686,12 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq135[107] { + if yyq135[110] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("experimentalRuntimeIntegrationType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym481 := z.EncBinary() - _ = yym481 + yym490 := z.EncBinary() + _ = yym490 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalRuntimeIntegrationType)) @@ -3656,25 +3711,25 @@ func (x *KubeletConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym482 := z.DecBinary() - _ = yym482 + yym491 := z.DecBinary() + _ = yym491 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct483 := r.ContainerType() - if yyct483 == codecSelferValueTypeMap1234 { - yyl483 := r.ReadMapStart() - if yyl483 == 0 { + yyct492 := r.ContainerType() + if yyct492 == codecSelferValueTypeMap1234 { + yyl492 := r.ReadMapStart() + if yyl492 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl483, d) + x.codecDecodeSelfFromMap(yyl492, d) } - } else if yyct483 == codecSelferValueTypeArray1234 { - yyl483 := r.ReadArrayStart() - if yyl483 == 0 { + } else if yyct492 == codecSelferValueTypeArray1234 { + yyl492 := r.ReadArrayStart() + if yyl492 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl483, d) + x.codecDecodeSelfFromArray(yyl492, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3686,12 +3741,12 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys484Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys484Slc - var yyhl484 bool = l >= 0 - for yyj484 := 0; ; yyj484++ { - if yyhl484 { - if yyj484 >= l { + var yys493Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys493Slc + var yyhl493 bool = l >= 0 + for yyj493 := 0; ; yyj493++ { + if yyhl493 { + if yyj493 >= l { break } } else { @@ -3700,10 +3755,10 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys484Slc = r.DecodeBytes(yys484Slc, true, true) - yys484 := string(yys484Slc) + yys493Slc = r.DecodeBytes(yys493Slc, true, true) + yys493 := string(yys493Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys484 { + switch yys493 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3726,45 +3781,45 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SyncFrequency = pkg1_unversioned.Duration{} } else { - yyv488 := &x.SyncFrequency - yym489 := z.DecBinary() - _ = yym489 + yyv497 := &x.SyncFrequency + yym498 := z.DecBinary() + _ = yym498 if false { - } else if z.HasExtensions() && z.DecExt(yyv488) { - } else if !yym489 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv488) + } else if z.HasExtensions() && z.DecExt(yyv497) { + } else if !yym498 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv497) } else { - z.DecFallback(yyv488, false) + z.DecFallback(yyv497, false) } } case "fileCheckFrequency": if r.TryDecodeAsNil() { x.FileCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv490 := &x.FileCheckFrequency - yym491 := z.DecBinary() - _ = yym491 + yyv499 := &x.FileCheckFrequency + yym500 := z.DecBinary() + _ = yym500 if false { - } else if z.HasExtensions() && z.DecExt(yyv490) { - } else if !yym491 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv490) + } else if z.HasExtensions() && z.DecExt(yyv499) { + } else if !yym500 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv499) } else { - z.DecFallback(yyv490, false) + z.DecFallback(yyv499, false) } } case "httpCheckFrequency": if r.TryDecodeAsNil() { x.HTTPCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv492 := &x.HTTPCheckFrequency - yym493 := z.DecBinary() - _ = yym493 + yyv501 := &x.HTTPCheckFrequency + yym502 := z.DecBinary() + _ = yym502 if false { - } else if z.HasExtensions() && z.DecExt(yyv492) { - } else if !yym493 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv492) + } else if z.HasExtensions() && z.DecExt(yyv501) { + } else if !yym502 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv501) } else { - z.DecFallback(yyv492, false) + z.DecFallback(yyv501, false) } } case "manifestURL": @@ -3821,6 +3876,20 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } else { x.CertDirectory = string(r.DecodeString()) } + case "authentication": + if r.TryDecodeAsNil() { + x.Authentication = KubeletAuthentication{} + } else { + yyv512 := &x.Authentication + yyv512.CodecDecodeSelf(d) + } + case "authorization": + if r.TryDecodeAsNil() { + x.Authorization = KubeletAuthorization{} + } else { + yyv513 := &x.Authorization + yyv513.CodecDecodeSelf(d) + } case "hostnameOverride": if r.TryDecodeAsNil() { x.HostnameOverride = "" @@ -3861,36 +3930,36 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.HostNetworkSources = nil } else { - yyv509 := &x.HostNetworkSources - yym510 := z.DecBinary() - _ = yym510 + yyv520 := &x.HostNetworkSources + yym521 := z.DecBinary() + _ = yym521 if false { } else { - z.F.DecSliceStringX(yyv509, false, d) + z.F.DecSliceStringX(yyv520, false, d) } } case "hostPIDSources": if r.TryDecodeAsNil() { x.HostPIDSources = nil } else { - yyv511 := &x.HostPIDSources - yym512 := z.DecBinary() - _ = yym512 + yyv522 := &x.HostPIDSources + yym523 := z.DecBinary() + _ = yym523 if false { } else { - z.F.DecSliceStringX(yyv511, false, d) + z.F.DecSliceStringX(yyv522, false, d) } } case "hostIPCSources": if r.TryDecodeAsNil() { x.HostIPCSources = nil } else { - yyv513 := &x.HostIPCSources - yym514 := z.DecBinary() - _ = yym514 + yyv524 := &x.HostIPCSources + yym525 := z.DecBinary() + _ = yym525 if false { } else { - z.F.DecSliceStringX(yyv513, false, d) + z.F.DecSliceStringX(yyv524, false, d) } } case "registryPullQPS": @@ -3927,15 +3996,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.MinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv520 := &x.MinimumGCAge - yym521 := z.DecBinary() - _ = yym521 + yyv531 := &x.MinimumGCAge + yym532 := z.DecBinary() + _ = yym532 if false { - } else if z.HasExtensions() && z.DecExt(yyv520) { - } else if !yym521 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv520) + } else if z.HasExtensions() && z.DecExt(yyv531) { + } else if !yym532 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv531) } else { - z.DecFallback(yyv520, false) + z.DecFallback(yyv531, false) } } case "maxPerPodContainerCount": @@ -4002,45 +4071,45 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} } else { - yyv532 := &x.StreamingConnectionIdleTimeout - yym533 := z.DecBinary() - _ = yym533 + yyv543 := &x.StreamingConnectionIdleTimeout + yym544 := z.DecBinary() + _ = yym544 if false { - } else if z.HasExtensions() && z.DecExt(yyv532) { - } else if !yym533 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv532) + } else if z.HasExtensions() && z.DecExt(yyv543) { + } else if !yym544 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv543) } else { - z.DecFallback(yyv532, false) + z.DecFallback(yyv543, false) } } case "nodeStatusUpdateFrequency": if r.TryDecodeAsNil() { x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} } else { - yyv534 := &x.NodeStatusUpdateFrequency - yym535 := z.DecBinary() - _ = yym535 + yyv545 := &x.NodeStatusUpdateFrequency + yym546 := z.DecBinary() + _ = yym546 if false { - } else if z.HasExtensions() && z.DecExt(yyv534) { - } else if !yym535 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv534) + } else if z.HasExtensions() && z.DecExt(yyv545) { + } else if !yym546 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv545) } else { - z.DecFallback(yyv534, false) + z.DecFallback(yyv545, false) } } case "imageMinimumGCAge": if r.TryDecodeAsNil() { x.ImageMinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv536 := &x.ImageMinimumGCAge - yym537 := z.DecBinary() - _ = yym537 + yyv547 := &x.ImageMinimumGCAge + yym548 := z.DecBinary() + _ = yym548 if false { - } else if z.HasExtensions() && z.DecExt(yyv536) { - } else if !yym537 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv536) + } else if z.HasExtensions() && z.DecExt(yyv547) { + } else if !yym548 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv547) } else { - z.DecFallback(yyv536, false) + z.DecFallback(yyv547, false) } } case "imageGCHighThresholdPercent": @@ -4065,15 +4134,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} } else { - yyv541 := &x.VolumeStatsAggPeriod - yym542 := z.DecBinary() - _ = yym542 + yyv552 := &x.VolumeStatsAggPeriod + yym553 := z.DecBinary() + _ = yym553 if false { - } else if z.HasExtensions() && z.DecExt(yyv541) { - } else if !yym542 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv541) + } else if z.HasExtensions() && z.DecExt(yyv552) { + } else if !yym553 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv552) } else { - z.DecFallback(yyv541, false) + z.DecFallback(yyv552, false) } } case "networkPluginName": @@ -4182,15 +4251,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} } else { - yyv560 := &x.RuntimeRequestTimeout - yym561 := z.DecBinary() - _ = yym561 + yyv571 := &x.RuntimeRequestTimeout + yym572 := z.DecBinary() + _ = yym572 if false { - } else if z.HasExtensions() && z.DecExt(yyv560) { - } else if !yym561 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv560) + } else if z.HasExtensions() && z.DecExt(yyv571) { + } else if !yym572 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv571) } else { - z.DecFallback(yyv560, false) + z.DecFallback(yyv571, false) } } case "rktPath": @@ -4199,6 +4268,18 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } else { x.RktPath = string(r.DecodeString()) } + case "experimentalMounterPath": + if r.TryDecodeAsNil() { + x.ExperimentalMounterPath = "" + } else { + x.ExperimentalMounterPath = string(r.DecodeString()) + } + case "experimentalMounterRootfsPath": + if r.TryDecodeAsNil() { + x.ExperimentalMounterRootfsPath = "" + } else { + x.ExperimentalMounterRootfsPath = string(r.DecodeString()) + } case "rktAPIEndpoint": if r.TryDecodeAsNil() { x.RktAPIEndpoint = "" @@ -4223,12 +4304,6 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } else { x.ExitOnLockContention = bool(r.DecodeBool()) } - case "configureCbr0": - if r.TryDecodeAsNil() { - x.ConfigureCBR0 = false - } else { - x.ConfigureCBR0 = bool(r.DecodeBool()) - } case "hairpinMode": if r.TryDecodeAsNil() { x.HairpinMode = "" @@ -4329,15 +4404,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} } else { - yyv584 := &x.OutOfDiskTransitionFrequency - yym585 := z.DecBinary() - _ = yym585 + yyv596 := &x.OutOfDiskTransitionFrequency + yym597 := z.DecBinary() + _ = yym597 if false { - } else if z.HasExtensions() && z.DecExt(yyv584) { - } else if !yym585 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv584) + } else if z.HasExtensions() && z.DecExt(yyv596) { + } else if !yym597 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv596) } else { - z.DecFallback(yyv584, false) + z.DecFallback(yyv596, false) } } case "nodeIP": @@ -4350,12 +4425,12 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.NodeLabels = nil } else { - yyv587 := &x.NodeLabels - yym588 := z.DecBinary() - _ = yym588 + yyv599 := &x.NodeLabels + yym600 := z.DecBinary() + _ = yym600 if false { } else { - z.F.DecMapStringStringX(yyv587, false, d) + z.F.DecMapStringStringX(yyv599, false, d) } } case "nonMasqueradeCIDR": @@ -4392,15 +4467,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} } else { - yyv594 := &x.EvictionPressureTransitionPeriod - yym595 := z.DecBinary() - _ = yym595 + yyv606 := &x.EvictionPressureTransitionPeriod + yym607 := z.DecBinary() + _ = yym607 if false { - } else if z.HasExtensions() && z.DecExt(yyv594) { - } else if !yym595 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv594) + } else if z.HasExtensions() && z.DecExt(yyv606) { + } else if !yym607 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv606) } else { - z.DecFallback(yyv594, false) + z.DecFallback(yyv606, false) } } case "evictionMaxPodGracePeriod": @@ -4431,26 +4506,26 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SystemReserved = nil } else { - yyv600 := &x.SystemReserved - yym601 := z.DecBinary() - _ = yym601 + yyv612 := &x.SystemReserved + yym613 := z.DecBinary() + _ = yym613 if false { - } else if z.HasExtensions() && z.DecExt(yyv600) { + } else if z.HasExtensions() && z.DecExt(yyv612) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv600), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv612), d) } } case "kubeReserved": if r.TryDecodeAsNil() { x.KubeReserved = nil } else { - yyv602 := &x.KubeReserved - yym603 := z.DecBinary() - _ = yym603 + yyv614 := &x.KubeReserved + yym615 := z.DecBinary() + _ = yym615 if false { - } else if z.HasExtensions() && z.DecExt(yyv602) { + } else if z.HasExtensions() && z.DecExt(yyv614) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv602), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv614), d) } } case "protectKernelDefaults": @@ -4481,12 +4556,12 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.AllowedUnsafeSysctls = nil } else { - yyv608 := &x.AllowedUnsafeSysctls - yym609 := z.DecBinary() - _ = yym609 + yyv620 := &x.AllowedUnsafeSysctls + yym621 := z.DecBinary() + _ = yym621 if false { } else { - z.F.DecSliceStringX(yyv608, false, d) + z.F.DecSliceStringX(yyv620, false, d) } } case "experimentalRuntimeIntegrationType": @@ -4496,9 +4571,9 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.ExperimentalRuntimeIntegrationType = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys484) - } // end switch yys484 - } // end for yyj484 + z.DecStructFieldNotFound(-1, yys493) + } // end switch yys493 + } // end for yyj493 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4506,16 +4581,16 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj611 int - var yyb611 bool - var yyhl611 bool = l >= 0 - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + var yyj623 int + var yyb623 bool + var yyhl623 bool = l >= 0 + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4525,13 +4600,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4541,13 +4616,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4557,13 +4632,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodManifestPath = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4571,24 +4646,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.SyncFrequency = pkg1_unversioned.Duration{} } else { - yyv615 := &x.SyncFrequency - yym616 := z.DecBinary() - _ = yym616 + yyv627 := &x.SyncFrequency + yym628 := z.DecBinary() + _ = yym628 if false { - } else if z.HasExtensions() && z.DecExt(yyv615) { - } else if !yym616 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv615) + } else if z.HasExtensions() && z.DecExt(yyv627) { + } else if !yym628 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv627) } else { - z.DecFallback(yyv615, false) + z.DecFallback(yyv627, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4596,24 +4671,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.FileCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv617 := &x.FileCheckFrequency - yym618 := z.DecBinary() - _ = yym618 + yyv629 := &x.FileCheckFrequency + yym630 := z.DecBinary() + _ = yym630 if false { - } else if z.HasExtensions() && z.DecExt(yyv617) { - } else if !yym618 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv617) + } else if z.HasExtensions() && z.DecExt(yyv629) { + } else if !yym630 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv629) } else { - z.DecFallback(yyv617, false) + z.DecFallback(yyv629, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4621,24 +4696,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HTTPCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv619 := &x.HTTPCheckFrequency - yym620 := z.DecBinary() - _ = yym620 + yyv631 := &x.HTTPCheckFrequency + yym632 := z.DecBinary() + _ = yym632 if false { - } else if z.HasExtensions() && z.DecExt(yyv619) { - } else if !yym620 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv619) + } else if z.HasExtensions() && z.DecExt(yyv631) { + } else if !yym632 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv631) } else { - z.DecFallback(yyv619, false) + z.DecFallback(yyv631, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4648,13 +4723,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ManifestURL = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4664,13 +4739,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ManifestURLHeader = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4680,13 +4755,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableServer = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4696,13 +4771,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Address = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4712,13 +4787,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Port = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4728,13 +4803,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ReadOnlyPort = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4744,13 +4819,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.TLSCertFile = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4760,13 +4835,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.TLSPrivateKeyFile = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4776,13 +4851,47 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CertDirectory = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Authentication = KubeletAuthentication{} + } else { + yyv642 := &x.Authentication + yyv642.CodecDecodeSelf(d) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Authorization = KubeletAuthorization{} + } else { + yyv643 := &x.Authorization + yyv643.CodecDecodeSelf(d) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4792,13 +4901,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.HostnameOverride = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4808,13 +4917,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodInfraContainerImage = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4824,13 +4933,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.DockerEndpoint = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4840,13 +4949,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RootDirectory = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4856,13 +4965,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.SeccompProfileRoot = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4872,13 +4981,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.AllowPrivileged = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4886,21 +4995,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HostNetworkSources = nil } else { - yyv636 := &x.HostNetworkSources - yym637 := z.DecBinary() - _ = yym637 + yyv650 := &x.HostNetworkSources + yym651 := z.DecBinary() + _ = yym651 if false { } else { - z.F.DecSliceStringX(yyv636, false, d) + z.F.DecSliceStringX(yyv650, false, d) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4908,21 +5017,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HostPIDSources = nil } else { - yyv638 := &x.HostPIDSources - yym639 := z.DecBinary() - _ = yym639 + yyv652 := &x.HostPIDSources + yym653 := z.DecBinary() + _ = yym653 if false { } else { - z.F.DecSliceStringX(yyv638, false, d) + z.F.DecSliceStringX(yyv652, false, d) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4930,21 +5039,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HostIPCSources = nil } else { - yyv640 := &x.HostIPCSources - yym641 := z.DecBinary() - _ = yym641 + yyv654 := &x.HostIPCSources + yym655 := z.DecBinary() + _ = yym655 if false { } else { - z.F.DecSliceStringX(yyv640, false, d) + z.F.DecSliceStringX(yyv654, false, d) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4954,13 +5063,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RegistryPullQPS = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4970,13 +5079,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RegistryBurst = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4986,13 +5095,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EventRecordQPS = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5002,13 +5111,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EventBurst = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5018,13 +5127,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableDebuggingHandlers = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5032,217 +5141,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.MinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv647 := &x.MinimumGCAge - yym648 := z.DecBinary() - _ = yym648 - if false { - } else if z.HasExtensions() && z.DecExt(yyv647) { - } else if !yym648 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv647) - } else { - z.DecFallback(yyv647, false) - } - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxPerPodContainerCount = 0 - } else { - x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxContainerCount = 0 - } else { - x.MaxContainerCount = int32(r.DecodeInt(32)) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CAdvisorPort = 0 - } else { - x.CAdvisorPort = int32(r.DecodeInt(32)) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzPort = 0 - } else { - x.HealthzPort = int32(r.DecodeInt(32)) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzBindAddress = "" - } else { - x.HealthzBindAddress = string(r.DecodeString()) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.OOMScoreAdj = 0 - } else { - x.OOMScoreAdj = int32(r.DecodeInt(32)) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterNode = false - } else { - x.RegisterNode = bool(r.DecodeBool()) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDomain = "" - } else { - x.ClusterDomain = string(r.DecodeString()) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MasterServiceNamespace = "" - } else { - x.MasterServiceNamespace = string(r.DecodeString()) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDNS = "" - } else { - x.ClusterDNS = string(r.DecodeString()) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} - } else { - yyv659 := &x.StreamingConnectionIdleTimeout - yym660 := z.DecBinary() - _ = yym660 - if false { - } else if z.HasExtensions() && z.DecExt(yyv659) { - } else if !yym660 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv659) - } else { - z.DecFallback(yyv659, false) - } - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} - } else { - yyv661 := &x.NodeStatusUpdateFrequency + yyv661 := &x.MinimumGCAge yym662 := z.DecBinary() _ = yym662 if false { @@ -5253,13 +5152,223 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco z.DecFallback(yyv661, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxPerPodContainerCount = 0 + } else { + x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxContainerCount = 0 + } else { + x.MaxContainerCount = int32(r.DecodeInt(32)) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CAdvisorPort = 0 + } else { + x.CAdvisorPort = int32(r.DecodeInt(32)) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HealthzPort = 0 + } else { + x.HealthzPort = int32(r.DecodeInt(32)) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HealthzBindAddress = "" + } else { + x.HealthzBindAddress = string(r.DecodeString()) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.OOMScoreAdj = 0 + } else { + x.OOMScoreAdj = int32(r.DecodeInt(32)) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RegisterNode = false + } else { + x.RegisterNode = bool(r.DecodeBool()) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterDomain = "" + } else { + x.ClusterDomain = string(r.DecodeString()) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MasterServiceNamespace = "" + } else { + x.MasterServiceNamespace = string(r.DecodeString()) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterDNS = "" + } else { + x.ClusterDNS = string(r.DecodeString()) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} + } else { + yyv673 := &x.StreamingConnectionIdleTimeout + yym674 := z.DecBinary() + _ = yym674 + if false { + } else if z.HasExtensions() && z.DecExt(yyv673) { + } else if !yym674 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv673) + } else { + z.DecFallback(yyv673, false) + } + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} + } else { + yyv675 := &x.NodeStatusUpdateFrequency + yym676 := z.DecBinary() + _ = yym676 + if false { + } else if z.HasExtensions() && z.DecExt(yyv675) { + } else if !yym676 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv675) + } else { + z.DecFallback(yyv675, false) + } + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5267,24 +5376,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ImageMinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv663 := &x.ImageMinimumGCAge - yym664 := z.DecBinary() - _ = yym664 + yyv677 := &x.ImageMinimumGCAge + yym678 := z.DecBinary() + _ = yym678 if false { - } else if z.HasExtensions() && z.DecExt(yyv663) { - } else if !yym664 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv663) + } else if z.HasExtensions() && z.DecExt(yyv677) { + } else if !yym678 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv677) } else { - z.DecFallback(yyv663, false) + z.DecFallback(yyv677, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5294,13 +5403,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5310,13 +5419,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5326,13 +5435,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5340,24 +5449,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} } else { - yyv668 := &x.VolumeStatsAggPeriod - yym669 := z.DecBinary() - _ = yym669 + yyv682 := &x.VolumeStatsAggPeriod + yym683 := z.DecBinary() + _ = yym683 if false { - } else if z.HasExtensions() && z.DecExt(yyv668) { - } else if !yym669 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv668) + } else if z.HasExtensions() && z.DecExt(yyv682) { + } else if !yym683 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv682) } else { - z.DecFallback(yyv668, false) + z.DecFallback(yyv682, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5367,13 +5476,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NetworkPluginName = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5383,13 +5492,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NetworkPluginMTU = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5399,13 +5508,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NetworkPluginDir = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5415,13 +5524,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CNIConfDir = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5431,13 +5540,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CNIBinDir = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5447,13 +5556,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.VolumePluginDir = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5463,13 +5572,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CloudProvider = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5479,13 +5588,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CloudConfigFile = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5495,13 +5604,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.KubeletCgroups = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5511,13 +5620,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CgroupsPerQOS = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5527,13 +5636,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CgroupDriver = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5543,13 +5652,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RuntimeCgroups = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5559,13 +5668,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.SystemCgroups = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5575,13 +5684,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CgroupRoot = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5591,13 +5700,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ContainerRuntime = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5607,13 +5716,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RemoteRuntimeEndpoint = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5623,13 +5732,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RemoteImageEndpoint = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5637,24 +5746,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} } else { - yyv687 := &x.RuntimeRequestTimeout - yym688 := z.DecBinary() - _ = yym688 + yyv701 := &x.RuntimeRequestTimeout + yym702 := z.DecBinary() + _ = yym702 if false { - } else if z.HasExtensions() && z.DecExt(yyv687) { - } else if !yym688 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv687) + } else if z.HasExtensions() && z.DecExt(yyv701) { + } else if !yym702 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv701) } else { - z.DecFallback(yyv687, false) + z.DecFallback(yyv701, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5664,13 +5773,45 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RktPath = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ExperimentalMounterPath = "" + } else { + x.ExperimentalMounterPath = string(r.DecodeString()) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ExperimentalMounterRootfsPath = "" + } else { + x.ExperimentalMounterRootfsPath = string(r.DecodeString()) + } + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5680,13 +5821,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RktAPIEndpoint = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5696,13 +5837,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RktStage1Image = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5712,13 +5853,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.LockFilePath = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5728,29 +5869,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ExitOnLockContention = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConfigureCBR0 = false - } else { - x.ConfigureCBR0 = bool(r.DecodeBool()) - } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l - } else { - yyb611 = r.CheckBreak() - } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5760,13 +5885,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.HairpinMode = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5776,13 +5901,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.BabysitDaemons = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5792,13 +5917,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.MaxPods = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5808,13 +5933,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NvidiaGPUs = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5824,13 +5949,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.DockerExecHandlerName = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5840,13 +5965,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodCIDR = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5856,13 +5981,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ResolverConfig = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5872,13 +5997,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CPUCFSQuota = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5888,13 +6013,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Containerized = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5904,13 +6029,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.MaxOpenFiles = int64(r.DecodeInt(64)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5920,13 +6045,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ReconcileCIDR = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5936,13 +6061,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RegisterSchedulable = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5952,13 +6077,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ContentType = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5968,13 +6093,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.KubeAPIQPS = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5984,13 +6109,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.KubeAPIBurst = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6000,13 +6125,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.SerializeImagePulls = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6014,24 +6139,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} } else { - yyv711 := &x.OutOfDiskTransitionFrequency - yym712 := z.DecBinary() - _ = yym712 + yyv726 := &x.OutOfDiskTransitionFrequency + yym727 := z.DecBinary() + _ = yym727 if false { - } else if z.HasExtensions() && z.DecExt(yyv711) { - } else if !yym712 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv711) + } else if z.HasExtensions() && z.DecExt(yyv726) { + } else if !yym727 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv726) } else { - z.DecFallback(yyv711, false) + z.DecFallback(yyv726, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6041,13 +6166,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NodeIP = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6055,21 +6180,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.NodeLabels = nil } else { - yyv714 := &x.NodeLabels - yym715 := z.DecBinary() - _ = yym715 + yyv729 := &x.NodeLabels + yym730 := z.DecBinary() + _ = yym730 if false { } else { - z.F.DecMapStringStringX(yyv714, false, d) + z.F.DecMapStringStringX(yyv729, false, d) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6079,13 +6204,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NonMasqueradeCIDR = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6095,13 +6220,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableCustomMetrics = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6111,13 +6236,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionHard = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6127,13 +6252,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionSoft = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6143,13 +6268,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionSoftGracePeriod = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6157,24 +6282,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} } else { - yyv721 := &x.EvictionPressureTransitionPeriod - yym722 := z.DecBinary() - _ = yym722 + yyv736 := &x.EvictionPressureTransitionPeriod + yym737 := z.DecBinary() + _ = yym737 if false { - } else if z.HasExtensions() && z.DecExt(yyv721) { - } else if !yym722 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv721) + } else if z.HasExtensions() && z.DecExt(yyv736) { + } else if !yym737 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv736) } else { - z.DecFallback(yyv721, false) + z.DecFallback(yyv736, false) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6184,13 +6309,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionMaxPodGracePeriod = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6200,13 +6325,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionMinimumReclaim = string(r.DecodeString()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6216,13 +6341,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodsPerCore = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6232,13 +6357,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableControllerAttachDetach = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6246,22 +6371,22 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.SystemReserved = nil } else { - yyv727 := &x.SystemReserved - yym728 := z.DecBinary() - _ = yym728 + yyv742 := &x.SystemReserved + yym743 := z.DecBinary() + _ = yym743 if false { - } else if z.HasExtensions() && z.DecExt(yyv727) { + } else if z.HasExtensions() && z.DecExt(yyv742) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv727), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv742), d) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6269,22 +6394,22 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.KubeReserved = nil } else { - yyv729 := &x.KubeReserved - yym730 := z.DecBinary() - _ = yym730 + yyv744 := &x.KubeReserved + yym745 := z.DecBinary() + _ = yym745 if false { - } else if z.HasExtensions() && z.DecExt(yyv729) { + } else if z.HasExtensions() && z.DecExt(yyv744) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv729), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv744), d) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6294,13 +6419,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ProtectKernelDefaults = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6310,13 +6435,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.MakeIPTablesUtilChains = bool(r.DecodeBool()) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6326,13 +6451,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.IPTablesMasqueradeBit = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6342,13 +6467,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.IPTablesDropBit = int32(r.DecodeInt(32)) } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6356,21 +6481,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.AllowedUnsafeSysctls = nil } else { - yyv735 := &x.AllowedUnsafeSysctls - yym736 := z.DecBinary() - _ = yym736 + yyv750 := &x.AllowedUnsafeSysctls + yym751 := z.DecBinary() + _ = yym751 if false { } else { - z.F.DecSliceStringX(yyv735, false, d) + z.F.DecSliceStringX(yyv750, false, d) } } - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6381,17 +6506,1264 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.ExperimentalRuntimeIntegrationType = string(r.DecodeString()) } for { - yyj611++ - if yyhl611 { - yyb611 = yyj611 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb611 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb611 { + if yyb623 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj611-1, "") + z.DecStructFieldNotFound(yyj623-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x KubeletAuthorizationMode) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym753 := z.EncBinary() + _ = yym753 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *KubeletAuthorizationMode) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym754 := z.DecBinary() + _ = yym754 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *KubeletAuthorization) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym755 := z.EncBinary() + _ = yym755 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep756 := !z.EncBinary() + yy2arr756 := z.EncBasicHandle().StructToArray + var yyq756 [2]bool + _, _, _ = yysep756, yyq756, yy2arr756 + const yyr756 bool = false + var yynn756 int + if yyr756 || yy2arr756 { + r.EncodeArrayStart(2) + } else { + yynn756 = 2 + for _, b := range yyq756 { + if b { + yynn756++ + } + } + r.EncodeMapStart(yynn756) + yynn756 = 0 + } + if yyr756 || yy2arr756 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Mode.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("mode")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Mode.CodecEncodeSelf(e) + } + if yyr756 || yy2arr756 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy759 := &x.Webhook + yy759.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("webhook")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy760 := &x.Webhook + yy760.CodecEncodeSelf(e) + } + if yyr756 || yy2arr756 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *KubeletAuthorization) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym761 := z.DecBinary() + _ = yym761 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct762 := r.ContainerType() + if yyct762 == codecSelferValueTypeMap1234 { + yyl762 := r.ReadMapStart() + if yyl762 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl762, d) + } + } else if yyct762 == codecSelferValueTypeArray1234 { + yyl762 := r.ReadArrayStart() + if yyl762 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl762, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *KubeletAuthorization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys763Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys763Slc + var yyhl763 bool = l >= 0 + for yyj763 := 0; ; yyj763++ { + if yyhl763 { + if yyj763 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys763Slc = r.DecodeBytes(yys763Slc, true, true) + yys763 := string(yys763Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys763 { + case "mode": + if r.TryDecodeAsNil() { + x.Mode = "" + } else { + x.Mode = KubeletAuthorizationMode(r.DecodeString()) + } + case "webhook": + if r.TryDecodeAsNil() { + x.Webhook = KubeletWebhookAuthorization{} + } else { + yyv765 := &x.Webhook + yyv765.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys763) + } // end switch yys763 + } // end for yyj763 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *KubeletAuthorization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj766 int + var yyb766 bool + var yyhl766 bool = l >= 0 + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l + } else { + yyb766 = r.CheckBreak() + } + if yyb766 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Mode = "" + } else { + x.Mode = KubeletAuthorizationMode(r.DecodeString()) + } + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l + } else { + yyb766 = r.CheckBreak() + } + if yyb766 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Webhook = KubeletWebhookAuthorization{} + } else { + yyv768 := &x.Webhook + yyv768.CodecDecodeSelf(d) + } + for { + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l + } else { + yyb766 = r.CheckBreak() + } + if yyb766 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj766-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *KubeletWebhookAuthorization) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym769 := z.EncBinary() + _ = yym769 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep770 := !z.EncBinary() + yy2arr770 := z.EncBasicHandle().StructToArray + var yyq770 [2]bool + _, _, _ = yysep770, yyq770, yy2arr770 + const yyr770 bool = false + var yynn770 int + if yyr770 || yy2arr770 { + r.EncodeArrayStart(2) + } else { + yynn770 = 2 + for _, b := range yyq770 { + if b { + yynn770++ + } + } + r.EncodeMapStart(yynn770) + yynn770 = 0 + } + if yyr770 || yy2arr770 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy772 := &x.CacheAuthorizedTTL + yym773 := z.EncBinary() + _ = yym773 + if false { + } else if z.HasExtensions() && z.EncExt(yy772) { + } else if !yym773 && z.IsJSONHandle() { + z.EncJSONMarshal(yy772) + } else { + z.EncFallback(yy772) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cacheAuthorizedTTL")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy774 := &x.CacheAuthorizedTTL + yym775 := z.EncBinary() + _ = yym775 + if false { + } else if z.HasExtensions() && z.EncExt(yy774) { + } else if !yym775 && z.IsJSONHandle() { + z.EncJSONMarshal(yy774) + } else { + z.EncFallback(yy774) + } + } + if yyr770 || yy2arr770 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy777 := &x.CacheUnauthorizedTTL + yym778 := z.EncBinary() + _ = yym778 + if false { + } else if z.HasExtensions() && z.EncExt(yy777) { + } else if !yym778 && z.IsJSONHandle() { + z.EncJSONMarshal(yy777) + } else { + z.EncFallback(yy777) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cacheUnauthorizedTTL")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy779 := &x.CacheUnauthorizedTTL + yym780 := z.EncBinary() + _ = yym780 + if false { + } else if z.HasExtensions() && z.EncExt(yy779) { + } else if !yym780 && z.IsJSONHandle() { + z.EncJSONMarshal(yy779) + } else { + z.EncFallback(yy779) + } + } + if yyr770 || yy2arr770 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *KubeletWebhookAuthorization) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym781 := z.DecBinary() + _ = yym781 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct782 := r.ContainerType() + if yyct782 == codecSelferValueTypeMap1234 { + yyl782 := r.ReadMapStart() + if yyl782 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl782, d) + } + } else if yyct782 == codecSelferValueTypeArray1234 { + yyl782 := r.ReadArrayStart() + if yyl782 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl782, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *KubeletWebhookAuthorization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys783Slc = r.DecodeBytes(yys783Slc, true, true) + yys783 := string(yys783Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys783 { + case "cacheAuthorizedTTL": + if r.TryDecodeAsNil() { + x.CacheAuthorizedTTL = pkg1_unversioned.Duration{} + } else { + yyv784 := &x.CacheAuthorizedTTL + yym785 := z.DecBinary() + _ = yym785 + if false { + } else if z.HasExtensions() && z.DecExt(yyv784) { + } else if !yym785 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv784) + } else { + z.DecFallback(yyv784, false) + } + } + case "cacheUnauthorizedTTL": + if r.TryDecodeAsNil() { + x.CacheUnauthorizedTTL = pkg1_unversioned.Duration{} + } else { + yyv786 := &x.CacheUnauthorizedTTL + yym787 := z.DecBinary() + _ = yym787 + if false { + } else if z.HasExtensions() && z.DecExt(yyv786) { + } else if !yym787 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv786) + } else { + z.DecFallback(yyv786, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys783) + } // end switch yys783 + } // end for yyj783 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *KubeletWebhookAuthorization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb788 = r.CheckBreak() + } + if yyb788 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CacheAuthorizedTTL = pkg1_unversioned.Duration{} + } else { + yyv789 := &x.CacheAuthorizedTTL + yym790 := z.DecBinary() + _ = yym790 + if false { + } else if z.HasExtensions() && z.DecExt(yyv789) { + } else if !yym790 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv789) + } else { + z.DecFallback(yyv789, false) + } + } + yyj788++ + if yyhl788 { + yyb788 = yyj788 > l + } else { + yyb788 = r.CheckBreak() + } + if yyb788 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CacheUnauthorizedTTL = pkg1_unversioned.Duration{} + } else { + yyv791 := &x.CacheUnauthorizedTTL + yym792 := z.DecBinary() + _ = yym792 + if false { + } else if z.HasExtensions() && z.DecExt(yyv791) { + } else if !yym792 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv791) + } else { + z.DecFallback(yyv791, false) + } + } + for { + yyj788++ + if yyhl788 { + yyb788 = yyj788 > l + } else { + yyb788 = r.CheckBreak() + } + if yyb788 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj788-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *KubeletAuthentication) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym793 := z.EncBinary() + _ = yym793 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep794 := !z.EncBinary() + yy2arr794 := z.EncBasicHandle().StructToArray + var yyq794 [3]bool + _, _, _ = yysep794, yyq794, yy2arr794 + const yyr794 bool = false + var yynn794 int + if yyr794 || yy2arr794 { + r.EncodeArrayStart(3) + } else { + yynn794 = 3 + for _, b := range yyq794 { + if b { + yynn794++ + } + } + r.EncodeMapStart(yynn794) + yynn794 = 0 + } + if yyr794 || yy2arr794 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy796 := &x.X509 + yy796.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("x509")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy797 := &x.X509 + yy797.CodecEncodeSelf(e) + } + if yyr794 || yy2arr794 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy799 := &x.Webhook + yy799.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("webhook")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy800 := &x.Webhook + yy800.CodecEncodeSelf(e) + } + if yyr794 || yy2arr794 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy802 := &x.Anonymous + yy802.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("anonymous")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy803 := &x.Anonymous + yy803.CodecEncodeSelf(e) + } + if yyr794 || yy2arr794 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *KubeletAuthentication) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym804 := z.DecBinary() + _ = yym804 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct805 := r.ContainerType() + if yyct805 == codecSelferValueTypeMap1234 { + yyl805 := r.ReadMapStart() + if yyl805 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl805, d) + } + } else if yyct805 == codecSelferValueTypeArray1234 { + yyl805 := r.ReadArrayStart() + if yyl805 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl805, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *KubeletAuthentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys806Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys806Slc + var yyhl806 bool = l >= 0 + for yyj806 := 0; ; yyj806++ { + if yyhl806 { + if yyj806 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys806Slc = r.DecodeBytes(yys806Slc, true, true) + yys806 := string(yys806Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys806 { + case "x509": + if r.TryDecodeAsNil() { + x.X509 = KubeletX509Authentication{} + } else { + yyv807 := &x.X509 + yyv807.CodecDecodeSelf(d) + } + case "webhook": + if r.TryDecodeAsNil() { + x.Webhook = KubeletWebhookAuthentication{} + } else { + yyv808 := &x.Webhook + yyv808.CodecDecodeSelf(d) + } + case "anonymous": + if r.TryDecodeAsNil() { + x.Anonymous = KubeletAnonymousAuthentication{} + } else { + yyv809 := &x.Anonymous + yyv809.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys806) + } // end switch yys806 + } // end for yyj806 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *KubeletAuthentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj810 int + var yyb810 bool + var yyhl810 bool = l >= 0 + yyj810++ + if yyhl810 { + yyb810 = yyj810 > l + } else { + yyb810 = r.CheckBreak() + } + if yyb810 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.X509 = KubeletX509Authentication{} + } else { + yyv811 := &x.X509 + yyv811.CodecDecodeSelf(d) + } + yyj810++ + if yyhl810 { + yyb810 = yyj810 > l + } else { + yyb810 = r.CheckBreak() + } + if yyb810 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Webhook = KubeletWebhookAuthentication{} + } else { + yyv812 := &x.Webhook + yyv812.CodecDecodeSelf(d) + } + yyj810++ + if yyhl810 { + yyb810 = yyj810 > l + } else { + yyb810 = r.CheckBreak() + } + if yyb810 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Anonymous = KubeletAnonymousAuthentication{} + } else { + yyv813 := &x.Anonymous + yyv813.CodecDecodeSelf(d) + } + for { + yyj810++ + if yyhl810 { + yyb810 = yyj810 > l + } else { + yyb810 = r.CheckBreak() + } + if yyb810 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj810-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *KubeletX509Authentication) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym814 := z.EncBinary() + _ = yym814 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep815 := !z.EncBinary() + yy2arr815 := z.EncBasicHandle().StructToArray + var yyq815 [1]bool + _, _, _ = yysep815, yyq815, yy2arr815 + const yyr815 bool = false + var yynn815 int + if yyr815 || yy2arr815 { + r.EncodeArrayStart(1) + } else { + yynn815 = 1 + for _, b := range yyq815 { + if b { + yynn815++ + } + } + r.EncodeMapStart(yynn815) + yynn815 = 0 + } + if yyr815 || yy2arr815 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym817 := z.EncBinary() + _ = yym817 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClientCAFile)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("clientCAFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym818 := z.EncBinary() + _ = yym818 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClientCAFile)) + } + } + if yyr815 || yy2arr815 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *KubeletX509Authentication) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym819 := z.DecBinary() + _ = yym819 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct820 := r.ContainerType() + if yyct820 == codecSelferValueTypeMap1234 { + yyl820 := r.ReadMapStart() + if yyl820 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl820, d) + } + } else if yyct820 == codecSelferValueTypeArray1234 { + yyl820 := r.ReadArrayStart() + if yyl820 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl820, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *KubeletX509Authentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys821Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys821Slc + var yyhl821 bool = l >= 0 + for yyj821 := 0; ; yyj821++ { + if yyhl821 { + if yyj821 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys821Slc = r.DecodeBytes(yys821Slc, true, true) + yys821 := string(yys821Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys821 { + case "clientCAFile": + if r.TryDecodeAsNil() { + x.ClientCAFile = "" + } else { + x.ClientCAFile = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys821) + } // end switch yys821 + } // end for yyj821 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *KubeletX509Authentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj823 int + var yyb823 bool + var yyhl823 bool = l >= 0 + yyj823++ + if yyhl823 { + yyb823 = yyj823 > l + } else { + yyb823 = r.CheckBreak() + } + if yyb823 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClientCAFile = "" + } else { + x.ClientCAFile = string(r.DecodeString()) + } + for { + yyj823++ + if yyhl823 { + yyb823 = yyj823 > l + } else { + yyb823 = r.CheckBreak() + } + if yyb823 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj823-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *KubeletWebhookAuthentication) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym825 := z.EncBinary() + _ = yym825 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep826 := !z.EncBinary() + yy2arr826 := z.EncBasicHandle().StructToArray + var yyq826 [2]bool + _, _, _ = yysep826, yyq826, yy2arr826 + const yyr826 bool = false + var yynn826 int + if yyr826 || yy2arr826 { + r.EncodeArrayStart(2) + } else { + yynn826 = 2 + for _, b := range yyq826 { + if b { + yynn826++ + } + } + r.EncodeMapStart(yynn826) + yynn826 = 0 + } + if yyr826 || yy2arr826 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym828 := z.EncBinary() + _ = yym828 + if false { + } else { + r.EncodeBool(bool(x.Enabled)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("enabled")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym829 := z.EncBinary() + _ = yym829 + if false { + } else { + r.EncodeBool(bool(x.Enabled)) + } + } + if yyr826 || yy2arr826 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy831 := &x.CacheTTL + yym832 := z.EncBinary() + _ = yym832 + if false { + } else if z.HasExtensions() && z.EncExt(yy831) { + } else if !yym832 && z.IsJSONHandle() { + z.EncJSONMarshal(yy831) + } else { + z.EncFallback(yy831) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cacheTTL")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy833 := &x.CacheTTL + yym834 := z.EncBinary() + _ = yym834 + if false { + } else if z.HasExtensions() && z.EncExt(yy833) { + } else if !yym834 && z.IsJSONHandle() { + z.EncJSONMarshal(yy833) + } else { + z.EncFallback(yy833) + } + } + if yyr826 || yy2arr826 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *KubeletWebhookAuthentication) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym835 := z.DecBinary() + _ = yym835 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct836 := r.ContainerType() + if yyct836 == codecSelferValueTypeMap1234 { + yyl836 := r.ReadMapStart() + if yyl836 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl836, d) + } + } else if yyct836 == codecSelferValueTypeArray1234 { + yyl836 := r.ReadArrayStart() + if yyl836 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl836, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *KubeletWebhookAuthentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys837Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys837Slc + var yyhl837 bool = l >= 0 + for yyj837 := 0; ; yyj837++ { + if yyhl837 { + if yyj837 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys837Slc = r.DecodeBytes(yys837Slc, true, true) + yys837 := string(yys837Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys837 { + case "enabled": + if r.TryDecodeAsNil() { + x.Enabled = false + } else { + x.Enabled = bool(r.DecodeBool()) + } + case "cacheTTL": + if r.TryDecodeAsNil() { + x.CacheTTL = pkg1_unversioned.Duration{} + } else { + yyv839 := &x.CacheTTL + yym840 := z.DecBinary() + _ = yym840 + if false { + } else if z.HasExtensions() && z.DecExt(yyv839) { + } else if !yym840 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv839) + } else { + z.DecFallback(yyv839, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys837) + } // end switch yys837 + } // end for yyj837 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *KubeletWebhookAuthentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj841 int + var yyb841 bool + var yyhl841 bool = l >= 0 + yyj841++ + if yyhl841 { + yyb841 = yyj841 > l + } else { + yyb841 = r.CheckBreak() + } + if yyb841 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Enabled = false + } else { + x.Enabled = bool(r.DecodeBool()) + } + yyj841++ + if yyhl841 { + yyb841 = yyj841 > l + } else { + yyb841 = r.CheckBreak() + } + if yyb841 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CacheTTL = pkg1_unversioned.Duration{} + } else { + yyv843 := &x.CacheTTL + yym844 := z.DecBinary() + _ = yym844 + if false { + } else if z.HasExtensions() && z.DecExt(yyv843) { + } else if !yym844 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv843) + } else { + z.DecFallback(yyv843, false) + } + } + for { + yyj841++ + if yyhl841 { + yyb841 = yyj841 > l + } else { + yyb841 = r.CheckBreak() + } + if yyb841 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj841-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *KubeletAnonymousAuthentication) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym845 := z.EncBinary() + _ = yym845 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep846 := !z.EncBinary() + yy2arr846 := z.EncBasicHandle().StructToArray + var yyq846 [1]bool + _, _, _ = yysep846, yyq846, yy2arr846 + const yyr846 bool = false + var yynn846 int + if yyr846 || yy2arr846 { + r.EncodeArrayStart(1) + } else { + yynn846 = 1 + for _, b := range yyq846 { + if b { + yynn846++ + } + } + r.EncodeMapStart(yynn846) + yynn846 = 0 + } + if yyr846 || yy2arr846 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym848 := z.EncBinary() + _ = yym848 + if false { + } else { + r.EncodeBool(bool(x.Enabled)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("enabled")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym849 := z.EncBinary() + _ = yym849 + if false { + } else { + r.EncodeBool(bool(x.Enabled)) + } + } + if yyr846 || yy2arr846 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *KubeletAnonymousAuthentication) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym850 := z.DecBinary() + _ = yym850 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct851 := r.ContainerType() + if yyct851 == codecSelferValueTypeMap1234 { + yyl851 := r.ReadMapStart() + if yyl851 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl851, d) + } + } else if yyct851 == codecSelferValueTypeArray1234 { + yyl851 := r.ReadArrayStart() + if yyl851 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl851, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *KubeletAnonymousAuthentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys852Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys852Slc + var yyhl852 bool = l >= 0 + for yyj852 := 0; ; yyj852++ { + if yyhl852 { + if yyj852 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys852Slc = r.DecodeBytes(yys852Slc, true, true) + yys852 := string(yys852Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys852 { + case "enabled": + if r.TryDecodeAsNil() { + x.Enabled = false + } else { + x.Enabled = bool(r.DecodeBool()) + } + default: + z.DecStructFieldNotFound(-1, yys852) + } // end switch yys852 + } // end for yyj852 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *KubeletAnonymousAuthentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj854 int + var yyb854 bool + var yyhl854 bool = l >= 0 + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l + } else { + yyb854 = r.CheckBreak() + } + if yyb854 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Enabled = false + } else { + x.Enabled = bool(r.DecodeBool()) + } + for { + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l + } else { + yyb854 = r.CheckBreak() + } + if yyb854 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj854-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6403,36 +7775,36 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym738 := z.EncBinary() - _ = yym738 + yym856 := z.EncBinary() + _ = yym856 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep739 := !z.EncBinary() - yy2arr739 := z.EncBasicHandle().StructToArray - var yyq739 [14]bool - _, _, _ = yysep739, yyq739, yy2arr739 - const yyr739 bool = false - yyq739[0] = x.Kind != "" - yyq739[1] = x.APIVersion != "" - var yynn739 int - if yyr739 || yy2arr739 { + yysep857 := !z.EncBinary() + yy2arr857 := z.EncBasicHandle().StructToArray + var yyq857 [14]bool + _, _, _ = yysep857, yyq857, yy2arr857 + const yyr857 bool = false + yyq857[0] = x.Kind != "" + yyq857[1] = x.APIVersion != "" + var yynn857 int + if yyr857 || yy2arr857 { r.EncodeArrayStart(14) } else { - yynn739 = 12 - for _, b := range yyq739 { + yynn857 = 12 + for _, b := range yyq857 { if b { - yynn739++ + yynn857++ } } - r.EncodeMapStart(yynn739) - yynn739 = 0 + r.EncodeMapStart(yynn857) + yynn857 = 0 } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq739[0] { - yym741 := z.EncBinary() - _ = yym741 + if yyq857[0] { + yym859 := z.EncBinary() + _ = yym859 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6441,23 +7813,23 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq739[0] { + if yyq857[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym742 := z.EncBinary() - _ = yym742 + yym860 := z.EncBinary() + _ = yym860 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq739[1] { - yym744 := z.EncBinary() - _ = yym744 + if yyq857[1] { + yym862 := z.EncBinary() + _ = yym862 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6466,22 +7838,22 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq739[1] { + if yyq857[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym745 := z.EncBinary() - _ = yym745 + yym863 := z.EncBinary() + _ = yym863 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym747 := z.EncBinary() - _ = yym747 + yym865 := z.EncBinary() + _ = yym865 if false { } else { r.EncodeInt(int64(x.Port)) @@ -6490,17 +7862,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym748 := z.EncBinary() - _ = yym748 + yym866 := z.EncBinary() + _ = yym866 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym750 := z.EncBinary() - _ = yym750 + yym868 := z.EncBinary() + _ = yym868 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -6509,17 +7881,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym751 := z.EncBinary() - _ = yym751 + yym869 := z.EncBinary() + _ = yym869 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym753 := z.EncBinary() - _ = yym753 + yym871 := z.EncBinary() + _ = yym871 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) @@ -6528,17 +7900,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("algorithmProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym754 := z.EncBinary() - _ = yym754 + yym872 := z.EncBinary() + _ = yym872 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym756 := z.EncBinary() - _ = yym756 + yym874 := z.EncBinary() + _ = yym874 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) @@ -6547,17 +7919,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("policyConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym757 := z.EncBinary() - _ = yym757 + yym875 := z.EncBinary() + _ = yym875 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym759 := z.EncBinary() - _ = yym759 + yym877 := z.EncBinary() + _ = yym877 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) @@ -6566,17 +7938,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym760 := z.EncBinary() - _ = yym760 + yym878 := z.EncBinary() + _ = yym878 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym762 := z.EncBinary() - _ = yym762 + yym880 := z.EncBinary() + _ = yym880 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) @@ -6585,17 +7957,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("contentType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym763 := z.EncBinary() - _ = yym763 + yym881 := z.EncBinary() + _ = yym881 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym765 := z.EncBinary() - _ = yym765 + yym883 := z.EncBinary() + _ = yym883 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) @@ -6604,17 +7976,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym766 := z.EncBinary() - _ = yym766 + yym884 := z.EncBinary() + _ = yym884 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym768 := z.EncBinary() - _ = yym768 + yym886 := z.EncBinary() + _ = yym886 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) @@ -6623,17 +7995,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym769 := z.EncBinary() - _ = yym769 + yym887 := z.EncBinary() + _ = yym887 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym771 := z.EncBinary() - _ = yym771 + yym889 := z.EncBinary() + _ = yym889 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) @@ -6642,17 +8014,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedulerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym772 := z.EncBinary() - _ = yym772 + yym890 := z.EncBinary() + _ = yym890 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym774 := z.EncBinary() - _ = yym774 + yym892 := z.EncBinary() + _ = yym892 if false { } else { r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) @@ -6661,17 +8033,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hardPodAffinitySymmetricWeight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym775 := z.EncBinary() - _ = yym775 + yym893 := z.EncBinary() + _ = yym893 if false { } else { r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym777 := z.EncBinary() - _ = yym777 + yym895 := z.EncBinary() + _ = yym895 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) @@ -6680,25 +8052,25 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureDomains")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym778 := z.EncBinary() - _ = yym778 + yym896 := z.EncBinary() + _ = yym896 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) } } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy780 := &x.LeaderElection - yy780.CodecEncodeSelf(e) + yy898 := &x.LeaderElection + yy898.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy781 := &x.LeaderElection - yy781.CodecEncodeSelf(e) + yy899 := &x.LeaderElection + yy899.CodecEncodeSelf(e) } - if yyr739 || yy2arr739 { + if yyr857 || yy2arr857 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6711,25 +8083,25 @@ func (x *KubeSchedulerConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym782 := z.DecBinary() - _ = yym782 + yym900 := z.DecBinary() + _ = yym900 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct783 := r.ContainerType() - if yyct783 == codecSelferValueTypeMap1234 { - yyl783 := r.ReadMapStart() - if yyl783 == 0 { + yyct901 := r.ContainerType() + if yyct901 == codecSelferValueTypeMap1234 { + yyl901 := r.ReadMapStart() + if yyl901 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl783, d) + x.codecDecodeSelfFromMap(yyl901, d) } - } else if yyct783 == codecSelferValueTypeArray1234 { - yyl783 := r.ReadArrayStart() - if yyl783 == 0 { + } else if yyct901 == codecSelferValueTypeArray1234 { + yyl901 := r.ReadArrayStart() + if yyl901 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl783, d) + x.codecDecodeSelfFromArray(yyl901, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6741,12 +8113,12 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys784Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys784Slc - var yyhl784 bool = l >= 0 - for yyj784 := 0; ; yyj784++ { - if yyhl784 { - if yyj784 >= l { + var yys902Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys902Slc + var yyhl902 bool = l >= 0 + for yyj902 := 0; ; yyj902++ { + if yyhl902 { + if yyj902 >= l { break } } else { @@ -6755,10 +8127,10 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys784Slc = r.DecodeBytes(yys784Slc, true, true) - yys784 := string(yys784Slc) + yys902Slc = r.DecodeBytes(yys902Slc, true, true) + yys902 := string(yys902Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys784 { + switch yys902 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6841,13 +8213,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv798 := &x.LeaderElection - yyv798.CodecDecodeSelf(d) + yyv916 := &x.LeaderElection + yyv916.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys784) - } // end switch yys784 - } // end for yyj784 + z.DecStructFieldNotFound(-1, yys902) + } // end switch yys902 + } // end for yyj902 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6855,16 +8227,16 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj799 int - var yyb799 bool - var yyhl799 bool = l >= 0 - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + var yyj917 int + var yyb917 bool + var yyhl917 bool = l >= 0 + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6874,13 +8246,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6890,13 +8262,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6906,13 +8278,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Port = int32(r.DecodeInt(32)) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6922,13 +8294,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Address = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6938,13 +8310,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.AlgorithmProvider = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6954,13 +8326,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.PolicyConfigFile = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6970,13 +8342,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.EnableProfiling = bool(r.DecodeBool()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6986,13 +8358,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.ContentType = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7002,13 +8374,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.KubeAPIQPS = float32(r.DecodeFloat(true)) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7018,13 +8390,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.KubeAPIBurst = int32(r.DecodeInt(32)) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7034,13 +8406,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.SchedulerName = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7050,13 +8422,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.HardPodAffinitySymmetricWeight = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7066,13 +8438,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.FailureDomains = string(r.DecodeString()) } - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7080,21 +8452,21 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv813 := &x.LeaderElection - yyv813.CodecDecodeSelf(d) + yyv931 := &x.LeaderElection + yyv931.CodecDecodeSelf(d) } for { - yyj799++ - if yyhl799 { - yyb799 = yyj799 > l + yyj917++ + if yyhl917 { + yyb917 = yyj917 > l } else { - yyb799 = r.CheckBreak() + yyb917 = r.CheckBreak() } - if yyb799 { + if yyb917 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj799-1, "") + z.DecStructFieldNotFound(yyj917-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7106,33 +8478,33 @@ func (x *LeaderElectionConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym814 := z.EncBinary() - _ = yym814 + yym932 := z.EncBinary() + _ = yym932 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 - var yynn815 int - if yyr815 || yy2arr815 { + yysep933 := !z.EncBinary() + yy2arr933 := z.EncBasicHandle().StructToArray + var yyq933 [4]bool + _, _, _ = yysep933, yyq933, yy2arr933 + const yyr933 bool = false + var yynn933 int + if yyr933 || yy2arr933 { r.EncodeArrayStart(4) } else { - yynn815 = 4 - for _, b := range yyq815 { + yynn933 = 4 + for _, b := range yyq933 { if b { - yynn815++ + yynn933++ } } - r.EncodeMapStart(yynn815) - yynn815 = 0 + r.EncodeMapStart(yynn933) + yynn933 = 0 } - if yyr815 || yy2arr815 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym817 := z.EncBinary() - _ = yym817 + yym935 := z.EncBinary() + _ = yym935 if false { } else { r.EncodeBool(bool(x.LeaderElect)) @@ -7141,95 +8513,95 @@ func (x *LeaderElectionConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym818 := z.EncBinary() - _ = yym818 + yym936 := z.EncBinary() + _ = yym936 if false { } else { r.EncodeBool(bool(x.LeaderElect)) } } - if yyr815 || yy2arr815 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy820 := &x.LeaseDuration - yym821 := z.EncBinary() - _ = yym821 + yy938 := &x.LeaseDuration + yym939 := z.EncBinary() + _ = yym939 if false { - } else if z.HasExtensions() && z.EncExt(yy820) { - } else if !yym821 && z.IsJSONHandle() { - z.EncJSONMarshal(yy820) + } else if z.HasExtensions() && z.EncExt(yy938) { + } else if !yym939 && z.IsJSONHandle() { + z.EncJSONMarshal(yy938) } else { - z.EncFallback(yy820) + z.EncFallback(yy938) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaseDuration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy822 := &x.LeaseDuration - yym823 := z.EncBinary() - _ = yym823 + yy940 := &x.LeaseDuration + yym941 := z.EncBinary() + _ = yym941 if false { - } else if z.HasExtensions() && z.EncExt(yy822) { - } else if !yym823 && z.IsJSONHandle() { - z.EncJSONMarshal(yy822) + } else if z.HasExtensions() && z.EncExt(yy940) { + } else if !yym941 && z.IsJSONHandle() { + z.EncJSONMarshal(yy940) } else { - z.EncFallback(yy822) + z.EncFallback(yy940) } } - if yyr815 || yy2arr815 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy825 := &x.RenewDeadline - yym826 := z.EncBinary() - _ = yym826 + yy943 := &x.RenewDeadline + yym944 := z.EncBinary() + _ = yym944 if false { - } else if z.HasExtensions() && z.EncExt(yy825) { - } else if !yym826 && z.IsJSONHandle() { - z.EncJSONMarshal(yy825) + } else if z.HasExtensions() && z.EncExt(yy943) { + } else if !yym944 && z.IsJSONHandle() { + z.EncJSONMarshal(yy943) } else { - z.EncFallback(yy825) + z.EncFallback(yy943) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("renewDeadline")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy827 := &x.RenewDeadline - yym828 := z.EncBinary() - _ = yym828 + yy945 := &x.RenewDeadline + yym946 := z.EncBinary() + _ = yym946 if false { - } else if z.HasExtensions() && z.EncExt(yy827) { - } else if !yym828 && z.IsJSONHandle() { - z.EncJSONMarshal(yy827) + } else if z.HasExtensions() && z.EncExt(yy945) { + } else if !yym946 && z.IsJSONHandle() { + z.EncJSONMarshal(yy945) } else { - z.EncFallback(yy827) + z.EncFallback(yy945) } } - if yyr815 || yy2arr815 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy830 := &x.RetryPeriod - yym831 := z.EncBinary() - _ = yym831 + yy948 := &x.RetryPeriod + yym949 := z.EncBinary() + _ = yym949 if false { - } else if z.HasExtensions() && z.EncExt(yy830) { - } else if !yym831 && z.IsJSONHandle() { - z.EncJSONMarshal(yy830) + } else if z.HasExtensions() && z.EncExt(yy948) { + } else if !yym949 && z.IsJSONHandle() { + z.EncJSONMarshal(yy948) } else { - z.EncFallback(yy830) + z.EncFallback(yy948) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("retryPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy832 := &x.RetryPeriod - yym833 := z.EncBinary() - _ = yym833 + yy950 := &x.RetryPeriod + yym951 := z.EncBinary() + _ = yym951 if false { - } else if z.HasExtensions() && z.EncExt(yy832) { - } else if !yym833 && z.IsJSONHandle() { - z.EncJSONMarshal(yy832) + } else if z.HasExtensions() && z.EncExt(yy950) { + } else if !yym951 && z.IsJSONHandle() { + z.EncJSONMarshal(yy950) } else { - z.EncFallback(yy832) + z.EncFallback(yy950) } } - if yyr815 || yy2arr815 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7242,25 +8614,25 @@ func (x *LeaderElectionConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym834 := z.DecBinary() - _ = yym834 + yym952 := z.DecBinary() + _ = yym952 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct835 := r.ContainerType() - if yyct835 == codecSelferValueTypeMap1234 { - yyl835 := r.ReadMapStart() - if yyl835 == 0 { + yyct953 := r.ContainerType() + if yyct953 == codecSelferValueTypeMap1234 { + yyl953 := r.ReadMapStart() + if yyl953 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl835, d) + x.codecDecodeSelfFromMap(yyl953, d) } - } else if yyct835 == codecSelferValueTypeArray1234 { - yyl835 := r.ReadArrayStart() - if yyl835 == 0 { + } else if yyct953 == codecSelferValueTypeArray1234 { + yyl953 := r.ReadArrayStart() + if yyl953 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl835, d) + x.codecDecodeSelfFromArray(yyl953, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7272,12 +8644,12 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys836Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys836Slc - var yyhl836 bool = l >= 0 - for yyj836 := 0; ; yyj836++ { - if yyhl836 { - if yyj836 >= l { + var yys954Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys954Slc + var yyhl954 bool = l >= 0 + for yyj954 := 0; ; yyj954++ { + if yyhl954 { + if yyj954 >= l { break } } else { @@ -7286,10 +8658,10 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys836Slc = r.DecodeBytes(yys836Slc, true, true) - yys836 := string(yys836Slc) + yys954Slc = r.DecodeBytes(yys954Slc, true, true) + yys954 := string(yys954Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys836 { + switch yys954 { case "leaderElect": if r.TryDecodeAsNil() { x.LeaderElect = false @@ -7300,51 +8672,51 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.LeaseDuration = pkg1_unversioned.Duration{} } else { - yyv838 := &x.LeaseDuration - yym839 := z.DecBinary() - _ = yym839 + yyv956 := &x.LeaseDuration + yym957 := z.DecBinary() + _ = yym957 if false { - } else if z.HasExtensions() && z.DecExt(yyv838) { - } else if !yym839 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv838) + } else if z.HasExtensions() && z.DecExt(yyv956) { + } else if !yym957 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv956) } else { - z.DecFallback(yyv838, false) + z.DecFallback(yyv956, false) } } case "renewDeadline": if r.TryDecodeAsNil() { x.RenewDeadline = pkg1_unversioned.Duration{} } else { - yyv840 := &x.RenewDeadline - yym841 := z.DecBinary() - _ = yym841 + yyv958 := &x.RenewDeadline + yym959 := z.DecBinary() + _ = yym959 if false { - } else if z.HasExtensions() && z.DecExt(yyv840) { - } else if !yym841 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv840) + } else if z.HasExtensions() && z.DecExt(yyv958) { + } else if !yym959 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv958) } else { - z.DecFallback(yyv840, false) + z.DecFallback(yyv958, false) } } case "retryPeriod": if r.TryDecodeAsNil() { x.RetryPeriod = pkg1_unversioned.Duration{} } else { - yyv842 := &x.RetryPeriod - yym843 := z.DecBinary() - _ = yym843 + yyv960 := &x.RetryPeriod + yym961 := z.DecBinary() + _ = yym961 if false { - } else if z.HasExtensions() && z.DecExt(yyv842) { - } else if !yym843 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv842) + } else if z.HasExtensions() && z.DecExt(yyv960) { + } else if !yym961 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv960) } else { - z.DecFallback(yyv842, false) + z.DecFallback(yyv960, false) } } default: - z.DecStructFieldNotFound(-1, yys836) - } // end switch yys836 - } // end for yyj836 + z.DecStructFieldNotFound(-1, yys954) + } // end switch yys954 + } // end for yyj954 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7352,16 +8724,16 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj844 int - var yyb844 bool - var yyhl844 bool = l >= 0 - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + var yyj962 int + var yyb962 bool + var yyhl962 bool = l >= 0 + yyj962++ + if yyhl962 { + yyb962 = yyj962 > l } else { - yyb844 = r.CheckBreak() + yyb962 = r.CheckBreak() } - if yyb844 { + if yyb962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7371,13 +8743,13 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 } else { x.LeaderElect = bool(r.DecodeBool()) } - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj962++ + if yyhl962 { + yyb962 = yyj962 > l } else { - yyb844 = r.CheckBreak() + yyb962 = r.CheckBreak() } - if yyb844 { + if yyb962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7385,24 +8757,24 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.LeaseDuration = pkg1_unversioned.Duration{} } else { - yyv846 := &x.LeaseDuration - yym847 := z.DecBinary() - _ = yym847 + yyv964 := &x.LeaseDuration + yym965 := z.DecBinary() + _ = yym965 if false { - } else if z.HasExtensions() && z.DecExt(yyv846) { - } else if !yym847 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv846) + } else if z.HasExtensions() && z.DecExt(yyv964) { + } else if !yym965 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv964) } else { - z.DecFallback(yyv846, false) + z.DecFallback(yyv964, false) } } - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj962++ + if yyhl962 { + yyb962 = yyj962 > l } else { - yyb844 = r.CheckBreak() + yyb962 = r.CheckBreak() } - if yyb844 { + if yyb962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7410,24 +8782,24 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.RenewDeadline = pkg1_unversioned.Duration{} } else { - yyv848 := &x.RenewDeadline - yym849 := z.DecBinary() - _ = yym849 + yyv966 := &x.RenewDeadline + yym967 := z.DecBinary() + _ = yym967 if false { - } else if z.HasExtensions() && z.DecExt(yyv848) { - } else if !yym849 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv848) + } else if z.HasExtensions() && z.DecExt(yyv966) { + } else if !yym967 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv966) } else { - z.DecFallback(yyv848, false) + z.DecFallback(yyv966, false) } } - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj962++ + if yyhl962 { + yyb962 = yyj962 > l } else { - yyb844 = r.CheckBreak() + yyb962 = r.CheckBreak() } - if yyb844 { + if yyb962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7435,29 +8807,29 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.RetryPeriod = pkg1_unversioned.Duration{} } else { - yyv850 := &x.RetryPeriod - yym851 := z.DecBinary() - _ = yym851 + yyv968 := &x.RetryPeriod + yym969 := z.DecBinary() + _ = yym969 if false { - } else if z.HasExtensions() && z.DecExt(yyv850) { - } else if !yym851 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv850) + } else if z.HasExtensions() && z.DecExt(yyv968) { + } else if !yym969 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv968) } else { - z.DecFallback(yyv850, false) + z.DecFallback(yyv968, false) } } for { - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj962++ + if yyhl962 { + yyb962 = yyj962 > l } else { - yyb844 = r.CheckBreak() + yyb962 = r.CheckBreak() } - if yyb844 { + if yyb962 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj844-1, "") + z.DecStructFieldNotFound(yyj962-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7469,36 +8841,36 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode if x == nil { r.EncodeNil() } else { - yym852 := z.EncBinary() - _ = yym852 + yym970 := z.EncBinary() + _ = yym970 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep853 := !z.EncBinary() - yy2arr853 := z.EncBasicHandle().StructToArray - var yyq853 [60]bool - _, _, _ = yysep853, yyq853, yy2arr853 - const yyr853 bool = false - yyq853[0] = x.Kind != "" - yyq853[1] = x.APIVersion != "" - var yynn853 int - if yyr853 || yy2arr853 { + yysep971 := !z.EncBinary() + yy2arr971 := z.EncBasicHandle().StructToArray + var yyq971 [60]bool + _, _, _ = yysep971, yyq971, yy2arr971 + const yyr971 bool = false + yyq971[0] = x.Kind != "" + yyq971[1] = x.APIVersion != "" + var yynn971 int + if yyr971 || yy2arr971 { r.EncodeArrayStart(60) } else { - yynn853 = 58 - for _, b := range yyq853 { + yynn971 = 58 + for _, b := range yyq971 { if b { - yynn853++ + yynn971++ } } - r.EncodeMapStart(yynn853) - yynn853 = 0 + r.EncodeMapStart(yynn971) + yynn971 = 0 } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq853[0] { - yym855 := z.EncBinary() - _ = yym855 + if yyq971[0] { + yym973 := z.EncBinary() + _ = yym973 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7507,23 +8879,23 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq853[0] { + if yyq971[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym856 := z.EncBinary() - _ = yym856 + yym974 := z.EncBinary() + _ = yym974 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq853[1] { - yym858 := z.EncBinary() - _ = yym858 + if yyq971[1] { + yym976 := z.EncBinary() + _ = yym976 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7532,22 +8904,22 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq853[1] { + if yyq971[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym859 := z.EncBinary() - _ = yym859 + yym977 := z.EncBinary() + _ = yym977 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym861 := z.EncBinary() - _ = yym861 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeInt(int64(x.Port)) @@ -7556,17 +8928,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym862 := z.EncBinary() - _ = yym862 + yym980 := z.EncBinary() + _ = yym980 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym864 := z.EncBinary() - _ = yym864 + yym982 := z.EncBinary() + _ = yym982 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -7575,17 +8947,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym865 := z.EncBinary() - _ = yym865 + yym983 := z.EncBinary() + _ = yym983 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym867 := z.EncBinary() - _ = yym867 + yym985 := z.EncBinary() + _ = yym985 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) @@ -7594,17 +8966,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym868 := z.EncBinary() - _ = yym868 + yym986 := z.EncBinary() + _ = yym986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym870 := z.EncBinary() - _ = yym870 + yym988 := z.EncBinary() + _ = yym988 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) @@ -7613,17 +8985,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym871 := z.EncBinary() - _ = yym871 + yym989 := z.EncBinary() + _ = yym989 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym873 := z.EncBinary() - _ = yym873 + yym991 := z.EncBinary() + _ = yym991 if false { } else { r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) @@ -7632,17 +9004,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentEndpointSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym874 := z.EncBinary() - _ = yym874 + yym992 := z.EncBinary() + _ = yym992 if false { } else { r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym876 := z.EncBinary() - _ = yym876 + yym994 := z.EncBinary() + _ = yym994 if false { } else { r.EncodeInt(int64(x.ConcurrentRSSyncs)) @@ -7651,17 +9023,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentRSSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym877 := z.EncBinary() - _ = yym877 + yym995 := z.EncBinary() + _ = yym995 if false { } else { r.EncodeInt(int64(x.ConcurrentRSSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym879 := z.EncBinary() - _ = yym879 + yym997 := z.EncBinary() + _ = yym997 if false { } else { r.EncodeInt(int64(x.ConcurrentRCSyncs)) @@ -7670,17 +9042,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentRCSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym880 := z.EncBinary() - _ = yym880 + yym998 := z.EncBinary() + _ = yym998 if false { } else { r.EncodeInt(int64(x.ConcurrentRCSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym882 := z.EncBinary() - _ = yym882 + yym1000 := z.EncBinary() + _ = yym1000 if false { } else { r.EncodeInt(int64(x.ConcurrentServiceSyncs)) @@ -7689,17 +9061,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentServiceSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym883 := z.EncBinary() - _ = yym883 + yym1001 := z.EncBinary() + _ = yym1001 if false { } else { r.EncodeInt(int64(x.ConcurrentServiceSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym885 := z.EncBinary() - _ = yym885 + yym1003 := z.EncBinary() + _ = yym1003 if false { } else { r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) @@ -7708,17 +9080,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentResourceQuotaSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym886 := z.EncBinary() - _ = yym886 + yym1004 := z.EncBinary() + _ = yym1004 if false { } else { r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym888 := z.EncBinary() - _ = yym888 + yym1006 := z.EncBinary() + _ = yym1006 if false { } else { r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) @@ -7727,17 +9099,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentDeploymentSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym889 := z.EncBinary() - _ = yym889 + yym1007 := z.EncBinary() + _ = yym1007 if false { } else { r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym891 := z.EncBinary() - _ = yym891 + yym1009 := z.EncBinary() + _ = yym1009 if false { } else { r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) @@ -7746,17 +9118,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentDaemonSetSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym892 := z.EncBinary() - _ = yym892 + yym1010 := z.EncBinary() + _ = yym1010 if false { } else { r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym894 := z.EncBinary() - _ = yym894 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else { r.EncodeInt(int64(x.ConcurrentJobSyncs)) @@ -7765,17 +9137,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentJobSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym895 := z.EncBinary() - _ = yym895 + yym1013 := z.EncBinary() + _ = yym1013 if false { } else { r.EncodeInt(int64(x.ConcurrentJobSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym897 := z.EncBinary() - _ = yym897 + yym1015 := z.EncBinary() + _ = yym1015 if false { } else { r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) @@ -7784,17 +9156,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentNamespaceSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym898 := z.EncBinary() - _ = yym898 + yym1016 := z.EncBinary() + _ = yym1016 if false { } else { r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym900 := z.EncBinary() - _ = yym900 + yym1018 := z.EncBinary() + _ = yym1018 if false { } else { r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) @@ -7803,17 +9175,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentSATokenSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym901 := z.EncBinary() - _ = yym901 + yym1019 := z.EncBinary() + _ = yym1019 if false { } else { r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym903 := z.EncBinary() - _ = yym903 + yym1021 := z.EncBinary() + _ = yym1021 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRC)) @@ -7822,17 +9194,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym904 := z.EncBinary() - _ = yym904 + yym1022 := z.EncBinary() + _ = yym1022 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRC)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym906 := z.EncBinary() - _ = yym906 + yym1024 := z.EncBinary() + _ = yym1024 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRS)) @@ -7841,17 +9213,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym907 := z.EncBinary() - _ = yym907 + yym1025 := z.EncBinary() + _ = yym1025 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRS)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym909 := z.EncBinary() - _ = yym909 + yym1027 := z.EncBinary() + _ = yym1027 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) @@ -7860,750 +9232,70 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForDaemonSet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym910 := z.EncBinary() - _ = yym910 + yym1028 := z.EncBinary() + _ = yym1028 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy912 := &x.ServiceSyncPeriod - yym913 := z.EncBinary() - _ = yym913 + yy1030 := &x.ServiceSyncPeriod + yym1031 := z.EncBinary() + _ = yym1031 if false { - } else if z.HasExtensions() && z.EncExt(yy912) { - } else if !yym913 && z.IsJSONHandle() { - z.EncJSONMarshal(yy912) + } else if z.HasExtensions() && z.EncExt(yy1030) { + } else if !yym1031 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1030) } else { - z.EncFallback(yy912) + z.EncFallback(yy1030) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy914 := &x.ServiceSyncPeriod - yym915 := z.EncBinary() - _ = yym915 + yy1032 := &x.ServiceSyncPeriod + yym1033 := z.EncBinary() + _ = yym1033 if false { - } else if z.HasExtensions() && z.EncExt(yy914) { - } else if !yym915 && z.IsJSONHandle() { - z.EncJSONMarshal(yy914) + } else if z.HasExtensions() && z.EncExt(yy1032) { + } else if !yym1033 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1032) } else { - z.EncFallback(yy914) + z.EncFallback(yy1032) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy917 := &x.NodeSyncPeriod - yym918 := z.EncBinary() - _ = yym918 + yy1035 := &x.NodeSyncPeriod + yym1036 := z.EncBinary() + _ = yym1036 if false { - } else if z.HasExtensions() && z.EncExt(yy917) { - } else if !yym918 && z.IsJSONHandle() { - z.EncJSONMarshal(yy917) + } else if z.HasExtensions() && z.EncExt(yy1035) { + } else if !yym1036 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1035) } else { - z.EncFallback(yy917) + z.EncFallback(yy1035) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy919 := &x.NodeSyncPeriod - yym920 := z.EncBinary() - _ = yym920 + yy1037 := &x.NodeSyncPeriod + yym1038 := z.EncBinary() + _ = yym1038 if false { - } else if z.HasExtensions() && z.EncExt(yy919) { - } else if !yym920 && z.IsJSONHandle() { - z.EncJSONMarshal(yy919) + } else if z.HasExtensions() && z.EncExt(yy1037) { + } else if !yym1038 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1037) } else { - z.EncFallback(yy919) + z.EncFallback(yy1037) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy922 := &x.RouteReconciliationPeriod - yym923 := z.EncBinary() - _ = yym923 - if false { - } else if z.HasExtensions() && z.EncExt(yy922) { - } else if !yym923 && z.IsJSONHandle() { - z.EncJSONMarshal(yy922) - } else { - z.EncFallback(yy922) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("routeReconciliationPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy924 := &x.RouteReconciliationPeriod - yym925 := z.EncBinary() - _ = yym925 - if false { - } else if z.HasExtensions() && z.EncExt(yy924) { - } else if !yym925 && z.IsJSONHandle() { - z.EncJSONMarshal(yy924) - } else { - z.EncFallback(yy924) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy927 := &x.ResourceQuotaSyncPeriod - yym928 := z.EncBinary() - _ = yym928 - if false { - } else if z.HasExtensions() && z.EncExt(yy927) { - } else if !yym928 && z.IsJSONHandle() { - z.EncJSONMarshal(yy927) - } else { - z.EncFallback(yy927) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceQuotaSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy929 := &x.ResourceQuotaSyncPeriod - yym930 := z.EncBinary() - _ = yym930 - if false { - } else if z.HasExtensions() && z.EncExt(yy929) { - } else if !yym930 && z.IsJSONHandle() { - z.EncJSONMarshal(yy929) - } else { - z.EncFallback(yy929) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy932 := &x.NamespaceSyncPeriod - yym933 := z.EncBinary() - _ = yym933 - if false { - } else if z.HasExtensions() && z.EncExt(yy932) { - } else if !yym933 && z.IsJSONHandle() { - z.EncJSONMarshal(yy932) - } else { - z.EncFallback(yy932) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespaceSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy934 := &x.NamespaceSyncPeriod - yym935 := z.EncBinary() - _ = yym935 - if false { - } else if z.HasExtensions() && z.EncExt(yy934) { - } else if !yym935 && z.IsJSONHandle() { - z.EncJSONMarshal(yy934) - } else { - z.EncFallback(yy934) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy937 := &x.PVClaimBinderSyncPeriod - yym938 := z.EncBinary() - _ = yym938 - if false { - } else if z.HasExtensions() && z.EncExt(yy937) { - } else if !yym938 && z.IsJSONHandle() { - z.EncJSONMarshal(yy937) - } else { - z.EncFallback(yy937) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("pvClaimBinderSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy939 := &x.PVClaimBinderSyncPeriod - yym940 := z.EncBinary() - _ = yym940 - if false { - } else if z.HasExtensions() && z.EncExt(yy939) { - } else if !yym940 && z.IsJSONHandle() { - z.EncJSONMarshal(yy939) - } else { - z.EncFallback(yy939) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy942 := &x.MinResyncPeriod - yym943 := z.EncBinary() - _ = yym943 - if false { - } else if z.HasExtensions() && z.EncExt(yy942) { - } else if !yym943 && z.IsJSONHandle() { - z.EncJSONMarshal(yy942) - } else { - z.EncFallback(yy942) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minResyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy944 := &x.MinResyncPeriod - yym945 := z.EncBinary() - _ = yym945 - if false { - } else if z.HasExtensions() && z.EncExt(yy944) { - } else if !yym945 && z.IsJSONHandle() { - z.EncJSONMarshal(yy944) - } else { - z.EncFallback(yy944) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym947 := z.EncBinary() - _ = yym947 - if false { - } else { - r.EncodeInt(int64(x.TerminatedPodGCThreshold)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("terminatedPodGCThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym948 := z.EncBinary() - _ = yym948 - if false { - } else { - r.EncodeInt(int64(x.TerminatedPodGCThreshold)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy950 := &x.HorizontalPodAutoscalerSyncPeriod - yym951 := z.EncBinary() - _ = yym951 - if false { - } else if z.HasExtensions() && z.EncExt(yy950) { - } else if !yym951 && z.IsJSONHandle() { - z.EncJSONMarshal(yy950) - } else { - z.EncFallback(yy950) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("horizontalPodAutoscalerSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy952 := &x.HorizontalPodAutoscalerSyncPeriod - yym953 := z.EncBinary() - _ = yym953 - if false { - } else if z.HasExtensions() && z.EncExt(yy952) { - } else if !yym953 && z.IsJSONHandle() { - z.EncJSONMarshal(yy952) - } else { - z.EncFallback(yy952) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy955 := &x.DeploymentControllerSyncPeriod - yym956 := z.EncBinary() - _ = yym956 - if false { - } else if z.HasExtensions() && z.EncExt(yy955) { - } else if !yym956 && z.IsJSONHandle() { - z.EncJSONMarshal(yy955) - } else { - z.EncFallback(yy955) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("deploymentControllerSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy957 := &x.DeploymentControllerSyncPeriod - yym958 := z.EncBinary() - _ = yym958 - if false { - } else if z.HasExtensions() && z.EncExt(yy957) { - } else if !yym958 && z.IsJSONHandle() { - z.EncJSONMarshal(yy957) - } else { - z.EncFallback(yy957) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy960 := &x.PodEvictionTimeout - yym961 := z.EncBinary() - _ = yym961 - if false { - } else if z.HasExtensions() && z.EncExt(yy960) { - } else if !yym961 && z.IsJSONHandle() { - z.EncJSONMarshal(yy960) - } else { - z.EncFallback(yy960) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podEvictionTimeout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy962 := &x.PodEvictionTimeout - yym963 := z.EncBinary() - _ = yym963 - if false { - } else if z.HasExtensions() && z.EncExt(yy962) { - } else if !yym963 && z.IsJSONHandle() { - z.EncJSONMarshal(yy962) - } else { - z.EncFallback(yy962) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym965 := z.EncBinary() - _ = yym965 - if false { - } else { - r.EncodeFloat32(float32(x.DeletingPodsQps)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("deletingPodsQps")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym966 := z.EncBinary() - _ = yym966 - if false { - } else { - r.EncodeFloat32(float32(x.DeletingPodsQps)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym968 := z.EncBinary() - _ = yym968 - if false { - } else { - r.EncodeInt(int64(x.DeletingPodsBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("deletingPodsBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym969 := z.EncBinary() - _ = yym969 - if false { - } else { - r.EncodeInt(int64(x.DeletingPodsBurst)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy971 := &x.NodeMonitorGracePeriod - yym972 := z.EncBinary() - _ = yym972 - if false { - } else if z.HasExtensions() && z.EncExt(yy971) { - } else if !yym972 && z.IsJSONHandle() { - z.EncJSONMarshal(yy971) - } else { - z.EncFallback(yy971) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy973 := &x.NodeMonitorGracePeriod - yym974 := z.EncBinary() - _ = yym974 - if false { - } else if z.HasExtensions() && z.EncExt(yy973) { - } else if !yym974 && z.IsJSONHandle() { - z.EncJSONMarshal(yy973) - } else { - z.EncFallback(yy973) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym976 := z.EncBinary() - _ = yym976 - if false { - } else { - r.EncodeInt(int64(x.RegisterRetryCount)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerRetryCount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym977 := z.EncBinary() - _ = yym977 - if false { - } else { - r.EncodeInt(int64(x.RegisterRetryCount)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy979 := &x.NodeStartupGracePeriod - yym980 := z.EncBinary() - _ = yym980 - if false { - } else if z.HasExtensions() && z.EncExt(yy979) { - } else if !yym980 && z.IsJSONHandle() { - z.EncJSONMarshal(yy979) - } else { - z.EncFallback(yy979) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeStartupGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy981 := &x.NodeStartupGracePeriod - yym982 := z.EncBinary() - _ = yym982 - if false { - } else if z.HasExtensions() && z.EncExt(yy981) { - } else if !yym982 && z.IsJSONHandle() { - z.EncJSONMarshal(yy981) - } else { - z.EncFallback(yy981) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy984 := &x.NodeMonitorPeriod - yym985 := z.EncBinary() - _ = yym985 - if false { - } else if z.HasExtensions() && z.EncExt(yy984) { - } else if !yym985 && z.IsJSONHandle() { - z.EncJSONMarshal(yy984) - } else { - z.EncFallback(yy984) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy986 := &x.NodeMonitorPeriod - yym987 := z.EncBinary() - _ = yym987 - if false { - } else if z.HasExtensions() && z.EncExt(yy986) { - } else if !yym987 && z.IsJSONHandle() { - z.EncJSONMarshal(yy986) - } else { - z.EncFallback(yy986) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym989 := z.EncBinary() - _ = yym989 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceAccountKeyFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym990 := z.EncBinary() - _ = yym990 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym992 := z.EncBinary() - _ = yym992 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterSigningCertFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym993 := z.EncBinary() - _ = yym993 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym995 := z.EncBinary() - _ = yym995 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterSigningKeyFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym996 := z.EncBinary() - _ = yym996 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym998 := z.EncBinary() - _ = yym998 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ApproveAllKubeletCSRsForGroup)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("approveAllKubeletCSRsForGroup")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym999 := z.EncBinary() - _ = yym999 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ApproveAllKubeletCSRsForGroup)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1001 := z.EncBinary() - _ = yym1001 - if false { - } else { - r.EncodeBool(bool(x.EnableProfiling)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1002 := z.EncBinary() - _ = yym1002 - if false { - } else { - r.EncodeBool(bool(x.EnableProfiling)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1004 := z.EncBinary() - _ = yym1004 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1005 := z.EncBinary() - _ = yym1005 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1007 := z.EncBinary() - _ = yym1007 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1008 := z.EncBinary() - _ = yym1008 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1010 := z.EncBinary() - _ = yym1010 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1011 := z.EncBinary() - _ = yym1011 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1013 := z.EncBinary() - _ = yym1013 - if false { - } else { - r.EncodeInt(int64(x.NodeCIDRMaskSize)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeCIDRMaskSize")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1014 := z.EncBinary() - _ = yym1014 - if false { - } else { - r.EncodeInt(int64(x.NodeCIDRMaskSize)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1016 := z.EncBinary() - _ = yym1016 - if false { - } else { - r.EncodeBool(bool(x.AllocateNodeCIDRs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("allocateNodeCIDRs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1017 := z.EncBinary() - _ = yym1017 - if false { - } else { - r.EncodeBool(bool(x.AllocateNodeCIDRs)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1019 := z.EncBinary() - _ = yym1019 - if false { - } else { - r.EncodeBool(bool(x.ConfigureCloudRoutes)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("configureCloudRoutes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1020 := z.EncBinary() - _ = yym1020 - if false { - } else { - r.EncodeBool(bool(x.ConfigureCloudRoutes)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1022 := z.EncBinary() - _ = yym1022 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rootCAFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1023 := z.EncBinary() - _ = yym1023 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1025 := z.EncBinary() - _ = yym1025 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("contentType")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1026 := z.EncBinary() - _ = yym1026 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1028 := z.EncBinary() - _ = yym1028 - if false { - } else { - r.EncodeFloat32(float32(x.KubeAPIQPS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1029 := z.EncBinary() - _ = yym1029 - if false { - } else { - r.EncodeFloat32(float32(x.KubeAPIQPS)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1031 := z.EncBinary() - _ = yym1031 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1032 := z.EncBinary() - _ = yym1032 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1034 := &x.LeaderElection - yy1034.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1035 := &x.LeaderElection - yy1035.CodecEncodeSelf(e) - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1037 := &x.VolumeConfiguration - yy1037.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("volumeConfiguration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1038 := &x.VolumeConfiguration - yy1038.CodecEncodeSelf(e) - } - if yyr853 || yy2arr853 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1040 := &x.ControllerStartInterval + yy1040 := &x.RouteReconciliationPeriod yym1041 := z.EncBinary() _ = yym1041 if false { @@ -8615,9 +9307,9 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("controllerStartInterval")) + r.EncodeString(codecSelferC_UTF81234, string("routeReconciliationPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1042 := &x.ControllerStartInterval + yy1042 := &x.RouteReconciliationPeriod yym1043 := z.EncBinary() _ = yym1043 if false { @@ -8628,10 +9320,690 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncFallback(yy1042) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1045 := z.EncBinary() - _ = yym1045 + yy1045 := &x.ResourceQuotaSyncPeriod + yym1046 := z.EncBinary() + _ = yym1046 + if false { + } else if z.HasExtensions() && z.EncExt(yy1045) { + } else if !yym1046 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1045) + } else { + z.EncFallback(yy1045) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("resourceQuotaSyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1047 := &x.ResourceQuotaSyncPeriod + yym1048 := z.EncBinary() + _ = yym1048 + if false { + } else if z.HasExtensions() && z.EncExt(yy1047) { + } else if !yym1048 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1047) + } else { + z.EncFallback(yy1047) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1050 := &x.NamespaceSyncPeriod + yym1051 := z.EncBinary() + _ = yym1051 + if false { + } else if z.HasExtensions() && z.EncExt(yy1050) { + } else if !yym1051 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1050) + } else { + z.EncFallback(yy1050) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespaceSyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1052 := &x.NamespaceSyncPeriod + yym1053 := z.EncBinary() + _ = yym1053 + if false { + } else if z.HasExtensions() && z.EncExt(yy1052) { + } else if !yym1053 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1052) + } else { + z.EncFallback(yy1052) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1055 := &x.PVClaimBinderSyncPeriod + yym1056 := z.EncBinary() + _ = yym1056 + if false { + } else if z.HasExtensions() && z.EncExt(yy1055) { + } else if !yym1056 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1055) + } else { + z.EncFallback(yy1055) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("pvClaimBinderSyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1057 := &x.PVClaimBinderSyncPeriod + yym1058 := z.EncBinary() + _ = yym1058 + if false { + } else if z.HasExtensions() && z.EncExt(yy1057) { + } else if !yym1058 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1057) + } else { + z.EncFallback(yy1057) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1060 := &x.MinResyncPeriod + yym1061 := z.EncBinary() + _ = yym1061 + if false { + } else if z.HasExtensions() && z.EncExt(yy1060) { + } else if !yym1061 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1060) + } else { + z.EncFallback(yy1060) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minResyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1062 := &x.MinResyncPeriod + yym1063 := z.EncBinary() + _ = yym1063 + if false { + } else if z.HasExtensions() && z.EncExt(yy1062) { + } else if !yym1063 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1062) + } else { + z.EncFallback(yy1062) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1065 := z.EncBinary() + _ = yym1065 + if false { + } else { + r.EncodeInt(int64(x.TerminatedPodGCThreshold)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("terminatedPodGCThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1066 := z.EncBinary() + _ = yym1066 + if false { + } else { + r.EncodeInt(int64(x.TerminatedPodGCThreshold)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1068 := &x.HorizontalPodAutoscalerSyncPeriod + yym1069 := z.EncBinary() + _ = yym1069 + if false { + } else if z.HasExtensions() && z.EncExt(yy1068) { + } else if !yym1069 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1068) + } else { + z.EncFallback(yy1068) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("horizontalPodAutoscalerSyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1070 := &x.HorizontalPodAutoscalerSyncPeriod + yym1071 := z.EncBinary() + _ = yym1071 + if false { + } else if z.HasExtensions() && z.EncExt(yy1070) { + } else if !yym1071 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1070) + } else { + z.EncFallback(yy1070) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1073 := &x.DeploymentControllerSyncPeriod + yym1074 := z.EncBinary() + _ = yym1074 + if false { + } else if z.HasExtensions() && z.EncExt(yy1073) { + } else if !yym1074 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1073) + } else { + z.EncFallback(yy1073) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("deploymentControllerSyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1075 := &x.DeploymentControllerSyncPeriod + yym1076 := z.EncBinary() + _ = yym1076 + if false { + } else if z.HasExtensions() && z.EncExt(yy1075) { + } else if !yym1076 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1075) + } else { + z.EncFallback(yy1075) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1078 := &x.PodEvictionTimeout + yym1079 := z.EncBinary() + _ = yym1079 + if false { + } else if z.HasExtensions() && z.EncExt(yy1078) { + } else if !yym1079 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1078) + } else { + z.EncFallback(yy1078) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("podEvictionTimeout")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1080 := &x.PodEvictionTimeout + yym1081 := z.EncBinary() + _ = yym1081 + if false { + } else if z.HasExtensions() && z.EncExt(yy1080) { + } else if !yym1081 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1080) + } else { + z.EncFallback(yy1080) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1083 := z.EncBinary() + _ = yym1083 + if false { + } else { + r.EncodeFloat32(float32(x.DeletingPodsQps)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("deletingPodsQps")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1084 := z.EncBinary() + _ = yym1084 + if false { + } else { + r.EncodeFloat32(float32(x.DeletingPodsQps)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1086 := z.EncBinary() + _ = yym1086 + if false { + } else { + r.EncodeInt(int64(x.DeletingPodsBurst)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("deletingPodsBurst")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1087 := z.EncBinary() + _ = yym1087 + if false { + } else { + r.EncodeInt(int64(x.DeletingPodsBurst)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1089 := &x.NodeMonitorGracePeriod + yym1090 := z.EncBinary() + _ = yym1090 + if false { + } else if z.HasExtensions() && z.EncExt(yy1089) { + } else if !yym1090 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1089) + } else { + z.EncFallback(yy1089) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorGracePeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1091 := &x.NodeMonitorGracePeriod + yym1092 := z.EncBinary() + _ = yym1092 + if false { + } else if z.HasExtensions() && z.EncExt(yy1091) { + } else if !yym1092 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1091) + } else { + z.EncFallback(yy1091) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1094 := z.EncBinary() + _ = yym1094 + if false { + } else { + r.EncodeInt(int64(x.RegisterRetryCount)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("registerRetryCount")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1095 := z.EncBinary() + _ = yym1095 + if false { + } else { + r.EncodeInt(int64(x.RegisterRetryCount)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1097 := &x.NodeStartupGracePeriod + yym1098 := z.EncBinary() + _ = yym1098 + if false { + } else if z.HasExtensions() && z.EncExt(yy1097) { + } else if !yym1098 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1097) + } else { + z.EncFallback(yy1097) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeStartupGracePeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1099 := &x.NodeStartupGracePeriod + yym1100 := z.EncBinary() + _ = yym1100 + if false { + } else if z.HasExtensions() && z.EncExt(yy1099) { + } else if !yym1100 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1099) + } else { + z.EncFallback(yy1099) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1102 := &x.NodeMonitorPeriod + yym1103 := z.EncBinary() + _ = yym1103 + if false { + } else if z.HasExtensions() && z.EncExt(yy1102) { + } else if !yym1103 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1102) + } else { + z.EncFallback(yy1102) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1104 := &x.NodeMonitorPeriod + yym1105 := z.EncBinary() + _ = yym1105 + if false { + } else if z.HasExtensions() && z.EncExt(yy1104) { + } else if !yym1105 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1104) + } else { + z.EncFallback(yy1104) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1107 := z.EncBinary() + _ = yym1107 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("serviceAccountKeyFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1108 := z.EncBinary() + _ = yym1108 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1110 := z.EncBinary() + _ = yym1110 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("clusterSigningCertFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1111 := z.EncBinary() + _ = yym1111 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1113 := z.EncBinary() + _ = yym1113 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("clusterSigningKeyFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1114 := z.EncBinary() + _ = yym1114 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1116 := z.EncBinary() + _ = yym1116 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ApproveAllKubeletCSRsForGroup)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("approveAllKubeletCSRsForGroup")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1117 := z.EncBinary() + _ = yym1117 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ApproveAllKubeletCSRsForGroup)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1119 := z.EncBinary() + _ = yym1119 + if false { + } else { + r.EncodeBool(bool(x.EnableProfiling)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1120 := z.EncBinary() + _ = yym1120 + if false { + } else { + r.EncodeBool(bool(x.EnableProfiling)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1122 := z.EncBinary() + _ = yym1122 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("clusterName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1123 := z.EncBinary() + _ = yym1123 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1125 := z.EncBinary() + _ = yym1125 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1126 := z.EncBinary() + _ = yym1126 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1128 := z.EncBinary() + _ = yym1128 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("serviceCIDR")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1129 := z.EncBinary() + _ = yym1129 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1131 := z.EncBinary() + _ = yym1131 + if false { + } else { + r.EncodeInt(int64(x.NodeCIDRMaskSize)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeCIDRMaskSize")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1132 := z.EncBinary() + _ = yym1132 + if false { + } else { + r.EncodeInt(int64(x.NodeCIDRMaskSize)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1134 := z.EncBinary() + _ = yym1134 + if false { + } else { + r.EncodeBool(bool(x.AllocateNodeCIDRs)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("allocateNodeCIDRs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1135 := z.EncBinary() + _ = yym1135 + if false { + } else { + r.EncodeBool(bool(x.AllocateNodeCIDRs)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1137 := z.EncBinary() + _ = yym1137 + if false { + } else { + r.EncodeBool(bool(x.ConfigureCloudRoutes)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("configureCloudRoutes")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1138 := z.EncBinary() + _ = yym1138 + if false { + } else { + r.EncodeBool(bool(x.ConfigureCloudRoutes)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1140 := z.EncBinary() + _ = yym1140 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rootCAFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1141 := z.EncBinary() + _ = yym1141 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1143 := z.EncBinary() + _ = yym1143 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("contentType")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1144 := z.EncBinary() + _ = yym1144 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1146 := z.EncBinary() + _ = yym1146 + if false { + } else { + r.EncodeFloat32(float32(x.KubeAPIQPS)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1147 := z.EncBinary() + _ = yym1147 + if false { + } else { + r.EncodeFloat32(float32(x.KubeAPIQPS)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1149 := z.EncBinary() + _ = yym1149 + if false { + } else { + r.EncodeInt(int64(x.KubeAPIBurst)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1150 := z.EncBinary() + _ = yym1150 + if false { + } else { + r.EncodeInt(int64(x.KubeAPIBurst)) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1152 := &x.LeaderElection + yy1152.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1153 := &x.LeaderElection + yy1153.CodecEncodeSelf(e) + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1155 := &x.VolumeConfiguration + yy1155.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("volumeConfiguration")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1156 := &x.VolumeConfiguration + yy1156.CodecEncodeSelf(e) + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1158 := &x.ControllerStartInterval + yym1159 := z.EncBinary() + _ = yym1159 + if false { + } else if z.HasExtensions() && z.EncExt(yy1158) { + } else if !yym1159 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1158) + } else { + z.EncFallback(yy1158) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("controllerStartInterval")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1160 := &x.ControllerStartInterval + yym1161 := z.EncBinary() + _ = yym1161 + if false { + } else if z.HasExtensions() && z.EncExt(yy1160) { + } else if !yym1161 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1160) + } else { + z.EncFallback(yy1160) + } + } + if yyr971 || yy2arr971 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1163 := z.EncBinary() + _ = yym1163 if false { } else { r.EncodeBool(bool(x.EnableGarbageCollector)) @@ -8640,17 +10012,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableGarbageCollector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1046 := z.EncBinary() - _ = yym1046 + yym1164 := z.EncBinary() + _ = yym1164 if false { } else { r.EncodeBool(bool(x.EnableGarbageCollector)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1048 := z.EncBinary() - _ = yym1048 + yym1166 := z.EncBinary() + _ = yym1166 if false { } else { r.EncodeInt(int64(x.ConcurrentGCSyncs)) @@ -8659,17 +10031,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentGCSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1049 := z.EncBinary() - _ = yym1049 + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { r.EncodeInt(int64(x.ConcurrentGCSyncs)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1051 := z.EncBinary() - _ = yym1051 + yym1169 := z.EncBinary() + _ = yym1169 if false { } else { r.EncodeFloat32(float32(x.NodeEvictionRate)) @@ -8678,17 +10050,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeEvictionRate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1052 := z.EncBinary() - _ = yym1052 + yym1170 := z.EncBinary() + _ = yym1170 if false { } else { r.EncodeFloat32(float32(x.NodeEvictionRate)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1054 := z.EncBinary() - _ = yym1054 + yym1172 := z.EncBinary() + _ = yym1172 if false { } else { r.EncodeFloat32(float32(x.SecondaryNodeEvictionRate)) @@ -8697,17 +10069,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secondaryNodeEvictionRate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1055 := z.EncBinary() - _ = yym1055 + yym1173 := z.EncBinary() + _ = yym1173 if false { } else { r.EncodeFloat32(float32(x.SecondaryNodeEvictionRate)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1057 := z.EncBinary() - _ = yym1057 + yym1175 := z.EncBinary() + _ = yym1175 if false { } else { r.EncodeInt(int64(x.LargeClusterSizeThreshold)) @@ -8716,17 +10088,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("largeClusterSizeThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1058 := z.EncBinary() - _ = yym1058 + yym1176 := z.EncBinary() + _ = yym1176 if false { } else { r.EncodeInt(int64(x.LargeClusterSizeThreshold)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1060 := z.EncBinary() - _ = yym1060 + yym1178 := z.EncBinary() + _ = yym1178 if false { } else { r.EncodeFloat32(float32(x.UnhealthyZoneThreshold)) @@ -8735,14 +10107,14 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unhealthyZoneThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1061 := z.EncBinary() - _ = yym1061 + yym1179 := z.EncBinary() + _ = yym1179 if false { } else { r.EncodeFloat32(float32(x.UnhealthyZoneThreshold)) } } - if yyr853 || yy2arr853 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8755,25 +10127,25 @@ func (x *KubeControllerManagerConfiguration) CodecDecodeSelf(d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1062 := z.DecBinary() - _ = yym1062 + yym1180 := z.DecBinary() + _ = yym1180 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1063 := r.ContainerType() - if yyct1063 == codecSelferValueTypeMap1234 { - yyl1063 := r.ReadMapStart() - if yyl1063 == 0 { + yyct1181 := r.ContainerType() + if yyct1181 == codecSelferValueTypeMap1234 { + yyl1181 := r.ReadMapStart() + if yyl1181 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1063, d) + x.codecDecodeSelfFromMap(yyl1181, d) } - } else if yyct1063 == codecSelferValueTypeArray1234 { - yyl1063 := r.ReadArrayStart() - if yyl1063 == 0 { + } else if yyct1181 == codecSelferValueTypeArray1234 { + yyl1181 := r.ReadArrayStart() + if yyl1181 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1063, d) + x.codecDecodeSelfFromArray(yyl1181, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8785,12 +10157,12 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1064Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1064Slc - var yyhl1064 bool = l >= 0 - for yyj1064 := 0; ; yyj1064++ { - if yyhl1064 { - if yyj1064 >= l { + var yys1182Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1182Slc + var yyhl1182 bool = l >= 0 + for yyj1182 := 0; ; yyj1182++ { + if yyhl1182 { + if yyj1182 >= l { break } } else { @@ -8799,10 +10171,10 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1064Slc = r.DecodeBytes(yys1064Slc, true, true) - yys1064 := string(yys1064Slc) + yys1182Slc = r.DecodeBytes(yys1182Slc, true, true) + yys1182 := string(yys1182Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1064 { + switch yys1182 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8921,105 +10293,105 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.ServiceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1084 := &x.ServiceSyncPeriod - yym1085 := z.DecBinary() - _ = yym1085 + yyv1202 := &x.ServiceSyncPeriod + yym1203 := z.DecBinary() + _ = yym1203 if false { - } else if z.HasExtensions() && z.DecExt(yyv1084) { - } else if !yym1085 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1084) + } else if z.HasExtensions() && z.DecExt(yyv1202) { + } else if !yym1203 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1202) } else { - z.DecFallback(yyv1084, false) + z.DecFallback(yyv1202, false) } } case "nodeSyncPeriod": if r.TryDecodeAsNil() { x.NodeSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1086 := &x.NodeSyncPeriod - yym1087 := z.DecBinary() - _ = yym1087 + yyv1204 := &x.NodeSyncPeriod + yym1205 := z.DecBinary() + _ = yym1205 if false { - } else if z.HasExtensions() && z.DecExt(yyv1086) { - } else if !yym1087 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1086) + } else if z.HasExtensions() && z.DecExt(yyv1204) { + } else if !yym1205 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1204) } else { - z.DecFallback(yyv1086, false) + z.DecFallback(yyv1204, false) } } case "routeReconciliationPeriod": if r.TryDecodeAsNil() { x.RouteReconciliationPeriod = pkg1_unversioned.Duration{} } else { - yyv1088 := &x.RouteReconciliationPeriod - yym1089 := z.DecBinary() - _ = yym1089 + yyv1206 := &x.RouteReconciliationPeriod + yym1207 := z.DecBinary() + _ = yym1207 if false { - } else if z.HasExtensions() && z.DecExt(yyv1088) { - } else if !yym1089 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1088) + } else if z.HasExtensions() && z.DecExt(yyv1206) { + } else if !yym1207 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1206) } else { - z.DecFallback(yyv1088, false) + z.DecFallback(yyv1206, false) } } case "resourceQuotaSyncPeriod": if r.TryDecodeAsNil() { x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1090 := &x.ResourceQuotaSyncPeriod - yym1091 := z.DecBinary() - _ = yym1091 + yyv1208 := &x.ResourceQuotaSyncPeriod + yym1209 := z.DecBinary() + _ = yym1209 if false { - } else if z.HasExtensions() && z.DecExt(yyv1090) { - } else if !yym1091 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1090) + } else if z.HasExtensions() && z.DecExt(yyv1208) { + } else if !yym1209 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1208) } else { - z.DecFallback(yyv1090, false) + z.DecFallback(yyv1208, false) } } case "namespaceSyncPeriod": if r.TryDecodeAsNil() { x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1092 := &x.NamespaceSyncPeriod - yym1093 := z.DecBinary() - _ = yym1093 + yyv1210 := &x.NamespaceSyncPeriod + yym1211 := z.DecBinary() + _ = yym1211 if false { - } else if z.HasExtensions() && z.DecExt(yyv1092) { - } else if !yym1093 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1092) + } else if z.HasExtensions() && z.DecExt(yyv1210) { + } else if !yym1211 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1210) } else { - z.DecFallback(yyv1092, false) + z.DecFallback(yyv1210, false) } } case "pvClaimBinderSyncPeriod": if r.TryDecodeAsNil() { x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1094 := &x.PVClaimBinderSyncPeriod - yym1095 := z.DecBinary() - _ = yym1095 + yyv1212 := &x.PVClaimBinderSyncPeriod + yym1213 := z.DecBinary() + _ = yym1213 if false { - } else if z.HasExtensions() && z.DecExt(yyv1094) { - } else if !yym1095 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1094) + } else if z.HasExtensions() && z.DecExt(yyv1212) { + } else if !yym1213 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1212) } else { - z.DecFallback(yyv1094, false) + z.DecFallback(yyv1212, false) } } case "minResyncPeriod": if r.TryDecodeAsNil() { x.MinResyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1096 := &x.MinResyncPeriod - yym1097 := z.DecBinary() - _ = yym1097 + yyv1214 := &x.MinResyncPeriod + yym1215 := z.DecBinary() + _ = yym1215 if false { - } else if z.HasExtensions() && z.DecExt(yyv1096) { - } else if !yym1097 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1096) + } else if z.HasExtensions() && z.DecExt(yyv1214) { + } else if !yym1215 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1214) } else { - z.DecFallback(yyv1096, false) + z.DecFallback(yyv1214, false) } } case "terminatedPodGCThreshold": @@ -9032,45 +10404,45 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1099 := &x.HorizontalPodAutoscalerSyncPeriod - yym1100 := z.DecBinary() - _ = yym1100 + yyv1217 := &x.HorizontalPodAutoscalerSyncPeriod + yym1218 := z.DecBinary() + _ = yym1218 if false { - } else if z.HasExtensions() && z.DecExt(yyv1099) { - } else if !yym1100 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1099) + } else if z.HasExtensions() && z.DecExt(yyv1217) { + } else if !yym1218 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1217) } else { - z.DecFallback(yyv1099, false) + z.DecFallback(yyv1217, false) } } case "deploymentControllerSyncPeriod": if r.TryDecodeAsNil() { x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1101 := &x.DeploymentControllerSyncPeriod - yym1102 := z.DecBinary() - _ = yym1102 + yyv1219 := &x.DeploymentControllerSyncPeriod + yym1220 := z.DecBinary() + _ = yym1220 if false { - } else if z.HasExtensions() && z.DecExt(yyv1101) { - } else if !yym1102 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1101) + } else if z.HasExtensions() && z.DecExt(yyv1219) { + } else if !yym1220 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1219) } else { - z.DecFallback(yyv1101, false) + z.DecFallback(yyv1219, false) } } case "podEvictionTimeout": if r.TryDecodeAsNil() { x.PodEvictionTimeout = pkg1_unversioned.Duration{} } else { - yyv1103 := &x.PodEvictionTimeout - yym1104 := z.DecBinary() - _ = yym1104 + yyv1221 := &x.PodEvictionTimeout + yym1222 := z.DecBinary() + _ = yym1222 if false { - } else if z.HasExtensions() && z.DecExt(yyv1103) { - } else if !yym1104 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1103) + } else if z.HasExtensions() && z.DecExt(yyv1221) { + } else if !yym1222 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1221) } else { - z.DecFallback(yyv1103, false) + z.DecFallback(yyv1221, false) } } case "deletingPodsQps": @@ -9089,15 +10461,15 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} } else { - yyv1107 := &x.NodeMonitorGracePeriod - yym1108 := z.DecBinary() - _ = yym1108 + yyv1225 := &x.NodeMonitorGracePeriod + yym1226 := z.DecBinary() + _ = yym1226 if false { - } else if z.HasExtensions() && z.DecExt(yyv1107) { - } else if !yym1108 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1107) + } else if z.HasExtensions() && z.DecExt(yyv1225) { + } else if !yym1226 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1225) } else { - z.DecFallback(yyv1107, false) + z.DecFallback(yyv1225, false) } } case "registerRetryCount": @@ -9110,30 +10482,30 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} } else { - yyv1110 := &x.NodeStartupGracePeriod - yym1111 := z.DecBinary() - _ = yym1111 + yyv1228 := &x.NodeStartupGracePeriod + yym1229 := z.DecBinary() + _ = yym1229 if false { - } else if z.HasExtensions() && z.DecExt(yyv1110) { - } else if !yym1111 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1110) + } else if z.HasExtensions() && z.DecExt(yyv1228) { + } else if !yym1229 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1228) } else { - z.DecFallback(yyv1110, false) + z.DecFallback(yyv1228, false) } } case "nodeMonitorPeriod": if r.TryDecodeAsNil() { x.NodeMonitorPeriod = pkg1_unversioned.Duration{} } else { - yyv1112 := &x.NodeMonitorPeriod - yym1113 := z.DecBinary() - _ = yym1113 + yyv1230 := &x.NodeMonitorPeriod + yym1231 := z.DecBinary() + _ = yym1231 if false { - } else if z.HasExtensions() && z.DecExt(yyv1112) { - } else if !yym1113 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1112) + } else if z.HasExtensions() && z.DecExt(yyv1230) { + } else if !yym1231 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1230) } else { - z.DecFallback(yyv1112, false) + z.DecFallback(yyv1230, false) } } case "serviceAccountKeyFile": @@ -9230,29 +10602,29 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv1129 := &x.LeaderElection - yyv1129.CodecDecodeSelf(d) + yyv1247 := &x.LeaderElection + yyv1247.CodecDecodeSelf(d) } case "volumeConfiguration": if r.TryDecodeAsNil() { x.VolumeConfiguration = VolumeConfiguration{} } else { - yyv1130 := &x.VolumeConfiguration - yyv1130.CodecDecodeSelf(d) + yyv1248 := &x.VolumeConfiguration + yyv1248.CodecDecodeSelf(d) } case "controllerStartInterval": if r.TryDecodeAsNil() { x.ControllerStartInterval = pkg1_unversioned.Duration{} } else { - yyv1131 := &x.ControllerStartInterval - yym1132 := z.DecBinary() - _ = yym1132 + yyv1249 := &x.ControllerStartInterval + yym1250 := z.DecBinary() + _ = yym1250 if false { - } else if z.HasExtensions() && z.DecExt(yyv1131) { - } else if !yym1132 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1131) + } else if z.HasExtensions() && z.DecExt(yyv1249) { + } else if !yym1250 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1249) } else { - z.DecFallback(yyv1131, false) + z.DecFallback(yyv1249, false) } } case "enableGarbageCollector": @@ -9292,9 +10664,9 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co x.UnhealthyZoneThreshold = float32(r.DecodeFloat(true)) } default: - z.DecStructFieldNotFound(-1, yys1064) - } // end switch yys1064 - } // end for yyj1064 + z.DecStructFieldNotFound(-1, yys1182) + } // end switch yys1182 + } // end for yyj1182 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9302,16 +10674,16 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1139 int - var yyb1139 bool - var yyhl1139 bool = l >= 0 - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + var yyj1257 int + var yyb1257 bool + var yyhl1257 bool = l >= 0 + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9321,13 +10693,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.Kind = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9337,13 +10709,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.APIVersion = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9353,13 +10725,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.Port = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9369,13 +10741,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.Address = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9385,13 +10757,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.CloudProvider = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9401,13 +10773,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.CloudConfigFile = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9417,13 +10789,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9433,13 +10805,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentRSSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9449,13 +10821,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentRCSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9465,13 +10837,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentServiceSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9481,13 +10853,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9497,13 +10869,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9513,13 +10885,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9529,13 +10901,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentJobSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9545,13 +10917,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9561,13 +10933,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentSATokenSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9577,13 +10949,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.LookupCacheSizeForRC = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9593,13 +10965,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.LookupCacheSizeForRS = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9609,13 +10981,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9623,24 +10995,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.ServiceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1159 := &x.ServiceSyncPeriod - yym1160 := z.DecBinary() - _ = yym1160 + yyv1277 := &x.ServiceSyncPeriod + yym1278 := z.DecBinary() + _ = yym1278 if false { - } else if z.HasExtensions() && z.DecExt(yyv1159) { - } else if !yym1160 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1159) + } else if z.HasExtensions() && z.DecExt(yyv1277) { + } else if !yym1278 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1277) } else { - z.DecFallback(yyv1159, false) + z.DecFallback(yyv1277, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9648,24 +11020,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.NodeSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1161 := &x.NodeSyncPeriod - yym1162 := z.DecBinary() - _ = yym1162 + yyv1279 := &x.NodeSyncPeriod + yym1280 := z.DecBinary() + _ = yym1280 if false { - } else if z.HasExtensions() && z.DecExt(yyv1161) { - } else if !yym1162 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1161) + } else if z.HasExtensions() && z.DecExt(yyv1279) { + } else if !yym1280 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1279) } else { - z.DecFallback(yyv1161, false) + z.DecFallback(yyv1279, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9673,24 +11045,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.RouteReconciliationPeriod = pkg1_unversioned.Duration{} } else { - yyv1163 := &x.RouteReconciliationPeriod - yym1164 := z.DecBinary() - _ = yym1164 + yyv1281 := &x.RouteReconciliationPeriod + yym1282 := z.DecBinary() + _ = yym1282 if false { - } else if z.HasExtensions() && z.DecExt(yyv1163) { - } else if !yym1164 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1163) + } else if z.HasExtensions() && z.DecExt(yyv1281) { + } else if !yym1282 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1281) } else { - z.DecFallback(yyv1163, false) + z.DecFallback(yyv1281, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9698,24 +11070,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1165 := &x.ResourceQuotaSyncPeriod - yym1166 := z.DecBinary() - _ = yym1166 + yyv1283 := &x.ResourceQuotaSyncPeriod + yym1284 := z.DecBinary() + _ = yym1284 if false { - } else if z.HasExtensions() && z.DecExt(yyv1165) { - } else if !yym1166 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1165) + } else if z.HasExtensions() && z.DecExt(yyv1283) { + } else if !yym1284 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1283) } else { - z.DecFallback(yyv1165, false) + z.DecFallback(yyv1283, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9723,24 +11095,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1167 := &x.NamespaceSyncPeriod - yym1168 := z.DecBinary() - _ = yym1168 + yyv1285 := &x.NamespaceSyncPeriod + yym1286 := z.DecBinary() + _ = yym1286 if false { - } else if z.HasExtensions() && z.DecExt(yyv1167) { - } else if !yym1168 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1167) + } else if z.HasExtensions() && z.DecExt(yyv1285) { + } else if !yym1286 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1285) } else { - z.DecFallback(yyv1167, false) + z.DecFallback(yyv1285, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9748,24 +11120,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1169 := &x.PVClaimBinderSyncPeriod - yym1170 := z.DecBinary() - _ = yym1170 + yyv1287 := &x.PVClaimBinderSyncPeriod + yym1288 := z.DecBinary() + _ = yym1288 if false { - } else if z.HasExtensions() && z.DecExt(yyv1169) { - } else if !yym1170 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1169) + } else if z.HasExtensions() && z.DecExt(yyv1287) { + } else if !yym1288 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1287) } else { - z.DecFallback(yyv1169, false) + z.DecFallback(yyv1287, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9773,24 +11145,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.MinResyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1171 := &x.MinResyncPeriod - yym1172 := z.DecBinary() - _ = yym1172 + yyv1289 := &x.MinResyncPeriod + yym1290 := z.DecBinary() + _ = yym1290 if false { - } else if z.HasExtensions() && z.DecExt(yyv1171) { - } else if !yym1172 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1171) + } else if z.HasExtensions() && z.DecExt(yyv1289) { + } else if !yym1290 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1289) } else { - z.DecFallback(yyv1171, false) + z.DecFallback(yyv1289, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9800,13 +11172,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.TerminatedPodGCThreshold = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9814,24 +11186,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1174 := &x.HorizontalPodAutoscalerSyncPeriod - yym1175 := z.DecBinary() - _ = yym1175 + yyv1292 := &x.HorizontalPodAutoscalerSyncPeriod + yym1293 := z.DecBinary() + _ = yym1293 if false { - } else if z.HasExtensions() && z.DecExt(yyv1174) { - } else if !yym1175 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1174) + } else if z.HasExtensions() && z.DecExt(yyv1292) { + } else if !yym1293 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1292) } else { - z.DecFallback(yyv1174, false) + z.DecFallback(yyv1292, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9839,24 +11211,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1176 := &x.DeploymentControllerSyncPeriod - yym1177 := z.DecBinary() - _ = yym1177 + yyv1294 := &x.DeploymentControllerSyncPeriod + yym1295 := z.DecBinary() + _ = yym1295 if false { - } else if z.HasExtensions() && z.DecExt(yyv1176) { - } else if !yym1177 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1176) + } else if z.HasExtensions() && z.DecExt(yyv1294) { + } else if !yym1295 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1294) } else { - z.DecFallback(yyv1176, false) + z.DecFallback(yyv1294, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9864,24 +11236,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.PodEvictionTimeout = pkg1_unversioned.Duration{} } else { - yyv1178 := &x.PodEvictionTimeout - yym1179 := z.DecBinary() - _ = yym1179 + yyv1296 := &x.PodEvictionTimeout + yym1297 := z.DecBinary() + _ = yym1297 if false { - } else if z.HasExtensions() && z.DecExt(yyv1178) { - } else if !yym1179 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1178) + } else if z.HasExtensions() && z.DecExt(yyv1296) { + } else if !yym1297 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1296) } else { - z.DecFallback(yyv1178, false) + z.DecFallback(yyv1296, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9891,13 +11263,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.DeletingPodsQps = float32(r.DecodeFloat(true)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9907,13 +11279,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.DeletingPodsBurst = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9921,24 +11293,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} } else { - yyv1182 := &x.NodeMonitorGracePeriod - yym1183 := z.DecBinary() - _ = yym1183 + yyv1300 := &x.NodeMonitorGracePeriod + yym1301 := z.DecBinary() + _ = yym1301 if false { - } else if z.HasExtensions() && z.DecExt(yyv1182) { - } else if !yym1183 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1182) + } else if z.HasExtensions() && z.DecExt(yyv1300) { + } else if !yym1301 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1300) } else { - z.DecFallback(yyv1182, false) + z.DecFallback(yyv1300, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9948,13 +11320,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.RegisterRetryCount = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9962,24 +11334,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} } else { - yyv1185 := &x.NodeStartupGracePeriod - yym1186 := z.DecBinary() - _ = yym1186 + yyv1303 := &x.NodeStartupGracePeriod + yym1304 := z.DecBinary() + _ = yym1304 if false { - } else if z.HasExtensions() && z.DecExt(yyv1185) { - } else if !yym1186 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1185) + } else if z.HasExtensions() && z.DecExt(yyv1303) { + } else if !yym1304 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1303) } else { - z.DecFallback(yyv1185, false) + z.DecFallback(yyv1303, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9987,24 +11359,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.NodeMonitorPeriod = pkg1_unversioned.Duration{} } else { - yyv1187 := &x.NodeMonitorPeriod - yym1188 := z.DecBinary() - _ = yym1188 + yyv1305 := &x.NodeMonitorPeriod + yym1306 := z.DecBinary() + _ = yym1306 if false { - } else if z.HasExtensions() && z.DecExt(yyv1187) { - } else if !yym1188 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1187) + } else if z.HasExtensions() && z.DecExt(yyv1305) { + } else if !yym1306 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1305) } else { - z.DecFallback(yyv1187, false) + z.DecFallback(yyv1305, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10014,13 +11386,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ServiceAccountKeyFile = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10030,13 +11402,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterSigningCertFile = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10046,13 +11418,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterSigningKeyFile = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10062,13 +11434,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ApproveAllKubeletCSRsForGroup = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10078,13 +11450,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.EnableProfiling = bool(r.DecodeBool()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10094,13 +11466,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterName = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10110,13 +11482,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterCIDR = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10126,13 +11498,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ServiceCIDR = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10142,13 +11514,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.NodeCIDRMaskSize = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10158,13 +11530,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.AllocateNodeCIDRs = bool(r.DecodeBool()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10174,13 +11546,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConfigureCloudRoutes = bool(r.DecodeBool()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10190,13 +11562,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.RootCAFile = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10206,13 +11578,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ContentType = string(r.DecodeString()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10222,13 +11594,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.KubeAPIQPS = float32(r.DecodeFloat(true)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10238,13 +11610,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.KubeAPIBurst = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10252,16 +11624,16 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv1204 := &x.LeaderElection - yyv1204.CodecDecodeSelf(d) + yyv1322 := &x.LeaderElection + yyv1322.CodecDecodeSelf(d) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10269,16 +11641,16 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.VolumeConfiguration = VolumeConfiguration{} } else { - yyv1205 := &x.VolumeConfiguration - yyv1205.CodecDecodeSelf(d) + yyv1323 := &x.VolumeConfiguration + yyv1323.CodecDecodeSelf(d) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10286,24 +11658,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.ControllerStartInterval = pkg1_unversioned.Duration{} } else { - yyv1206 := &x.ControllerStartInterval - yym1207 := z.DecBinary() - _ = yym1207 + yyv1324 := &x.ControllerStartInterval + yym1325 := z.DecBinary() + _ = yym1325 if false { - } else if z.HasExtensions() && z.DecExt(yyv1206) { - } else if !yym1207 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1206) + } else if z.HasExtensions() && z.DecExt(yyv1324) { + } else if !yym1325 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1324) } else { - z.DecFallback(yyv1206, false) + z.DecFallback(yyv1324, false) } } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10313,13 +11685,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.EnableGarbageCollector = bool(r.DecodeBool()) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10329,13 +11701,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10345,13 +11717,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.NodeEvictionRate = float32(r.DecodeFloat(true)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10361,13 +11733,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.SecondaryNodeEvictionRate = float32(r.DecodeFloat(true)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10377,13 +11749,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.LargeClusterSizeThreshold = int32(r.DecodeInt(32)) } - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10394,17 +11766,17 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * x.UnhealthyZoneThreshold = float32(r.DecodeFloat(true)) } for { - yyj1139++ - if yyhl1139 { - yyb1139 = yyj1139 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1139 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1139 { + if yyb1257 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1139-1, "") + z.DecStructFieldNotFound(yyj1257-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10416,33 +11788,33 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1214 := z.EncBinary() - _ = yym1214 + yym1332 := z.EncBinary() + _ = yym1332 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1215 := !z.EncBinary() - yy2arr1215 := z.EncBasicHandle().StructToArray - var yyq1215 [4]bool - _, _, _ = yysep1215, yyq1215, yy2arr1215 - const yyr1215 bool = false - var yynn1215 int - if yyr1215 || yy2arr1215 { + yysep1333 := !z.EncBinary() + yy2arr1333 := z.EncBasicHandle().StructToArray + var yyq1333 [4]bool + _, _, _ = yysep1333, yyq1333, yy2arr1333 + const yyr1333 bool = false + var yynn1333 int + if yyr1333 || yy2arr1333 { r.EncodeArrayStart(4) } else { - yynn1215 = 4 - for _, b := range yyq1215 { + yynn1333 = 4 + for _, b := range yyq1333 { if b { - yynn1215++ + yynn1333++ } } - r.EncodeMapStart(yynn1215) - yynn1215 = 0 + r.EncodeMapStart(yynn1333) + yynn1333 = 0 } - if yyr1215 || yy2arr1215 { + if yyr1333 || yy2arr1333 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1217 := z.EncBinary() - _ = yym1217 + yym1335 := z.EncBinary() + _ = yym1335 if false { } else { r.EncodeBool(bool(x.EnableHostPathProvisioning)) @@ -10451,17 +11823,17 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableHostPathProvisioning")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1218 := z.EncBinary() - _ = yym1218 + yym1336 := z.EncBinary() + _ = yym1336 if false { } else { r.EncodeBool(bool(x.EnableHostPathProvisioning)) } } - if yyr1215 || yy2arr1215 { + if yyr1333 || yy2arr1333 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1220 := z.EncBinary() - _ = yym1220 + yym1338 := z.EncBinary() + _ = yym1338 if false { } else { r.EncodeBool(bool(x.EnableDynamicProvisioning)) @@ -10470,28 +11842,28 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableDynamicProvisioning")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1221 := z.EncBinary() - _ = yym1221 + yym1339 := z.EncBinary() + _ = yym1339 if false { } else { r.EncodeBool(bool(x.EnableDynamicProvisioning)) } } - if yyr1215 || yy2arr1215 { + if yyr1333 || yy2arr1333 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1223 := &x.PersistentVolumeRecyclerConfiguration - yy1223.CodecEncodeSelf(e) + yy1341 := &x.PersistentVolumeRecyclerConfiguration + yy1341.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persitentVolumeRecyclerConfiguration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1224 := &x.PersistentVolumeRecyclerConfiguration - yy1224.CodecEncodeSelf(e) + yy1342 := &x.PersistentVolumeRecyclerConfiguration + yy1342.CodecEncodeSelf(e) } - if yyr1215 || yy2arr1215 { + if yyr1333 || yy2arr1333 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1226 := z.EncBinary() - _ = yym1226 + yym1344 := z.EncBinary() + _ = yym1344 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) @@ -10500,14 +11872,14 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolumePluginDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1227 := z.EncBinary() - _ = yym1227 + yym1345 := z.EncBinary() + _ = yym1345 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) } } - if yyr1215 || yy2arr1215 { + if yyr1333 || yy2arr1333 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10520,25 +11892,25 @@ func (x *VolumeConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1228 := z.DecBinary() - _ = yym1228 + yym1346 := z.DecBinary() + _ = yym1346 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1229 := r.ContainerType() - if yyct1229 == codecSelferValueTypeMap1234 { - yyl1229 := r.ReadMapStart() - if yyl1229 == 0 { + yyct1347 := r.ContainerType() + if yyct1347 == codecSelferValueTypeMap1234 { + yyl1347 := r.ReadMapStart() + if yyl1347 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1229, d) + x.codecDecodeSelfFromMap(yyl1347, d) } - } else if yyct1229 == codecSelferValueTypeArray1234 { - yyl1229 := r.ReadArrayStart() - if yyl1229 == 0 { + } else if yyct1347 == codecSelferValueTypeArray1234 { + yyl1347 := r.ReadArrayStart() + if yyl1347 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1229, d) + x.codecDecodeSelfFromArray(yyl1347, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10550,12 +11922,12 @@ func (x *VolumeConfiguration) 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 yys1348Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1348Slc + var yyhl1348 bool = l >= 0 + for yyj1348 := 0; ; yyj1348++ { + if yyhl1348 { + if yyj1348 >= l { break } } else { @@ -10564,10 +11936,10 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1230Slc = r.DecodeBytes(yys1230Slc, true, true) - yys1230 := string(yys1230Slc) + yys1348Slc = r.DecodeBytes(yys1348Slc, true, true) + yys1348 := string(yys1348Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1230 { + switch yys1348 { case "enableHostPathProvisioning": if r.TryDecodeAsNil() { x.EnableHostPathProvisioning = false @@ -10584,8 +11956,8 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} } else { - yyv1233 := &x.PersistentVolumeRecyclerConfiguration - yyv1233.CodecDecodeSelf(d) + yyv1351 := &x.PersistentVolumeRecyclerConfiguration + yyv1351.CodecDecodeSelf(d) } case "flexVolumePluginDir": if r.TryDecodeAsNil() { @@ -10594,9 +11966,9 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FlexVolumePluginDir = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1230) - } // end switch yys1230 - } // end for yyj1230 + z.DecStructFieldNotFound(-1, yys1348) + } // end switch yys1348 + } // end for yyj1348 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10604,16 +11976,16 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1235 int - var yyb1235 bool - var yyhl1235 bool = l >= 0 - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + var yyj1353 int + var yyb1353 bool + var yyhl1353 bool = l >= 0 + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1235 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1235 { + if yyb1353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10623,13 +11995,13 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.EnableHostPathProvisioning = bool(r.DecodeBool()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1235 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1235 { + if yyb1353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10639,13 +12011,13 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.EnableDynamicProvisioning = bool(r.DecodeBool()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1235 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1235 { + if yyb1353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10653,16 +12025,16 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} } else { - yyv1238 := &x.PersistentVolumeRecyclerConfiguration - yyv1238.CodecDecodeSelf(d) + yyv1356 := &x.PersistentVolumeRecyclerConfiguration + yyv1356.CodecDecodeSelf(d) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1235 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1235 { + if yyb1353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10673,17 +12045,17 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FlexVolumePluginDir = string(r.DecodeString()) } for { - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1235 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1235 { + if yyb1353 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1235-1, "") + z.DecStructFieldNotFound(yyj1353-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10695,33 +12067,33 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc if x == nil { r.EncodeNil() } else { - yym1240 := z.EncBinary() - _ = yym1240 + yym1358 := z.EncBinary() + _ = yym1358 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1241 := !z.EncBinary() - yy2arr1241 := z.EncBasicHandle().StructToArray - var yyq1241 [7]bool - _, _, _ = yysep1241, yyq1241, yy2arr1241 - const yyr1241 bool = false - var yynn1241 int - if yyr1241 || yy2arr1241 { + yysep1359 := !z.EncBinary() + yy2arr1359 := z.EncBasicHandle().StructToArray + var yyq1359 [7]bool + _, _, _ = yysep1359, yyq1359, yy2arr1359 + const yyr1359 bool = false + var yynn1359 int + if yyr1359 || yy2arr1359 { r.EncodeArrayStart(7) } else { - yynn1241 = 7 - for _, b := range yyq1241 { + yynn1359 = 7 + for _, b := range yyq1359 { if b { - yynn1241++ + yynn1359++ } } - r.EncodeMapStart(yynn1241) - yynn1241 = 0 + r.EncodeMapStart(yynn1359) + yynn1359 = 0 } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1243 := z.EncBinary() - _ = yym1243 + yym1361 := z.EncBinary() + _ = yym1361 if false { } else { r.EncodeInt(int64(x.MaximumRetry)) @@ -10730,17 +12102,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maximumRetry")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1244 := z.EncBinary() - _ = yym1244 + yym1362 := z.EncBinary() + _ = yym1362 if false { } else { r.EncodeInt(int64(x.MaximumRetry)) } } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1246 := z.EncBinary() - _ = yym1246 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutNFS)) @@ -10749,17 +12121,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1247 := z.EncBinary() - _ = yym1247 + yym1365 := z.EncBinary() + _ = yym1365 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutNFS)) } } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1249 := z.EncBinary() - _ = yym1249 + yym1367 := z.EncBinary() + _ = yym1367 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) @@ -10768,17 +12140,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1250 := z.EncBinary() - _ = yym1250 + yym1368 := z.EncBinary() + _ = yym1368 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) } } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1252 := z.EncBinary() - _ = yym1252 + yym1370 := z.EncBinary() + _ = yym1370 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutNFS)) @@ -10787,17 +12159,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1253 := z.EncBinary() - _ = yym1253 + yym1371 := z.EncBinary() + _ = yym1371 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutNFS)) } } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1255 := z.EncBinary() - _ = yym1255 + yym1373 := z.EncBinary() + _ = yym1373 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) @@ -10806,17 +12178,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1256 := z.EncBinary() - _ = yym1256 + yym1374 := z.EncBinary() + _ = yym1374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) } } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1258 := z.EncBinary() - _ = yym1258 + yym1376 := z.EncBinary() + _ = yym1376 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutHostPath)) @@ -10825,17 +12197,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1259 := z.EncBinary() - _ = yym1259 + yym1377 := z.EncBinary() + _ = yym1377 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutHostPath)) } } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1261 := z.EncBinary() - _ = yym1261 + yym1379 := z.EncBinary() + _ = yym1379 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutHostPath)) @@ -10844,14 +12216,14 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1262 := z.EncBinary() - _ = yym1262 + yym1380 := z.EncBinary() + _ = yym1380 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutHostPath)) } } - if yyr1241 || yy2arr1241 { + if yyr1359 || yy2arr1359 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10864,25 +12236,25 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecDecodeSelf(d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1263 := z.DecBinary() - _ = yym1263 + yym1381 := z.DecBinary() + _ = yym1381 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1264 := r.ContainerType() - if yyct1264 == codecSelferValueTypeMap1234 { - yyl1264 := r.ReadMapStart() - if yyl1264 == 0 { + yyct1382 := r.ContainerType() + if yyct1382 == codecSelferValueTypeMap1234 { + yyl1382 := r.ReadMapStart() + if yyl1382 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1264, d) + x.codecDecodeSelfFromMap(yyl1382, d) } - } else if yyct1264 == codecSelferValueTypeArray1234 { - yyl1264 := r.ReadArrayStart() - if yyl1264 == 0 { + } else if yyct1382 == codecSelferValueTypeArray1234 { + yyl1382 := r.ReadArrayStart() + if yyl1382 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1264, d) + x.codecDecodeSelfFromArray(yyl1382, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10894,12 +12266,12 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1265Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1265Slc - var yyhl1265 bool = l >= 0 - for yyj1265 := 0; ; yyj1265++ { - if yyhl1265 { - if yyj1265 >= l { + var yys1383Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1383Slc + var yyhl1383 bool = l >= 0 + for yyj1383 := 0; ; yyj1383++ { + if yyhl1383 { + if yyj1383 >= l { break } } else { @@ -10908,10 +12280,10 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1265Slc = r.DecodeBytes(yys1265Slc, true, true) - yys1265 := string(yys1265Slc) + yys1383Slc = r.DecodeBytes(yys1383Slc, true, true) + yys1383 := string(yys1383Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1265 { + switch yys1383 { case "maximumRetry": if r.TryDecodeAsNil() { x.MaximumRetry = 0 @@ -10955,9 +12327,9 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1265) - } // end switch yys1265 - } // end for yyj1265 + z.DecStructFieldNotFound(-1, yys1383) + } // end switch yys1383 + } // end for yyj1383 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10965,16 +12337,16 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1273 int - var yyb1273 bool - var yyhl1273 bool = l >= 0 - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + var yyj1391 int + var yyb1391 bool + var yyhl1391 bool = l >= 0 + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10984,13 +12356,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MaximumRetry = int32(r.DecodeInt(32)) } - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11000,13 +12372,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MinimumTimeoutNFS = int32(r.DecodeInt(32)) } - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11016,13 +12388,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.PodTemplateFilePathNFS = string(r.DecodeString()) } - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11032,13 +12404,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.IncrementTimeoutNFS = int32(r.DecodeInt(32)) } - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11048,13 +12420,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.PodTemplateFilePathHostPath = string(r.DecodeString()) } - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11064,13 +12436,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MinimumTimeoutHostPath = int32(r.DecodeInt(32)) } - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11081,17 +12453,17 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) } for { - yyj1273++ - if yyhl1273 { - yyb1273 = yyj1273 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1273 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1273 { + if yyb1391 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1273-1, "") + z.DecStructFieldNotFound(yyj1391-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11101,20 +12473,20 @@ func (x codecSelfer1234) encconfig_ConfigurationMap(v pkg2_config.ConfigurationM z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1281, yyv1281 := range v { + for yyk1399, yyv1399 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym1282 := z.EncBinary() - _ = yym1282 + yym1400 := z.EncBinary() + _ = yym1400 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1281)) + r.EncodeString(codecSelferC_UTF81234, string(yyk1399)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1283 := z.EncBinary() - _ = yym1283 + yym1401 := z.EncBinary() + _ = yym1401 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1281)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1399)) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11125,63 +12497,63 @@ func (x codecSelfer1234) decconfig_ConfigurationMap(v *pkg2_config.Configuration z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1284 := *v - yyl1284 := r.ReadMapStart() - yybh1284 := z.DecBasicHandle() - if yyv1284 == nil { - yyrl1284, _ := z.DecInferLen(yyl1284, yybh1284.MaxInitLen, 32) - yyv1284 = make(map[string]string, yyrl1284) - *v = yyv1284 + yyv1402 := *v + yyl1402 := r.ReadMapStart() + yybh1402 := z.DecBasicHandle() + if yyv1402 == nil { + yyrl1402, _ := z.DecInferLen(yyl1402, yybh1402.MaxInitLen, 32) + yyv1402 = make(map[string]string, yyrl1402) + *v = yyv1402 } - var yymk1284 string - var yymv1284 string - var yymg1284 bool - if yybh1284.MapValueReset { + var yymk1402 string + var yymv1402 string + var yymg1402 bool + if yybh1402.MapValueReset { } - if yyl1284 > 0 { - for yyj1284 := 0; yyj1284 < yyl1284; yyj1284++ { + if yyl1402 > 0 { + for yyj1402 := 0; yyj1402 < yyl1402; yyj1402++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1284 = "" + yymk1402 = "" } else { - yymk1284 = string(r.DecodeString()) + yymk1402 = string(r.DecodeString()) } - if yymg1284 { - yymv1284 = yyv1284[yymk1284] + if yymg1402 { + yymv1402 = yyv1402[yymk1402] } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1284 = "" + yymv1402 = "" } else { - yymv1284 = string(r.DecodeString()) + yymv1402 = string(r.DecodeString()) } - if yyv1284 != nil { - yyv1284[yymk1284] = yymv1284 + if yyv1402 != nil { + yyv1402[yymk1402] = yymv1402 } } - } else if yyl1284 < 0 { - for yyj1284 := 0; !r.CheckBreak(); yyj1284++ { + } else if yyl1402 < 0 { + for yyj1402 := 0; !r.CheckBreak(); yyj1402++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1284 = "" + yymk1402 = "" } else { - yymk1284 = string(r.DecodeString()) + yymk1402 = string(r.DecodeString()) } - if yymg1284 { - yymv1284 = yyv1284[yymk1284] + if yymg1402 { + yymv1402 = yyv1402[yymk1402] } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1284 = "" + yymv1402 = "" } else { - yymv1284 = string(r.DecodeString()) + yymv1402 = string(r.DecodeString()) } - if yyv1284 != nil { - yyv1284[yymk1284] = yymv1284 + if yyv1402 != nil { + yyv1402[yymk1402] = yymv1402 } } } // else len==0: TODO: Should we clear map entries? diff --git a/pkg/apis/componentconfig/types.go b/pkg/apis/componentconfig/types.go index 72412e55..d7bf6559 100644 --- a/pkg/apis/componentconfig/types.go +++ b/pkg/apis/componentconfig/types.go @@ -153,6 +153,10 @@ type KubeletConfiguration struct { // default /var/run/kubernetes). If tlsCertFile and tlsPrivateKeyFile // are provided, this flag will be ignored. CertDirectory string `json:"certDirectory"` + // authentication specifies how requests to the Kubelet's server are authenticated + Authentication KubeletAuthentication `json:"authentication"` + // authorization specifies how requests to the Kubelet's server are authorized + Authorization KubeletAuthorization `json:"authorization"` // hostnameOverride is the hostname used to identify the kubelet instead // of the actual hostname. HostnameOverride string `json:"hostnameOverride"` @@ -271,25 +275,33 @@ type KubeletConfiguration struct { // for additional third party volume plugins VolumePluginDir string `json:"volumePluginDir"` // cloudProvider is the provider for cloud services. + // +optional CloudProvider string `json:"cloudProvider,omitempty"` // cloudConfigFile is the path to the cloud provider configuration file. + // +optional CloudConfigFile string `json:"cloudConfigFile,omitempty"` // KubeletCgroups is the absolute name of cgroups to isolate the kubelet in. + // +optional KubeletCgroups string `json:"kubeletCgroups,omitempty"` // Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes // And all Burstable and BestEffort pods are brought up under their // specific top level QoS cgroup. + // +optional CgroupsPerQOS bool `json:"cgroupsPerQOS,omitempty"` // driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd) + // +optional CgroupDriver string `json:"cgroupDriver,omitempty"` // Cgroups that container runtime is expected to be isolated in. + // +optional RuntimeCgroups string `json:"runtimeCgroups,omitempty"` // SystemCgroups is absolute name of cgroups in which to place // all non-kernel processes that are not already in a container. Empty // for no container. Rolling back the flag requires a reboot. + // +optional SystemCgroups string `json:"systemCgroups,omitempty"` // CgroupRoot is the root cgroup to use for pods. // If CgroupsPerQOS is enabled, this is the root of the QoS cgroup hierarchy. + // +optional CgroupRoot string `json:"cgroupRoot,omitempty"` // containerRuntime is the container runtime to use. ContainerRuntime string `json:"containerRuntime"` @@ -299,14 +311,22 @@ type KubeletConfiguration struct { RemoteImageEndpoint string `json:"remoteImageEndpoint"` // runtimeRequestTimeout is the timeout for all runtime requests except long running // requests - pull, logs, exec and attach. + // +optional RuntimeRequestTimeout unversioned.Duration `json:"runtimeRequestTimeout,omitempty"` // rktPath is the path of rkt binary. Leave empty to use the first rkt in // $PATH. + // +optional RktPath string `json:"rktPath,omitempty"` + // experimentalMounterPath is the path of mounter binary. Leave empty to use the default mount path + ExperimentalMounterPath string `json:"experimentalMounterPath,omitempty"` + // experimentalMounterRootfsPath is the absolute path to root filesystem for the mounter binary. + ExperimentalMounterRootfsPath string `json:"experimentalMounterRootfsPath,omitempty"` // rktApiEndpoint is the endpoint of the rkt API service to communicate with. + // +optional RktAPIEndpoint string `json:"rktAPIEndpoint,omitempty"` // rktStage1Image is the image to use as stage1. Local paths and // http/https URLs are supported. + // +optional RktStage1Image string `json:"rktStage1Image,omitempty"` // lockFilePath is the path that kubelet will use to as a lock file. // It uses this file as a lock to synchronize with other kubelet processes @@ -317,18 +337,14 @@ type KubeletConfiguration struct { // This will cause the kubelet to listen to inotify events on the lock file, // releasing it and exiting when another process tries to open that file. ExitOnLockContention bool `json:"exitOnLockContention"` - // configureCBR0 enables the kublet to configure cbr0 based on - // Node.Spec.PodCIDR. - ConfigureCBR0 bool `json:"configureCbr0"` // How should the kubelet configure the container bridge for hairpin packets. // Setting this flag allows endpoints in a Service to loadbalance back to // themselves if they should try to access their own Service. Values: // "promiscuous-bridge": make the container bridge promiscuous. // "hairpin-veth": set the hairpin flag on container veth interfaces. // "none": do nothing. - // Setting --configure-cbr0 to false implies that to achieve hairpin NAT - // one must set --hairpin-mode=veth-flag, because bridge assumes the - // existence of a container bridge named cbr0. + // Generally, one must set --hairpin-mode=veth-flag to achieve hairpin NAT, + // because promiscous-bridge assumes the existence of a container bridge named cbr0. HairpinMode string `json:"hairpinMode"` // The node has babysitter process monitoring docker and kubelet. BabysitDaemons bool `json:"babysitDaemons"` @@ -354,10 +370,10 @@ type KubeletConfiguration struct { // 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. No-op if register-node or configure-cbr0 is false. + // 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. No-op if register-node is false. + // schedulable. Won't have any effect if register-node is false. RegisterSchedulable bool `json:"registerSchedulable"` // contentType is contentType of requests sent to apiserver. ContentType string `json:"contentType"` @@ -373,9 +389,11 @@ type KubeletConfiguration struct { SerializeImagePulls bool `json:"serializeImagePulls"` // outOfDiskTransitionFrequency is duration for which the kubelet has to // wait before transitioning out of out-of-disk node condition status. + // +optional OutOfDiskTransitionFrequency unversioned.Duration `json:"outOfDiskTransitionFrequency,omitempty"` // nodeIP is IP address of the node. If set, kubelet will use this IP // address for the node. + // +optional NodeIP string `json:"nodeIP,omitempty"` // nodeLabels to add when registering the node in the cluster. NodeLabels map[string]string `json:"nodeLabels"` @@ -384,16 +402,22 @@ type KubeletConfiguration struct { // enable gathering custom metrics. EnableCustomMetrics bool `json:"enableCustomMetrics"` // Comma-delimited list of hard eviction expressions. For example, 'memory.available<300Mi'. + // +optional EvictionHard string `json:"evictionHard,omitempty"` // Comma-delimited list of soft eviction expressions. For example, 'memory.available<300Mi'. + // +optional EvictionSoft string `json:"evictionSoft,omitempty"` // Comma-delimeted list of grace periods for each soft eviction signal. For example, 'memory.available=30s'. + // +optional EvictionSoftGracePeriod string `json:"evictionSoftGracePeriod,omitempty"` // Duration for which the kubelet has to wait before transitioning out of an eviction pressure condition. + // +optional EvictionPressureTransitionPeriod unversioned.Duration `json:"evictionPressureTransitionPeriod,omitempty"` // Maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. + // +optional EvictionMaxPodGracePeriod int32 `json:"evictionMaxPodGracePeriod,omitempty"` // Comma-delimited list of minimum reclaims (e.g. imagefs.available=2Gi) that describes the minimum amount of resource the kubelet will reclaim when performing a pod eviction if that resource is under pressure. + // +optional EvictionMinimumReclaim string `json:"evictionMinimumReclaim,omitempty"` // Maximum number of pods per core. Cannot exceed MaxPods PodsPerCore int32 `json:"podsPerCore"` @@ -426,12 +450,70 @@ type KubeletConfiguration struct { // Values must be within the range [0, 31]. Must be different from IPTablesMasqueradeBit IPTablesDropBit int32 `json:"iptablesDropBit"` // Whitelist of unsafe sysctls or sysctl patterns (ending in *). + // +optional AllowedUnsafeSysctls []string `json:"experimentalAllowedUnsafeSysctls,omitempty"` // How to integrate with runtime. If set to cri, kubelet will switch to // using the new Container Runtine Interface. + // +optional ExperimentalRuntimeIntegrationType string `json:"experimentalRuntimeIntegrationType,omitempty"` } +type KubeletAuthorizationMode string + +const ( + // KubeletAuthorizationModeAlwaysAllow authorizes all authenticated requests + KubeletAuthorizationModeAlwaysAllow KubeletAuthorizationMode = "AlwaysAllow" + // KubeletAuthorizationModeWebhook uses the SubjectAccessReview API to determine authorization + KubeletAuthorizationModeWebhook KubeletAuthorizationMode = "Webhook" +) + +type KubeletAuthorization struct { + // mode is the authorization mode to apply to requests to the kubelet server. + // Valid values are AlwaysAllow and Webhook. + // Webhook mode uses the SubjectAccessReview API to determine authorization. + Mode KubeletAuthorizationMode `json:"mode"` + + // webhook contains settings related to Webhook authorization. + Webhook KubeletWebhookAuthorization `json:"webhook"` +} + +type KubeletWebhookAuthorization struct { + // cacheAuthorizedTTL is the duration to cache 'authorized' responses from the webhook authorizer. + CacheAuthorizedTTL unversioned.Duration `json:"cacheAuthorizedTTL"` + // cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from the webhook authorizer. + CacheUnauthorizedTTL unversioned.Duration `json:"cacheUnauthorizedTTL"` +} + +type KubeletAuthentication struct { + // x509 contains settings related to x509 client certificate authentication + X509 KubeletX509Authentication `json:"x509"` + // webhook contains settings related to webhook bearer token authentication + Webhook KubeletWebhookAuthentication `json:"webhook"` + // anonymous contains settings related to anonymous authentication + Anonymous KubeletAnonymousAuthentication `json:"anonymous"` +} + +type KubeletX509Authentication struct { + // clientCAFile is the path to a PEM-encoded certificate bundle. If set, any request presenting a client certificate + // signed by one of the authorities in the bundle is authenticated with a username corresponding to the CommonName, + // and groups corresponding to the Organization in the client certificate. + ClientCAFile string `json:"clientCAFile"` +} + +type KubeletWebhookAuthentication struct { + // enabled allows bearer token authentication backed by the tokenreviews.authentication.k8s.io API + Enabled bool `json:"enabled"` + // cacheTTL enables caching of authentication results + CacheTTL unversioned.Duration `json:"cacheTTL"` +} + +type KubeletAnonymousAuthentication struct { + // enabled allows anonymous requests to the kubelet server. + // Requests that are not rejected by another authentication method are treated as anonymous requests. + // Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. + Enabled bool `json:"enabled"` +} + type KubeSchedulerConfiguration struct { unversioned.TypeMeta diff --git a/pkg/apis/componentconfig/v1alpha1/defaults.go b/pkg/apis/componentconfig/v1alpha1/defaults.go index 4a09a72b..70b395e1 100644 --- a/pkg/apis/componentconfig/v1alpha1/defaults.go +++ b/pkg/apis/componentconfig/v1alpha1/defaults.go @@ -51,6 +51,7 @@ const ( var zeroDuration = unversioned.Duration{} func addDefaultingFuncs(scheme *kruntime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( SetDefaults_KubeProxyConfiguration, SetDefaults_KubeSchedulerConfiguration, @@ -146,6 +147,25 @@ func SetDefaults_LeaderElectionConfiguration(obj *LeaderElectionConfiguration) { } func SetDefaults_KubeletConfiguration(obj *KubeletConfiguration) { + if obj.Authentication.Anonymous.Enabled == nil { + obj.Authentication.Anonymous.Enabled = boolVar(true) + } + if obj.Authentication.Webhook.Enabled == nil { + obj.Authentication.Webhook.Enabled = boolVar(false) + } + if obj.Authentication.Webhook.CacheTTL == zeroDuration { + obj.Authentication.Webhook.CacheTTL = unversioned.Duration{Duration: 2 * time.Minute} + } + if obj.Authorization.Mode == "" { + obj.Authorization.Mode = KubeletAuthorizationModeAlwaysAllow + } + if obj.Authorization.Webhook.CacheAuthorizedTTL == zeroDuration { + obj.Authorization.Webhook.CacheAuthorizedTTL = unversioned.Duration{Duration: 5 * time.Minute} + } + if obj.Authorization.Webhook.CacheUnauthorizedTTL == zeroDuration { + obj.Authorization.Webhook.CacheUnauthorizedTTL = unversioned.Duration{Duration: 30 * time.Second} + } + if obj.Address == "" { obj.Address = "0.0.0.0" } @@ -161,9 +181,6 @@ func SetDefaults_KubeletConfiguration(obj *KubeletConfiguration) { if obj.CertDirectory == "" { obj.CertDirectory = "/var/run/kubernetes" } - if obj.ConfigureCBR0 == nil { - obj.ConfigureCBR0 = boolVar(false) - } if obj.CgroupsPerQOS == nil { obj.CgroupsPerQOS = boolVar(false) } diff --git a/pkg/apis/componentconfig/v1alpha1/doc.go b/pkg/apis/componentconfig/v1alpha1/doc.go index 233f24f2..0ae15b67 100644 --- a/pkg/apis/componentconfig/v1alpha1/doc.go +++ b/pkg/apis/componentconfig/v1alpha1/doc.go @@ -17,5 +17,6 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/componentconfig // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1alpha1 diff --git a/pkg/apis/componentconfig/v1alpha1/types.go b/pkg/apis/componentconfig/v1alpha1/types.go index 973e92ef..2d11bf96 100644 --- a/pkg/apis/componentconfig/v1alpha1/types.go +++ b/pkg/apis/componentconfig/v1alpha1/types.go @@ -207,6 +207,10 @@ type KubeletConfiguration struct { // default /var/run/kubernetes). If tlsCertFile and tlsPrivateKeyFile // are provided, this flag will be ignored. CertDirectory string `json:"certDirectory"` + // authentication specifies how requests to the Kubelet's server are authenticated + Authentication KubeletAuthentication `json:"authentication"` + // authorization specifies how requests to the Kubelet's server are authorized + Authorization KubeletAuthorization `json:"authorization"` // hostnameOverride is the hostname used to identify the kubelet instead // of the actual hostname. HostnameOverride string `json:"hostnameOverride"` @@ -343,8 +347,10 @@ type KubeletConfiguration struct { // Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes // And all Burstable and BestEffort pods are brought up under their // specific top level QoS cgroup. + // +optional CgroupsPerQOS *bool `json:"cgroupsPerQOS,omitempty"` // driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd) + // +optional CgroupDriver string `json:"cgroupDriver,omitempty"` // containerRuntime is the container runtime to use. ContainerRuntime string `json:"containerRuntime"` @@ -358,6 +364,11 @@ type KubeletConfiguration struct { // rktPath is the path of rkt binary. Leave empty to use the first rkt in // $PATH. RktPath string `json:"rktPath"` + // experimentalMounterPath is the path to mounter binary. If not set, kubelet will attempt to use mount + // binary that is available via $PATH, + ExperimentalMounterPath string `json:"experimentalMounterPath,omitempty"` + // experimentalMounterRootfsPath is the absolute path to root filesystem for the mounter binary. + ExperimentalMounterRootfsPath string `json:"experimentalMounterRootfsPath,omitempty"` // rktApiEndpoint is the endpoint of the rkt API service to communicate with. RktAPIEndpoint string `json:"rktAPIEndpoint"` // rktStage1Image is the image to use as stage1. Local paths and @@ -372,18 +383,14 @@ type KubeletConfiguration struct { // This will cause the kubelet to listen to inotify events on the lock file, // releasing it and exiting when another process tries to open that file. ExitOnLockContention bool `json:"exitOnLockContention"` - // configureCBR0 enables the kublet to configure cbr0 based on - // Node.Spec.PodCIDR. - ConfigureCBR0 *bool `json:"configureCbr0"` // How should the kubelet configure the container bridge for hairpin packets. // Setting this flag allows endpoints in a Service to loadbalance back to // themselves if they should try to access their own Service. Values: // "promiscuous-bridge": make the container bridge promiscuous. // "hairpin-veth": set the hairpin flag on container veth interfaces. // "none": do nothing. - // Setting --configure-cbr0 to false implies that to achieve hairpin NAT - // one must set --hairpin-mode=veth-flag, because bridge assumes the - // existence of a container bridge named cbr0. + // Generally, one must set --hairpin-mode=veth-flag to achieve hairpin NAT, + // because promiscous-bridge assumes the existence of a container bridge named cbr0. HairpinMode string `json:"hairpinMode"` // The node has babysitter process monitoring docker and kubelet. BabysitDaemons bool `json:"babysitDaemons"` @@ -409,10 +416,10 @@ type KubeletConfiguration struct { // 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. No-op if register-node or configure-cbr0 is false. + // 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. No-op if register-node is false. + // schedulable. Won't have any effect if register-node is false. RegisterSchedulable *bool `json:"registerSchedulable"` // contentType is contentType of requests sent to apiserver. ContentType string `json:"contentType"` @@ -482,8 +489,66 @@ type KubeletConfiguration struct { IPTablesDropBit *int32 `json:"iptablesDropBit"` // Whitelist of unsafe sysctls or sysctl patterns (ending in *). Use these at your own risk. // Resource isolation might be lacking and pod might influence each other on the same node. + // +optional AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls,omitempty"` // How to integrate with runtime. If set to CRI, kubelet will switch to // using the new Container Runtine Interface. + // +optional ExperimentalRuntimeIntegrationType string `json:"experimentalRuntimeIntegrationType,omitempty"` } + +type KubeletAuthorizationMode string + +const ( + // KubeletAuthorizationModeAlwaysAllow authorizes all authenticated requests + KubeletAuthorizationModeAlwaysAllow KubeletAuthorizationMode = "AlwaysAllow" + // KubeletAuthorizationModeWebhook uses the SubjectAccessReview API to determine authorization + KubeletAuthorizationModeWebhook KubeletAuthorizationMode = "Webhook" +) + +type KubeletAuthorization struct { + // mode is the authorization mode to apply to requests to the kubelet server. + // Valid values are AlwaysAllow and Webhook. + // Webhook mode uses the SubjectAccessReview API to determine authorization. + Mode KubeletAuthorizationMode `json:"mode"` + + // webhook contains settings related to Webhook authorization. + Webhook KubeletWebhookAuthorization `json:"webhook"` +} + +type KubeletWebhookAuthorization struct { + // cacheAuthorizedTTL is the duration to cache 'authorized' responses from the webhook authorizer. + CacheAuthorizedTTL unversioned.Duration `json:"cacheAuthorizedTTL"` + // cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from the webhook authorizer. + CacheUnauthorizedTTL unversioned.Duration `json:"cacheUnauthorizedTTL"` +} + +type KubeletAuthentication struct { + // x509 contains settings related to x509 client certificate authentication + X509 KubeletX509Authentication `json:"x509"` + // webhook contains settings related to webhook bearer token authentication + Webhook KubeletWebhookAuthentication `json:"webhook"` + // anonymous contains settings related to anonymous authentication + Anonymous KubeletAnonymousAuthentication `json:"anonymous"` +} + +type KubeletX509Authentication struct { + // clientCAFile is the path to a PEM-encoded certificate bundle. If set, any request presenting a client certificate + // signed by one of the authorities in the bundle is authenticated with a username corresponding to the CommonName, + // and groups corresponding to the Organization in the client certificate. + ClientCAFile string `json:"clientCAFile"` +} + +type KubeletWebhookAuthentication struct { + // enabled allows bearer token authentication backed by the tokenreviews.authentication.k8s.io API + Enabled *bool `json:"enabled"` + // cacheTTL enables caching of authentication results + CacheTTL unversioned.Duration `json:"cacheTTL"` +} + +type KubeletAnonymousAuthentication struct { + // enabled allows anonymous requests to the kubelet server. + // Requests that are not rejected by another authentication method are treated as anonymous requests. + // Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. + Enabled *bool `json:"enabled"` +} diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go index 36abbeb2..6df51a1c 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go @@ -40,18 +40,26 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfiguration, Convert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration, Convert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedulerConfiguration, + Convert_v1alpha1_KubeletAnonymousAuthentication_To_componentconfig_KubeletAnonymousAuthentication, + Convert_componentconfig_KubeletAnonymousAuthentication_To_v1alpha1_KubeletAnonymousAuthentication, + Convert_v1alpha1_KubeletAuthentication_To_componentconfig_KubeletAuthentication, + Convert_componentconfig_KubeletAuthentication_To_v1alpha1_KubeletAuthentication, + Convert_v1alpha1_KubeletAuthorization_To_componentconfig_KubeletAuthorization, + Convert_componentconfig_KubeletAuthorization_To_v1alpha1_KubeletAuthorization, Convert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfiguration, Convert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfiguration, + Convert_v1alpha1_KubeletWebhookAuthentication_To_componentconfig_KubeletWebhookAuthentication, + Convert_componentconfig_KubeletWebhookAuthentication_To_v1alpha1_KubeletWebhookAuthentication, + Convert_v1alpha1_KubeletWebhookAuthorization_To_componentconfig_KubeletWebhookAuthorization, + Convert_componentconfig_KubeletWebhookAuthorization_To_v1alpha1_KubeletWebhookAuthorization, + Convert_v1alpha1_KubeletX509Authentication_To_componentconfig_KubeletX509Authentication, + Convert_componentconfig_KubeletX509Authentication_To_v1alpha1_KubeletX509Authentication, Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration, Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration, ) } func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration(in *KubeProxyConfiguration, out *componentconfig.KubeProxyConfiguration, s conversion.Scope) error { - SetDefaults_KubeProxyConfiguration(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.BindAddress = in.BindAddress out.ClusterCIDR = in.ClusterCIDR out.HealthzBindAddress = in.HealthzBindAddress @@ -79,9 +87,6 @@ func Convert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfigu } func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfiguration(in *componentconfig.KubeProxyConfiguration, out *KubeProxyConfiguration, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.BindAddress = in.BindAddress out.ClusterCIDR = in.ClusterCIDR out.HealthzBindAddress = in.HealthzBindAddress @@ -109,10 +114,6 @@ func Convert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfigu } func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration(in *KubeSchedulerConfiguration, out *componentconfig.KubeSchedulerConfiguration, s conversion.Scope) error { - SetDefaults_KubeSchedulerConfiguration(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Port = int32(in.Port) out.Address = in.Address out.AlgorithmProvider = in.AlgorithmProvider @@ -137,9 +138,6 @@ func Convert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedule } func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedulerConfiguration(in *componentconfig.KubeSchedulerConfiguration, out *KubeSchedulerConfiguration, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Port = int(in.Port) out.Address = in.Address out.AlgorithmProvider = in.AlgorithmProvider @@ -163,11 +161,87 @@ func Convert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedule return autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedulerConfiguration(in, out, s) } -func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfiguration(in *KubeletConfiguration, out *componentconfig.KubeletConfiguration, s conversion.Scope) error { - SetDefaults_KubeletConfiguration(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { +func autoConvert_v1alpha1_KubeletAnonymousAuthentication_To_componentconfig_KubeletAnonymousAuthentication(in *KubeletAnonymousAuthentication, out *componentconfig.KubeletAnonymousAuthentication, s conversion.Scope) error { + if err := api.Convert_Pointer_bool_To_bool(&in.Enabled, &out.Enabled, s); err != nil { return err } + return nil +} + +func Convert_v1alpha1_KubeletAnonymousAuthentication_To_componentconfig_KubeletAnonymousAuthentication(in *KubeletAnonymousAuthentication, out *componentconfig.KubeletAnonymousAuthentication, s conversion.Scope) error { + return autoConvert_v1alpha1_KubeletAnonymousAuthentication_To_componentconfig_KubeletAnonymousAuthentication(in, out, s) +} + +func autoConvert_componentconfig_KubeletAnonymousAuthentication_To_v1alpha1_KubeletAnonymousAuthentication(in *componentconfig.KubeletAnonymousAuthentication, out *KubeletAnonymousAuthentication, s conversion.Scope) error { + if err := api.Convert_bool_To_Pointer_bool(&in.Enabled, &out.Enabled, s); err != nil { + return err + } + return nil +} + +func Convert_componentconfig_KubeletAnonymousAuthentication_To_v1alpha1_KubeletAnonymousAuthentication(in *componentconfig.KubeletAnonymousAuthentication, out *KubeletAnonymousAuthentication, s conversion.Scope) error { + return autoConvert_componentconfig_KubeletAnonymousAuthentication_To_v1alpha1_KubeletAnonymousAuthentication(in, out, s) +} + +func autoConvert_v1alpha1_KubeletAuthentication_To_componentconfig_KubeletAuthentication(in *KubeletAuthentication, out *componentconfig.KubeletAuthentication, s conversion.Scope) error { + if err := Convert_v1alpha1_KubeletX509Authentication_To_componentconfig_KubeletX509Authentication(&in.X509, &out.X509, s); err != nil { + return err + } + if err := Convert_v1alpha1_KubeletWebhookAuthentication_To_componentconfig_KubeletWebhookAuthentication(&in.Webhook, &out.Webhook, s); err != nil { + return err + } + if err := Convert_v1alpha1_KubeletAnonymousAuthentication_To_componentconfig_KubeletAnonymousAuthentication(&in.Anonymous, &out.Anonymous, s); err != nil { + return err + } + return nil +} + +func Convert_v1alpha1_KubeletAuthentication_To_componentconfig_KubeletAuthentication(in *KubeletAuthentication, out *componentconfig.KubeletAuthentication, s conversion.Scope) error { + return autoConvert_v1alpha1_KubeletAuthentication_To_componentconfig_KubeletAuthentication(in, out, s) +} + +func autoConvert_componentconfig_KubeletAuthentication_To_v1alpha1_KubeletAuthentication(in *componentconfig.KubeletAuthentication, out *KubeletAuthentication, s conversion.Scope) error { + if err := Convert_componentconfig_KubeletX509Authentication_To_v1alpha1_KubeletX509Authentication(&in.X509, &out.X509, s); err != nil { + return err + } + if err := Convert_componentconfig_KubeletWebhookAuthentication_To_v1alpha1_KubeletWebhookAuthentication(&in.Webhook, &out.Webhook, s); err != nil { + return err + } + if err := Convert_componentconfig_KubeletAnonymousAuthentication_To_v1alpha1_KubeletAnonymousAuthentication(&in.Anonymous, &out.Anonymous, s); err != nil { + return err + } + return nil +} + +func Convert_componentconfig_KubeletAuthentication_To_v1alpha1_KubeletAuthentication(in *componentconfig.KubeletAuthentication, out *KubeletAuthentication, s conversion.Scope) error { + return autoConvert_componentconfig_KubeletAuthentication_To_v1alpha1_KubeletAuthentication(in, out, s) +} + +func autoConvert_v1alpha1_KubeletAuthorization_To_componentconfig_KubeletAuthorization(in *KubeletAuthorization, out *componentconfig.KubeletAuthorization, s conversion.Scope) error { + out.Mode = componentconfig.KubeletAuthorizationMode(in.Mode) + if err := Convert_v1alpha1_KubeletWebhookAuthorization_To_componentconfig_KubeletWebhookAuthorization(&in.Webhook, &out.Webhook, s); err != nil { + return err + } + return nil +} + +func Convert_v1alpha1_KubeletAuthorization_To_componentconfig_KubeletAuthorization(in *KubeletAuthorization, out *componentconfig.KubeletAuthorization, s conversion.Scope) error { + return autoConvert_v1alpha1_KubeletAuthorization_To_componentconfig_KubeletAuthorization(in, out, s) +} + +func autoConvert_componentconfig_KubeletAuthorization_To_v1alpha1_KubeletAuthorization(in *componentconfig.KubeletAuthorization, out *KubeletAuthorization, s conversion.Scope) error { + out.Mode = KubeletAuthorizationMode(in.Mode) + if err := Convert_componentconfig_KubeletWebhookAuthorization_To_v1alpha1_KubeletWebhookAuthorization(&in.Webhook, &out.Webhook, s); err != nil { + return err + } + return nil +} + +func Convert_componentconfig_KubeletAuthorization_To_v1alpha1_KubeletAuthorization(in *componentconfig.KubeletAuthorization, out *KubeletAuthorization, s conversion.Scope) error { + return autoConvert_componentconfig_KubeletAuthorization_To_v1alpha1_KubeletAuthorization(in, out, s) +} + +func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfiguration(in *KubeletConfiguration, out *componentconfig.KubeletConfiguration, s conversion.Scope) error { out.PodManifestPath = in.PodManifestPath out.SyncFrequency = in.SyncFrequency out.FileCheckFrequency = in.FileCheckFrequency @@ -183,6 +257,12 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu out.TLSCertFile = in.TLSCertFile out.TLSPrivateKeyFile = in.TLSPrivateKeyFile out.CertDirectory = in.CertDirectory + if err := Convert_v1alpha1_KubeletAuthentication_To_componentconfig_KubeletAuthentication(&in.Authentication, &out.Authentication, s); err != nil { + return err + } + if err := Convert_v1alpha1_KubeletAuthorization_To_componentconfig_KubeletAuthorization(&in.Authorization, &out.Authorization, s); err != nil { + return err + } out.HostnameOverride = in.HostnameOverride out.PodInfraContainerImage = in.PodInfraContainerImage out.DockerEndpoint = in.DockerEndpoint @@ -254,15 +334,14 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu out.RemoteImageEndpoint = in.RemoteImageEndpoint out.RuntimeRequestTimeout = in.RuntimeRequestTimeout out.RktPath = in.RktPath + out.ExperimentalMounterPath = in.ExperimentalMounterPath + out.ExperimentalMounterRootfsPath = in.ExperimentalMounterRootfsPath out.RktAPIEndpoint = in.RktAPIEndpoint out.RktStage1Image = in.RktStage1Image if err := api.Convert_Pointer_string_To_string(&in.LockFilePath, &out.LockFilePath, s); err != nil { return err } out.ExitOnLockContention = in.ExitOnLockContention - if err := api.Convert_Pointer_bool_To_bool(&in.ConfigureCBR0, &out.ConfigureCBR0, s); err != nil { - return err - } out.HairpinMode = in.HairpinMode out.BabysitDaemons = in.BabysitDaemons out.MaxPods = in.MaxPods @@ -346,9 +425,6 @@ func Convert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigurati } func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfiguration(in *componentconfig.KubeletConfiguration, out *KubeletConfiguration, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.PodManifestPath = in.PodManifestPath out.SyncFrequency = in.SyncFrequency out.FileCheckFrequency = in.FileCheckFrequency @@ -364,6 +440,12 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu out.TLSCertFile = in.TLSCertFile out.TLSPrivateKeyFile = in.TLSPrivateKeyFile out.CertDirectory = in.CertDirectory + if err := Convert_componentconfig_KubeletAuthentication_To_v1alpha1_KubeletAuthentication(&in.Authentication, &out.Authentication, s); err != nil { + return err + } + if err := Convert_componentconfig_KubeletAuthorization_To_v1alpha1_KubeletAuthorization(&in.Authorization, &out.Authorization, s); err != nil { + return err + } out.HostnameOverride = in.HostnameOverride out.PodInfraContainerImage = in.PodInfraContainerImage out.DockerEndpoint = in.DockerEndpoint @@ -435,15 +517,14 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu out.RemoteImageEndpoint = in.RemoteImageEndpoint out.RuntimeRequestTimeout = in.RuntimeRequestTimeout out.RktPath = in.RktPath + out.ExperimentalMounterPath = in.ExperimentalMounterPath + out.ExperimentalMounterRootfsPath = in.ExperimentalMounterRootfsPath out.RktAPIEndpoint = in.RktAPIEndpoint out.RktStage1Image = in.RktStage1Image if err := api.Convert_string_To_Pointer_string(&in.LockFilePath, &out.LockFilePath, s); err != nil { return err } out.ExitOnLockContention = in.ExitOnLockContention - if err := api.Convert_bool_To_Pointer_bool(&in.ConfigureCBR0, &out.ConfigureCBR0, s); err != nil { - return err - } out.HairpinMode = in.HairpinMode out.BabysitDaemons = in.BabysitDaemons out.MaxPods = in.MaxPods @@ -526,8 +607,69 @@ func Convert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigurati return autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfiguration(in, out, s) } +func autoConvert_v1alpha1_KubeletWebhookAuthentication_To_componentconfig_KubeletWebhookAuthentication(in *KubeletWebhookAuthentication, out *componentconfig.KubeletWebhookAuthentication, s conversion.Scope) error { + if err := api.Convert_Pointer_bool_To_bool(&in.Enabled, &out.Enabled, s); err != nil { + return err + } + out.CacheTTL = in.CacheTTL + return nil +} + +func Convert_v1alpha1_KubeletWebhookAuthentication_To_componentconfig_KubeletWebhookAuthentication(in *KubeletWebhookAuthentication, out *componentconfig.KubeletWebhookAuthentication, s conversion.Scope) error { + return autoConvert_v1alpha1_KubeletWebhookAuthentication_To_componentconfig_KubeletWebhookAuthentication(in, out, s) +} + +func autoConvert_componentconfig_KubeletWebhookAuthentication_To_v1alpha1_KubeletWebhookAuthentication(in *componentconfig.KubeletWebhookAuthentication, out *KubeletWebhookAuthentication, s conversion.Scope) error { + if err := api.Convert_bool_To_Pointer_bool(&in.Enabled, &out.Enabled, s); err != nil { + return err + } + out.CacheTTL = in.CacheTTL + return nil +} + +func Convert_componentconfig_KubeletWebhookAuthentication_To_v1alpha1_KubeletWebhookAuthentication(in *componentconfig.KubeletWebhookAuthentication, out *KubeletWebhookAuthentication, s conversion.Scope) error { + return autoConvert_componentconfig_KubeletWebhookAuthentication_To_v1alpha1_KubeletWebhookAuthentication(in, out, s) +} + +func autoConvert_v1alpha1_KubeletWebhookAuthorization_To_componentconfig_KubeletWebhookAuthorization(in *KubeletWebhookAuthorization, out *componentconfig.KubeletWebhookAuthorization, s conversion.Scope) error { + out.CacheAuthorizedTTL = in.CacheAuthorizedTTL + out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL + return nil +} + +func Convert_v1alpha1_KubeletWebhookAuthorization_To_componentconfig_KubeletWebhookAuthorization(in *KubeletWebhookAuthorization, out *componentconfig.KubeletWebhookAuthorization, s conversion.Scope) error { + return autoConvert_v1alpha1_KubeletWebhookAuthorization_To_componentconfig_KubeletWebhookAuthorization(in, out, s) +} + +func autoConvert_componentconfig_KubeletWebhookAuthorization_To_v1alpha1_KubeletWebhookAuthorization(in *componentconfig.KubeletWebhookAuthorization, out *KubeletWebhookAuthorization, s conversion.Scope) error { + out.CacheAuthorizedTTL = in.CacheAuthorizedTTL + out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL + return nil +} + +func Convert_componentconfig_KubeletWebhookAuthorization_To_v1alpha1_KubeletWebhookAuthorization(in *componentconfig.KubeletWebhookAuthorization, out *KubeletWebhookAuthorization, s conversion.Scope) error { + return autoConvert_componentconfig_KubeletWebhookAuthorization_To_v1alpha1_KubeletWebhookAuthorization(in, out, s) +} + +func autoConvert_v1alpha1_KubeletX509Authentication_To_componentconfig_KubeletX509Authentication(in *KubeletX509Authentication, out *componentconfig.KubeletX509Authentication, s conversion.Scope) error { + out.ClientCAFile = in.ClientCAFile + return nil +} + +func Convert_v1alpha1_KubeletX509Authentication_To_componentconfig_KubeletX509Authentication(in *KubeletX509Authentication, out *componentconfig.KubeletX509Authentication, s conversion.Scope) error { + return autoConvert_v1alpha1_KubeletX509Authentication_To_componentconfig_KubeletX509Authentication(in, out, s) +} + +func autoConvert_componentconfig_KubeletX509Authentication_To_v1alpha1_KubeletX509Authentication(in *componentconfig.KubeletX509Authentication, out *KubeletX509Authentication, s conversion.Scope) error { + out.ClientCAFile = in.ClientCAFile + return nil +} + +func Convert_componentconfig_KubeletX509Authentication_To_v1alpha1_KubeletX509Authentication(in *componentconfig.KubeletX509Authentication, out *KubeletX509Authentication, s conversion.Scope) error { + return autoConvert_componentconfig_KubeletX509Authentication_To_v1alpha1_KubeletX509Authentication(in, out, s) +} + func autoConvert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration(in *LeaderElectionConfiguration, out *componentconfig.LeaderElectionConfiguration, s conversion.Scope) error { - SetDefaults_LeaderElectionConfiguration(in) if err := api.Convert_Pointer_bool_To_bool(&in.LeaderElect, &out.LeaderElect, 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 a771b3d0..f8746600 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go @@ -36,7 +36,13 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeProxyConfiguration, InType: reflect.TypeOf(&KubeProxyConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeSchedulerConfiguration, InType: reflect.TypeOf(&KubeSchedulerConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletAnonymousAuthentication, InType: reflect.TypeOf(&KubeletAnonymousAuthentication{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletAuthentication, InType: reflect.TypeOf(&KubeletAuthentication{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletAuthorization, InType: reflect.TypeOf(&KubeletAuthorization{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletConfiguration, InType: reflect.TypeOf(&KubeletConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletWebhookAuthentication, InType: reflect.TypeOf(&KubeletWebhookAuthentication{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletWebhookAuthorization, InType: reflect.TypeOf(&KubeletWebhookAuthorization{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletX509Authentication, InType: reflect.TypeOf(&KubeletX509Authentication{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_LeaderElectionConfiguration, InType: reflect.TypeOf(&LeaderElectionConfiguration{})}, ) } @@ -110,6 +116,46 @@ func DeepCopy_v1alpha1_KubeSchedulerConfiguration(in interface{}, out interface{ } } +func DeepCopy_v1alpha1_KubeletAnonymousAuthentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletAnonymousAuthentication) + out := out.(*KubeletAnonymousAuthentication) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } else { + out.Enabled = nil + } + return nil + } +} + +func DeepCopy_v1alpha1_KubeletAuthentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletAuthentication) + out := out.(*KubeletAuthentication) + out.X509 = in.X509 + if err := DeepCopy_v1alpha1_KubeletWebhookAuthentication(&in.Webhook, &out.Webhook, c); err != nil { + return err + } + if err := DeepCopy_v1alpha1_KubeletAnonymousAuthentication(&in.Anonymous, &out.Anonymous, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_v1alpha1_KubeletAuthorization(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletAuthorization) + out := out.(*KubeletAuthorization) + out.Mode = in.Mode + out.Webhook = in.Webhook + return nil + } +} + func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*KubeletConfiguration) @@ -134,6 +180,10 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * 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 @@ -263,6 +313,8 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * out.RemoteImageEndpoint = in.RemoteImageEndpoint out.RuntimeRequestTimeout = in.RuntimeRequestTimeout out.RktPath = in.RktPath + out.ExperimentalMounterPath = in.ExperimentalMounterPath + out.ExperimentalMounterRootfsPath = in.ExperimentalMounterRootfsPath out.RktAPIEndpoint = in.RktAPIEndpoint out.RktStage1Image = in.RktStage1Image if in.LockFilePath != nil { @@ -273,13 +325,6 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * out.LockFilePath = nil } out.ExitOnLockContention = in.ExitOnLockContention - if in.ConfigureCBR0 != nil { - in, out := &in.ConfigureCBR0, &out.ConfigureCBR0 - *out = new(bool) - **out = **in - } else { - out.ConfigureCBR0 = nil - } out.HairpinMode = in.HairpinMode out.BabysitDaemons = in.BabysitDaemons out.MaxPods = in.MaxPods @@ -417,6 +462,41 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * } } +func DeepCopy_v1alpha1_KubeletWebhookAuthentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletWebhookAuthentication) + out := out.(*KubeletWebhookAuthentication) + 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 + } +} + +func DeepCopy_v1alpha1_KubeletWebhookAuthorization(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletWebhookAuthorization) + out := out.(*KubeletWebhookAuthorization) + out.CacheAuthorizedTTL = in.CacheAuthorizedTTL + out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL + return nil + } +} + +func DeepCopy_v1alpha1_KubeletX509Authentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletX509Authentication) + out := out.(*KubeletX509Authentication) + out.ClientCAFile = in.ClientCAFile + return nil + } +} + func DeepCopy_v1alpha1_LeaderElectionConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LeaderElectionConfiguration) diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go new file mode 100644 index 00000000..83ab4654 --- /dev/null +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go @@ -0,0 +1,48 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v1alpha1 + +import ( + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&KubeProxyConfiguration{}, func(obj interface{}) { SetObjectDefaults_KubeProxyConfiguration(obj.(*KubeProxyConfiguration)) }) + scheme.AddTypeDefaultingFunc(&KubeSchedulerConfiguration{}, func(obj interface{}) { SetObjectDefaults_KubeSchedulerConfiguration(obj.(*KubeSchedulerConfiguration)) }) + scheme.AddTypeDefaultingFunc(&KubeletConfiguration{}, func(obj interface{}) { SetObjectDefaults_KubeletConfiguration(obj.(*KubeletConfiguration)) }) + return nil +} + +func SetObjectDefaults_KubeProxyConfiguration(in *KubeProxyConfiguration) { + SetDefaults_KubeProxyConfiguration(in) +} + +func SetObjectDefaults_KubeSchedulerConfiguration(in *KubeSchedulerConfiguration) { + SetDefaults_KubeSchedulerConfiguration(in) + SetDefaults_LeaderElectionConfiguration(&in.LeaderElection) +} + +func SetObjectDefaults_KubeletConfiguration(in *KubeletConfiguration) { + SetDefaults_KubeletConfiguration(in) +} diff --git a/pkg/apis/componentconfig/zz_generated.deepcopy.go b/pkg/apis/componentconfig/zz_generated.deepcopy.go index ae5294ee..0a9d221d 100644 --- a/pkg/apis/componentconfig/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/zz_generated.deepcopy.go @@ -39,7 +39,13 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeControllerManagerConfiguration, InType: reflect.TypeOf(&KubeControllerManagerConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeProxyConfiguration, InType: reflect.TypeOf(&KubeProxyConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeSchedulerConfiguration, InType: reflect.TypeOf(&KubeSchedulerConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletAnonymousAuthentication, InType: reflect.TypeOf(&KubeletAnonymousAuthentication{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletAuthentication, InType: reflect.TypeOf(&KubeletAuthentication{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletAuthorization, InType: reflect.TypeOf(&KubeletAuthorization{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletConfiguration, InType: reflect.TypeOf(&KubeletConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletWebhookAuthentication, InType: reflect.TypeOf(&KubeletWebhookAuthentication{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletWebhookAuthorization, InType: reflect.TypeOf(&KubeletWebhookAuthorization{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletX509Authentication, InType: reflect.TypeOf(&KubeletX509Authentication{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_LeaderElectionConfiguration, InType: reflect.TypeOf(&LeaderElectionConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PersistentVolumeRecyclerConfiguration, InType: reflect.TypeOf(&PersistentVolumeRecyclerConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PortRangeVar, InType: reflect.TypeOf(&PortRangeVar{})}, @@ -190,6 +196,36 @@ func DeepCopy_componentconfig_KubeSchedulerConfiguration(in interface{}, out int } } +func DeepCopy_componentconfig_KubeletAnonymousAuthentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletAnonymousAuthentication) + out := out.(*KubeletAnonymousAuthentication) + out.Enabled = in.Enabled + return nil + } +} + +func DeepCopy_componentconfig_KubeletAuthentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletAuthentication) + out := out.(*KubeletAuthentication) + out.X509 = in.X509 + out.Webhook = in.Webhook + out.Anonymous = in.Anonymous + return nil + } +} + +func DeepCopy_componentconfig_KubeletAuthorization(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletAuthorization) + out := out.(*KubeletAuthorization) + out.Mode = in.Mode + out.Webhook = in.Webhook + return nil + } +} + func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*KubeletConfiguration) @@ -208,6 +244,8 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface 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 @@ -277,11 +315,12 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface out.RemoteImageEndpoint = in.RemoteImageEndpoint out.RuntimeRequestTimeout = in.RuntimeRequestTimeout out.RktPath = in.RktPath + out.ExperimentalMounterPath = in.ExperimentalMounterPath + out.ExperimentalMounterRootfsPath = in.ExperimentalMounterRootfsPath out.RktAPIEndpoint = in.RktAPIEndpoint out.RktStage1Image = in.RktStage1Image out.LockFilePath = in.LockFilePath out.ExitOnLockContention = in.ExitOnLockContention - out.ConfigureCBR0 = in.ConfigureCBR0 out.HairpinMode = in.HairpinMode out.BabysitDaemons = in.BabysitDaemons out.MaxPods = in.MaxPods @@ -353,6 +392,35 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface } } +func DeepCopy_componentconfig_KubeletWebhookAuthentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletWebhookAuthentication) + out := out.(*KubeletWebhookAuthentication) + out.Enabled = in.Enabled + out.CacheTTL = in.CacheTTL + return nil + } +} + +func DeepCopy_componentconfig_KubeletWebhookAuthorization(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletWebhookAuthorization) + out := out.(*KubeletWebhookAuthorization) + out.CacheAuthorizedTTL = in.CacheAuthorizedTTL + out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL + return nil + } +} + +func DeepCopy_componentconfig_KubeletX509Authentication(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*KubeletX509Authentication) + out := out.(*KubeletX509Authentication) + out.ClientCAFile = in.ClientCAFile + return nil + } +} + func DeepCopy_componentconfig_LeaderElectionConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LeaderElectionConfiguration) diff --git a/pkg/apis/extensions/types.generated.go b/pkg/apis/extensions/types.generated.go index cb59f1ef..7f5ab239 100644 --- a/pkg/apis/extensions/types.generated.go +++ b/pkg/apis/extensions/types.generated.go @@ -3440,7 +3440,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep279 := !z.EncBinary() yy2arr279 := z.EncBasicHandle().StructToArray - var yyq279 [8]bool + var yyq279 [9]bool _, _, _ = yysep279, yyq279, yy2arr279 const yyr279 bool = false yyq279[0] = x.Replicas != 0 @@ -3450,9 +3450,10 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { yyq279[5] = x.RevisionHistoryLimit != nil yyq279[6] = x.Paused != false yyq279[7] = x.RollbackTo != nil + yyq279[8] = x.ProgressDeadlineSeconds != nil var yynn279 int if yyr279 || yy2arr279 { - r.EncodeArrayStart(8) + r.EncodeArrayStart(9) } else { yynn279 = 1 for _, b := range yyq279 { @@ -3659,6 +3660,41 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } + if yyr279 || yy2arr279 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq279[8] { + if x.ProgressDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy305 := *x.ProgressDeadlineSeconds + yym306 := z.EncBinary() + _ = yym306 + if false { + } else { + r.EncodeInt(int64(yy305)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq279[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("progressDeadlineSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ProgressDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy307 := *x.ProgressDeadlineSeconds + yym308 := z.EncBinary() + _ = yym308 + if false { + } else { + r.EncodeInt(int64(yy307)) + } + } + } + } if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -3672,25 +3708,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym304 := z.DecBinary() - _ = yym304 + yym309 := z.DecBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct305 := r.ContainerType() - if yyct305 == codecSelferValueTypeMap1234 { - yyl305 := r.ReadMapStart() - if yyl305 == 0 { + yyct310 := r.ContainerType() + if yyct310 == codecSelferValueTypeMap1234 { + yyl310 := r.ReadMapStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl305, d) + x.codecDecodeSelfFromMap(yyl310, d) } - } else if yyct305 == codecSelferValueTypeArray1234 { - yyl305 := r.ReadArrayStart() - if yyl305 == 0 { + } else if yyct310 == codecSelferValueTypeArray1234 { + yyl310 := r.ReadArrayStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl305, d) + x.codecDecodeSelfFromArray(yyl310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3702,12 +3738,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys306Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys306Slc - var yyhl306 bool = l >= 0 - for yyj306 := 0; ; yyj306++ { - if yyhl306 { - if yyj306 >= l { + var yys311Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys311Slc + var yyhl311 bool = l >= 0 + for yyj311 := 0; ; yyj311++ { + if yyhl311 { + if yyj311 >= l { break } } else { @@ -3716,10 +3752,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys306Slc = r.DecodeBytes(yys306Slc, true, true) - yys306 := string(yys306Slc) + yys311Slc = r.DecodeBytes(yys311Slc, true, true) + yys311 := string(yys311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys306 { + switch yys311 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -3735,8 +3771,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym309 := z.DecBinary() - _ = yym309 + yym314 := z.DecBinary() + _ = yym314 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -3747,15 +3783,15 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv310 := &x.Template - yyv310.CodecDecodeSelf(d) + yyv315 := &x.Template + yyv315.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv311 := &x.Strategy - yyv311.CodecDecodeSelf(d) + yyv316 := &x.Strategy + yyv316.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -3772,8 +3808,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym314 := z.DecBinary() - _ = yym314 + yym319 := z.DecBinary() + _ = yym319 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -3796,10 +3832,26 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } + case "progressDeadlineSeconds": + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil + } + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym323 := z.DecBinary() + _ = yym323 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } default: - z.DecStructFieldNotFound(-1, yys306) - } // end switch yys306 - } // end for yyj306 + z.DecStructFieldNotFound(-1, yys311) + } // end switch yys311 + } // end for yyj311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3807,16 +3859,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj317 int - var yyb317 bool - var yyhl317 bool = l >= 0 - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + var yyj324 int + var yyb324 bool + var yyhl324 bool = l >= 0 + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3826,13 +3878,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3845,21 +3897,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym320 := z.DecBinary() - _ = yym320 + yym327 := z.DecBinary() + _ = yym327 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3867,16 +3919,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv321 := &x.Template - yyv321.CodecDecodeSelf(d) + yyv328 := &x.Template + yyv328.CodecDecodeSelf(d) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3884,16 +3936,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv322 := &x.Strategy - yyv322.CodecDecodeSelf(d) + yyv329 := &x.Strategy + yyv329.CodecDecodeSelf(d) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3903,13 +3955,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3922,20 +3974,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym325 := z.DecBinary() - _ = yym325 + yym332 := z.DecBinary() + _ = yym332 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3945,13 +3997,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3966,18 +4018,44 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } - for { - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l - } else { - yyb317 = r.CheckBreak() + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l + } else { + yyb324 = r.CheckBreak() + } + if yyb324 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil } - if yyb317 { + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym336 := z.DecBinary() + _ = yym336 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } + for { + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l + } else { + yyb324 = r.CheckBreak() + } + if yyb324 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj317-1, "") + z.DecStructFieldNotFound(yyj324-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3989,37 +4067,37 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym328 := z.EncBinary() - _ = yym328 + yym337 := z.EncBinary() + _ = yym337 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[3] = len(x.UpdatedAnnotations) != 0 - var yynn329 int - if yyr329 || yy2arr329 { + yysep338 := !z.EncBinary() + yy2arr338 := z.EncBasicHandle().StructToArray + var yyq338 [5]bool + _, _, _ = yysep338, yyq338, yy2arr338 + const yyr338 bool = false + yyq338[0] = x.Kind != "" + yyq338[1] = x.APIVersion != "" + yyq338[3] = len(x.UpdatedAnnotations) != 0 + var yynn338 int + if yyr338 || yy2arr338 { r.EncodeArrayStart(5) } else { - yynn329 = 2 - for _, b := range yyq329 { + yynn338 = 2 + for _, b := range yyq338 { if b { - yynn329++ + yynn338++ } } - r.EncodeMapStart(yynn329) - yynn329 = 0 + r.EncodeMapStart(yynn338) + yynn338 = 0 } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[0] { - yym331 := z.EncBinary() - _ = yym331 + if yyq338[0] { + yym340 := z.EncBinary() + _ = yym340 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4028,23 +4106,23 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq329[0] { + if yyq338[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym332 := z.EncBinary() - _ = yym332 + yym341 := z.EncBinary() + _ = yym341 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[1] { - yym334 := z.EncBinary() - _ = yym334 + if yyq338[1] { + yym343 := z.EncBinary() + _ = yym343 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4053,22 +4131,22 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq329[1] { + if yyq338[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym335 := z.EncBinary() - _ = yym335 + yym344 := z.EncBinary() + _ = yym344 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym337 := z.EncBinary() - _ = yym337 + yym346 := z.EncBinary() + _ = yym346 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -4077,21 +4155,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym338 := z.EncBinary() - _ = yym338 + yym347 := z.EncBinary() + _ = yym347 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[3] { + if yyq338[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym340 := z.EncBinary() - _ = yym340 + yym349 := z.EncBinary() + _ = yym349 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -4101,15 +4179,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq329[3] { + if yyq338[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym341 := z.EncBinary() - _ = yym341 + yym350 := z.EncBinary() + _ = yym350 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -4117,18 +4195,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy343 := &x.RollbackTo - yy343.CodecEncodeSelf(e) + yy352 := &x.RollbackTo + yy352.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy344 := &x.RollbackTo - yy344.CodecEncodeSelf(e) + yy353 := &x.RollbackTo + yy353.CodecEncodeSelf(e) } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4141,25 +4219,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym345 := z.DecBinary() - _ = yym345 + yym354 := z.DecBinary() + _ = yym354 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct346 := r.ContainerType() - if yyct346 == codecSelferValueTypeMap1234 { - yyl346 := r.ReadMapStart() - if yyl346 == 0 { + yyct355 := r.ContainerType() + if yyct355 == codecSelferValueTypeMap1234 { + yyl355 := r.ReadMapStart() + if yyl355 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl346, d) + x.codecDecodeSelfFromMap(yyl355, d) } - } else if yyct346 == codecSelferValueTypeArray1234 { - yyl346 := r.ReadArrayStart() - if yyl346 == 0 { + } else if yyct355 == codecSelferValueTypeArray1234 { + yyl355 := r.ReadArrayStart() + if yyl355 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl346, d) + x.codecDecodeSelfFromArray(yyl355, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4171,12 +4249,12 @@ func (x *DeploymentRollback) 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 yys356Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys356Slc + var yyhl356 bool = l >= 0 + for yyj356 := 0; ; yyj356++ { + if yyhl356 { + if yyj356 >= l { break } } else { @@ -4185,10 +4263,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys347Slc = r.DecodeBytes(yys347Slc, true, true) - yys347 := string(yys347Slc) + yys356Slc = r.DecodeBytes(yys356Slc, true, true) + yys356 := string(yys356Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys347 { + switch yys356 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4211,25 +4289,25 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv351 := &x.UpdatedAnnotations - yym352 := z.DecBinary() - _ = yym352 + yyv360 := &x.UpdatedAnnotations + yym361 := z.DecBinary() + _ = yym361 if false { } else { - z.F.DecMapStringStringX(yyv351, false, d) + z.F.DecMapStringStringX(yyv360, false, d) } } case "rollbackTo": if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv353 := &x.RollbackTo - yyv353.CodecDecodeSelf(d) + yyv362 := &x.RollbackTo + yyv362.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys347) - } // end switch yys347 - } // end for yyj347 + z.DecStructFieldNotFound(-1, yys356) + } // end switch yys356 + } // end for yyj356 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4237,16 +4315,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj354 int - var yyb354 bool - var yyhl354 bool = l >= 0 - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + var yyj363 int + var yyb363 bool + var yyhl363 bool = l >= 0 + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4256,13 +4334,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4272,13 +4350,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4288,13 +4366,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4302,21 +4380,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv358 := &x.UpdatedAnnotations - yym359 := z.DecBinary() - _ = yym359 + yyv367 := &x.UpdatedAnnotations + yym368 := z.DecBinary() + _ = yym368 if false { } else { - z.F.DecMapStringStringX(yyv358, false, d) + z.F.DecMapStringStringX(yyv367, false, d) } } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4324,21 +4402,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv360 := &x.RollbackTo - yyv360.CodecDecodeSelf(d) + yyv369 := &x.RollbackTo + yyv369.CodecDecodeSelf(d) } for { - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj354-1, "") + z.DecStructFieldNotFound(yyj363-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4350,35 +4428,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym361 := z.EncBinary() - _ = yym361 + yym370 := z.EncBinary() + _ = yym370 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep362 := !z.EncBinary() - yy2arr362 := z.EncBasicHandle().StructToArray - var yyq362 [1]bool - _, _, _ = yysep362, yyq362, yy2arr362 - const yyr362 bool = false - yyq362[0] = x.Revision != 0 - var yynn362 int - if yyr362 || yy2arr362 { + yysep371 := !z.EncBinary() + yy2arr371 := z.EncBasicHandle().StructToArray + var yyq371 [1]bool + _, _, _ = yysep371, yyq371, yy2arr371 + const yyr371 bool = false + yyq371[0] = x.Revision != 0 + var yynn371 int + if yyr371 || yy2arr371 { r.EncodeArrayStart(1) } else { - yynn362 = 0 - for _, b := range yyq362 { + yynn371 = 0 + for _, b := range yyq371 { if b { - yynn362++ + yynn371++ } } - r.EncodeMapStart(yynn362) - yynn362 = 0 + r.EncodeMapStart(yynn371) + yynn371 = 0 } - if yyr362 || yy2arr362 { + if yyr371 || yy2arr371 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq362[0] { - yym364 := z.EncBinary() - _ = yym364 + if yyq371[0] { + yym373 := z.EncBinary() + _ = yym373 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -4387,19 +4465,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq362[0] { + if yyq371[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym365 := z.EncBinary() - _ = yym365 + yym374 := z.EncBinary() + _ = yym374 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr362 || yy2arr362 { + if yyr371 || yy2arr371 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4412,25 +4490,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym366 := z.DecBinary() - _ = yym366 + yym375 := z.DecBinary() + _ = yym375 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct367 := r.ContainerType() - if yyct367 == codecSelferValueTypeMap1234 { - yyl367 := r.ReadMapStart() - if yyl367 == 0 { + yyct376 := r.ContainerType() + if yyct376 == codecSelferValueTypeMap1234 { + yyl376 := r.ReadMapStart() + if yyl376 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl367, d) + x.codecDecodeSelfFromMap(yyl376, d) } - } else if yyct367 == codecSelferValueTypeArray1234 { - yyl367 := r.ReadArrayStart() - if yyl367 == 0 { + } else if yyct376 == codecSelferValueTypeArray1234 { + yyl376 := r.ReadArrayStart() + if yyl376 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl367, d) + x.codecDecodeSelfFromArray(yyl376, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4442,12 +4520,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys377Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys377Slc + var yyhl377 bool = l >= 0 + for yyj377 := 0; ; yyj377++ { + if yyhl377 { + if yyj377 >= l { break } } else { @@ -4456,10 +4534,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys368Slc = r.DecodeBytes(yys368Slc, true, true) - yys368 := string(yys368Slc) + yys377Slc = r.DecodeBytes(yys377Slc, true, true) + yys377 := string(yys377Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys368 { + switch yys377 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -4467,9 +4545,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys368) - } // end switch yys368 - } // end for yyj368 + z.DecStructFieldNotFound(-1, yys377) + } // end switch yys377 + } // end for yyj377 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4477,16 +4555,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj370 int - var yyb370 bool - var yyhl370 bool = l >= 0 - yyj370++ - if yyhl370 { - yyb370 = yyj370 > l + var yyj379 int + var yyb379 bool + var yyhl379 bool = l >= 0 + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l } else { - yyb370 = r.CheckBreak() + yyb379 = r.CheckBreak() } - if yyb370 { + if yyb379 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4497,17 +4575,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj370++ - if yyhl370 { - yyb370 = yyj370 > l + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l } else { - yyb370 = r.CheckBreak() + yyb379 = r.CheckBreak() } - if yyb370 { + if yyb379 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj370-1, "") + z.DecStructFieldNotFound(yyj379-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4519,49 +4597,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym372 := z.EncBinary() - _ = yym372 + yym381 := z.EncBinary() + _ = yym381 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep373 := !z.EncBinary() - yy2arr373 := z.EncBasicHandle().StructToArray - var yyq373 [2]bool - _, _, _ = yysep373, yyq373, yy2arr373 - const yyr373 bool = false - yyq373[0] = x.Type != "" - yyq373[1] = x.RollingUpdate != nil - var yynn373 int - if yyr373 || yy2arr373 { + yysep382 := !z.EncBinary() + yy2arr382 := z.EncBasicHandle().StructToArray + var yyq382 [2]bool + _, _, _ = yysep382, yyq382, yy2arr382 + const yyr382 bool = false + yyq382[0] = x.Type != "" + yyq382[1] = x.RollingUpdate != nil + var yynn382 int + if yyr382 || yy2arr382 { r.EncodeArrayStart(2) } else { - yynn373 = 0 - for _, b := range yyq373 { + yynn382 = 0 + for _, b := range yyq382 { if b { - yynn373++ + yynn382++ } } - r.EncodeMapStart(yynn373) - yynn373 = 0 + r.EncodeMapStart(yynn382) + yynn382 = 0 } - if yyr373 || yy2arr373 { + if yyr382 || yy2arr382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq373[0] { + if yyq382[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq373[0] { + if yyq382[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr373 || yy2arr373 { + if yyr382 || yy2arr382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq373[1] { + if yyq382[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -4571,7 +4649,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq373[1] { + if yyq382[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4582,7 +4660,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr373 || yy2arr373 { + if yyr382 || yy2arr382 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4595,25 +4673,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym376 := z.DecBinary() - _ = yym376 + yym385 := z.DecBinary() + _ = yym385 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct377 := r.ContainerType() - if yyct377 == codecSelferValueTypeMap1234 { - yyl377 := r.ReadMapStart() - if yyl377 == 0 { + yyct386 := r.ContainerType() + if yyct386 == codecSelferValueTypeMap1234 { + yyl386 := r.ReadMapStart() + if yyl386 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl377, d) + x.codecDecodeSelfFromMap(yyl386, d) } - } else if yyct377 == codecSelferValueTypeArray1234 { - yyl377 := r.ReadArrayStart() - if yyl377 == 0 { + } else if yyct386 == codecSelferValueTypeArray1234 { + yyl386 := r.ReadArrayStart() + if yyl386 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl377, d) + x.codecDecodeSelfFromArray(yyl386, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4625,12 +4703,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys378Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys378Slc - var yyhl378 bool = l >= 0 - for yyj378 := 0; ; yyj378++ { - if yyhl378 { - if yyj378 >= l { + var yys387Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys387Slc + var yyhl387 bool = l >= 0 + for yyj387 := 0; ; yyj387++ { + if yyhl387 { + if yyj387 >= l { break } } else { @@ -4639,10 +4717,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys378Slc = r.DecodeBytes(yys378Slc, true, true) - yys378 := string(yys378Slc) + yys387Slc = r.DecodeBytes(yys387Slc, true, true) + yys387 := string(yys387Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys378 { + switch yys387 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -4661,9 +4739,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys378) - } // end switch yys378 - } // end for yyj378 + z.DecStructFieldNotFound(-1, yys387) + } // end switch yys387 + } // end for yyj387 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4671,16 +4749,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj381 int - var yyb381 bool - var yyhl381 bool = l >= 0 - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + var yyj390 int + var yyb390 bool + var yyhl390 bool = l >= 0 + yyj390++ + if yyhl390 { + yyb390 = yyj390 > l } else { - yyb381 = r.CheckBreak() + yyb390 = r.CheckBreak() } - if yyb381 { + if yyb390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4690,13 +4768,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj390++ + if yyhl390 { + yyb390 = yyj390 > l } else { - yyb381 = r.CheckBreak() + yyb390 = r.CheckBreak() } - if yyb381 { + if yyb390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4712,17 +4790,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj390++ + if yyhl390 { + yyb390 = yyj390 > l } else { - yyb381 = r.CheckBreak() + yyb390 = r.CheckBreak() } - if yyb381 { + if yyb390 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj381-1, "") + z.DecStructFieldNotFound(yyj390-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4731,8 +4809,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym384 := z.EncBinary() - _ = yym384 + yym393 := z.EncBinary() + _ = yym393 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -4744,8 +4822,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym385 := z.DecBinary() - _ = yym385 + yym394 := z.DecBinary() + _ = yym394 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -4760,98 +4838,98 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym386 := z.EncBinary() - _ = yym386 + yym395 := z.EncBinary() + _ = yym395 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep387 := !z.EncBinary() - yy2arr387 := z.EncBasicHandle().StructToArray - var yyq387 [2]bool - _, _, _ = yysep387, yyq387, yy2arr387 - const yyr387 bool = false - yyq387[0] = true - yyq387[1] = true - var yynn387 int - if yyr387 || yy2arr387 { + yysep396 := !z.EncBinary() + yy2arr396 := z.EncBasicHandle().StructToArray + var yyq396 [2]bool + _, _, _ = yysep396, yyq396, yy2arr396 + const yyr396 bool = false + yyq396[0] = true + yyq396[1] = true + var yynn396 int + if yyr396 || yy2arr396 { r.EncodeArrayStart(2) } else { - yynn387 = 0 - for _, b := range yyq387 { + yynn396 = 0 + for _, b := range yyq396 { if b { - yynn387++ + yynn396++ } } - r.EncodeMapStart(yynn387) - yynn387 = 0 + r.EncodeMapStart(yynn396) + yynn396 = 0 } - if yyr387 || yy2arr387 { + if yyr396 || yy2arr396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[0] { - yy389 := &x.MaxUnavailable - yym390 := z.EncBinary() - _ = yym390 + if yyq396[0] { + yy398 := &x.MaxUnavailable + yym399 := z.EncBinary() + _ = yym399 if false { - } else if z.HasExtensions() && z.EncExt(yy389) { - } else if !yym390 && z.IsJSONHandle() { - z.EncJSONMarshal(yy389) + } else if z.HasExtensions() && z.EncExt(yy398) { + } else if !yym399 && z.IsJSONHandle() { + z.EncJSONMarshal(yy398) } else { - z.EncFallback(yy389) + z.EncFallback(yy398) } } else { r.EncodeNil() } } else { - if yyq387[0] { + if yyq396[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy391 := &x.MaxUnavailable - yym392 := z.EncBinary() - _ = yym392 + yy400 := &x.MaxUnavailable + yym401 := z.EncBinary() + _ = yym401 if false { - } else if z.HasExtensions() && z.EncExt(yy391) { - } else if !yym392 && z.IsJSONHandle() { - z.EncJSONMarshal(yy391) + } else if z.HasExtensions() && z.EncExt(yy400) { + } else if !yym401 && z.IsJSONHandle() { + z.EncJSONMarshal(yy400) } else { - z.EncFallback(yy391) + z.EncFallback(yy400) } } } - if yyr387 || yy2arr387 { + if yyr396 || yy2arr396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[1] { - yy394 := &x.MaxSurge - yym395 := z.EncBinary() - _ = yym395 + if yyq396[1] { + yy403 := &x.MaxSurge + yym404 := z.EncBinary() + _ = yym404 if false { - } else if z.HasExtensions() && z.EncExt(yy394) { - } else if !yym395 && z.IsJSONHandle() { - z.EncJSONMarshal(yy394) + } else if z.HasExtensions() && z.EncExt(yy403) { + } else if !yym404 && z.IsJSONHandle() { + z.EncJSONMarshal(yy403) } else { - z.EncFallback(yy394) + z.EncFallback(yy403) } } else { r.EncodeNil() } } else { - if yyq387[1] { + if yyq396[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy396 := &x.MaxSurge - yym397 := z.EncBinary() - _ = yym397 + yy405 := &x.MaxSurge + yym406 := z.EncBinary() + _ = yym406 if false { - } else if z.HasExtensions() && z.EncExt(yy396) { - } else if !yym397 && z.IsJSONHandle() { - z.EncJSONMarshal(yy396) + } else if z.HasExtensions() && z.EncExt(yy405) { + } else if !yym406 && z.IsJSONHandle() { + z.EncJSONMarshal(yy405) } else { - z.EncFallback(yy396) + z.EncFallback(yy405) } } } - if yyr387 || yy2arr387 { + if yyr396 || yy2arr396 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4864,25 +4942,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym398 := z.DecBinary() - _ = yym398 + yym407 := z.DecBinary() + _ = yym407 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct399 := r.ContainerType() - if yyct399 == codecSelferValueTypeMap1234 { - yyl399 := r.ReadMapStart() - if yyl399 == 0 { + yyct408 := r.ContainerType() + if yyct408 == codecSelferValueTypeMap1234 { + yyl408 := r.ReadMapStart() + if yyl408 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl399, d) + x.codecDecodeSelfFromMap(yyl408, d) } - } else if yyct399 == codecSelferValueTypeArray1234 { - yyl399 := r.ReadArrayStart() - if yyl399 == 0 { + } else if yyct408 == codecSelferValueTypeArray1234 { + yyl408 := r.ReadArrayStart() + if yyl408 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl399, d) + x.codecDecodeSelfFromArray(yyl408, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4894,12 +4972,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys400Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys400Slc - var yyhl400 bool = l >= 0 - for yyj400 := 0; ; yyj400++ { - if yyhl400 { - if yyj400 >= l { + var yys409Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys409Slc + var yyhl409 bool = l >= 0 + for yyj409 := 0; ; yyj409++ { + if yyhl409 { + if yyj409 >= l { break } } else { @@ -4908,44 +4986,44 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys400Slc = r.DecodeBytes(yys400Slc, true, true) - yys400 := string(yys400Slc) + yys409Slc = r.DecodeBytes(yys409Slc, true, true) + yys409 := string(yys409Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys400 { + switch yys409 { case "maxUnavailable": if r.TryDecodeAsNil() { x.MaxUnavailable = pkg5_intstr.IntOrString{} } else { - yyv401 := &x.MaxUnavailable - yym402 := z.DecBinary() - _ = yym402 + yyv410 := &x.MaxUnavailable + yym411 := z.DecBinary() + _ = yym411 if false { - } else if z.HasExtensions() && z.DecExt(yyv401) { - } else if !yym402 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv401) + } else if z.HasExtensions() && z.DecExt(yyv410) { + } else if !yym411 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv410) } else { - z.DecFallback(yyv401, false) + z.DecFallback(yyv410, false) } } case "maxSurge": if r.TryDecodeAsNil() { x.MaxSurge = pkg5_intstr.IntOrString{} } else { - yyv403 := &x.MaxSurge - yym404 := z.DecBinary() - _ = yym404 + yyv412 := &x.MaxSurge + yym413 := z.DecBinary() + _ = yym413 if false { - } else if z.HasExtensions() && z.DecExt(yyv403) { - } else if !yym404 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv403) + } else if z.HasExtensions() && z.DecExt(yyv412) { + } else if !yym413 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv412) } else { - z.DecFallback(yyv403, false) + z.DecFallback(yyv412, false) } } default: - z.DecStructFieldNotFound(-1, yys400) - } // end switch yys400 - } // end for yyj400 + z.DecStructFieldNotFound(-1, yys409) + } // end switch yys409 + } // end for yyj409 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4953,16 +5031,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj405 int - var yyb405 bool - var yyhl405 bool = l >= 0 - yyj405++ - if yyhl405 { - yyb405 = yyj405 > l + var yyj414 int + var yyb414 bool + var yyhl414 bool = l >= 0 + yyj414++ + if yyhl414 { + yyb414 = yyj414 > l } else { - yyb405 = r.CheckBreak() + yyb414 = r.CheckBreak() } - if yyb405 { + if yyb414 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4970,24 +5048,24 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxUnavailable = pkg5_intstr.IntOrString{} } else { - yyv406 := &x.MaxUnavailable - yym407 := z.DecBinary() - _ = yym407 + yyv415 := &x.MaxUnavailable + yym416 := z.DecBinary() + _ = yym416 if false { - } else if z.HasExtensions() && z.DecExt(yyv406) { - } else if !yym407 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv406) + } else if z.HasExtensions() && z.DecExt(yyv415) { + } else if !yym416 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv415) } else { - z.DecFallback(yyv406, false) + z.DecFallback(yyv415, false) } } - yyj405++ - if yyhl405 { - yyb405 = yyj405 > l + yyj414++ + if yyhl414 { + yyb414 = yyj414 > l } else { - yyb405 = r.CheckBreak() + yyb414 = r.CheckBreak() } - if yyb405 { + if yyb414 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4995,29 +5073,29 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxSurge = pkg5_intstr.IntOrString{} } else { - yyv408 := &x.MaxSurge - yym409 := z.DecBinary() - _ = yym409 + yyv417 := &x.MaxSurge + yym418 := z.DecBinary() + _ = yym418 if false { - } else if z.HasExtensions() && z.DecExt(yyv408) { - } else if !yym409 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv408) + } else if z.HasExtensions() && z.DecExt(yyv417) { + } else if !yym418 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv417) } else { - z.DecFallback(yyv408, false) + z.DecFallback(yyv417, false) } } for { - yyj405++ - if yyhl405 { - yyb405 = yyj405 > l + yyj414++ + if yyhl414 { + yyb414 = yyj414 > l } else { - yyb405 = r.CheckBreak() + yyb414 = r.CheckBreak() } - if yyb405 { + if yyb414 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj405-1, "") + z.DecStructFieldNotFound(yyj414-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5029,139 +5107,140 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym410 := z.EncBinary() - _ = yym410 + yym419 := z.EncBinary() + _ = yym419 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep411 := !z.EncBinary() - yy2arr411 := z.EncBasicHandle().StructToArray - var yyq411 [5]bool - _, _, _ = yysep411, yyq411, yy2arr411 - const yyr411 bool = false - yyq411[0] = x.ObservedGeneration != 0 - yyq411[1] = x.Replicas != 0 - yyq411[2] = x.UpdatedReplicas != 0 - yyq411[3] = x.AvailableReplicas != 0 - yyq411[4] = x.UnavailableReplicas != 0 - var yynn411 int - if yyr411 || yy2arr411 { - r.EncodeArrayStart(5) + yysep420 := !z.EncBinary() + yy2arr420 := z.EncBasicHandle().StructToArray + var yyq420 [6]bool + _, _, _ = yysep420, yyq420, yy2arr420 + const yyr420 bool = false + yyq420[0] = x.ObservedGeneration != 0 + yyq420[1] = x.Replicas != 0 + yyq420[2] = x.UpdatedReplicas != 0 + yyq420[3] = x.AvailableReplicas != 0 + yyq420[4] = x.UnavailableReplicas != 0 + yyq420[5] = len(x.Conditions) != 0 + var yynn420 int + if yyr420 || yy2arr420 { + r.EncodeArrayStart(6) } else { - yynn411 = 0 - for _, b := range yyq411 { + yynn420 = 0 + for _, b := range yyq420 { if b { - yynn411++ + yynn420++ } } - r.EncodeMapStart(yynn411) - yynn411 = 0 + r.EncodeMapStart(yynn420) + yynn420 = 0 } - if yyr411 || yy2arr411 { + if yyr420 || yy2arr420 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[0] { - yym413 := z.EncBinary() - _ = yym413 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq411[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym414 := z.EncBinary() - _ = yym414 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } - } - if yyr411 || yy2arr411 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[1] { - yym416 := z.EncBinary() - _ = yym416 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq411[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym417 := z.EncBinary() - _ = yym417 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - } - if yyr411 || yy2arr411 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[2] { - yym419 := z.EncBinary() - _ = yym419 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq411[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym420 := z.EncBinary() - _ = yym420 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } - } - if yyr411 || yy2arr411 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[3] { + if yyq420[0] { yym422 := z.EncBinary() _ = yym422 if false { } else { - r.EncodeInt(int64(x.AvailableReplicas)) + r.EncodeInt(int64(x.ObservedGeneration)) } } else { r.EncodeInt(0) } } else { - if yyq411[3] { + if yyq420[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym423 := z.EncBinary() _ = yym423 if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } + } + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[1] { + yym425 := z.EncBinary() + _ = yym425 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq420[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym426 := z.EncBinary() + _ = yym426 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + } + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[2] { + yym428 := z.EncBinary() + _ = yym428 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq420[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym429 := z.EncBinary() + _ = yym429 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } + } + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[3] { + yym431 := z.EncBinary() + _ = yym431 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq420[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym432 := z.EncBinary() + _ = yym432 + if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr411 || yy2arr411 { + if yyr420 || yy2arr420 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[4] { - yym425 := z.EncBinary() - _ = yym425 + if yyq420[4] { + yym434 := z.EncBinary() + _ = yym434 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) @@ -5170,19 +5249,52 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq411[4] { + if yyq420[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym426 := z.EncBinary() - _ = yym426 + yym435 := z.EncBinary() + _ = yym435 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr411 || yy2arr411 { + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym437 := z.EncBinary() + _ = yym437 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq420[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("conditions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Conditions == nil { + r.EncodeNil() + } else { + yym438 := z.EncBinary() + _ = yym438 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } + } + if yyr420 || yy2arr420 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5195,25 +5307,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym427 := z.DecBinary() - _ = yym427 + yym439 := z.DecBinary() + _ = yym439 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct428 := r.ContainerType() - if yyct428 == codecSelferValueTypeMap1234 { - yyl428 := r.ReadMapStart() - if yyl428 == 0 { + yyct440 := r.ContainerType() + if yyct440 == codecSelferValueTypeMap1234 { + yyl440 := r.ReadMapStart() + if yyl440 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl428, d) + x.codecDecodeSelfFromMap(yyl440, d) } - } else if yyct428 == codecSelferValueTypeArray1234 { - yyl428 := r.ReadArrayStart() - if yyl428 == 0 { + } else if yyct440 == codecSelferValueTypeArray1234 { + yyl440 := r.ReadArrayStart() + if yyl440 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl428, d) + x.codecDecodeSelfFromArray(yyl440, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5225,12 +5337,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys429Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys429Slc - var yyhl429 bool = l >= 0 - for yyj429 := 0; ; yyj429++ { - if yyhl429 { - if yyj429 >= l { + var yys441Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys441Slc + var yyhl441 bool = l >= 0 + for yyj441 := 0; ; yyj441++ { + if yyhl441 { + if yyj441 >= l { break } } else { @@ -5239,10 +5351,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys429Slc = r.DecodeBytes(yys429Slc, true, true) - yys429 := string(yys429Slc) + yys441Slc = r.DecodeBytes(yys441Slc, true, true) + yys441 := string(yys441Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys429 { + switch yys441 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -5273,10 +5385,22 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv447 := &x.Conditions + yym448 := z.DecBinary() + _ = yym448 + if false { + } else { + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv447), d) + } + } default: - z.DecStructFieldNotFound(-1, yys429) - } // end switch yys429 - } // end for yyj429 + z.DecStructFieldNotFound(-1, yys441) + } // end switch yys441 + } // end for yyj441 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5284,16 +5408,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj435 int - var yyb435 bool - var yyhl435 bool = l >= 0 - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + var yyj449 int + var yyb449 bool + var yyhl449 bool = l >= 0 + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5303,13 +5427,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5319,13 +5443,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5335,13 +5459,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5351,13 +5475,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5367,444 +5491,259 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } - for { - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l + } else { + yyb449 = r.CheckBreak() + } + if yyb449 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv455 := &x.Conditions + yym456 := z.DecBinary() + _ = yym456 + if false { } else { - yyb435 = r.CheckBreak() + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv455), d) } - if yyb435 { + } + for { + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l + } else { + yyb449 = r.CheckBreak() + } + if yyb449 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj435-1, "") + z.DecStructFieldNotFound(yyj449-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x DeploymentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - if x == nil { - r.EncodeNil() + yym457 := z.EncBinary() + _ = yym457 + if false { + } else if z.HasExtensions() && z.EncExt(x) { } else { - yym441 := z.EncBinary() - _ = yym441 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep442 := !z.EncBinary() - yy2arr442 := z.EncBasicHandle().StructToArray - var yyq442 [4]bool - _, _, _ = yysep442, yyq442, yy2arr442 - const yyr442 bool = false - yyq442[0] = x.Kind != "" - yyq442[1] = x.APIVersion != "" - yyq442[2] = true - var yynn442 int - if yyr442 || yy2arr442 { - r.EncodeArrayStart(4) - } else { - yynn442 = 1 - for _, b := range yyq442 { - if b { - yynn442++ - } - } - r.EncodeMapStart(yynn442) - yynn442 = 0 - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[0] { - yym444 := z.EncBinary() - _ = yym444 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq442[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym445 := z.EncBinary() - _ = yym445 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[1] { - yym447 := z.EncBinary() - _ = yym447 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq442[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym448 := z.EncBinary() - _ = yym448 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[2] { - yy450 := &x.ListMeta - yym451 := z.EncBinary() - _ = yym451 - if false { - } else if z.HasExtensions() && z.EncExt(yy450) { - } else { - z.EncFallback(yy450) - } - } else { - r.EncodeNil() - } - } else { - if yyq442[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy452 := &x.ListMeta - yym453 := z.EncBinary() - _ = yym453 - if false { - } else if z.HasExtensions() && z.EncExt(yy452) { - } else { - z.EncFallback(yy452) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym455 := z.EncBinary() - _ = yym455 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym456 := z.EncBinary() - _ = yym456 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } + r.EncodeString(codecSelferC_UTF81234, string(x)) } } -func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DeploymentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym457 := z.DecBinary() - _ = yym457 + yym458 := z.DecBinary() + _ = yym458 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct458 := r.ContainerType() - if yyct458 == codecSelferValueTypeMap1234 { - yyl458 := r.ReadMapStart() - if yyl458 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl458, d) - } - } else if yyct458 == codecSelferValueTypeArray1234 { - yyl458 := r.ReadArrayStart() - if yyl458 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl458, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } + *((*string)(x)) = r.DecodeString() } } -func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys459Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys459Slc - var yyhl459 bool = l >= 0 - for yyj459 := 0; ; yyj459++ { - if yyhl459 { - if yyj459 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys459Slc = r.DecodeBytes(yys459Slc, true, true) - yys459 := string(yys459Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys459 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv462 := &x.ListMeta - yym463 := z.DecBinary() - _ = yym463 - if false { - } else if z.HasExtensions() && z.DecExt(yyv462) { - } else { - z.DecFallback(yyv462, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv464 := &x.Items - yym465 := z.DecBinary() - _ = yym465 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv464), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys459) - } // end switch yys459 - } // end for yyj459 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj466 int - var yyb466 bool - var yyhl466 bool = l >= 0 - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv469 := &x.ListMeta - yym470 := z.DecBinary() - _ = yym470 - if false { - } else if z.HasExtensions() && z.DecExt(yyv469) { - } else { - z.DecFallback(yyv469, false) - } - } - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv471 := &x.Items - yym472 := z.DecBinary() - _ = yym472 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv471), d) - } - } - for { - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj466-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym473 := z.EncBinary() - _ = yym473 + yym459 := z.EncBinary() + _ = yym459 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep474 := !z.EncBinary() - yy2arr474 := z.EncBasicHandle().StructToArray - var yyq474 [2]bool - _, _, _ = yysep474, yyq474, yy2arr474 - const yyr474 bool = false - yyq474[0] = x.Selector != nil - var yynn474 int - if yyr474 || yy2arr474 { - r.EncodeArrayStart(2) + yysep460 := !z.EncBinary() + yy2arr460 := z.EncBasicHandle().StructToArray + var yyq460 [6]bool + _, _, _ = yysep460, yyq460, yy2arr460 + const yyr460 bool = false + yyq460[2] = true + yyq460[3] = true + yyq460[4] = x.Reason != "" + yyq460[5] = x.Message != "" + var yynn460 int + if yyr460 || yy2arr460 { + r.EncodeArrayStart(6) } else { - yynn474 = 1 - for _, b := range yyq474 { + yynn460 = 2 + for _, b := range yyq460 { if b { - yynn474++ + yynn460++ } } - r.EncodeMapStart(yynn474) - yynn474 = 0 + r.EncodeMapStart(yynn460) + yynn460 = 0 } - if yyr474 || yy2arr474 { + if yyr460 || yy2arr460 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq474[0] { - if x.Selector == nil { - r.EncodeNil() + x.Type.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym463 := z.EncBinary() + _ = yym463 + 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) + yym464 := z.EncBinary() + _ = yym464 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } + } + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq460[2] { + yy466 := &x.LastUpdateTime + yym467 := z.EncBinary() + _ = yym467 + if false { + } else if z.HasExtensions() && z.EncExt(yy466) { + } else if yym467 { + z.EncBinaryMarshal(yy466) + } else if !yym467 && z.IsJSONHandle() { + z.EncJSONMarshal(yy466) } else { - yym476 := z.EncBinary() - _ = yym476 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + z.EncFallback(yy466) } } else { r.EncodeNil() } } else { - if yyq474[0] { + if yyq460[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) + r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() + yy468 := &x.LastUpdateTime + yym469 := z.EncBinary() + _ = yym469 + if false { + } else if z.HasExtensions() && z.EncExt(yy468) { + } else if yym469 { + z.EncBinaryMarshal(yy468) + } else if !yym469 && z.IsJSONHandle() { + z.EncJSONMarshal(yy468) } else { - yym477 := z.EncBinary() - _ = yym477 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + z.EncFallback(yy468) } } } - if yyr474 || yy2arr474 { + if yyr460 || yy2arr460 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy479 := &x.Template - yy479.CodecEncodeSelf(e) + if yyq460[3] { + yy471 := &x.LastTransitionTime + yym472 := z.EncBinary() + _ = yym472 + if false { + } else if z.HasExtensions() && z.EncExt(yy471) { + } else if yym472 { + z.EncBinaryMarshal(yy471) + } else if !yym472 && z.IsJSONHandle() { + z.EncJSONMarshal(yy471) + } else { + z.EncFallback(yy471) + } + } else { + r.EncodeNil() + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy480 := &x.Template - yy480.CodecEncodeSelf(e) + if yyq460[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy473 := &x.LastTransitionTime + yym474 := z.EncBinary() + _ = yym474 + if false { + } else if z.HasExtensions() && z.EncExt(yy473) { + } else if yym474 { + z.EncBinaryMarshal(yy473) + } else if !yym474 && z.IsJSONHandle() { + z.EncJSONMarshal(yy473) + } else { + z.EncFallback(yy473) + } + } } - if yyr474 || yy2arr474 { + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq460[4] { + yym476 := z.EncBinary() + _ = yym476 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq460[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym477 := z.EncBinary() + _ = yym477 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq460[5] { + yym479 := z.EncBinary() + _ = yym479 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq460[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym480 := z.EncBinary() + _ = yym480 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr460 || yy2arr460 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5813,7 +5752,7 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DeploymentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5843,7 +5782,7 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DeploymentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5865,6 +5804,694 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys483 := string(yys483Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys483 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_api.ConditionStatus(r.DecodeString()) + } + case "lastUpdateTime": + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv486 := &x.LastUpdateTime + yym487 := z.DecBinary() + _ = yym487 + if false { + } else if z.HasExtensions() && z.DecExt(yyv486) { + } else if yym487 { + z.DecBinaryUnmarshal(yyv486) + } else if !yym487 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv486) + } else { + z.DecFallback(yyv486, false) + } + } + case "lastTransitionTime": + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv488 := &x.LastTransitionTime + yym489 := z.DecBinary() + _ = yym489 + if false { + } else if z.HasExtensions() && z.DecExt(yyv488) { + } else if yym489 { + z.DecBinaryUnmarshal(yyv488) + } else if !yym489 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv488) + } else { + z.DecFallback(yyv488, 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, yys483) + } // end switch yys483 + } // end for yyj483 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj492 int + var yyb492 bool + var yyhl492 bool = l >= 0 + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_api.ConditionStatus(r.DecodeString()) + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv495 := &x.LastUpdateTime + yym496 := z.DecBinary() + _ = yym496 + if false { + } else if z.HasExtensions() && z.DecExt(yyv495) { + } else if yym496 { + z.DecBinaryUnmarshal(yyv495) + } else if !yym496 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv495) + } else { + z.DecFallback(yyv495, false) + } + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv497 := &x.LastTransitionTime + yym498 := z.DecBinary() + _ = yym498 + if false { + } else if z.HasExtensions() && z.DecExt(yyv497) { + } else if yym498 { + z.DecBinaryUnmarshal(yyv497) + } else if !yym498 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv497) + } else { + z.DecFallback(yyv497, false) + } + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj492-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym501 := z.EncBinary() + _ = yym501 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep502 := !z.EncBinary() + yy2arr502 := z.EncBasicHandle().StructToArray + var yyq502 [4]bool + _, _, _ = yysep502, yyq502, yy2arr502 + const yyr502 bool = false + yyq502[0] = x.Kind != "" + yyq502[1] = x.APIVersion != "" + yyq502[2] = true + var yynn502 int + if yyr502 || yy2arr502 { + r.EncodeArrayStart(4) + } else { + yynn502 = 1 + for _, b := range yyq502 { + if b { + yynn502++ + } + } + r.EncodeMapStart(yynn502) + yynn502 = 0 + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq502[0] { + yym504 := z.EncBinary() + _ = yym504 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq502[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym505 := z.EncBinary() + _ = yym505 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq502[1] { + yym507 := z.EncBinary() + _ = yym507 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq502[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym508 := z.EncBinary() + _ = yym508 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq502[2] { + yy510 := &x.ListMeta + yym511 := z.EncBinary() + _ = yym511 + if false { + } else if z.HasExtensions() && z.EncExt(yy510) { + } else { + z.EncFallback(yy510) + } + } else { + r.EncodeNil() + } + } else { + if yyq502[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy512 := &x.ListMeta + yym513 := z.EncBinary() + _ = yym513 + if false { + } else if z.HasExtensions() && z.EncExt(yy512) { + } else { + z.EncFallback(yy512) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym515 := z.EncBinary() + _ = yym515 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym516 := z.EncBinary() + _ = yym516 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym517 := z.DecBinary() + _ = yym517 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct518 := r.ContainerType() + if yyct518 == codecSelferValueTypeMap1234 { + yyl518 := r.ReadMapStart() + if yyl518 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl518, d) + } + } else if yyct518 == codecSelferValueTypeArray1234 { + yyl518 := r.ReadArrayStart() + if yyl518 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl518, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys519Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys519Slc + var yyhl519 bool = l >= 0 + for yyj519 := 0; ; yyj519++ { + if yyhl519 { + if yyj519 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys519Slc = r.DecodeBytes(yys519Slc, true, true) + yys519 := string(yys519Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys519 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv522 := &x.ListMeta + yym523 := z.DecBinary() + _ = yym523 + if false { + } else if z.HasExtensions() && z.DecExt(yyv522) { + } else { + z.DecFallback(yyv522, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv524 := &x.Items + yym525 := z.DecBinary() + _ = yym525 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv524), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys519) + } // end switch yys519 + } // end for yyj519 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj526 int + var yyb526 bool + var yyhl526 bool = l >= 0 + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv529 := &x.ListMeta + yym530 := z.DecBinary() + _ = yym530 + if false { + } else if z.HasExtensions() && z.DecExt(yyv529) { + } else { + z.DecFallback(yyv529, false) + } + } + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv531 := &x.Items + yym532 := z.DecBinary() + _ = yym532 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv531), d) + } + } + for { + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj526-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym533 := z.EncBinary() + _ = yym533 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep534 := !z.EncBinary() + yy2arr534 := z.EncBasicHandle().StructToArray + var yyq534 [2]bool + _, _, _ = yysep534, yyq534, yy2arr534 + const yyr534 bool = false + yyq534[0] = x.Selector != nil + var yynn534 int + if yyr534 || yy2arr534 { + r.EncodeArrayStart(2) + } else { + yynn534 = 1 + for _, b := range yyq534 { + if b { + yynn534++ + } + } + r.EncodeMapStart(yynn534) + yynn534 = 0 + } + if yyr534 || yy2arr534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq534[0] { + if x.Selector == nil { + r.EncodeNil() + } else { + yym536 := z.EncBinary() + _ = yym536 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq534[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym537 := z.EncBinary() + _ = yym537 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } + } + if yyr534 || yy2arr534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy539 := &x.Template + yy539.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy540 := &x.Template + yy540.CodecEncodeSelf(e) + } + if yyr534 || yy2arr534 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym541 := z.DecBinary() + _ = yym541 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct542 := r.ContainerType() + if yyct542 == codecSelferValueTypeMap1234 { + yyl542 := r.ReadMapStart() + if yyl542 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl542, d) + } + } else if yyct542 == codecSelferValueTypeArray1234 { + yyl542 := r.ReadArrayStart() + if yyl542 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl542, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys543Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys543Slc + var yyhl543 bool = l >= 0 + for yyj543 := 0; ; yyj543++ { + if yyhl543 { + if yyj543 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys543Slc = r.DecodeBytes(yys543Slc, true, true) + yys543 := string(yys543Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys543 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -5874,8 +6501,8 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym485 := z.DecBinary() - _ = yym485 + yym545 := z.DecBinary() + _ = yym545 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -5886,13 +6513,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv486 := &x.Template - yyv486.CodecDecodeSelf(d) + yyv546 := &x.Template + yyv546.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys483) - } // end switch yys483 - } // end for yyj483 + z.DecStructFieldNotFound(-1, yys543) + } // end switch yys543 + } // end for yyj543 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5900,16 +6527,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj487 int - var yyb487 bool - var yyhl487 bool = l >= 0 - yyj487++ - if yyhl487 { - yyb487 = yyj487 > l + var yyj547 int + var yyb547 bool + var yyhl547 bool = l >= 0 + yyj547++ + if yyhl547 { + yyb547 = yyj547 > l } else { - yyb487 = r.CheckBreak() + yyb547 = r.CheckBreak() } - if yyb487 { + if yyb547 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5922,21 +6549,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym489 := z.DecBinary() - _ = yym489 + yym549 := z.DecBinary() + _ = yym549 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj487++ - if yyhl487 { - yyb487 = yyj487 > l + yyj547++ + if yyhl547 { + yyb547 = yyj547 > l } else { - yyb487 = r.CheckBreak() + yyb547 = r.CheckBreak() } - if yyb487 { + if yyb547 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5944,21 +6571,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv490 := &x.Template - yyv490.CodecDecodeSelf(d) + yyv550 := &x.Template + yyv550.CodecDecodeSelf(d) } for { - yyj487++ - if yyhl487 { - yyb487 = yyj487 > l + yyj547++ + if yyhl547 { + yyb547 = yyj547 > l } else { - yyb487 = r.CheckBreak() + yyb547 = r.CheckBreak() } - if yyb487 { + if yyb547 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj487-1, "") + z.DecStructFieldNotFound(yyj547-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5970,33 +6597,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym491 := z.EncBinary() - _ = yym491 + yym551 := z.EncBinary() + _ = yym551 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep492 := !z.EncBinary() - yy2arr492 := z.EncBasicHandle().StructToArray - var yyq492 [4]bool - _, _, _ = yysep492, yyq492, yy2arr492 - const yyr492 bool = false - var yynn492 int - if yyr492 || yy2arr492 { + yysep552 := !z.EncBinary() + yy2arr552 := z.EncBasicHandle().StructToArray + var yyq552 [4]bool + _, _, _ = yysep552, yyq552, yy2arr552 + const yyr552 bool = false + var yynn552 int + if yyr552 || yy2arr552 { r.EncodeArrayStart(4) } else { - yynn492 = 4 - for _, b := range yyq492 { + yynn552 = 4 + for _, b := range yyq552 { if b { - yynn492++ + yynn552++ } } - r.EncodeMapStart(yynn492) - yynn492 = 0 + r.EncodeMapStart(yynn552) + yynn552 = 0 } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym494 := z.EncBinary() - _ = yym494 + yym554 := z.EncBinary() + _ = yym554 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -6005,17 +6632,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym495 := z.EncBinary() - _ = yym495 + yym555 := z.EncBinary() + _ = yym555 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym497 := z.EncBinary() - _ = yym497 + yym557 := z.EncBinary() + _ = yym557 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -6024,17 +6651,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym498 := z.EncBinary() - _ = yym498 + yym558 := z.EncBinary() + _ = yym558 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym500 := z.EncBinary() - _ = yym500 + yym560 := z.EncBinary() + _ = yym560 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -6043,17 +6670,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym501 := z.EncBinary() - _ = yym501 + yym561 := z.EncBinary() + _ = yym561 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym503 := z.EncBinary() - _ = yym503 + yym563 := z.EncBinary() + _ = yym563 if false { } else { r.EncodeInt(int64(x.NumberReady)) @@ -6062,14 +6689,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberReady")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym504 := z.EncBinary() - _ = yym504 + yym564 := z.EncBinary() + _ = yym564 if false { } else { r.EncodeInt(int64(x.NumberReady)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6082,25 +6709,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym505 := z.DecBinary() - _ = yym505 + yym565 := z.DecBinary() + _ = yym565 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct506 := r.ContainerType() - if yyct506 == codecSelferValueTypeMap1234 { - yyl506 := r.ReadMapStart() - if yyl506 == 0 { + yyct566 := r.ContainerType() + if yyct566 == codecSelferValueTypeMap1234 { + yyl566 := r.ReadMapStart() + if yyl566 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl506, d) + x.codecDecodeSelfFromMap(yyl566, d) } - } else if yyct506 == codecSelferValueTypeArray1234 { - yyl506 := r.ReadArrayStart() - if yyl506 == 0 { + } else if yyct566 == codecSelferValueTypeArray1234 { + yyl566 := r.ReadArrayStart() + if yyl566 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl506, d) + x.codecDecodeSelfFromArray(yyl566, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6112,12 +6739,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys507Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys507Slc - var yyhl507 bool = l >= 0 - for yyj507 := 0; ; yyj507++ { - if yyhl507 { - if yyj507 >= l { + var yys567Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys567Slc + var yyhl567 bool = l >= 0 + for yyj567 := 0; ; yyj567++ { + if yyhl567 { + if yyj567 >= l { break } } else { @@ -6126,10 +6753,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys507Slc = r.DecodeBytes(yys507Slc, true, true) - yys507 := string(yys507Slc) + yys567Slc = r.DecodeBytes(yys567Slc, true, true) + yys567 := string(yys567Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys507 { + switch yys567 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -6155,9 +6782,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NumberReady = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys507) - } // end switch yys507 - } // end for yyj507 + z.DecStructFieldNotFound(-1, yys567) + } // end switch yys567 + } // end for yyj567 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6165,16 +6792,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj512 int - var yyb512 bool - var yyhl512 bool = l >= 0 - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + var yyj572 int + var yyb572 bool + var yyhl572 bool = l >= 0 + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6184,13 +6811,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6200,13 +6827,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6216,13 +6843,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6233,17 +6860,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.NumberReady = int32(r.DecodeInt(32)) } for { - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj512-1, "") + z.DecStructFieldNotFound(yyj572-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6255,39 +6882,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym517 := z.EncBinary() - _ = yym517 + yym577 := z.EncBinary() + _ = yym577 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep518 := !z.EncBinary() - yy2arr518 := z.EncBasicHandle().StructToArray - var yyq518 [5]bool - _, _, _ = yysep518, yyq518, yy2arr518 - const yyr518 bool = false - yyq518[0] = x.Kind != "" - yyq518[1] = x.APIVersion != "" - yyq518[2] = true - yyq518[3] = true - yyq518[4] = true - var yynn518 int - if yyr518 || yy2arr518 { + yysep578 := !z.EncBinary() + yy2arr578 := z.EncBasicHandle().StructToArray + var yyq578 [5]bool + _, _, _ = yysep578, yyq578, yy2arr578 + const yyr578 bool = false + yyq578[0] = x.Kind != "" + yyq578[1] = x.APIVersion != "" + yyq578[2] = true + yyq578[3] = true + yyq578[4] = true + var yynn578 int + if yyr578 || yy2arr578 { r.EncodeArrayStart(5) } else { - yynn518 = 0 - for _, b := range yyq518 { + yynn578 = 0 + for _, b := range yyq578 { if b { - yynn518++ + yynn578++ } } - r.EncodeMapStart(yynn518) - yynn518 = 0 + r.EncodeMapStart(yynn578) + yynn578 = 0 } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[0] { - yym520 := z.EncBinary() - _ = yym520 + if yyq578[0] { + yym580 := z.EncBinary() + _ = yym580 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6296,23 +6923,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq518[0] { + if yyq578[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym521 := z.EncBinary() - _ = yym521 + yym581 := z.EncBinary() + _ = yym581 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[1] { - yym523 := z.EncBinary() - _ = yym523 + if yyq578[1] { + yym583 := z.EncBinary() + _ = yym583 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6321,70 +6948,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq518[1] { + if yyq578[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym524 := z.EncBinary() - _ = yym524 + yym584 := z.EncBinary() + _ = yym584 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[2] { - yy526 := &x.ObjectMeta - yy526.CodecEncodeSelf(e) + if yyq578[2] { + yy586 := &x.ObjectMeta + yy586.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq518[2] { + if yyq578[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy527 := &x.ObjectMeta - yy527.CodecEncodeSelf(e) + yy587 := &x.ObjectMeta + yy587.CodecEncodeSelf(e) } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[3] { - yy529 := &x.Spec - yy529.CodecEncodeSelf(e) + if yyq578[3] { + yy589 := &x.Spec + yy589.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq518[3] { + if yyq578[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy530 := &x.Spec - yy530.CodecEncodeSelf(e) + yy590 := &x.Spec + yy590.CodecEncodeSelf(e) } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[4] { - yy532 := &x.Status - yy532.CodecEncodeSelf(e) + if yyq578[4] { + yy592 := &x.Status + yy592.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq518[4] { + if yyq578[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy533 := &x.Status - yy533.CodecEncodeSelf(e) + yy593 := &x.Status + yy593.CodecEncodeSelf(e) } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6397,25 +7024,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym534 := z.DecBinary() - _ = yym534 + yym594 := z.DecBinary() + _ = yym594 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct535 := r.ContainerType() - if yyct535 == codecSelferValueTypeMap1234 { - yyl535 := r.ReadMapStart() - if yyl535 == 0 { + yyct595 := r.ContainerType() + if yyct595 == codecSelferValueTypeMap1234 { + yyl595 := r.ReadMapStart() + if yyl595 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl535, d) + x.codecDecodeSelfFromMap(yyl595, d) } - } else if yyct535 == codecSelferValueTypeArray1234 { - yyl535 := r.ReadArrayStart() - if yyl535 == 0 { + } else if yyct595 == codecSelferValueTypeArray1234 { + yyl595 := r.ReadArrayStart() + if yyl595 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl535, d) + x.codecDecodeSelfFromArray(yyl595, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6427,12 +7054,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys536Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys536Slc - var yyhl536 bool = l >= 0 - for yyj536 := 0; ; yyj536++ { - if yyhl536 { - if yyj536 >= l { + var yys596Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys596Slc + var yyhl596 bool = l >= 0 + for yyj596 := 0; ; yyj596++ { + if yyhl596 { + if yyj596 >= l { break } } else { @@ -6441,10 +7068,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys536Slc = r.DecodeBytes(yys536Slc, true, true) - yys536 := string(yys536Slc) + yys596Slc = r.DecodeBytes(yys596Slc, true, true) + yys596 := string(yys596Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys536 { + switch yys596 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6461,27 +7088,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv539 := &x.ObjectMeta - yyv539.CodecDecodeSelf(d) + yyv599 := &x.ObjectMeta + yyv599.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv540 := &x.Spec - yyv540.CodecDecodeSelf(d) + yyv600 := &x.Spec + yyv600.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv541 := &x.Status - yyv541.CodecDecodeSelf(d) + yyv601 := &x.Status + yyv601.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys536) - } // end switch yys536 - } // end for yyj536 + z.DecStructFieldNotFound(-1, yys596) + } // end switch yys596 + } // end for yyj596 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6489,16 +7116,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj542 int - var yyb542 bool - var yyhl542 bool = l >= 0 - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + var yyj602 int + var yyb602 bool + var yyhl602 bool = l >= 0 + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6508,13 +7135,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6524,13 +7151,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6538,16 +7165,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv545 := &x.ObjectMeta - yyv545.CodecDecodeSelf(d) + yyv605 := &x.ObjectMeta + yyv605.CodecDecodeSelf(d) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6555,16 +7182,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv546 := &x.Spec - yyv546.CodecDecodeSelf(d) + yyv606 := &x.Spec + yyv606.CodecDecodeSelf(d) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6572,21 +7199,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv547 := &x.Status - yyv547.CodecDecodeSelf(d) + yyv607 := &x.Status + yyv607.CodecDecodeSelf(d) } for { - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj542-1, "") + z.DecStructFieldNotFound(yyj602-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6598,37 +7225,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym548 := z.EncBinary() - _ = yym548 + yym608 := z.EncBinary() + _ = yym608 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] = x.Kind != "" - yyq549[1] = x.APIVersion != "" - yyq549[2] = true - var yynn549 int - if yyr549 || yy2arr549 { + yysep609 := !z.EncBinary() + yy2arr609 := z.EncBasicHandle().StructToArray + var yyq609 [4]bool + _, _, _ = yysep609, yyq609, yy2arr609 + const yyr609 bool = false + yyq609[0] = x.Kind != "" + yyq609[1] = x.APIVersion != "" + yyq609[2] = true + var yynn609 int + if yyr609 || yy2arr609 { r.EncodeArrayStart(4) } else { - yynn549 = 1 - for _, b := range yyq549 { + yynn609 = 1 + for _, b := range yyq609 { if b { - yynn549++ + yynn609++ } } - r.EncodeMapStart(yynn549) - yynn549 = 0 + r.EncodeMapStart(yynn609) + yynn609 = 0 } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[0] { - yym551 := z.EncBinary() - _ = yym551 + if yyq609[0] { + yym611 := z.EncBinary() + _ = yym611 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6637,23 +7264,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq549[0] { + if yyq609[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym552 := z.EncBinary() - _ = yym552 + yym612 := z.EncBinary() + _ = yym612 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[1] { - yym554 := z.EncBinary() - _ = yym554 + if yyq609[1] { + yym614 := z.EncBinary() + _ = yym614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6662,54 +7289,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq549[1] { + if yyq609[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym555 := z.EncBinary() - _ = yym555 + yym615 := z.EncBinary() + _ = yym615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[2] { - yy557 := &x.ListMeta - yym558 := z.EncBinary() - _ = yym558 + if yyq609[2] { + yy617 := &x.ListMeta + yym618 := z.EncBinary() + _ = yym618 if false { - } else if z.HasExtensions() && z.EncExt(yy557) { + } else if z.HasExtensions() && z.EncExt(yy617) { } else { - z.EncFallback(yy557) + z.EncFallback(yy617) } } else { r.EncodeNil() } } else { - if yyq549[2] { + if yyq609[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy559 := &x.ListMeta - yym560 := z.EncBinary() - _ = yym560 + yy619 := &x.ListMeta + yym620 := z.EncBinary() + _ = yym620 if false { - } else if z.HasExtensions() && z.EncExt(yy559) { + } else if z.HasExtensions() && z.EncExt(yy619) { } else { - z.EncFallback(yy559) + z.EncFallback(yy619) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym562 := z.EncBinary() - _ = yym562 + yym622 := z.EncBinary() + _ = yym622 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -6722,15 +7349,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym563 := z.EncBinary() - _ = yym563 + yym623 := z.EncBinary() + _ = yym623 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6743,25 +7370,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym564 := z.DecBinary() - _ = yym564 + yym624 := z.DecBinary() + _ = yym624 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct565 := r.ContainerType() - if yyct565 == codecSelferValueTypeMap1234 { - yyl565 := r.ReadMapStart() - if yyl565 == 0 { + yyct625 := r.ContainerType() + if yyct625 == codecSelferValueTypeMap1234 { + yyl625 := r.ReadMapStart() + if yyl625 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl565, d) + x.codecDecodeSelfFromMap(yyl625, d) } - } else if yyct565 == codecSelferValueTypeArray1234 { - yyl565 := r.ReadArrayStart() - if yyl565 == 0 { + } else if yyct625 == codecSelferValueTypeArray1234 { + yyl625 := r.ReadArrayStart() + if yyl625 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl565, d) + x.codecDecodeSelfFromArray(yyl625, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6773,12 +7400,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys566Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys566Slc - var yyhl566 bool = l >= 0 - for yyj566 := 0; ; yyj566++ { - if yyhl566 { - if yyj566 >= l { + var yys626Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys626Slc + var yyhl626 bool = l >= 0 + for yyj626 := 0; ; yyj626++ { + if yyhl626 { + if yyj626 >= l { break } } else { @@ -6787,10 +7414,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys566Slc = r.DecodeBytes(yys566Slc, true, true) - yys566 := string(yys566Slc) + yys626Slc = r.DecodeBytes(yys626Slc, true, true) + yys626 := string(yys626Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys566 { + switch yys626 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6807,31 +7434,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv569 := &x.ListMeta - yym570 := z.DecBinary() - _ = yym570 + yyv629 := &x.ListMeta + yym630 := z.DecBinary() + _ = yym630 if false { - } else if z.HasExtensions() && z.DecExt(yyv569) { + } else if z.HasExtensions() && z.DecExt(yyv629) { } else { - z.DecFallback(yyv569, false) + z.DecFallback(yyv629, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv571 := &x.Items - yym572 := z.DecBinary() - _ = yym572 + yyv631 := &x.Items + yym632 := z.DecBinary() + _ = yym632 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv571), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv631), d) } } default: - z.DecStructFieldNotFound(-1, yys566) - } // end switch yys566 - } // end for yyj566 + z.DecStructFieldNotFound(-1, yys626) + } // end switch yys626 + } // end for yyj626 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6839,16 +7466,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj573 int - var yyb573 bool - var yyhl573 bool = l >= 0 - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + var yyj633 int + var yyb633 bool + var yyhl633 bool = l >= 0 + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6858,13 +7485,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6874,13 +7501,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6888,22 +7515,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv576 := &x.ListMeta - yym577 := z.DecBinary() - _ = yym577 + yyv636 := &x.ListMeta + yym637 := z.DecBinary() + _ = yym637 if false { - } else if z.HasExtensions() && z.DecExt(yyv576) { + } else if z.HasExtensions() && z.DecExt(yyv636) { } else { - z.DecFallback(yyv576, false) + z.DecFallback(yyv636, false) } } - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6911,26 +7538,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv578 := &x.Items - yym579 := z.DecBinary() - _ = yym579 + yyv638 := &x.Items + yym639 := z.DecBinary() + _ = yym639 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv578), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv638), d) } } for { - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj573-1, "") + z.DecStructFieldNotFound(yyj633-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6942,37 +7569,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym580 := z.EncBinary() - _ = yym580 + yym640 := z.EncBinary() + _ = yym640 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep581 := !z.EncBinary() - yy2arr581 := z.EncBasicHandle().StructToArray - var yyq581 [4]bool - _, _, _ = yysep581, yyq581, yy2arr581 - const yyr581 bool = false - yyq581[0] = x.Kind != "" - yyq581[1] = x.APIVersion != "" - yyq581[2] = true - var yynn581 int - if yyr581 || yy2arr581 { + yysep641 := !z.EncBinary() + yy2arr641 := z.EncBasicHandle().StructToArray + var yyq641 [4]bool + _, _, _ = yysep641, yyq641, yy2arr641 + const yyr641 bool = false + yyq641[0] = x.Kind != "" + yyq641[1] = x.APIVersion != "" + yyq641[2] = true + var yynn641 int + if yyr641 || yy2arr641 { r.EncodeArrayStart(4) } else { - yynn581 = 1 - for _, b := range yyq581 { + yynn641 = 1 + for _, b := range yyq641 { if b { - yynn581++ + yynn641++ } } - r.EncodeMapStart(yynn581) - yynn581 = 0 + r.EncodeMapStart(yynn641) + yynn641 = 0 } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[0] { - yym583 := z.EncBinary() - _ = yym583 + if yyq641[0] { + yym643 := z.EncBinary() + _ = yym643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6981,23 +7608,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq581[0] { + if yyq641[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym584 := z.EncBinary() - _ = yym584 + yym644 := z.EncBinary() + _ = yym644 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[1] { - yym586 := z.EncBinary() - _ = yym586 + if yyq641[1] { + yym646 := z.EncBinary() + _ = yym646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7006,54 +7633,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq581[1] { + if yyq641[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym587 := z.EncBinary() - _ = yym587 + yym647 := z.EncBinary() + _ = yym647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[2] { - yy589 := &x.ListMeta - yym590 := z.EncBinary() - _ = yym590 + if yyq641[2] { + yy649 := &x.ListMeta + yym650 := z.EncBinary() + _ = yym650 if false { - } else if z.HasExtensions() && z.EncExt(yy589) { + } else if z.HasExtensions() && z.EncExt(yy649) { } else { - z.EncFallback(yy589) + z.EncFallback(yy649) } } else { r.EncodeNil() } } else { - if yyq581[2] { + if yyq641[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy591 := &x.ListMeta - yym592 := z.EncBinary() - _ = yym592 + yy651 := &x.ListMeta + yym652 := z.EncBinary() + _ = yym652 if false { - } else if z.HasExtensions() && z.EncExt(yy591) { + } else if z.HasExtensions() && z.EncExt(yy651) { } else { - z.EncFallback(yy591) + z.EncFallback(yy651) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym594 := z.EncBinary() - _ = yym594 + yym654 := z.EncBinary() + _ = yym654 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -7066,15 +7693,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym595 := z.EncBinary() - _ = yym595 + yym655 := z.EncBinary() + _ = yym655 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7087,25 +7714,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym596 := z.DecBinary() - _ = yym596 + yym656 := z.DecBinary() + _ = yym656 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct597 := r.ContainerType() - if yyct597 == codecSelferValueTypeMap1234 { - yyl597 := r.ReadMapStart() - if yyl597 == 0 { + yyct657 := r.ContainerType() + if yyct657 == codecSelferValueTypeMap1234 { + yyl657 := r.ReadMapStart() + if yyl657 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl597, d) + x.codecDecodeSelfFromMap(yyl657, d) } - } else if yyct597 == codecSelferValueTypeArray1234 { - yyl597 := r.ReadArrayStart() - if yyl597 == 0 { + } else if yyct657 == codecSelferValueTypeArray1234 { + yyl657 := r.ReadArrayStart() + if yyl657 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl597, d) + x.codecDecodeSelfFromArray(yyl657, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7117,12 +7744,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys598Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys598Slc - var yyhl598 bool = l >= 0 - for yyj598 := 0; ; yyj598++ { - if yyhl598 { - if yyj598 >= l { + var yys658Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys658Slc + var yyhl658 bool = l >= 0 + for yyj658 := 0; ; yyj658++ { + if yyhl658 { + if yyj658 >= l { break } } else { @@ -7131,10 +7758,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys598Slc = r.DecodeBytes(yys598Slc, true, true) - yys598 := string(yys598Slc) + yys658Slc = r.DecodeBytes(yys658Slc, true, true) + yys658 := string(yys658Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys598 { + switch yys658 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7151,31 +7778,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv601 := &x.ListMeta - yym602 := z.DecBinary() - _ = yym602 + yyv661 := &x.ListMeta + yym662 := z.DecBinary() + _ = yym662 if false { - } else if z.HasExtensions() && z.DecExt(yyv601) { + } else if z.HasExtensions() && z.DecExt(yyv661) { } else { - z.DecFallback(yyv601, false) + z.DecFallback(yyv661, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv603 := &x.Items - yym604 := z.DecBinary() - _ = yym604 + yyv663 := &x.Items + yym664 := z.DecBinary() + _ = yym664 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv603), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv663), d) } } default: - z.DecStructFieldNotFound(-1, yys598) - } // end switch yys598 - } // end for yyj598 + z.DecStructFieldNotFound(-1, yys658) + } // end switch yys658 + } // end for yyj658 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7183,16 +7810,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj605 int - var yyb605 bool - var yyhl605 bool = l >= 0 - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + var yyj665 int + var yyb665 bool + var yyhl665 bool = l >= 0 + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7202,13 +7829,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7218,13 +7845,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7232,22 +7859,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv608 := &x.ListMeta - yym609 := z.DecBinary() - _ = yym609 + yyv668 := &x.ListMeta + yym669 := z.DecBinary() + _ = yym669 if false { - } else if z.HasExtensions() && z.DecExt(yyv608) { + } else if z.HasExtensions() && z.DecExt(yyv668) { } else { - z.DecFallback(yyv608, false) + z.DecFallback(yyv668, false) } } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7255,26 +7882,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv610 := &x.Items - yym611 := z.DecBinary() - _ = yym611 + yyv670 := &x.Items + yym671 := z.DecBinary() + _ = yym671 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv610), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv670), d) } } for { - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj605-1, "") + z.DecStructFieldNotFound(yyj665-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7286,39 +7913,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym612 := z.EncBinary() - _ = yym612 + yym672 := z.EncBinary() + _ = yym672 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep613 := !z.EncBinary() - yy2arr613 := z.EncBasicHandle().StructToArray - var yyq613 [5]bool - _, _, _ = yysep613, yyq613, yy2arr613 - const yyr613 bool = false - yyq613[0] = x.Kind != "" - yyq613[1] = x.APIVersion != "" - yyq613[2] = true - yyq613[3] = true - yyq613[4] = true - var yynn613 int - if yyr613 || yy2arr613 { + yysep673 := !z.EncBinary() + yy2arr673 := z.EncBasicHandle().StructToArray + var yyq673 [5]bool + _, _, _ = yysep673, yyq673, yy2arr673 + const yyr673 bool = false + yyq673[0] = x.Kind != "" + yyq673[1] = x.APIVersion != "" + yyq673[2] = true + yyq673[3] = true + yyq673[4] = true + var yynn673 int + if yyr673 || yy2arr673 { r.EncodeArrayStart(5) } else { - yynn613 = 0 - for _, b := range yyq613 { + yynn673 = 0 + for _, b := range yyq673 { if b { - yynn613++ + yynn673++ } } - r.EncodeMapStart(yynn613) - yynn613 = 0 + r.EncodeMapStart(yynn673) + yynn673 = 0 } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[0] { - yym615 := z.EncBinary() - _ = yym615 + if yyq673[0] { + yym675 := z.EncBinary() + _ = yym675 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7327,23 +7954,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq613[0] { + if yyq673[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym616 := z.EncBinary() - _ = yym616 + yym676 := z.EncBinary() + _ = yym676 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[1] { - yym618 := z.EncBinary() - _ = yym618 + if yyq673[1] { + yym678 := z.EncBinary() + _ = yym678 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7352,70 +7979,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq613[1] { + if yyq673[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym619 := z.EncBinary() - _ = yym619 + yym679 := z.EncBinary() + _ = yym679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[2] { - yy621 := &x.ObjectMeta - yy621.CodecEncodeSelf(e) + if yyq673[2] { + yy681 := &x.ObjectMeta + yy681.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq613[2] { + if yyq673[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy622 := &x.ObjectMeta - yy622.CodecEncodeSelf(e) + yy682 := &x.ObjectMeta + yy682.CodecEncodeSelf(e) } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[3] { - yy624 := &x.Spec - yy624.CodecEncodeSelf(e) + if yyq673[3] { + yy684 := &x.Spec + yy684.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq613[3] { + if yyq673[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy625 := &x.Spec - yy625.CodecEncodeSelf(e) + yy685 := &x.Spec + yy685.CodecEncodeSelf(e) } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[4] { - yy627 := &x.Status - yy627.CodecEncodeSelf(e) + if yyq673[4] { + yy687 := &x.Status + yy687.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq613[4] { + if yyq673[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy628 := &x.Status - yy628.CodecEncodeSelf(e) + yy688 := &x.Status + yy688.CodecEncodeSelf(e) } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7428,25 +8055,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym629 := z.DecBinary() - _ = yym629 + yym689 := z.DecBinary() + _ = yym689 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct630 := r.ContainerType() - if yyct630 == codecSelferValueTypeMap1234 { - yyl630 := r.ReadMapStart() - if yyl630 == 0 { + yyct690 := r.ContainerType() + if yyct690 == codecSelferValueTypeMap1234 { + yyl690 := r.ReadMapStart() + if yyl690 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl630, d) + x.codecDecodeSelfFromMap(yyl690, d) } - } else if yyct630 == codecSelferValueTypeArray1234 { - yyl630 := r.ReadArrayStart() - if yyl630 == 0 { + } else if yyct690 == codecSelferValueTypeArray1234 { + yyl690 := r.ReadArrayStart() + if yyl690 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl630, d) + x.codecDecodeSelfFromArray(yyl690, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7458,12 +8085,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys631Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys631Slc - var yyhl631 bool = l >= 0 - for yyj631 := 0; ; yyj631++ { - if yyhl631 { - if yyj631 >= l { + var yys691Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys691Slc + var yyhl691 bool = l >= 0 + for yyj691 := 0; ; yyj691++ { + if yyhl691 { + if yyj691 >= l { break } } else { @@ -7472,10 +8099,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys631Slc = r.DecodeBytes(yys631Slc, true, true) - yys631 := string(yys631Slc) + yys691Slc = r.DecodeBytes(yys691Slc, true, true) + yys691 := string(yys691Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys631 { + switch yys691 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7492,27 +8119,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv634 := &x.ObjectMeta - yyv634.CodecDecodeSelf(d) + yyv694 := &x.ObjectMeta + yyv694.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv635 := &x.Spec - yyv635.CodecDecodeSelf(d) + yyv695 := &x.Spec + yyv695.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv636 := &x.Status - yyv636.CodecDecodeSelf(d) + yyv696 := &x.Status + yyv696.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys631) - } // end switch yys631 - } // end for yyj631 + z.DecStructFieldNotFound(-1, yys691) + } // end switch yys691 + } // end for yyj691 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7520,16 +8147,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj637 int - var yyb637 bool - var yyhl637 bool = l >= 0 - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + var yyj697 int + var yyb697 bool + var yyhl697 bool = l >= 0 + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7539,13 +8166,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7555,13 +8182,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7569,16 +8196,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv640 := &x.ObjectMeta - yyv640.CodecDecodeSelf(d) + yyv700 := &x.ObjectMeta + yyv700.CodecDecodeSelf(d) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7586,16 +8213,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv641 := &x.Spec - yyv641.CodecDecodeSelf(d) + yyv701 := &x.Spec + yyv701.CodecDecodeSelf(d) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7603,21 +8230,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv642 := &x.Status - yyv642.CodecDecodeSelf(d) + yyv702 := &x.Status + yyv702.CodecDecodeSelf(d) } for { - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj637-1, "") + z.DecStructFieldNotFound(yyj697-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7629,37 +8256,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym643 := z.EncBinary() - _ = yym643 + yym703 := z.EncBinary() + _ = yym703 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep644 := !z.EncBinary() - yy2arr644 := z.EncBasicHandle().StructToArray - var yyq644 [4]bool - _, _, _ = yysep644, yyq644, yy2arr644 - const yyr644 bool = false - yyq644[0] = x.Kind != "" - yyq644[1] = x.APIVersion != "" - yyq644[2] = true - var yynn644 int - if yyr644 || yy2arr644 { + yysep704 := !z.EncBinary() + yy2arr704 := z.EncBasicHandle().StructToArray + var yyq704 [4]bool + _, _, _ = yysep704, yyq704, yy2arr704 + const yyr704 bool = false + yyq704[0] = x.Kind != "" + yyq704[1] = x.APIVersion != "" + yyq704[2] = true + var yynn704 int + if yyr704 || yy2arr704 { r.EncodeArrayStart(4) } else { - yynn644 = 1 - for _, b := range yyq644 { + yynn704 = 1 + for _, b := range yyq704 { if b { - yynn644++ + yynn704++ } } - r.EncodeMapStart(yynn644) - yynn644 = 0 + r.EncodeMapStart(yynn704) + yynn704 = 0 } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[0] { - yym646 := z.EncBinary() - _ = yym646 + if yyq704[0] { + yym706 := z.EncBinary() + _ = yym706 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7668,23 +8295,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq644[0] { + if yyq704[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym647 := z.EncBinary() - _ = yym647 + yym707 := z.EncBinary() + _ = yym707 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[1] { - yym649 := z.EncBinary() - _ = yym649 + if yyq704[1] { + yym709 := z.EncBinary() + _ = yym709 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7693,54 +8320,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq644[1] { + if yyq704[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym650 := z.EncBinary() - _ = yym650 + yym710 := z.EncBinary() + _ = yym710 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[2] { - yy652 := &x.ListMeta - yym653 := z.EncBinary() - _ = yym653 + if yyq704[2] { + yy712 := &x.ListMeta + yym713 := z.EncBinary() + _ = yym713 if false { - } else if z.HasExtensions() && z.EncExt(yy652) { + } else if z.HasExtensions() && z.EncExt(yy712) { } else { - z.EncFallback(yy652) + z.EncFallback(yy712) } } else { r.EncodeNil() } } else { - if yyq644[2] { + if yyq704[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy654 := &x.ListMeta - yym655 := z.EncBinary() - _ = yym655 + yy714 := &x.ListMeta + yym715 := z.EncBinary() + _ = yym715 if false { - } else if z.HasExtensions() && z.EncExt(yy654) { + } else if z.HasExtensions() && z.EncExt(yy714) { } else { - z.EncFallback(yy654) + z.EncFallback(yy714) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym657 := z.EncBinary() - _ = yym657 + yym717 := z.EncBinary() + _ = yym717 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -7753,15 +8380,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym658 := z.EncBinary() - _ = yym658 + yym718 := z.EncBinary() + _ = yym718 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7774,25 +8401,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym659 := z.DecBinary() - _ = yym659 + yym719 := z.DecBinary() + _ = yym719 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct660 := r.ContainerType() - if yyct660 == codecSelferValueTypeMap1234 { - yyl660 := r.ReadMapStart() - if yyl660 == 0 { + yyct720 := r.ContainerType() + if yyct720 == codecSelferValueTypeMap1234 { + yyl720 := r.ReadMapStart() + if yyl720 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl660, d) + x.codecDecodeSelfFromMap(yyl720, d) } - } else if yyct660 == codecSelferValueTypeArray1234 { - yyl660 := r.ReadArrayStart() - if yyl660 == 0 { + } else if yyct720 == codecSelferValueTypeArray1234 { + yyl720 := r.ReadArrayStart() + if yyl720 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl660, d) + x.codecDecodeSelfFromArray(yyl720, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7804,12 +8431,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys661Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys661Slc - var yyhl661 bool = l >= 0 - for yyj661 := 0; ; yyj661++ { - if yyhl661 { - if yyj661 >= l { + var yys721Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys721Slc + var yyhl721 bool = l >= 0 + for yyj721 := 0; ; yyj721++ { + if yyhl721 { + if yyj721 >= l { break } } else { @@ -7818,10 +8445,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys661Slc = r.DecodeBytes(yys661Slc, true, true) - yys661 := string(yys661Slc) + yys721Slc = r.DecodeBytes(yys721Slc, true, true) + yys721 := string(yys721Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys661 { + switch yys721 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7838,31 +8465,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv664 := &x.ListMeta - yym665 := z.DecBinary() - _ = yym665 + yyv724 := &x.ListMeta + yym725 := z.DecBinary() + _ = yym725 if false { - } else if z.HasExtensions() && z.DecExt(yyv664) { + } else if z.HasExtensions() && z.DecExt(yyv724) { } else { - z.DecFallback(yyv664, false) + z.DecFallback(yyv724, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv666 := &x.Items - yym667 := z.DecBinary() - _ = yym667 + yyv726 := &x.Items + yym727 := z.DecBinary() + _ = yym727 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv666), d) + h.decSliceIngress((*[]Ingress)(yyv726), d) } } default: - z.DecStructFieldNotFound(-1, yys661) - } // end switch yys661 - } // end for yyj661 + z.DecStructFieldNotFound(-1, yys721) + } // end switch yys721 + } // end for yyj721 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7870,16 +8497,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj668 int - var yyb668 bool - var yyhl668 bool = l >= 0 - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + var yyj728 int + var yyb728 bool + var yyhl728 bool = l >= 0 + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7889,13 +8516,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7905,13 +8532,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7919,22 +8546,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv671 := &x.ListMeta - yym672 := z.DecBinary() - _ = yym672 + yyv731 := &x.ListMeta + yym732 := z.DecBinary() + _ = yym732 if false { - } else if z.HasExtensions() && z.DecExt(yyv671) { + } else if z.HasExtensions() && z.DecExt(yyv731) { } else { - z.DecFallback(yyv671, false) + z.DecFallback(yyv731, false) } } - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7942,26 +8569,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv673 := &x.Items - yym674 := z.DecBinary() - _ = yym674 + yyv733 := &x.Items + yym734 := z.DecBinary() + _ = yym734 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv673), d) + h.decSliceIngress((*[]Ingress)(yyv733), d) } } for { - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj668-1, "") + z.DecStructFieldNotFound(yyj728-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7973,35 +8600,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym675 := z.EncBinary() - _ = yym675 + yym735 := z.EncBinary() + _ = yym735 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep676 := !z.EncBinary() - yy2arr676 := z.EncBasicHandle().StructToArray - var yyq676 [3]bool - _, _, _ = yysep676, yyq676, yy2arr676 - const yyr676 bool = false - yyq676[0] = x.Backend != nil - yyq676[1] = len(x.TLS) != 0 - yyq676[2] = len(x.Rules) != 0 - var yynn676 int - if yyr676 || yy2arr676 { + yysep736 := !z.EncBinary() + yy2arr736 := z.EncBasicHandle().StructToArray + var yyq736 [3]bool + _, _, _ = yysep736, yyq736, yy2arr736 + const yyr736 bool = false + yyq736[0] = x.Backend != nil + yyq736[1] = len(x.TLS) != 0 + yyq736[2] = len(x.Rules) != 0 + var yynn736 int + if yyr736 || yy2arr736 { r.EncodeArrayStart(3) } else { - yynn676 = 0 - for _, b := range yyq676 { + yynn736 = 0 + for _, b := range yyq736 { if b { - yynn676++ + yynn736++ } } - r.EncodeMapStart(yynn676) - yynn676 = 0 + r.EncodeMapStart(yynn736) + yynn736 = 0 } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[0] { + if yyq736[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -8011,7 +8638,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq676[0] { + if yyq736[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8022,14 +8649,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[1] { + if yyq736[1] { if x.TLS == nil { r.EncodeNil() } else { - yym679 := z.EncBinary() - _ = yym679 + yym739 := z.EncBinary() + _ = yym739 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -8039,15 +8666,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq676[1] { + if yyq736[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym680 := z.EncBinary() - _ = yym680 + yym740 := z.EncBinary() + _ = yym740 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -8055,14 +8682,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[2] { + if yyq736[2] { if x.Rules == nil { r.EncodeNil() } else { - yym682 := z.EncBinary() - _ = yym682 + yym742 := z.EncBinary() + _ = yym742 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8072,15 +8699,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq676[2] { + if yyq736[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym683 := z.EncBinary() - _ = yym683 + yym743 := z.EncBinary() + _ = yym743 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8088,7 +8715,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8098,896 +8725,6 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym684 := z.DecBinary() - _ = yym684 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct685 := r.ContainerType() - if yyct685 == codecSelferValueTypeMap1234 { - yyl685 := r.ReadMapStart() - if yyl685 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl685, d) - } - } else if yyct685 == codecSelferValueTypeArray1234 { - yyl685 := r.ReadArrayStart() - if yyl685 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl685, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys686Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys686Slc - var yyhl686 bool = l >= 0 - for yyj686 := 0; ; yyj686++ { - if yyhl686 { - if yyj686 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys686Slc = r.DecodeBytes(yys686Slc, true, true) - yys686 := string(yys686Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys686 { - case "backend": - if r.TryDecodeAsNil() { - if x.Backend != nil { - x.Backend = nil - } - } else { - if x.Backend == nil { - x.Backend = new(IngressBackend) - } - x.Backend.CodecDecodeSelf(d) - } - case "tls": - if r.TryDecodeAsNil() { - x.TLS = nil - } else { - yyv688 := &x.TLS - yym689 := z.DecBinary() - _ = yym689 - if false { - } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv688), d) - } - } - case "rules": - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv690 := &x.Rules - yym691 := z.DecBinary() - _ = yym691 - if false { - } else { - h.decSliceIngressRule((*[]IngressRule)(yyv690), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys686) - } // end switch yys686 - } // end for yyj686 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj692 int - var yyb692 bool - var yyhl692 bool = l >= 0 - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Backend != nil { - x.Backend = nil - } - } else { - if x.Backend == nil { - x.Backend = new(IngressBackend) - } - x.Backend.CodecDecodeSelf(d) - } - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TLS = nil - } else { - yyv694 := &x.TLS - yym695 := z.DecBinary() - _ = yym695 - if false { - } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv694), d) - } - } - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv696 := &x.Rules - yym697 := z.DecBinary() - _ = yym697 - if false { - } else { - h.decSliceIngressRule((*[]IngressRule)(yyv696), d) - } - } - for { - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj692-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym698 := z.EncBinary() - _ = yym698 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep699 := !z.EncBinary() - yy2arr699 := z.EncBasicHandle().StructToArray - var yyq699 [2]bool - _, _, _ = yysep699, yyq699, yy2arr699 - const yyr699 bool = false - yyq699[0] = len(x.Hosts) != 0 - yyq699[1] = x.SecretName != "" - var yynn699 int - if yyr699 || yy2arr699 { - r.EncodeArrayStart(2) - } else { - yynn699 = 0 - for _, b := range yyq699 { - if b { - yynn699++ - } - } - r.EncodeMapStart(yynn699) - yynn699 = 0 - } - if yyr699 || yy2arr699 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq699[0] { - if x.Hosts == nil { - r.EncodeNil() - } else { - yym701 := z.EncBinary() - _ = yym701 - if false { - } else { - z.F.EncSliceStringV(x.Hosts, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq699[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hosts")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hosts == nil { - r.EncodeNil() - } else { - yym702 := z.EncBinary() - _ = yym702 - if false { - } else { - z.F.EncSliceStringV(x.Hosts, false, e) - } - } - } - } - if yyr699 || yy2arr699 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq699[1] { - yym704 := z.EncBinary() - _ = yym704 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq699[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secretName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym705 := z.EncBinary() - _ = yym705 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) - } - } - } - if yyr699 || yy2arr699 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym706 := z.DecBinary() - _ = yym706 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct707 := r.ContainerType() - if yyct707 == codecSelferValueTypeMap1234 { - yyl707 := r.ReadMapStart() - if yyl707 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl707, d) - } - } else if yyct707 == codecSelferValueTypeArray1234 { - yyl707 := r.ReadArrayStart() - if yyl707 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl707, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys708Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys708Slc - var yyhl708 bool = l >= 0 - for yyj708 := 0; ; yyj708++ { - if yyhl708 { - if yyj708 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys708Slc = r.DecodeBytes(yys708Slc, true, true) - yys708 := string(yys708Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys708 { - case "hosts": - if r.TryDecodeAsNil() { - x.Hosts = nil - } else { - yyv709 := &x.Hosts - yym710 := z.DecBinary() - _ = yym710 - if false { - } else { - z.F.DecSliceStringX(yyv709, false, d) - } - } - case "secretName": - if r.TryDecodeAsNil() { - x.SecretName = "" - } else { - x.SecretName = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys708) - } // end switch yys708 - } // end for yyj708 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj712 int - var yyb712 bool - var yyhl712 bool = l >= 0 - yyj712++ - if yyhl712 { - yyb712 = yyj712 > l - } else { - yyb712 = r.CheckBreak() - } - if yyb712 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hosts = nil - } else { - yyv713 := &x.Hosts - yym714 := z.DecBinary() - _ = yym714 - if false { - } else { - z.F.DecSliceStringX(yyv713, false, d) - } - } - yyj712++ - if yyhl712 { - yyb712 = yyj712 > l - } else { - yyb712 = r.CheckBreak() - } - if yyb712 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SecretName = "" - } else { - x.SecretName = string(r.DecodeString()) - } - for { - yyj712++ - if yyhl712 { - yyb712 = yyj712 > l - } else { - yyb712 = r.CheckBreak() - } - if yyb712 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj712-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym716 := z.EncBinary() - _ = yym716 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep717 := !z.EncBinary() - yy2arr717 := z.EncBasicHandle().StructToArray - var yyq717 [1]bool - _, _, _ = yysep717, yyq717, yy2arr717 - const yyr717 bool = false - yyq717[0] = true - var yynn717 int - if yyr717 || yy2arr717 { - r.EncodeArrayStart(1) - } else { - yynn717 = 0 - for _, b := range yyq717 { - if b { - yynn717++ - } - } - r.EncodeMapStart(yynn717) - yynn717 = 0 - } - if yyr717 || yy2arr717 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq717[0] { - yy719 := &x.LoadBalancer - yy719.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq717[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy720 := &x.LoadBalancer - yy720.CodecEncodeSelf(e) - } - } - if yyr717 || yy2arr717 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym721 := z.DecBinary() - _ = yym721 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct722 := r.ContainerType() - if yyct722 == codecSelferValueTypeMap1234 { - yyl722 := r.ReadMapStart() - if yyl722 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl722, d) - } - } else if yyct722 == codecSelferValueTypeArray1234 { - yyl722 := r.ReadArrayStart() - if yyl722 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl722, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys723Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys723Slc - var yyhl723 bool = l >= 0 - for yyj723 := 0; ; yyj723++ { - if yyhl723 { - if yyj723 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys723Slc = r.DecodeBytes(yys723Slc, true, true) - yys723 := string(yys723Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys723 { - case "loadBalancer": - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_api.LoadBalancerStatus{} - } else { - yyv724 := &x.LoadBalancer - yyv724.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys723) - } // end switch yys723 - } // end for yyj723 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj725 int - var yyb725 bool - var yyhl725 bool = l >= 0 - yyj725++ - if yyhl725 { - yyb725 = yyj725 > l - } else { - yyb725 = r.CheckBreak() - } - if yyb725 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_api.LoadBalancerStatus{} - } else { - yyv726 := &x.LoadBalancer - yyv726.CodecDecodeSelf(d) - } - for { - yyj725++ - if yyhl725 { - yyb725 = yyj725 > l - } else { - yyb725 = r.CheckBreak() - } - if yyb725 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj725-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym727 := z.EncBinary() - _ = yym727 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep728 := !z.EncBinary() - yy2arr728 := z.EncBasicHandle().StructToArray - var yyq728 [2]bool - _, _, _ = yysep728, yyq728, yy2arr728 - const yyr728 bool = false - yyq728[0] = x.Host != "" - yyq728[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn728 int - if yyr728 || yy2arr728 { - r.EncodeArrayStart(2) - } else { - yynn728 = 0 - for _, b := range yyq728 { - if b { - yynn728++ - } - } - r.EncodeMapStart(yynn728) - yynn728 = 0 - } - if yyr728 || yy2arr728 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq728[0] { - yym730 := z.EncBinary() - _ = yym730 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq728[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("host")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym731 := z.EncBinary() - _ = yym731 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } - } - var yyn732 bool - if x.IngressRuleValue.HTTP == nil { - yyn732 = true - goto LABEL732 - } - LABEL732: - if yyr728 || yy2arr728 { - if yyn732 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq728[1] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq728[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn732 { - r.EncodeNil() - } else { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - } - if yyr728 || yy2arr728 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym733 := z.DecBinary() - _ = yym733 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct734 := r.ContainerType() - if yyct734 == codecSelferValueTypeMap1234 { - yyl734 := r.ReadMapStart() - if yyl734 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl734, d) - } - } else if yyct734 == codecSelferValueTypeArray1234 { - yyl734 := r.ReadArrayStart() - if yyl734 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl734, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys735Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys735Slc - var yyhl735 bool = l >= 0 - for yyj735 := 0; ; yyj735++ { - if yyhl735 { - if yyj735 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys735Slc = r.DecodeBytes(yys735Slc, true, true) - yys735 := string(yys735Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys735 { - case "host": - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - case "http": - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys735) - } // end switch yys735 - } // end for yyj735 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj738 int - var yyb738 bool - var yyhl738 bool = l >= 0 - yyj738++ - if yyhl738 { - yyb738 = yyj738 > l - } else { - yyb738 = r.CheckBreak() - } - if yyb738 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - yyj738++ - if yyhl738 { - yyb738 = yyj738 > l - } else { - yyb738 = r.CheckBreak() - } - if yyb738 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj738++ - if yyhl738 { - yyb738 = yyj738 > l - } else { - yyb738 = r.CheckBreak() - } - if yyb738 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj738-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym741 := z.EncBinary() - _ = yym741 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep742 := !z.EncBinary() - yy2arr742 := z.EncBasicHandle().StructToArray - var yyq742 [1]bool - _, _, _ = yysep742, yyq742, yy2arr742 - const yyr742 bool = false - yyq742[0] = x.HTTP != nil - var yynn742 int - if yyr742 || yy2arr742 { - r.EncodeArrayStart(1) - } else { - yynn742 = 0 - for _, b := range yyq742 { - if b { - yynn742++ - } - } - r.EncodeMapStart(yynn742) - yynn742 = 0 - } - if yyr742 || yy2arr742 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq742[0] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq742[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - if yyr742 || yy2arr742 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -9017,7 +8754,7 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -9039,7 +8776,701 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys746 := string(yys746Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys746 { + case "backend": + if r.TryDecodeAsNil() { + if x.Backend != nil { + x.Backend = nil + } + } else { + if x.Backend == nil { + x.Backend = new(IngressBackend) + } + x.Backend.CodecDecodeSelf(d) + } + case "tls": + if r.TryDecodeAsNil() { + x.TLS = nil + } else { + yyv748 := &x.TLS + yym749 := z.DecBinary() + _ = yym749 + if false { + } else { + h.decSliceIngressTLS((*[]IngressTLS)(yyv748), d) + } + } + case "rules": + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv750 := &x.Rules + yym751 := z.DecBinary() + _ = yym751 + if false { + } else { + h.decSliceIngressRule((*[]IngressRule)(yyv750), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys746) + } // end switch yys746 + } // end for yyj746 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj752 int + var yyb752 bool + var yyhl752 bool = l >= 0 + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Backend != nil { + x.Backend = nil + } + } else { + if x.Backend == nil { + x.Backend = new(IngressBackend) + } + x.Backend.CodecDecodeSelf(d) + } + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TLS = nil + } else { + yyv754 := &x.TLS + yym755 := z.DecBinary() + _ = yym755 + if false { + } else { + h.decSliceIngressTLS((*[]IngressTLS)(yyv754), d) + } + } + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv756 := &x.Rules + yym757 := z.DecBinary() + _ = yym757 + if false { + } else { + h.decSliceIngressRule((*[]IngressRule)(yyv756), d) + } + } + for { + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj752-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym758 := z.EncBinary() + _ = yym758 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep759 := !z.EncBinary() + yy2arr759 := z.EncBasicHandle().StructToArray + var yyq759 [2]bool + _, _, _ = yysep759, yyq759, yy2arr759 + const yyr759 bool = false + yyq759[0] = len(x.Hosts) != 0 + yyq759[1] = x.SecretName != "" + var yynn759 int + if yyr759 || yy2arr759 { + r.EncodeArrayStart(2) + } else { + yynn759 = 0 + for _, b := range yyq759 { + if b { + yynn759++ + } + } + r.EncodeMapStart(yynn759) + yynn759 = 0 + } + if yyr759 || yy2arr759 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq759[0] { + if x.Hosts == nil { + r.EncodeNil() + } else { + yym761 := z.EncBinary() + _ = yym761 + if false { + } else { + z.F.EncSliceStringV(x.Hosts, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq759[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hosts")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Hosts == nil { + r.EncodeNil() + } else { + yym762 := z.EncBinary() + _ = yym762 + if false { + } else { + z.F.EncSliceStringV(x.Hosts, false, e) + } + } + } + } + if yyr759 || yy2arr759 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq759[1] { + yym764 := z.EncBinary() + _ = yym764 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq759[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym765 := z.EncBinary() + _ = yym765 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } + } + if yyr759 || yy2arr759 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym766 := z.DecBinary() + _ = yym766 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct767 := r.ContainerType() + if yyct767 == codecSelferValueTypeMap1234 { + yyl767 := r.ReadMapStart() + if yyl767 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl767, d) + } + } else if yyct767 == codecSelferValueTypeArray1234 { + yyl767 := r.ReadArrayStart() + if yyl767 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl767, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys768Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys768Slc + var yyhl768 bool = l >= 0 + for yyj768 := 0; ; yyj768++ { + if yyhl768 { + if yyj768 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys768Slc = r.DecodeBytes(yys768Slc, true, true) + yys768 := string(yys768Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys768 { + case "hosts": + if r.TryDecodeAsNil() { + x.Hosts = nil + } else { + yyv769 := &x.Hosts + yym770 := z.DecBinary() + _ = yym770 + if false { + } else { + z.F.DecSliceStringX(yyv769, false, d) + } + } + case "secretName": + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys768) + } // end switch yys768 + } // end for yyj768 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj772 int + var yyb772 bool + var yyhl772 bool = l >= 0 + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l + } else { + yyb772 = r.CheckBreak() + } + if yyb772 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hosts = nil + } else { + yyv773 := &x.Hosts + yym774 := z.DecBinary() + _ = yym774 + if false { + } else { + z.F.DecSliceStringX(yyv773, false, d) + } + } + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l + } else { + yyb772 = r.CheckBreak() + } + if yyb772 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + for { + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l + } else { + yyb772 = r.CheckBreak() + } + if yyb772 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj772-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym776 := z.EncBinary() + _ = yym776 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep777 := !z.EncBinary() + yy2arr777 := z.EncBasicHandle().StructToArray + var yyq777 [1]bool + _, _, _ = yysep777, yyq777, yy2arr777 + const yyr777 bool = false + yyq777[0] = true + var yynn777 int + if yyr777 || yy2arr777 { + r.EncodeArrayStart(1) + } else { + yynn777 = 0 + for _, b := range yyq777 { + if b { + yynn777++ + } + } + r.EncodeMapStart(yynn777) + yynn777 = 0 + } + if yyr777 || yy2arr777 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq777[0] { + yy779 := &x.LoadBalancer + yy779.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq777[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy780 := &x.LoadBalancer + yy780.CodecEncodeSelf(e) + } + } + if yyr777 || yy2arr777 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym781 := z.DecBinary() + _ = yym781 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct782 := r.ContainerType() + if yyct782 == codecSelferValueTypeMap1234 { + yyl782 := r.ReadMapStart() + if yyl782 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl782, d) + } + } else if yyct782 == codecSelferValueTypeArray1234 { + yyl782 := r.ReadArrayStart() + if yyl782 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl782, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys783Slc = r.DecodeBytes(yys783Slc, true, true) + yys783 := string(yys783Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys783 { + case "loadBalancer": + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_api.LoadBalancerStatus{} + } else { + yyv784 := &x.LoadBalancer + yyv784.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys783) + } // end switch yys783 + } // end for yyj783 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj785 int + var yyb785 bool + var yyhl785 bool = l >= 0 + yyj785++ + if yyhl785 { + yyb785 = yyj785 > l + } else { + yyb785 = r.CheckBreak() + } + if yyb785 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_api.LoadBalancerStatus{} + } else { + yyv786 := &x.LoadBalancer + yyv786.CodecDecodeSelf(d) + } + for { + yyj785++ + if yyhl785 { + yyb785 = yyj785 > l + } else { + yyb785 = r.CheckBreak() + } + if yyb785 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj785-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym787 := z.EncBinary() + _ = yym787 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep788 := !z.EncBinary() + yy2arr788 := z.EncBasicHandle().StructToArray + var yyq788 [2]bool + _, _, _ = yysep788, yyq788, yy2arr788 + const yyr788 bool = false + yyq788[0] = x.Host != "" + yyq788[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn788 int + if yyr788 || yy2arr788 { + r.EncodeArrayStart(2) + } else { + yynn788 = 0 + for _, b := range yyq788 { + if b { + yynn788++ + } + } + r.EncodeMapStart(yynn788) + yynn788 = 0 + } + if yyr788 || yy2arr788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq788[0] { + yym790 := z.EncBinary() + _ = yym790 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq788[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("host")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym791 := z.EncBinary() + _ = yym791 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } + } + var yyn792 bool + if x.IngressRuleValue.HTTP == nil { + yyn792 = true + goto LABEL792 + } + LABEL792: + if yyr788 || yy2arr788 { + if yyn792 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq788[1] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq788[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn792 { + r.EncodeNil() + } else { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } + } + } + if yyr788 || yy2arr788 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym793 := z.DecBinary() + _ = yym793 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct794 := r.ContainerType() + if yyct794 == codecSelferValueTypeMap1234 { + yyl794 := r.ReadMapStart() + if yyl794 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl794, d) + } + } else if yyct794 == codecSelferValueTypeArray1234 { + yyl794 := r.ReadArrayStart() + if yyl794 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl794, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys795Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys795Slc + var yyhl795 bool = l >= 0 + for yyj795 := 0; ; yyj795++ { + if yyhl795 { + if yyj795 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys795Slc = r.DecodeBytes(yys795Slc, true, true) + yys795 := string(yys795Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys795 { + case "host": + if r.TryDecodeAsNil() { + x.Host = "" + } else { + x.Host = string(r.DecodeString()) + } case "http": + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) + } if r.TryDecodeAsNil() { if x.HTTP != nil { x.HTTP = nil @@ -9051,26 +9482,45 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys746) - } // end switch yys746 - } // end for yyj746 + z.DecStructFieldNotFound(-1, yys795) + } // end switch yys795 + } // end for yyj795 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj748 int - var yyb748 bool - var yyhl748 bool = l >= 0 - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + var yyj798 int + var yyb798 bool + var yyhl798 bool = l >= 0 + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l } else { - yyb748 = r.CheckBreak() + yyb798 = r.CheckBreak() } - if yyb748 { + if yyb798 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Host = "" + } else { + x.Host = string(r.DecodeString()) + } + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) + } + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l + } else { + yyb798 = r.CheckBreak() + } + if yyb798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9086,17 +9536,194 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l } else { - yyb748 = r.CheckBreak() + yyb798 = r.CheckBreak() } - if yyb748 { + if yyb798 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj748-1, "") + z.DecStructFieldNotFound(yyj798-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym801 := z.EncBinary() + _ = yym801 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep802 := !z.EncBinary() + yy2arr802 := z.EncBasicHandle().StructToArray + var yyq802 [1]bool + _, _, _ = yysep802, yyq802, yy2arr802 + const yyr802 bool = false + yyq802[0] = x.HTTP != nil + var yynn802 int + if yyr802 || yy2arr802 { + r.EncodeArrayStart(1) + } else { + yynn802 = 0 + for _, b := range yyq802 { + if b { + yynn802++ + } + } + r.EncodeMapStart(yynn802) + yynn802 = 0 + } + if yyr802 || yy2arr802 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq802[0] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq802[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } + } + if yyr802 || yy2arr802 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym804 := z.DecBinary() + _ = yym804 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct805 := r.ContainerType() + if yyct805 == codecSelferValueTypeMap1234 { + yyl805 := r.ReadMapStart() + if yyl805 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl805, d) + } + } else if yyct805 == codecSelferValueTypeArray1234 { + yyl805 := r.ReadArrayStart() + if yyl805 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl805, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys806Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys806Slc + var yyhl806 bool = l >= 0 + for yyj806 := 0; ; yyj806++ { + if yyhl806 { + if yyj806 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys806Slc = r.DecodeBytes(yys806Slc, true, true) + yys806 := string(yys806Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys806 { + case "http": + if r.TryDecodeAsNil() { + if x.HTTP != nil { + x.HTTP = nil + } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys806) + } // end switch yys806 + } // end for yyj806 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj808 int + var yyb808 bool + var yyhl808 bool = l >= 0 + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l + } else { + yyb808 = r.CheckBreak() + } + if yyb808 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.HTTP != nil { + x.HTTP = nil + } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) + } + for { + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l + } else { + yyb808 = r.CheckBreak() + } + if yyb808 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj808-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9108,36 +9735,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym750 := z.EncBinary() - _ = yym750 + yym810 := z.EncBinary() + _ = yym810 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep751 := !z.EncBinary() - yy2arr751 := z.EncBasicHandle().StructToArray - var yyq751 [1]bool - _, _, _ = yysep751, yyq751, yy2arr751 - const yyr751 bool = false - var yynn751 int - if yyr751 || yy2arr751 { + yysep811 := !z.EncBinary() + yy2arr811 := z.EncBasicHandle().StructToArray + var yyq811 [1]bool + _, _, _ = yysep811, yyq811, yy2arr811 + const yyr811 bool = false + var yynn811 int + if yyr811 || yy2arr811 { r.EncodeArrayStart(1) } else { - yynn751 = 1 - for _, b := range yyq751 { + yynn811 = 1 + for _, b := range yyq811 { if b { - yynn751++ + yynn811++ } } - r.EncodeMapStart(yynn751) - yynn751 = 0 + r.EncodeMapStart(yynn811) + yynn811 = 0 } - if yyr751 || yy2arr751 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym753 := z.EncBinary() - _ = yym753 + yym813 := z.EncBinary() + _ = yym813 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -9150,15 +9777,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym754 := z.EncBinary() - _ = yym754 + yym814 := z.EncBinary() + _ = yym814 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr751 || yy2arr751 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9171,25 +9798,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym755 := z.DecBinary() - _ = yym755 + yym815 := z.DecBinary() + _ = yym815 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct756 := r.ContainerType() - if yyct756 == codecSelferValueTypeMap1234 { - yyl756 := r.ReadMapStart() - if yyl756 == 0 { + yyct816 := r.ContainerType() + if yyct816 == codecSelferValueTypeMap1234 { + yyl816 := r.ReadMapStart() + if yyl816 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl756, d) + x.codecDecodeSelfFromMap(yyl816, d) } - } else if yyct756 == codecSelferValueTypeArray1234 { - yyl756 := r.ReadArrayStart() - if yyl756 == 0 { + } else if yyct816 == codecSelferValueTypeArray1234 { + yyl816 := r.ReadArrayStart() + if yyl816 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl756, d) + x.codecDecodeSelfFromArray(yyl816, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9201,12 +9828,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode 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 yys817Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys817Slc + var yyhl817 bool = l >= 0 + for yyj817 := 0; ; yyj817++ { + if yyhl817 { + if yyj817 >= l { break } } else { @@ -9215,26 +9842,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys757Slc = r.DecodeBytes(yys757Slc, true, true) - yys757 := string(yys757Slc) + yys817Slc = r.DecodeBytes(yys817Slc, true, true) + yys817 := string(yys817Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys757 { + switch yys817 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv758 := &x.Paths - yym759 := z.DecBinary() - _ = yym759 + yyv818 := &x.Paths + yym819 := z.DecBinary() + _ = yym819 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv758), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv818), d) } } default: - z.DecStructFieldNotFound(-1, yys757) - } // end switch yys757 - } // end for yyj757 + z.DecStructFieldNotFound(-1, yys817) + } // end switch yys817 + } // end for yyj817 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9242,16 +9869,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco 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 yyj820 int + var yyb820 bool + var yyhl820 bool = l >= 0 + yyj820++ + if yyhl820 { + yyb820 = yyj820 > l } else { - yyb760 = r.CheckBreak() + yyb820 = r.CheckBreak() } - if yyb760 { + if yyb820 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9259,26 +9886,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv761 := &x.Paths - yym762 := z.DecBinary() - _ = yym762 + yyv821 := &x.Paths + yym822 := z.DecBinary() + _ = yym822 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv761), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv821), d) } } for { - yyj760++ - if yyhl760 { - yyb760 = yyj760 > l + yyj820++ + if yyhl820 { + yyb820 = yyj820 > l } else { - yyb760 = r.CheckBreak() + yyb820 = r.CheckBreak() } - if yyb760 { + if yyb820 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj760-1, "") + z.DecStructFieldNotFound(yyj820-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9290,35 +9917,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym763 := z.EncBinary() - _ = yym763 + yym823 := z.EncBinary() + _ = yym823 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep764 := !z.EncBinary() - yy2arr764 := z.EncBasicHandle().StructToArray - var yyq764 [2]bool - _, _, _ = yysep764, yyq764, yy2arr764 - const yyr764 bool = false - yyq764[0] = x.Path != "" - var yynn764 int - if yyr764 || yy2arr764 { + yysep824 := !z.EncBinary() + yy2arr824 := z.EncBasicHandle().StructToArray + var yyq824 [2]bool + _, _, _ = yysep824, yyq824, yy2arr824 + const yyr824 bool = false + yyq824[0] = x.Path != "" + var yynn824 int + if yyr824 || yy2arr824 { r.EncodeArrayStart(2) } else { - yynn764 = 1 - for _, b := range yyq764 { + yynn824 = 1 + for _, b := range yyq824 { if b { - yynn764++ + yynn824++ } } - r.EncodeMapStart(yynn764) - yynn764 = 0 + r.EncodeMapStart(yynn824) + yynn824 = 0 } - if yyr764 || yy2arr764 { + if yyr824 || yy2arr824 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq764[0] { - yym766 := z.EncBinary() - _ = yym766 + if yyq824[0] { + yym826 := z.EncBinary() + _ = yym826 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9327,30 +9954,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq764[0] { + if yyq824[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym767 := z.EncBinary() - _ = yym767 + yym827 := z.EncBinary() + _ = yym827 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr764 || yy2arr764 { + if yyr824 || yy2arr824 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy769 := &x.Backend - yy769.CodecEncodeSelf(e) + yy829 := &x.Backend + yy829.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy770 := &x.Backend - yy770.CodecEncodeSelf(e) + yy830 := &x.Backend + yy830.CodecEncodeSelf(e) } - if yyr764 || yy2arr764 { + if yyr824 || yy2arr824 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9363,25 +9990,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym771 := z.DecBinary() - _ = yym771 + yym831 := z.DecBinary() + _ = yym831 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct772 := r.ContainerType() - if yyct772 == codecSelferValueTypeMap1234 { - yyl772 := r.ReadMapStart() - if yyl772 == 0 { + yyct832 := r.ContainerType() + if yyct832 == codecSelferValueTypeMap1234 { + yyl832 := r.ReadMapStart() + if yyl832 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl772, d) + x.codecDecodeSelfFromMap(yyl832, d) } - } else if yyct772 == codecSelferValueTypeArray1234 { - yyl772 := r.ReadArrayStart() - if yyl772 == 0 { + } else if yyct832 == codecSelferValueTypeArray1234 { + yyl832 := r.ReadArrayStart() + if yyl832 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl772, d) + x.codecDecodeSelfFromArray(yyl832, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9393,12 +10020,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys773Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys773Slc - var yyhl773 bool = l >= 0 - for yyj773 := 0; ; yyj773++ { - if yyhl773 { - if yyj773 >= l { + var yys833Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys833Slc + var yyhl833 bool = l >= 0 + for yyj833 := 0; ; yyj833++ { + if yyhl833 { + if yyj833 >= l { break } } else { @@ -9407,10 +10034,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys773Slc = r.DecodeBytes(yys773Slc, true, true) - yys773 := string(yys773Slc) + yys833Slc = r.DecodeBytes(yys833Slc, true, true) + yys833 := string(yys833Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys773 { + switch yys833 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -9421,13 +10048,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv775 := &x.Backend - yyv775.CodecDecodeSelf(d) + yyv835 := &x.Backend + yyv835.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys773) - } // end switch yys773 - } // end for yyj773 + z.DecStructFieldNotFound(-1, yys833) + } // end switch yys833 + } // end for yyj833 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9435,16 +10062,16 @@ func (x *HTTPIngressPath) 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 yyj836 int + var yyb836 bool + var yyhl836 bool = l >= 0 + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb776 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb776 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9454,13 +10081,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb776 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb776 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9468,21 +10095,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv778 := &x.Backend - yyv778.CodecDecodeSelf(d) + yyv838 := &x.Backend + yyv838.CodecDecodeSelf(d) } for { - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb776 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb776 { + if yyb836 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj776-1, "") + z.DecStructFieldNotFound(yyj836-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9494,33 +10121,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym779 := z.EncBinary() - _ = yym779 + yym839 := z.EncBinary() + _ = yym839 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep780 := !z.EncBinary() - yy2arr780 := z.EncBasicHandle().StructToArray - var yyq780 [2]bool - _, _, _ = yysep780, yyq780, yy2arr780 - const yyr780 bool = false - var yynn780 int - if yyr780 || yy2arr780 { + yysep840 := !z.EncBinary() + yy2arr840 := z.EncBasicHandle().StructToArray + var yyq840 [2]bool + _, _, _ = yysep840, yyq840, yy2arr840 + const yyr840 bool = false + var yynn840 int + if yyr840 || yy2arr840 { r.EncodeArrayStart(2) } else { - yynn780 = 2 - for _, b := range yyq780 { + yynn840 = 2 + for _, b := range yyq840 { if b { - yynn780++ + yynn840++ } } - r.EncodeMapStart(yynn780) - yynn780 = 0 + r.EncodeMapStart(yynn840) + yynn840 = 0 } - if yyr780 || yy2arr780 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym782 := z.EncBinary() - _ = yym782 + yym842 := z.EncBinary() + _ = yym842 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -9529,41 +10156,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym783 := z.EncBinary() - _ = yym783 + yym843 := z.EncBinary() + _ = yym843 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr780 || yy2arr780 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy785 := &x.ServicePort - yym786 := z.EncBinary() - _ = yym786 + yy845 := &x.ServicePort + yym846 := z.EncBinary() + _ = yym846 if false { - } else if z.HasExtensions() && z.EncExt(yy785) { - } else if !yym786 && z.IsJSONHandle() { - z.EncJSONMarshal(yy785) + } else if z.HasExtensions() && z.EncExt(yy845) { + } else if !yym846 && z.IsJSONHandle() { + z.EncJSONMarshal(yy845) } else { - z.EncFallback(yy785) + z.EncFallback(yy845) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy787 := &x.ServicePort - yym788 := z.EncBinary() - _ = yym788 + yy847 := &x.ServicePort + yym848 := z.EncBinary() + _ = yym848 if false { - } else if z.HasExtensions() && z.EncExt(yy787) { - } else if !yym788 && z.IsJSONHandle() { - z.EncJSONMarshal(yy787) + } else if z.HasExtensions() && z.EncExt(yy847) { + } else if !yym848 && z.IsJSONHandle() { + z.EncJSONMarshal(yy847) } else { - z.EncFallback(yy787) + z.EncFallback(yy847) } } - if yyr780 || yy2arr780 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9576,25 +10203,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym789 := z.DecBinary() - _ = yym789 + yym849 := z.DecBinary() + _ = yym849 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct790 := r.ContainerType() - if yyct790 == codecSelferValueTypeMap1234 { - yyl790 := r.ReadMapStart() - if yyl790 == 0 { + yyct850 := r.ContainerType() + if yyct850 == codecSelferValueTypeMap1234 { + yyl850 := r.ReadMapStart() + if yyl850 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl790, d) + x.codecDecodeSelfFromMap(yyl850, d) } - } else if yyct790 == codecSelferValueTypeArray1234 { - yyl790 := r.ReadArrayStart() - if yyl790 == 0 { + } else if yyct850 == codecSelferValueTypeArray1234 { + yyl850 := r.ReadArrayStart() + if yyl850 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl790, d) + x.codecDecodeSelfFromArray(yyl850, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9606,12 +10233,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys791Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys791Slc - var yyhl791 bool = l >= 0 - for yyj791 := 0; ; yyj791++ { - if yyhl791 { - if yyj791 >= l { + var yys851Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys851Slc + var yyhl851 bool = l >= 0 + for yyj851 := 0; ; yyj851++ { + if yyhl851 { + if yyj851 >= l { break } } else { @@ -9620,10 +10247,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys791Slc = r.DecodeBytes(yys791Slc, true, true) - yys791 := string(yys791Slc) + yys851Slc = r.DecodeBytes(yys851Slc, true, true) + yys851 := string(yys851Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys791 { + switch yys851 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -9634,676 +10261,25 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv793 := &x.ServicePort - yym794 := z.DecBinary() - _ = yym794 + yyv853 := &x.ServicePort + yym854 := z.DecBinary() + _ = yym854 if false { - } else if z.HasExtensions() && z.DecExt(yyv793) { - } else if !yym794 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv793) + } else if z.HasExtensions() && z.DecExt(yyv853) { + } else if !yym854 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv853) } else { - z.DecFallback(yyv793, false) + z.DecFallback(yyv853, false) } } default: - z.DecStructFieldNotFound(-1, yys791) - } // end switch yys791 - } // end for yyj791 + z.DecStructFieldNotFound(-1, yys851) + } // end switch yys851 + } // end for yyj851 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj795 int - var yyb795 bool - var yyhl795 bool = l >= 0 - yyj795++ - if yyhl795 { - yyb795 = yyj795 > l - } else { - yyb795 = r.CheckBreak() - } - if yyb795 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceName = "" - } else { - x.ServiceName = string(r.DecodeString()) - } - yyj795++ - if yyhl795 { - yyb795 = yyj795 > l - } else { - yyb795 = r.CheckBreak() - } - if yyb795 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServicePort = pkg5_intstr.IntOrString{} - } else { - yyv797 := &x.ServicePort - yym798 := z.DecBinary() - _ = yym798 - if false { - } else if z.HasExtensions() && z.DecExt(yyv797) { - } else if !yym798 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv797) - } else { - z.DecFallback(yyv797, false) - } - } - for { - yyj795++ - if yyhl795 { - yyb795 = yyj795 > l - } else { - yyb795 = r.CheckBreak() - } - if yyb795 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj795-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym799 := z.EncBinary() - _ = yym799 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep800 := !z.EncBinary() - yy2arr800 := z.EncBasicHandle().StructToArray - var yyq800 [5]bool - _, _, _ = yysep800, yyq800, yy2arr800 - const yyr800 bool = false - yyq800[0] = x.Kind != "" - yyq800[1] = x.APIVersion != "" - yyq800[2] = true - yyq800[3] = true - yyq800[4] = true - var yynn800 int - if yyr800 || yy2arr800 { - r.EncodeArrayStart(5) - } else { - yynn800 = 0 - for _, b := range yyq800 { - if b { - yynn800++ - } - } - r.EncodeMapStart(yynn800) - yynn800 = 0 - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[0] { - yym802 := z.EncBinary() - _ = yym802 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq800[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym803 := z.EncBinary() - _ = yym803 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[1] { - yym805 := z.EncBinary() - _ = yym805 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq800[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym806 := z.EncBinary() - _ = yym806 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[2] { - yy808 := &x.ObjectMeta - yy808.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq800[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy809 := &x.ObjectMeta - yy809.CodecEncodeSelf(e) - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[3] { - yy811 := &x.Spec - yy811.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq800[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy812 := &x.Spec - yy812.CodecEncodeSelf(e) - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[4] { - yy814 := &x.Status - yy814.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq800[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy815 := &x.Status - yy815.CodecEncodeSelf(e) - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym816 := z.DecBinary() - _ = yym816 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct817 := r.ContainerType() - if yyct817 == codecSelferValueTypeMap1234 { - yyl817 := r.ReadMapStart() - if yyl817 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl817, d) - } - } else if yyct817 == codecSelferValueTypeArray1234 { - yyl817 := r.ReadArrayStart() - if yyl817 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl817, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys818Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys818Slc - var yyhl818 bool = l >= 0 - for yyj818 := 0; ; yyj818++ { - if yyhl818 { - if yyj818 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys818Slc = r.DecodeBytes(yys818Slc, true, true) - yys818 := string(yys818Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys818 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv821 := &x.ObjectMeta - yyv821.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv822 := &x.Spec - yyv822.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv823 := &x.Status - yyv823.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys818) - } // end switch yys818 - } // end for yyj818 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj824 int - var yyb824 bool - var yyhl824 bool = l >= 0 - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv827 := &x.ObjectMeta - yyv827.CodecDecodeSelf(d) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv828 := &x.Spec - yyv828.CodecDecodeSelf(d) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv829 := &x.Status - yyv829.CodecDecodeSelf(d) - } - for { - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj824-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym830 := z.EncBinary() - _ = yym830 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep831 := !z.EncBinary() - yy2arr831 := z.EncBasicHandle().StructToArray - var yyq831 [4]bool - _, _, _ = yysep831, yyq831, yy2arr831 - const yyr831 bool = false - yyq831[0] = x.Kind != "" - yyq831[1] = x.APIVersion != "" - yyq831[2] = true - var yynn831 int - if yyr831 || yy2arr831 { - r.EncodeArrayStart(4) - } else { - yynn831 = 1 - for _, b := range yyq831 { - if b { - yynn831++ - } - } - r.EncodeMapStart(yynn831) - yynn831 = 0 - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq831[0] { - yym833 := z.EncBinary() - _ = yym833 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq831[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym834 := z.EncBinary() - _ = yym834 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq831[1] { - yym836 := z.EncBinary() - _ = yym836 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq831[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym837 := z.EncBinary() - _ = yym837 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq831[2] { - yy839 := &x.ListMeta - yym840 := z.EncBinary() - _ = yym840 - if false { - } else if z.HasExtensions() && z.EncExt(yy839) { - } else { - z.EncFallback(yy839) - } - } else { - r.EncodeNil() - } - } else { - if yyq831[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy841 := &x.ListMeta - yym842 := z.EncBinary() - _ = yym842 - if false { - } else if z.HasExtensions() && z.EncExt(yy841) { - } else { - z.EncFallback(yy841) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym844 := z.EncBinary() - _ = yym844 - if false { - } else { - h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym845 := z.EncBinary() - _ = yym845 - if false { - } else { - h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym846 := z.DecBinary() - _ = yym846 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct847 := r.ContainerType() - if yyct847 == codecSelferValueTypeMap1234 { - yyl847 := r.ReadMapStart() - if yyl847 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl847, d) - } - } else if yyct847 == codecSelferValueTypeArray1234 { - yyl847 := r.ReadArrayStart() - if yyl847 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl847, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys848Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys848Slc - var yyhl848 bool = l >= 0 - for yyj848 := 0; ; yyj848++ { - if yyhl848 { - if yyj848 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys848Slc = r.DecodeBytes(yys848Slc, true, true) - yys848 := string(yys848Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys848 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv851 := &x.ListMeta - yym852 := z.DecBinary() - _ = yym852 - if false { - } else if z.HasExtensions() && z.DecExt(yyv851) { - } else { - z.DecFallback(yyv851, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv853 := &x.Items - yym854 := z.DecBinary() - _ = yym854 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv853), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys848) - } // end switch yys848 - } // end for yyj848 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -10322,9 +10298,9 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.ServiceName = "" } else { - x.Kind = string(r.DecodeString()) + x.ServiceName = string(r.DecodeString()) } yyj855++ if yyhl855 { @@ -10338,53 +10314,17 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.ServicePort = pkg5_intstr.IntOrString{} } else { - x.APIVersion = string(r.DecodeString()) - } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l - } else { - yyb855 = r.CheckBreak() - } - if yyb855 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv858 := &x.ListMeta - yym859 := z.DecBinary() - _ = yym859 + yyv857 := &x.ServicePort + yym858 := z.DecBinary() + _ = yym858 if false { - } else if z.HasExtensions() && z.DecExt(yyv858) { + } else if z.HasExtensions() && z.DecExt(yyv857) { + } else if !yym858 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv857) } else { - z.DecFallback(yyv858, false) - } - } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l - } else { - yyb855 = r.CheckBreak() - } - if yyb855 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv860 := &x.Items - yym861 := z.DecBinary() - _ = yym861 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv860), d) + z.DecFallback(yyv857, false) } } for { @@ -10403,136 +10343,143 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym862 := z.EncBinary() - _ = yym862 + yym859 := z.EncBinary() + _ = yym859 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep863 := !z.EncBinary() - yy2arr863 := z.EncBasicHandle().StructToArray - var yyq863 [4]bool - _, _, _ = yysep863, yyq863, yy2arr863 - const yyr863 bool = false - yyq863[1] = x.MinReadySeconds != 0 - yyq863[2] = x.Selector != nil - yyq863[3] = true - var yynn863 int - if yyr863 || yy2arr863 { - r.EncodeArrayStart(4) + yysep860 := !z.EncBinary() + yy2arr860 := z.EncBasicHandle().StructToArray + var yyq860 [5]bool + _, _, _ = yysep860, yyq860, yy2arr860 + const yyr860 bool = false + yyq860[0] = x.Kind != "" + yyq860[1] = x.APIVersion != "" + yyq860[2] = true + yyq860[3] = true + yyq860[4] = true + var yynn860 int + if yyr860 || yy2arr860 { + r.EncodeArrayStart(5) } else { - yynn863 = 1 - for _, b := range yyq863 { + yynn860 = 0 + for _, b := range yyq860 { if b { - yynn863++ + yynn860++ } } - r.EncodeMapStart(yynn863) - yynn863 = 0 + r.EncodeMapStart(yynn860) + yynn860 = 0 } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym865 := z.EncBinary() - _ = yym865 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym866 := z.EncBinary() - _ = yym866 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - if yyr863 || yy2arr863 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq863[1] { - yym868 := z.EncBinary() - _ = yym868 + if yyq860[0] { + yym862 := z.EncBinary() + _ = yym862 if false { } else { - r.EncodeInt(int64(x.MinReadySeconds)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { - r.EncodeInt(0) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq863[1] { + if yyq860[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym869 := z.EncBinary() - _ = yym869 + yym863 := z.EncBinary() + _ = yym863 if false { } else { - r.EncodeInt(int64(x.MinReadySeconds)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq863[2] { - if x.Selector == nil { - r.EncodeNil() + if yyq860[1] { + yym865 := z.EncBinary() + _ = yym865 + if false { } else { - yym871 := z.EncBinary() - _ = yym871 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq860[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym866 := z.EncBinary() + _ = yym866 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr860 || yy2arr860 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq860[2] { + yy868 := &x.ObjectMeta + yy868.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq863[2] { + if yyq860[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() - } else { - yym872 := z.EncBinary() - _ = yym872 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } - } + yy869 := &x.ObjectMeta + yy869.CodecEncodeSelf(e) } } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq863[3] { - yy874 := &x.Template + if yyq860[3] { + yy871 := &x.Spec + yy871.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq860[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy872 := &x.Spec + yy872.CodecEncodeSelf(e) + } + } + if yyr860 || yy2arr860 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq860[4] { + yy874 := &x.Status yy874.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq863[3] { + if yyq860[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) + r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy875 := &x.Template + yy875 := &x.Status yy875.CodecEncodeSelf(e) } } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10541,7 +10488,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -10571,7 +10518,7 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -10593,6 +10540,686 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys878 := string(yys878Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys878 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv881 := &x.ObjectMeta + yyv881.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv882 := &x.Spec + yyv882.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv883 := &x.Status + yyv883.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys878) + } // end switch yys878 + } // end for yyj878 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj884 int + var yyb884 bool + var yyhl884 bool = l >= 0 + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv887 := &x.ObjectMeta + yyv887.CodecDecodeSelf(d) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv888 := &x.Spec + yyv888.CodecDecodeSelf(d) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv889 := &x.Status + yyv889.CodecDecodeSelf(d) + } + for { + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj884-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym890 := z.EncBinary() + _ = yym890 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep891 := !z.EncBinary() + yy2arr891 := z.EncBasicHandle().StructToArray + var yyq891 [4]bool + _, _, _ = yysep891, yyq891, yy2arr891 + const yyr891 bool = false + yyq891[0] = x.Kind != "" + yyq891[1] = x.APIVersion != "" + yyq891[2] = true + var yynn891 int + if yyr891 || yy2arr891 { + r.EncodeArrayStart(4) + } else { + yynn891 = 1 + for _, b := range yyq891 { + if b { + yynn891++ + } + } + r.EncodeMapStart(yynn891) + yynn891 = 0 + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[0] { + yym893 := z.EncBinary() + _ = yym893 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq891[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym894 := z.EncBinary() + _ = yym894 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[1] { + yym896 := z.EncBinary() + _ = yym896 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq891[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym897 := z.EncBinary() + _ = yym897 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[2] { + yy899 := &x.ListMeta + yym900 := z.EncBinary() + _ = yym900 + if false { + } else if z.HasExtensions() && z.EncExt(yy899) { + } else { + z.EncFallback(yy899) + } + } else { + r.EncodeNil() + } + } else { + if yyq891[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy901 := &x.ListMeta + yym902 := z.EncBinary() + _ = yym902 + if false { + } else if z.HasExtensions() && z.EncExt(yy901) { + } else { + z.EncFallback(yy901) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym904 := z.EncBinary() + _ = yym904 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym905 := z.EncBinary() + _ = yym905 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym906 := z.DecBinary() + _ = yym906 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct907 := r.ContainerType() + if yyct907 == codecSelferValueTypeMap1234 { + yyl907 := r.ReadMapStart() + if yyl907 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl907, d) + } + } else if yyct907 == codecSelferValueTypeArray1234 { + yyl907 := r.ReadArrayStart() + if yyl907 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl907, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys908Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys908Slc + var yyhl908 bool = l >= 0 + for yyj908 := 0; ; yyj908++ { + if yyhl908 { + if yyj908 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys908Slc = r.DecodeBytes(yys908Slc, true, true) + yys908 := string(yys908Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys908 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv911 := &x.ListMeta + yym912 := z.DecBinary() + _ = yym912 + if false { + } else if z.HasExtensions() && z.DecExt(yyv911) { + } else { + z.DecFallback(yyv911, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv913 := &x.Items + yym914 := z.DecBinary() + _ = yym914 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv913), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys908) + } // end switch yys908 + } // end for yyj908 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj915 int + var yyb915 bool + var yyhl915 bool = l >= 0 + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv918 := &x.ListMeta + yym919 := z.DecBinary() + _ = yym919 + if false { + } else if z.HasExtensions() && z.DecExt(yyv918) { + } else { + z.DecFallback(yyv918, false) + } + } + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv920 := &x.Items + yym921 := z.DecBinary() + _ = yym921 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv920), d) + } + } + for { + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj915-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym922 := z.EncBinary() + _ = yym922 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep923 := !z.EncBinary() + yy2arr923 := z.EncBasicHandle().StructToArray + var yyq923 [4]bool + _, _, _ = yysep923, yyq923, yy2arr923 + const yyr923 bool = false + yyq923[1] = x.MinReadySeconds != 0 + yyq923[2] = x.Selector != nil + yyq923[3] = true + var yynn923 int + if yyr923 || yy2arr923 { + r.EncodeArrayStart(4) + } else { + yynn923 = 1 + for _, b := range yyq923 { + if b { + yynn923++ + } + } + r.EncodeMapStart(yynn923) + yynn923 = 0 + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym925 := z.EncBinary() + _ = yym925 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym926 := z.EncBinary() + _ = yym926 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq923[1] { + yym928 := z.EncBinary() + _ = yym928 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq923[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym929 := z.EncBinary() + _ = yym929 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq923[2] { + if x.Selector == nil { + r.EncodeNil() + } else { + yym931 := z.EncBinary() + _ = yym931 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq923[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym932 := z.EncBinary() + _ = yym932 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq923[3] { + yy934 := &x.Template + yy934.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq923[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy935 := &x.Template + yy935.CodecEncodeSelf(e) + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym936 := z.DecBinary() + _ = yym936 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct937 := r.ContainerType() + if yyct937 == codecSelferValueTypeMap1234 { + yyl937 := r.ReadMapStart() + if yyl937 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl937, d) + } + } else if yyct937 == codecSelferValueTypeArray1234 { + yyl937 := r.ReadArrayStart() + if yyl937 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl937, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys938Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys938Slc + var yyhl938 bool = l >= 0 + for yyj938 := 0; ; yyj938++ { + if yyhl938 { + if yyj938 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys938Slc = r.DecodeBytes(yys938Slc, true, true) + yys938 := string(yys938Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys938 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -10614,8 +11241,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym882 := z.DecBinary() - _ = yym882 + yym942 := z.DecBinary() + _ = yym942 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -10626,13 +11253,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv883 := &x.Template - yyv883.CodecDecodeSelf(d) + yyv943 := &x.Template + yyv943.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys878) - } // end switch yys878 - } // end for yyj878 + z.DecStructFieldNotFound(-1, yys938) + } // end switch yys938 + } // end for yyj938 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10640,16 +11267,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj884 int - var yyb884 bool - var yyhl884 bool = l >= 0 - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + var yyj944 int + var yyb944 bool + var yyhl944 bool = l >= 0 + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10659,13 +11286,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10675,13 +11302,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10694,21 +11321,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym888 := z.DecBinary() - _ = yym888 + yym948 := z.DecBinary() + _ = yym948 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10716,21 +11343,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv889 := &x.Template - yyv889.CodecDecodeSelf(d) + yyv949 := &x.Template + yyv949.CodecDecodeSelf(d) } for { - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj884-1, "") + z.DecStructFieldNotFound(yyj944-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10742,38 +11369,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym890 := z.EncBinary() - _ = yym890 + yym950 := z.EncBinary() + _ = yym950 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep891 := !z.EncBinary() - yy2arr891 := z.EncBasicHandle().StructToArray - var yyq891 [6]bool - _, _, _ = yysep891, yyq891, yy2arr891 - const yyr891 bool = false - yyq891[1] = x.FullyLabeledReplicas != 0 - yyq891[2] = x.ReadyReplicas != 0 - yyq891[3] = x.AvailableReplicas != 0 - yyq891[4] = x.ObservedGeneration != 0 - yyq891[5] = len(x.Conditions) != 0 - var yynn891 int - if yyr891 || yy2arr891 { + yysep951 := !z.EncBinary() + yy2arr951 := z.EncBasicHandle().StructToArray + var yyq951 [6]bool + _, _, _ = yysep951, yyq951, yy2arr951 + const yyr951 bool = false + yyq951[1] = x.FullyLabeledReplicas != 0 + yyq951[2] = x.ReadyReplicas != 0 + yyq951[3] = x.AvailableReplicas != 0 + yyq951[4] = x.ObservedGeneration != 0 + yyq951[5] = len(x.Conditions) != 0 + var yynn951 int + if yyr951 || yy2arr951 { r.EncodeArrayStart(6) } else { - yynn891 = 1 - for _, b := range yyq891 { + yynn951 = 1 + for _, b := range yyq951 { if b { - yynn891++ + yynn951++ } } - r.EncodeMapStart(yynn891) - yynn891 = 0 + r.EncodeMapStart(yynn951) + yynn951 = 0 } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym893 := z.EncBinary() - _ = yym893 + yym953 := z.EncBinary() + _ = yym953 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -10782,18 +11409,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym894 := z.EncBinary() - _ = yym894 + yym954 := z.EncBinary() + _ = yym954 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[1] { - yym896 := z.EncBinary() - _ = yym896 + if yyq951[1] { + yym956 := z.EncBinary() + _ = yym956 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -10802,23 +11429,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[1] { + if yyq951[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym897 := z.EncBinary() - _ = yym897 + yym957 := z.EncBinary() + _ = yym957 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[2] { - yym899 := z.EncBinary() - _ = yym899 + if yyq951[2] { + yym959 := z.EncBinary() + _ = yym959 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -10827,23 +11454,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[2] { + if yyq951[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym900 := z.EncBinary() - _ = yym900 + yym960 := z.EncBinary() + _ = yym960 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[3] { - yym902 := z.EncBinary() - _ = yym902 + if yyq951[3] { + yym962 := z.EncBinary() + _ = yym962 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -10852,23 +11479,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[3] { + if yyq951[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym903 := z.EncBinary() - _ = yym903 + yym963 := z.EncBinary() + _ = yym963 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[4] { - yym905 := z.EncBinary() - _ = yym905 + if yyq951[4] { + yym965 := z.EncBinary() + _ = yym965 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -10877,26 +11504,26 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[4] { + if yyq951[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym906 := z.EncBinary() - _ = yym906 + yym966 := z.EncBinary() + _ = yym966 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[5] { + if yyq951[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym908 := z.EncBinary() - _ = yym908 + yym968 := z.EncBinary() + _ = yym968 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -10906,15 +11533,15 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq891[5] { + if yyq951[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym909 := z.EncBinary() - _ = yym909 + yym969 := z.EncBinary() + _ = yym969 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -10922,7 +11549,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10935,25 +11562,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym910 := z.DecBinary() - _ = yym910 + yym970 := z.DecBinary() + _ = yym970 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct911 := r.ContainerType() - if yyct911 == codecSelferValueTypeMap1234 { - yyl911 := r.ReadMapStart() - if yyl911 == 0 { + yyct971 := r.ContainerType() + if yyct971 == codecSelferValueTypeMap1234 { + yyl971 := r.ReadMapStart() + if yyl971 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl911, d) + x.codecDecodeSelfFromMap(yyl971, d) } - } else if yyct911 == codecSelferValueTypeArray1234 { - yyl911 := r.ReadArrayStart() - if yyl911 == 0 { + } else if yyct971 == codecSelferValueTypeArray1234 { + yyl971 := r.ReadArrayStart() + if yyl971 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl911, d) + x.codecDecodeSelfFromArray(yyl971, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10965,12 +11592,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys912Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys912Slc - var yyhl912 bool = l >= 0 - for yyj912 := 0; ; yyj912++ { - if yyhl912 { - if yyj912 >= l { + var yys972Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys972Slc + var yyhl972 bool = l >= 0 + for yyj972 := 0; ; yyj972++ { + if yyhl972 { + if yyj972 >= l { break } } else { @@ -10979,10 +11606,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys912Slc = r.DecodeBytes(yys912Slc, true, true) - yys912 := string(yys912Slc) + yys972Slc = r.DecodeBytes(yys972Slc, true, true) + yys972 := string(yys972Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys912 { + switch yys972 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -11017,18 +11644,18 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv918 := &x.Conditions - yym919 := z.DecBinary() - _ = yym919 + yyv978 := &x.Conditions + yym979 := z.DecBinary() + _ = yym979 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv918), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv978), d) } } default: - z.DecStructFieldNotFound(-1, yys912) - } // end switch yys912 - } // end for yyj912 + z.DecStructFieldNotFound(-1, yys972) + } // end switch yys972 + } // end for yyj972 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11036,16 +11663,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj920 int - var yyb920 bool - var yyhl920 bool = l >= 0 - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + var yyj980 int + var yyb980 bool + var yyhl980 bool = l >= 0 + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11055,13 +11682,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11071,13 +11698,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11087,13 +11714,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11103,13 +11730,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11119,13 +11746,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11133,26 +11760,26 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv926 := &x.Conditions - yym927 := z.DecBinary() - _ = yym927 + yyv986 := &x.Conditions + yym987 := z.DecBinary() + _ = yym987 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv926), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv986), d) } } for { - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj920-1, "") + z.DecStructFieldNotFound(yyj980-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11161,8 +11788,8 @@ func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym928 := z.EncBinary() - _ = yym928 + yym988 := z.EncBinary() + _ = yym988 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11174,8 +11801,8 @@ func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym929 := z.DecBinary() - _ = yym929 + yym989 := z.DecBinary() + _ = yym989 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11190,34 +11817,33 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym930 := z.EncBinary() - _ = yym930 + yym990 := z.EncBinary() + _ = yym990 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep931 := !z.EncBinary() - yy2arr931 := z.EncBasicHandle().StructToArray - var yyq931 [6]bool - _, _, _ = yysep931, yyq931, yy2arr931 - const yyr931 bool = false - yyq931[2] = true - yyq931[3] = true - yyq931[4] = x.Reason != "" - yyq931[5] = x.Message != "" - var yynn931 int - if yyr931 || yy2arr931 { - r.EncodeArrayStart(6) + yysep991 := !z.EncBinary() + yy2arr991 := z.EncBasicHandle().StructToArray + var yyq991 [5]bool + _, _, _ = yysep991, yyq991, yy2arr991 + const yyr991 bool = false + yyq991[2] = true + yyq991[3] = x.Reason != "" + yyq991[4] = x.Message != "" + var yynn991 int + if yyr991 || yy2arr991 { + r.EncodeArrayStart(5) } else { - yynn931 = 2 - for _, b := range yyq931 { + yynn991 = 2 + for _, b := range yyq991 { if b { - yynn931++ + yynn991++ } } - r.EncodeMapStart(yynn931) - yynn931 = 0 + r.EncodeMapStart(yynn991) + yynn991 = 0 } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11226,10 +11852,10 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym934 := z.EncBinary() - _ = yym934 + yym994 := z.EncBinary() + _ = yym994 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -11239,93 +11865,56 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym935 := z.EncBinary() - _ = yym935 + yym995 := z.EncBinary() + _ = yym995 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[2] { - yy937 := &x.LastProbeTime - yym938 := z.EncBinary() - _ = yym938 + if yyq991[2] { + yy997 := &x.LastTransitionTime + yym998 := z.EncBinary() + _ = yym998 if false { - } else if z.HasExtensions() && z.EncExt(yy937) { - } else if yym938 { - z.EncBinaryMarshal(yy937) - } else if !yym938 && z.IsJSONHandle() { - z.EncJSONMarshal(yy937) + } else if z.HasExtensions() && z.EncExt(yy997) { + } else if yym998 { + z.EncBinaryMarshal(yy997) + } else if !yym998 && z.IsJSONHandle() { + z.EncJSONMarshal(yy997) } else { - z.EncFallback(yy937) + z.EncFallback(yy997) } } else { r.EncodeNil() } } else { - if yyq931[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy939 := &x.LastProbeTime - yym940 := z.EncBinary() - _ = yym940 - if false { - } else if z.HasExtensions() && z.EncExt(yy939) { - } else if yym940 { - z.EncBinaryMarshal(yy939) - } else if !yym940 && z.IsJSONHandle() { - z.EncJSONMarshal(yy939) - } else { - z.EncFallback(yy939) - } - } - } - if yyr931 || yy2arr931 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[3] { - yy942 := &x.LastTransitionTime - yym943 := z.EncBinary() - _ = yym943 - if false { - } else if z.HasExtensions() && z.EncExt(yy942) { - } else if yym943 { - z.EncBinaryMarshal(yy942) - } else if !yym943 && z.IsJSONHandle() { - z.EncJSONMarshal(yy942) - } else { - z.EncFallback(yy942) - } - } else { - r.EncodeNil() - } - } else { - if yyq931[3] { + if yyq991[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy944 := &x.LastTransitionTime - yym945 := z.EncBinary() - _ = yym945 + yy999 := &x.LastTransitionTime + yym1000 := z.EncBinary() + _ = yym1000 if false { - } else if z.HasExtensions() && z.EncExt(yy944) { - } else if yym945 { - z.EncBinaryMarshal(yy944) - } else if !yym945 && z.IsJSONHandle() { - z.EncJSONMarshal(yy944) + } else if z.HasExtensions() && z.EncExt(yy999) { + } else if yym1000 { + z.EncBinaryMarshal(yy999) + } else if !yym1000 && z.IsJSONHandle() { + z.EncJSONMarshal(yy999) } else { - z.EncFallback(yy944) + z.EncFallback(yy999) } } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[4] { - yym947 := z.EncBinary() - _ = yym947 + if yyq991[3] { + yym1002 := z.EncBinary() + _ = yym1002 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -11334,23 +11923,23 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq931[4] { + if yyq991[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym948 := z.EncBinary() - _ = yym948 + yym1003 := z.EncBinary() + _ = yym1003 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[5] { - yym950 := z.EncBinary() - _ = yym950 + if yyq991[4] { + yym1005 := z.EncBinary() + _ = yym1005 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -11359,19 +11948,19 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq931[5] { + if yyq991[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym951 := z.EncBinary() - _ = yym951 + yym1006 := z.EncBinary() + _ = yym1006 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11384,25 +11973,25 @@ func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym952 := z.DecBinary() - _ = yym952 + yym1007 := z.DecBinary() + _ = yym1007 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct953 := r.ContainerType() - if yyct953 == codecSelferValueTypeMap1234 { - yyl953 := r.ReadMapStart() - if yyl953 == 0 { + yyct1008 := r.ContainerType() + if yyct1008 == codecSelferValueTypeMap1234 { + yyl1008 := r.ReadMapStart() + if yyl1008 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl953, d) + x.codecDecodeSelfFromMap(yyl1008, d) } - } else if yyct953 == codecSelferValueTypeArray1234 { - yyl953 := r.ReadArrayStart() - if yyl953 == 0 { + } else if yyct1008 == codecSelferValueTypeArray1234 { + yyl1008 := r.ReadArrayStart() + if yyl1008 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl953, d) + x.codecDecodeSelfFromArray(yyl1008, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11414,12 +12003,12 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys954Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys954Slc - var yyhl954 bool = l >= 0 - for yyj954 := 0; ; yyj954++ { - if yyhl954 { - if yyj954 >= l { + var yys1009Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1009Slc + var yyhl1009 bool = l >= 0 + for yyj1009 := 0; ; yyj1009++ { + if yyhl1009 { + if yyj1009 >= l { break } } else { @@ -11428,10 +12017,10 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys954Slc = r.DecodeBytes(yys954Slc, true, true) - yys954 := string(yys954Slc) + yys1009Slc = r.DecodeBytes(yys1009Slc, true, true) + yys1009 := string(yys1009Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys954 { + switch yys1009 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11444,38 +12033,21 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.Status = pkg2_api.ConditionStatus(r.DecodeString()) } - case "lastProbeTime": - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg1_unversioned.Time{} - } else { - yyv957 := &x.LastProbeTime - yym958 := z.DecBinary() - _ = yym958 - if false { - } else if z.HasExtensions() && z.DecExt(yyv957) { - } else if yym958 { - z.DecBinaryUnmarshal(yyv957) - } else if !yym958 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv957) - } else { - z.DecFallback(yyv957, false) - } - } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv959 := &x.LastTransitionTime - yym960 := z.DecBinary() - _ = yym960 + yyv1012 := &x.LastTransitionTime + yym1013 := z.DecBinary() + _ = yym1013 if false { - } else if z.HasExtensions() && z.DecExt(yyv959) { - } else if yym960 { - z.DecBinaryUnmarshal(yyv959) - } else if !yym960 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv959) + } else if z.HasExtensions() && z.DecExt(yyv1012) { + } else if yym1013 { + z.DecBinaryUnmarshal(yyv1012) + } else if !yym1013 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1012) } else { - z.DecFallback(yyv959, false) + z.DecFallback(yyv1012, false) } } case "reason": @@ -11491,9 +12063,9 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys954) - } // end switch yys954 - } // end for yyj954 + z.DecStructFieldNotFound(-1, yys1009) + } // end switch yys1009 + } // end for yyj1009 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11501,16 +12073,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj963 int - var yyb963 bool - var yyhl963 bool = l >= 0 - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + var yyj1016 int + var yyb1016 bool + var yyhl1016 bool = l >= 0 + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb963 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb963 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11520,13 +12092,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Type = ReplicaSetConditionType(r.DecodeString()) } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb963 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb963 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11536,40 +12108,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Status = pkg2_api.ConditionStatus(r.DecodeString()) } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb963 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb963 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg1_unversioned.Time{} - } else { - yyv966 := &x.LastProbeTime - yym967 := z.DecBinary() - _ = yym967 - if false { - } else if z.HasExtensions() && z.DecExt(yyv966) { - } else if yym967 { - z.DecBinaryUnmarshal(yyv966) - } else if !yym967 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv966) - } else { - z.DecFallback(yyv966, false) - } - } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l - } else { - yyb963 = r.CheckBreak() - } - if yyb963 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11577,26 +12122,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv968 := &x.LastTransitionTime - yym969 := z.DecBinary() - _ = yym969 + yyv1019 := &x.LastTransitionTime + yym1020 := z.DecBinary() + _ = yym1020 if false { - } else if z.HasExtensions() && z.DecExt(yyv968) { - } else if yym969 { - z.DecBinaryUnmarshal(yyv968) - } else if !yym969 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv968) + } else if z.HasExtensions() && z.DecExt(yyv1019) { + } else if yym1020 { + z.DecBinaryUnmarshal(yyv1019) + } else if !yym1020 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1019) } else { - z.DecFallback(yyv968, false) + z.DecFallback(yyv1019, false) } } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb963 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb963 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11606,13 +12151,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Reason = string(r.DecodeString()) } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb963 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb963 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11623,17 +12168,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } for { - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb963 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb963 { + if yyb1016 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj963-1, "") + z.DecStructFieldNotFound(yyj1016-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11645,38 +12190,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym972 := z.EncBinary() - _ = yym972 + yym1023 := z.EncBinary() + _ = yym1023 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep973 := !z.EncBinary() - yy2arr973 := z.EncBasicHandle().StructToArray - var yyq973 [4]bool - _, _, _ = yysep973, yyq973, yy2arr973 - const yyr973 bool = false - yyq973[0] = x.Kind != "" - yyq973[1] = x.APIVersion != "" - yyq973[2] = true - yyq973[3] = true - var yynn973 int - if yyr973 || yy2arr973 { + yysep1024 := !z.EncBinary() + yy2arr1024 := z.EncBasicHandle().StructToArray + var yyq1024 [4]bool + _, _, _ = yysep1024, yyq1024, yy2arr1024 + const yyr1024 bool = false + yyq1024[0] = x.Kind != "" + yyq1024[1] = x.APIVersion != "" + yyq1024[2] = true + yyq1024[3] = true + var yynn1024 int + if yyr1024 || yy2arr1024 { r.EncodeArrayStart(4) } else { - yynn973 = 0 - for _, b := range yyq973 { + yynn1024 = 0 + for _, b := range yyq1024 { if b { - yynn973++ + yynn1024++ } } - r.EncodeMapStart(yynn973) - yynn973 = 0 + r.EncodeMapStart(yynn1024) + yynn1024 = 0 } - if yyr973 || yy2arr973 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[0] { - yym975 := z.EncBinary() - _ = yym975 + if yyq1024[0] { + yym1026 := z.EncBinary() + _ = yym1026 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11685,23 +12230,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq973[0] { + if yyq1024[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym976 := z.EncBinary() - _ = yym976 + yym1027 := z.EncBinary() + _ = yym1027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr973 || yy2arr973 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[1] { - yym978 := z.EncBinary() - _ = yym978 + if yyq1024[1] { + yym1029 := z.EncBinary() + _ = yym1029 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11710,53 +12255,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq973[1] { + if yyq1024[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym979 := z.EncBinary() - _ = yym979 + yym1030 := z.EncBinary() + _ = yym1030 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr973 || yy2arr973 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[2] { - yy981 := &x.ObjectMeta - yy981.CodecEncodeSelf(e) + if yyq1024[2] { + yy1032 := &x.ObjectMeta + yy1032.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq973[2] { + if yyq1024[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy982 := &x.ObjectMeta - yy982.CodecEncodeSelf(e) + yy1033 := &x.ObjectMeta + yy1033.CodecEncodeSelf(e) } } - if yyr973 || yy2arr973 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[3] { - yy984 := &x.Spec - yy984.CodecEncodeSelf(e) + if yyq1024[3] { + yy1035 := &x.Spec + yy1035.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq973[3] { + if yyq1024[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy985 := &x.Spec - yy985.CodecEncodeSelf(e) + yy1036 := &x.Spec + yy1036.CodecEncodeSelf(e) } } - if yyr973 || yy2arr973 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11769,25 +12314,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym986 := z.DecBinary() - _ = yym986 + yym1037 := z.DecBinary() + _ = yym1037 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct987 := r.ContainerType() - if yyct987 == codecSelferValueTypeMap1234 { - yyl987 := r.ReadMapStart() - if yyl987 == 0 { + yyct1038 := r.ContainerType() + if yyct1038 == codecSelferValueTypeMap1234 { + yyl1038 := r.ReadMapStart() + if yyl1038 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl987, d) + x.codecDecodeSelfFromMap(yyl1038, d) } - } else if yyct987 == codecSelferValueTypeArray1234 { - yyl987 := r.ReadArrayStart() - if yyl987 == 0 { + } else if yyct1038 == codecSelferValueTypeArray1234 { + yyl1038 := r.ReadArrayStart() + if yyl1038 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl987, d) + x.codecDecodeSelfFromArray(yyl1038, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11799,12 +12344,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys988Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys988Slc - var yyhl988 bool = l >= 0 - for yyj988 := 0; ; yyj988++ { - if yyhl988 { - if yyj988 >= l { + var yys1039Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1039Slc + var yyhl1039 bool = l >= 0 + for yyj1039 := 0; ; yyj1039++ { + if yyhl1039 { + if yyj1039 >= l { break } } else { @@ -11813,10 +12358,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys988Slc = r.DecodeBytes(yys988Slc, true, true) - yys988 := string(yys988Slc) + yys1039Slc = r.DecodeBytes(yys1039Slc, true, true) + yys1039 := string(yys1039Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys988 { + switch yys1039 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11833,20 +12378,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv991 := &x.ObjectMeta - yyv991.CodecDecodeSelf(d) + yyv1042 := &x.ObjectMeta + yyv1042.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv992 := &x.Spec - yyv992.CodecDecodeSelf(d) + yyv1043 := &x.Spec + yyv1043.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys988) - } // end switch yys988 - } // end for yyj988 + z.DecStructFieldNotFound(-1, yys1039) + } // end switch yys1039 + } // end for yyj1039 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11854,16 +12399,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj993 int - var yyb993 bool - var yyhl993 bool = l >= 0 - yyj993++ - if yyhl993 { - yyb993 = yyj993 > l + var yyj1044 int + var yyb1044 bool + var yyhl1044 bool = l >= 0 + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb993 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb993 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11873,13 +12418,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj993++ - if yyhl993 { - yyb993 = yyj993 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb993 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb993 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11889,13 +12434,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj993++ - if yyhl993 { - yyb993 = yyj993 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb993 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb993 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11903,16 +12448,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv996 := &x.ObjectMeta - yyv996.CodecDecodeSelf(d) + yyv1047 := &x.ObjectMeta + yyv1047.CodecDecodeSelf(d) } - yyj993++ - if yyhl993 { - yyb993 = yyj993 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb993 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb993 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11920,21 +12465,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv997 := &x.Spec - yyv997.CodecDecodeSelf(d) + yyv1048 := &x.Spec + yyv1048.CodecDecodeSelf(d) } for { - yyj993++ - if yyhl993 { - yyb993 = yyj993 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb993 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb993 { + if yyb1044 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj993-1, "") + z.DecStructFieldNotFound(yyj1044-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11946,44 +12491,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym998 := z.EncBinary() - _ = yym998 + yym1049 := z.EncBinary() + _ = yym1049 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep999 := !z.EncBinary() - yy2arr999 := z.EncBasicHandle().StructToArray - var yyq999 [14]bool - _, _, _ = yysep999, yyq999, yy2arr999 - const yyr999 bool = false - yyq999[0] = x.Privileged != false - yyq999[1] = len(x.DefaultAddCapabilities) != 0 - yyq999[2] = len(x.RequiredDropCapabilities) != 0 - yyq999[3] = len(x.AllowedCapabilities) != 0 - yyq999[4] = len(x.Volumes) != 0 - yyq999[5] = x.HostNetwork != false - yyq999[6] = len(x.HostPorts) != 0 - yyq999[7] = x.HostPID != false - yyq999[8] = x.HostIPC != false - yyq999[13] = x.ReadOnlyRootFilesystem != false - var yynn999 int - if yyr999 || yy2arr999 { + yysep1050 := !z.EncBinary() + yy2arr1050 := z.EncBasicHandle().StructToArray + var yyq1050 [14]bool + _, _, _ = yysep1050, yyq1050, yy2arr1050 + const yyr1050 bool = false + yyq1050[0] = x.Privileged != false + yyq1050[1] = len(x.DefaultAddCapabilities) != 0 + yyq1050[2] = len(x.RequiredDropCapabilities) != 0 + yyq1050[3] = len(x.AllowedCapabilities) != 0 + yyq1050[4] = len(x.Volumes) != 0 + yyq1050[5] = x.HostNetwork != false + yyq1050[6] = len(x.HostPorts) != 0 + yyq1050[7] = x.HostPID != false + yyq1050[8] = x.HostIPC != false + yyq1050[13] = x.ReadOnlyRootFilesystem != false + var yynn1050 int + if yyr1050 || yy2arr1050 { r.EncodeArrayStart(14) } else { - yynn999 = 4 - for _, b := range yyq999 { + yynn1050 = 4 + for _, b := range yyq1050 { if b { - yynn999++ + yynn1050++ } } - r.EncodeMapStart(yynn999) - yynn999 = 0 + r.EncodeMapStart(yynn1050) + yynn1050 = 0 } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[0] { - yym1001 := z.EncBinary() - _ = yym1001 + if yyq1050[0] { + yym1052 := z.EncBinary() + _ = yym1052 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -11992,26 +12537,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq999[0] { + if yyq1050[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1002 := z.EncBinary() - _ = yym1002 + yym1053 := z.EncBinary() + _ = yym1053 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[1] { + if yyq1050[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1004 := z.EncBinary() - _ = yym1004 + yym1055 := z.EncBinary() + _ = yym1055 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -12021,15 +12566,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq999[1] { + if yyq1050[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1005 := z.EncBinary() - _ = yym1005 + yym1056 := z.EncBinary() + _ = yym1056 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -12037,14 +12582,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[2] { + if yyq1050[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1007 := z.EncBinary() - _ = yym1007 + yym1058 := z.EncBinary() + _ = yym1058 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -12054,15 +12599,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq999[2] { + if yyq1050[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1008 := z.EncBinary() - _ = yym1008 + yym1059 := z.EncBinary() + _ = yym1059 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -12070,14 +12615,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[3] { + if yyq1050[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1010 := z.EncBinary() - _ = yym1010 + yym1061 := z.EncBinary() + _ = yym1061 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -12087,15 +12632,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq999[3] { + if yyq1050[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1011 := z.EncBinary() - _ = yym1011 + yym1062 := z.EncBinary() + _ = yym1062 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -12103,14 +12648,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[4] { + if yyq1050[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1013 := z.EncBinary() - _ = yym1013 + yym1064 := z.EncBinary() + _ = yym1064 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -12120,15 +12665,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq999[4] { + if yyq1050[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1014 := z.EncBinary() - _ = yym1014 + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -12136,11 +12681,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[5] { - yym1016 := z.EncBinary() - _ = yym1016 + if yyq1050[5] { + yym1067 := z.EncBinary() + _ = yym1067 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -12149,26 +12694,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq999[5] { + if yyq1050[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1017 := z.EncBinary() - _ = yym1017 + yym1068 := z.EncBinary() + _ = yym1068 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[6] { + if yyq1050[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1019 := z.EncBinary() - _ = yym1019 + yym1070 := z.EncBinary() + _ = yym1070 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -12178,15 +12723,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq999[6] { + if yyq1050[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1020 := z.EncBinary() - _ = yym1020 + yym1071 := z.EncBinary() + _ = yym1071 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -12194,11 +12739,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[7] { - yym1022 := z.EncBinary() - _ = yym1022 + if yyq1050[7] { + yym1073 := z.EncBinary() + _ = yym1073 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -12207,23 +12752,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq999[7] { + if yyq1050[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1023 := z.EncBinary() - _ = yym1023 + yym1074 := z.EncBinary() + _ = yym1074 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[8] { - yym1025 := z.EncBinary() - _ = yym1025 + if yyq1050[8] { + yym1076 := z.EncBinary() + _ = yym1076 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -12232,67 +12777,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq999[8] { + if yyq1050[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1026 := z.EncBinary() - _ = yym1026 + yym1077 := z.EncBinary() + _ = yym1077 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1028 := &x.SELinux - yy1028.CodecEncodeSelf(e) + yy1079 := &x.SELinux + yy1079.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1029 := &x.SELinux - yy1029.CodecEncodeSelf(e) + yy1080 := &x.SELinux + yy1080.CodecEncodeSelf(e) } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1031 := &x.RunAsUser - yy1031.CodecEncodeSelf(e) + yy1082 := &x.RunAsUser + yy1082.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1032 := &x.RunAsUser - yy1032.CodecEncodeSelf(e) + yy1083 := &x.RunAsUser + yy1083.CodecEncodeSelf(e) } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1034 := &x.SupplementalGroups - yy1034.CodecEncodeSelf(e) + yy1085 := &x.SupplementalGroups + yy1085.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1035 := &x.SupplementalGroups - yy1035.CodecEncodeSelf(e) + yy1086 := &x.SupplementalGroups + yy1086.CodecEncodeSelf(e) } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1037 := &x.FSGroup - yy1037.CodecEncodeSelf(e) + yy1088 := &x.FSGroup + yy1088.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1038 := &x.FSGroup - yy1038.CodecEncodeSelf(e) + yy1089 := &x.FSGroup + yy1089.CodecEncodeSelf(e) } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq999[13] { - yym1040 := z.EncBinary() - _ = yym1040 + if yyq1050[13] { + yym1091 := z.EncBinary() + _ = yym1091 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -12301,19 +12846,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq999[13] { + if yyq1050[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1041 := z.EncBinary() - _ = yym1041 + yym1092 := z.EncBinary() + _ = yym1092 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr999 || yy2arr999 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12326,25 +12871,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1042 := z.DecBinary() - _ = yym1042 + yym1093 := z.DecBinary() + _ = yym1093 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1043 := r.ContainerType() - if yyct1043 == codecSelferValueTypeMap1234 { - yyl1043 := r.ReadMapStart() - if yyl1043 == 0 { + yyct1094 := r.ContainerType() + if yyct1094 == codecSelferValueTypeMap1234 { + yyl1094 := r.ReadMapStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1043, d) + x.codecDecodeSelfFromMap(yyl1094, d) } - } else if yyct1043 == codecSelferValueTypeArray1234 { - yyl1043 := r.ReadArrayStart() - if yyl1043 == 0 { + } else if yyct1094 == codecSelferValueTypeArray1234 { + yyl1094 := r.ReadArrayStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1043, d) + x.codecDecodeSelfFromArray(yyl1094, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12356,12 +12901,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1044Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1044Slc - var yyhl1044 bool = l >= 0 - for yyj1044 := 0; ; yyj1044++ { - if yyhl1044 { - if yyj1044 >= l { + var yys1095Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1095Slc + var yyhl1095 bool = l >= 0 + for yyj1095 := 0; ; yyj1095++ { + if yyhl1095 { + if yyj1095 >= l { break } } else { @@ -12370,10 +12915,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1044Slc = r.DecodeBytes(yys1044Slc, true, true) - yys1044 := string(yys1044Slc) + yys1095Slc = r.DecodeBytes(yys1095Slc, true, true) + yys1095 := string(yys1095Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1044 { + switch yys1095 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -12384,48 +12929,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1046 := &x.DefaultAddCapabilities - yym1047 := z.DecBinary() - _ = yym1047 + yyv1097 := &x.DefaultAddCapabilities + yym1098 := z.DecBinary() + _ = yym1098 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1046), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1097), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1048 := &x.RequiredDropCapabilities - yym1049 := z.DecBinary() - _ = yym1049 + yyv1099 := &x.RequiredDropCapabilities + yym1100 := z.DecBinary() + _ = yym1100 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1048), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1099), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1050 := &x.AllowedCapabilities - yym1051 := z.DecBinary() - _ = yym1051 + yyv1101 := &x.AllowedCapabilities + yym1102 := z.DecBinary() + _ = yym1102 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1050), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1101), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1052 := &x.Volumes - yym1053 := z.DecBinary() - _ = yym1053 + yyv1103 := &x.Volumes + yym1104 := z.DecBinary() + _ = yym1104 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1052), d) + h.decSliceFSType((*[]FSType)(yyv1103), d) } } case "hostNetwork": @@ -12438,12 +12983,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1055 := &x.HostPorts - yym1056 := z.DecBinary() - _ = yym1056 + yyv1106 := &x.HostPorts + yym1107 := z.DecBinary() + _ = yym1107 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1055), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1106), d) } } case "hostPID": @@ -12462,29 +13007,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1059 := &x.SELinux - yyv1059.CodecDecodeSelf(d) + yyv1110 := &x.SELinux + yyv1110.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1060 := &x.RunAsUser - yyv1060.CodecDecodeSelf(d) + yyv1111 := &x.RunAsUser + yyv1111.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1061 := &x.SupplementalGroups - yyv1061.CodecDecodeSelf(d) + yyv1112 := &x.SupplementalGroups + yyv1112.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1062 := &x.FSGroup - yyv1062.CodecDecodeSelf(d) + yyv1113 := &x.FSGroup + yyv1113.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -12493,9 +13038,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1044) - } // end switch yys1044 - } // end for yyj1044 + z.DecStructFieldNotFound(-1, yys1095) + } // end switch yys1095 + } // end for yyj1095 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12503,16 +13048,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1064 int - var yyb1064 bool - var yyhl1064 bool = l >= 0 - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + var yyj1115 int + var yyb1115 bool + var yyhl1115 bool = l >= 0 + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12522,13 +13067,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12536,21 +13081,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1066 := &x.DefaultAddCapabilities - yym1067 := z.DecBinary() - _ = yym1067 + yyv1117 := &x.DefaultAddCapabilities + yym1118 := z.DecBinary() + _ = yym1118 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1066), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1117), d) } } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12558,21 +13103,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1068 := &x.RequiredDropCapabilities - yym1069 := z.DecBinary() - _ = yym1069 + yyv1119 := &x.RequiredDropCapabilities + yym1120 := z.DecBinary() + _ = yym1120 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1068), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1119), d) } } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12580,21 +13125,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1070 := &x.AllowedCapabilities - yym1071 := z.DecBinary() - _ = yym1071 + yyv1121 := &x.AllowedCapabilities + yym1122 := z.DecBinary() + _ = yym1122 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1070), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1121), d) } } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12602,21 +13147,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1072 := &x.Volumes - yym1073 := z.DecBinary() - _ = yym1073 + yyv1123 := &x.Volumes + yym1124 := z.DecBinary() + _ = yym1124 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1072), d) + h.decSliceFSType((*[]FSType)(yyv1123), d) } } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12626,13 +13171,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12640,21 +13185,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1075 := &x.HostPorts - yym1076 := z.DecBinary() - _ = yym1076 + yyv1126 := &x.HostPorts + yym1127 := z.DecBinary() + _ = yym1127 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1075), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1126), d) } } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12664,13 +13209,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12680,13 +13225,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12694,16 +13239,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1079 := &x.SELinux - yyv1079.CodecDecodeSelf(d) + yyv1130 := &x.SELinux + yyv1130.CodecDecodeSelf(d) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12711,16 +13256,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1080 := &x.RunAsUser - yyv1080.CodecDecodeSelf(d) + yyv1131 := &x.RunAsUser + yyv1131.CodecDecodeSelf(d) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12728,16 +13273,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1081 := &x.SupplementalGroups - yyv1081.CodecDecodeSelf(d) + yyv1132 := &x.SupplementalGroups + yyv1132.CodecDecodeSelf(d) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12745,16 +13290,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1082 := &x.FSGroup - yyv1082.CodecDecodeSelf(d) + yyv1133 := &x.FSGroup + yyv1133.CodecDecodeSelf(d) } - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12765,17 +13310,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj1064++ - if yyhl1064 { - yyb1064 = yyj1064 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1064 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1064 { + if yyb1115 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1064-1, "") + z.DecStructFieldNotFound(yyj1115-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12787,33 +13332,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1084 := z.EncBinary() - _ = yym1084 + yym1135 := z.EncBinary() + _ = yym1135 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1085 := !z.EncBinary() - yy2arr1085 := z.EncBasicHandle().StructToArray - var yyq1085 [2]bool - _, _, _ = yysep1085, yyq1085, yy2arr1085 - const yyr1085 bool = false - var yynn1085 int - if yyr1085 || yy2arr1085 { + yysep1136 := !z.EncBinary() + yy2arr1136 := z.EncBasicHandle().StructToArray + var yyq1136 [2]bool + _, _, _ = yysep1136, yyq1136, yy2arr1136 + const yyr1136 bool = false + var yynn1136 int + if yyr1136 || yy2arr1136 { r.EncodeArrayStart(2) } else { - yynn1085 = 2 - for _, b := range yyq1085 { + yynn1136 = 2 + for _, b := range yyq1136 { if b { - yynn1085++ + yynn1136++ } } - r.EncodeMapStart(yynn1085) - yynn1085 = 0 + r.EncodeMapStart(yynn1136) + yynn1136 = 0 } - if yyr1085 || yy2arr1085 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1087 := z.EncBinary() - _ = yym1087 + yym1138 := z.EncBinary() + _ = yym1138 if false { } else { r.EncodeInt(int64(x.Min)) @@ -12822,17 +13367,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1088 := z.EncBinary() - _ = yym1088 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1085 || yy2arr1085 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1090 := z.EncBinary() - _ = yym1090 + yym1141 := z.EncBinary() + _ = yym1141 if false { } else { r.EncodeInt(int64(x.Max)) @@ -12841,14 +13386,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1091 := z.EncBinary() - _ = yym1091 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1085 || yy2arr1085 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12861,25 +13406,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1092 := z.DecBinary() - _ = yym1092 + yym1143 := z.DecBinary() + _ = yym1143 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1093 := r.ContainerType() - if yyct1093 == codecSelferValueTypeMap1234 { - yyl1093 := r.ReadMapStart() - if yyl1093 == 0 { + yyct1144 := r.ContainerType() + if yyct1144 == codecSelferValueTypeMap1234 { + yyl1144 := r.ReadMapStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1093, d) + x.codecDecodeSelfFromMap(yyl1144, d) } - } else if yyct1093 == codecSelferValueTypeArray1234 { - yyl1093 := r.ReadArrayStart() - if yyl1093 == 0 { + } else if yyct1144 == codecSelferValueTypeArray1234 { + yyl1144 := r.ReadArrayStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1093, d) + x.codecDecodeSelfFromArray(yyl1144, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12891,12 +13436,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1094Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1094Slc - var yyhl1094 bool = l >= 0 - for yyj1094 := 0; ; yyj1094++ { - if yyhl1094 { - if yyj1094 >= l { + var yys1145Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1145Slc + var yyhl1145 bool = l >= 0 + for yyj1145 := 0; ; yyj1145++ { + if yyhl1145 { + if yyj1145 >= l { break } } else { @@ -12905,10 +13450,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1094Slc = r.DecodeBytes(yys1094Slc, true, true) - yys1094 := string(yys1094Slc) + yys1145Slc = r.DecodeBytes(yys1145Slc, true, true) + yys1145 := string(yys1145Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1094 { + switch yys1145 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -12922,9 +13467,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys1094) - } // end switch yys1094 - } // end for yyj1094 + z.DecStructFieldNotFound(-1, yys1145) + } // end switch yys1145 + } // end for yyj1145 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12932,16 +13477,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1097 int - var yyb1097 bool - var yyhl1097 bool = l >= 0 - yyj1097++ - if yyhl1097 { - yyb1097 = yyj1097 > l + var yyj1148 int + var yyb1148 bool + var yyhl1148 bool = l >= 0 + yyj1148++ + if yyhl1148 { + yyb1148 = yyj1148 > l } else { - yyb1097 = r.CheckBreak() + yyb1148 = r.CheckBreak() } - if yyb1097 { + if yyb1148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12951,13 +13496,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1097++ - if yyhl1097 { - yyb1097 = yyj1097 > l + yyj1148++ + if yyhl1148 { + yyb1148 = yyj1148 > l } else { - yyb1097 = r.CheckBreak() + yyb1148 = r.CheckBreak() } - if yyb1097 { + if yyb1148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12968,17 +13513,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj1097++ - if yyhl1097 { - yyb1097 = yyj1097 > l + yyj1148++ + if yyhl1148 { + yyb1148 = yyj1148 > l } else { - yyb1097 = r.CheckBreak() + yyb1148 = r.CheckBreak() } - if yyb1097 { + if yyb1148 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1097-1, "") + z.DecStructFieldNotFound(yyj1148-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12987,8 +13532,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1100 := z.EncBinary() - _ = yym1100 + yym1151 := z.EncBinary() + _ = yym1151 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13000,8 +13545,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1101 := z.DecBinary() - _ = yym1101 + yym1152 := z.DecBinary() + _ = yym1152 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13016,31 +13561,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1102 := z.EncBinary() - _ = yym1102 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1103 := !z.EncBinary() - yy2arr1103 := z.EncBasicHandle().StructToArray - var yyq1103 [2]bool - _, _, _ = yysep1103, yyq1103, yy2arr1103 - const yyr1103 bool = false - yyq1103[1] = x.SELinuxOptions != nil - var yynn1103 int - if yyr1103 || yy2arr1103 { + yysep1154 := !z.EncBinary() + yy2arr1154 := z.EncBasicHandle().StructToArray + var yyq1154 [2]bool + _, _, _ = yysep1154, yyq1154, yy2arr1154 + const yyr1154 bool = false + yyq1154[1] = x.SELinuxOptions != nil + var yynn1154 int + if yyr1154 || yy2arr1154 { r.EncodeArrayStart(2) } else { - yynn1103 = 1 - for _, b := range yyq1103 { + yynn1154 = 1 + for _, b := range yyq1154 { if b { - yynn1103++ + yynn1154++ } } - r.EncodeMapStart(yynn1103) - yynn1103 = 0 + r.EncodeMapStart(yynn1154) + yynn1154 = 0 } - if yyr1103 || yy2arr1103 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -13049,9 +13594,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1103 || yy2arr1103 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1103[1] { + if yyq1154[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -13061,7 +13606,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1103[1] { + if yyq1154[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13072,7 +13617,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1103 || yy2arr1103 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13085,25 +13630,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1106 := z.DecBinary() - _ = yym1106 + yym1157 := z.DecBinary() + _ = yym1157 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1107 := r.ContainerType() - if yyct1107 == codecSelferValueTypeMap1234 { - yyl1107 := r.ReadMapStart() - if yyl1107 == 0 { + yyct1158 := r.ContainerType() + if yyct1158 == codecSelferValueTypeMap1234 { + yyl1158 := r.ReadMapStart() + if yyl1158 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1107, d) + x.codecDecodeSelfFromMap(yyl1158, d) } - } else if yyct1107 == codecSelferValueTypeArray1234 { - yyl1107 := r.ReadArrayStart() - if yyl1107 == 0 { + } else if yyct1158 == codecSelferValueTypeArray1234 { + yyl1158 := r.ReadArrayStart() + if yyl1158 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1107, d) + x.codecDecodeSelfFromArray(yyl1158, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13115,12 +13660,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1108Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1108Slc - var yyhl1108 bool = l >= 0 - for yyj1108 := 0; ; yyj1108++ { - if yyhl1108 { - if yyj1108 >= l { + var yys1159Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1159Slc + var yyhl1159 bool = l >= 0 + for yyj1159 := 0; ; yyj1159++ { + if yyhl1159 { + if yyj1159 >= l { break } } else { @@ -13129,10 +13674,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1108Slc = r.DecodeBytes(yys1108Slc, true, true) - yys1108 := string(yys1108Slc) + yys1159Slc = r.DecodeBytes(yys1159Slc, true, true) + yys1159 := string(yys1159Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1108 { + switch yys1159 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -13151,714 +13696,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1108) - } // end switch yys1108 - } // end for yyj1108 + z.DecStructFieldNotFound(-1, yys1159) + } // end switch yys1159 + } // end for yyj1159 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1111 int - var yyb1111 bool - var yyhl1111 bool = l >= 0 - yyj1111++ - if yyhl1111 { - yyb1111 = yyj1111 > l - } else { - yyb1111 = r.CheckBreak() - } - if yyb1111 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = SELinuxStrategy(r.DecodeString()) - } - yyj1111++ - if yyhl1111 { - yyb1111 = yyj1111 > l - } else { - yyb1111 = r.CheckBreak() - } - if yyb1111 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.SELinuxOptions != nil { - x.SELinuxOptions = nil - } - } else { - if x.SELinuxOptions == nil { - x.SELinuxOptions = new(pkg2_api.SELinuxOptions) - } - x.SELinuxOptions.CodecDecodeSelf(d) - } - for { - yyj1111++ - if yyhl1111 { - yyb1111 = yyj1111 > l - } else { - yyb1111 = r.CheckBreak() - } - if yyb1111 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1111-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1114 := z.EncBinary() - _ = yym1114 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1115 := z.DecBinary() - _ = yym1115 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1116 := z.EncBinary() - _ = yym1116 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1117 := !z.EncBinary() - yy2arr1117 := z.EncBasicHandle().StructToArray - var yyq1117 [2]bool - _, _, _ = yysep1117, yyq1117, yy2arr1117 - const yyr1117 bool = false - yyq1117[1] = len(x.Ranges) != 0 - var yynn1117 int - if yyr1117 || yy2arr1117 { - r.EncodeArrayStart(2) - } else { - yynn1117 = 1 - for _, b := range yyq1117 { - if b { - yynn1117++ - } - } - r.EncodeMapStart(yynn1117) - yynn1117 = 0 - } - if yyr1117 || yy2arr1117 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Rule.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rule")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Rule.CodecEncodeSelf(e) - } - if yyr1117 || yy2arr1117 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[1] { - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1120 := z.EncBinary() - _ = yym1120 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1117[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ranges")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1121 := z.EncBinary() - _ = yym1121 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } - } - if yyr1117 || yy2arr1117 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1122 := z.DecBinary() - _ = yym1122 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1123 := r.ContainerType() - if yyct1123 == codecSelferValueTypeMap1234 { - yyl1123 := r.ReadMapStart() - if yyl1123 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1123, d) - } - } else if yyct1123 == codecSelferValueTypeArray1234 { - yyl1123 := r.ReadArrayStart() - if yyl1123 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1123, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1124Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1124Slc - var yyhl1124 bool = l >= 0 - for yyj1124 := 0; ; yyj1124++ { - if yyhl1124 { - if yyj1124 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1124Slc = r.DecodeBytes(yys1124Slc, true, true) - yys1124 := string(yys1124Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1124 { - case "rule": - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = RunAsUserStrategy(r.DecodeString()) - } - case "ranges": - if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1126 := &x.Ranges - yym1127 := z.DecBinary() - _ = yym1127 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1126), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1124) - } // end switch yys1124 - } // end for yyj1124 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1128 int - var yyb1128 bool - var yyhl1128 bool = l >= 0 - yyj1128++ - if yyhl1128 { - yyb1128 = yyj1128 > l - } else { - yyb1128 = r.CheckBreak() - } - if yyb1128 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = RunAsUserStrategy(r.DecodeString()) - } - yyj1128++ - if yyhl1128 { - yyb1128 = yyj1128 > l - } else { - yyb1128 = r.CheckBreak() - } - if yyb1128 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1130 := &x.Ranges - yym1131 := z.DecBinary() - _ = yym1131 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1130), d) - } - } - for { - yyj1128++ - if yyhl1128 { - yyb1128 = yyj1128 > l - } else { - yyb1128 = r.CheckBreak() - } - if yyb1128 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1128-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1132 := z.EncBinary() - _ = yym1132 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1133 := !z.EncBinary() - yy2arr1133 := z.EncBasicHandle().StructToArray - var yyq1133 [2]bool - _, _, _ = yysep1133, yyq1133, yy2arr1133 - const yyr1133 bool = false - var yynn1133 int - if yyr1133 || yy2arr1133 { - r.EncodeArrayStart(2) - } else { - yynn1133 = 2 - for _, b := range yyq1133 { - if b { - yynn1133++ - } - } - r.EncodeMapStart(yynn1133) - yynn1133 = 0 - } - if yyr1133 || yy2arr1133 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1135 := z.EncBinary() - _ = yym1135 - if false { - } else { - r.EncodeInt(int64(x.Min)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("min")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1136 := z.EncBinary() - _ = yym1136 - if false { - } else { - r.EncodeInt(int64(x.Min)) - } - } - if yyr1133 || yy2arr1133 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1138 := z.EncBinary() - _ = yym1138 - if false { - } else { - r.EncodeInt(int64(x.Max)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("max")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1139 := z.EncBinary() - _ = yym1139 - if false { - } else { - r.EncodeInt(int64(x.Max)) - } - } - if yyr1133 || yy2arr1133 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1140 := z.DecBinary() - _ = yym1140 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1141 := r.ContainerType() - if yyct1141 == codecSelferValueTypeMap1234 { - yyl1141 := r.ReadMapStart() - if yyl1141 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1141, d) - } - } else if yyct1141 == codecSelferValueTypeArray1234 { - yyl1141 := r.ReadArrayStart() - if yyl1141 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1141, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1142Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1142Slc - var yyhl1142 bool = l >= 0 - for yyj1142 := 0; ; yyj1142++ { - if yyhl1142 { - if yyj1142 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1142Slc = r.DecodeBytes(yys1142Slc, true, true) - yys1142 := string(yys1142Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1142 { - case "min": - if r.TryDecodeAsNil() { - x.Min = 0 - } else { - x.Min = int64(r.DecodeInt(64)) - } - case "max": - if r.TryDecodeAsNil() { - x.Max = 0 - } else { - x.Max = int64(r.DecodeInt(64)) - } - default: - z.DecStructFieldNotFound(-1, yys1142) - } // end switch yys1142 - } // end for yyj1142 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1145 int - var yyb1145 bool - var yyhl1145 bool = l >= 0 - yyj1145++ - if yyhl1145 { - yyb1145 = yyj1145 > l - } else { - yyb1145 = r.CheckBreak() - } - if yyb1145 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Min = 0 - } else { - x.Min = int64(r.DecodeInt(64)) - } - yyj1145++ - if yyhl1145 { - yyb1145 = yyj1145 > l - } else { - yyb1145 = r.CheckBreak() - } - if yyb1145 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Max = 0 - } else { - x.Max = int64(r.DecodeInt(64)) - } - for { - yyj1145++ - if yyhl1145 { - yyb1145 = yyj1145 > l - } else { - yyb1145 = r.CheckBreak() - } - if yyb1145 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1145-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1148 := z.EncBinary() - _ = yym1148 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1149 := z.DecBinary() - _ = yym1149 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1150 := z.EncBinary() - _ = yym1150 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1151 := !z.EncBinary() - yy2arr1151 := z.EncBasicHandle().StructToArray - var yyq1151 [2]bool - _, _, _ = yysep1151, yyq1151, yy2arr1151 - const yyr1151 bool = false - yyq1151[0] = x.Rule != "" - yyq1151[1] = len(x.Ranges) != 0 - var yynn1151 int - if yyr1151 || yy2arr1151 { - r.EncodeArrayStart(2) - } else { - yynn1151 = 0 - for _, b := range yyq1151 { - if b { - yynn1151++ - } - } - r.EncodeMapStart(yynn1151) - yynn1151 = 0 - } - if yyr1151 || yy2arr1151 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1151[0] { - x.Rule.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1151[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rule")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Rule.CodecEncodeSelf(e) - } - } - if yyr1151 || yy2arr1151 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1151[1] { - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1154 := z.EncBinary() - _ = yym1154 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1151[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ranges")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1155 := z.EncBinary() - _ = yym1155 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } - } - if yyr1151 || yy2arr1151 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1156 := z.DecBinary() - _ = yym1156 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1157 := r.ContainerType() - if yyct1157 == codecSelferValueTypeMap1234 { - yyl1157 := r.ReadMapStart() - if yyl1157 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1157, d) - } - } else if yyct1157 == codecSelferValueTypeArray1234 { - yyl1157 := r.ReadArrayStart() - if yyl1157 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1157, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1158Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1158Slc - var yyhl1158 bool = l >= 0 - for yyj1158 := 0; ; yyj1158++ { - if yyhl1158 { - if yyj1158 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1158Slc = r.DecodeBytes(yys1158Slc, true, true) - yys1158 := string(yys1158Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1158 { - case "rule": - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = FSGroupStrategyType(r.DecodeString()) - } - case "ranges": - if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1160 := &x.Ranges - yym1161 := z.DecBinary() - _ = yym1161 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1160), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1158) - } // end switch yys1158 - } // end for yyj1158 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -13879,7 +13723,7 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = FSGroupStrategyType(r.DecodeString()) + x.Rule = SELinuxStrategy(r.DecodeString()) } yyj1162++ if yyhl1162 { @@ -13893,15 +13737,14 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1164 := &x.Ranges - yym1165 := z.DecBinary() - _ = yym1165 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1164), d) + if x.SELinuxOptions != nil { + x.SELinuxOptions = nil } + } else { + if x.SELinuxOptions == nil { + x.SELinuxOptions = new(pkg2_api.SELinuxOptions) + } + x.SELinuxOptions.CodecDecodeSelf(d) } for { yyj1162++ @@ -13919,12 +13762,714 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1165 := z.EncBinary() + _ = yym1165 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1166 := z.DecBinary() + _ = yym1166 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1167 := z.EncBinary() + _ = yym1167 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1168 := !z.EncBinary() + yy2arr1168 := z.EncBasicHandle().StructToArray + var yyq1168 [2]bool + _, _, _ = yysep1168, yyq1168, yy2arr1168 + const yyr1168 bool = false + yyq1168[1] = len(x.Ranges) != 0 + var yynn1168 int + if yyr1168 || yy2arr1168 { + r.EncodeArrayStart(2) + } else { + yynn1168 = 1 + for _, b := range yyq1168 { + if b { + yynn1168++ + } + } + r.EncodeMapStart(yynn1168) + yynn1168 = 0 + } + if yyr1168 || yy2arr1168 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Rule.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rule")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Rule.CodecEncodeSelf(e) + } + if yyr1168 || yy2arr1168 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1168[1] { + if x.Ranges == nil { + r.EncodeNil() + } else { + yym1171 := z.EncBinary() + _ = yym1171 + if false { + } else { + h.encSliceIDRange(([]IDRange)(x.Ranges), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1168[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("ranges")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Ranges == nil { + r.EncodeNil() + } else { + yym1172 := z.EncBinary() + _ = yym1172 + if false { + } else { + h.encSliceIDRange(([]IDRange)(x.Ranges), e) + } + } + } + } + if yyr1168 || yy2arr1168 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1173 := z.DecBinary() + _ = yym1173 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1174 := r.ContainerType() + if yyct1174 == codecSelferValueTypeMap1234 { + yyl1174 := r.ReadMapStart() + if yyl1174 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1174, d) + } + } else if yyct1174 == codecSelferValueTypeArray1234 { + yyl1174 := r.ReadArrayStart() + if yyl1174 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1174, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1175Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1175Slc + var yyhl1175 bool = l >= 0 + for yyj1175 := 0; ; yyj1175++ { + if yyhl1175 { + if yyj1175 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1175Slc = r.DecodeBytes(yys1175Slc, true, true) + yys1175 := string(yys1175Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1175 { + case "rule": + if r.TryDecodeAsNil() { + x.Rule = "" + } else { + x.Rule = RunAsUserStrategy(r.DecodeString()) + } + case "ranges": + if r.TryDecodeAsNil() { + x.Ranges = nil + } else { + yyv1177 := &x.Ranges + yym1178 := z.DecBinary() + _ = yym1178 + if false { + } else { + h.decSliceIDRange((*[]IDRange)(yyv1177), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1175) + } // end switch yys1175 + } // end for yyj1175 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1179 int + var yyb1179 bool + var yyhl1179 bool = l >= 0 + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l + } else { + yyb1179 = r.CheckBreak() + } + if yyb1179 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rule = "" + } else { + x.Rule = RunAsUserStrategy(r.DecodeString()) + } + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l + } else { + yyb1179 = r.CheckBreak() + } + if yyb1179 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Ranges = nil + } else { + yyv1181 := &x.Ranges + yym1182 := z.DecBinary() + _ = yym1182 + if false { + } else { + h.decSliceIDRange((*[]IDRange)(yyv1181), d) + } + } + for { + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l + } else { + yyb1179 = r.CheckBreak() + } + if yyb1179 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1179-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1183 := z.EncBinary() + _ = yym1183 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1184 := !z.EncBinary() + yy2arr1184 := z.EncBasicHandle().StructToArray + var yyq1184 [2]bool + _, _, _ = yysep1184, yyq1184, yy2arr1184 + const yyr1184 bool = false + var yynn1184 int + if yyr1184 || yy2arr1184 { + r.EncodeArrayStart(2) + } else { + yynn1184 = 2 + for _, b := range yyq1184 { + if b { + yynn1184++ + } + } + r.EncodeMapStart(yynn1184) + yynn1184 = 0 + } + if yyr1184 || yy2arr1184 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1186 := z.EncBinary() + _ = yym1186 + if false { + } else { + r.EncodeInt(int64(x.Min)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("min")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1187 := z.EncBinary() + _ = yym1187 + if false { + } else { + r.EncodeInt(int64(x.Min)) + } + } + if yyr1184 || yy2arr1184 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1189 := z.EncBinary() + _ = yym1189 + if false { + } else { + r.EncodeInt(int64(x.Max)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("max")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1190 := z.EncBinary() + _ = yym1190 + if false { + } else { + r.EncodeInt(int64(x.Max)) + } + } + if yyr1184 || yy2arr1184 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1191 := z.DecBinary() + _ = yym1191 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1192 := r.ContainerType() + if yyct1192 == codecSelferValueTypeMap1234 { + yyl1192 := r.ReadMapStart() + if yyl1192 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1192, d) + } + } else if yyct1192 == codecSelferValueTypeArray1234 { + yyl1192 := r.ReadArrayStart() + if yyl1192 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1192, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1193Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1193Slc + var yyhl1193 bool = l >= 0 + for yyj1193 := 0; ; yyj1193++ { + if yyhl1193 { + if yyj1193 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1193Slc = r.DecodeBytes(yys1193Slc, true, true) + yys1193 := string(yys1193Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1193 { + case "min": + if r.TryDecodeAsNil() { + x.Min = 0 + } else { + x.Min = int64(r.DecodeInt(64)) + } + case "max": + if r.TryDecodeAsNil() { + x.Max = 0 + } else { + x.Max = int64(r.DecodeInt(64)) + } + default: + z.DecStructFieldNotFound(-1, yys1193) + } // end switch yys1193 + } // end for yyj1193 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1196 int + var yyb1196 bool + var yyhl1196 bool = l >= 0 + yyj1196++ + if yyhl1196 { + yyb1196 = yyj1196 > l + } else { + yyb1196 = r.CheckBreak() + } + if yyb1196 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Min = 0 + } else { + x.Min = int64(r.DecodeInt(64)) + } + yyj1196++ + if yyhl1196 { + yyb1196 = yyj1196 > l + } else { + yyb1196 = r.CheckBreak() + } + if yyb1196 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Max = 0 + } else { + x.Max = int64(r.DecodeInt(64)) + } + for { + yyj1196++ + if yyhl1196 { + yyb1196 = yyj1196 > l + } else { + yyb1196 = r.CheckBreak() + } + if yyb1196 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1196-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1199 := z.EncBinary() + _ = yym1199 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1200 := z.DecBinary() + _ = yym1200 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1201 := z.EncBinary() + _ = yym1201 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1202 := !z.EncBinary() + yy2arr1202 := z.EncBasicHandle().StructToArray + var yyq1202 [2]bool + _, _, _ = yysep1202, yyq1202, yy2arr1202 + const yyr1202 bool = false + yyq1202[0] = x.Rule != "" + yyq1202[1] = len(x.Ranges) != 0 + var yynn1202 int + if yyr1202 || yy2arr1202 { + r.EncodeArrayStart(2) + } else { + yynn1202 = 0 + for _, b := range yyq1202 { + if b { + yynn1202++ + } + } + r.EncodeMapStart(yynn1202) + yynn1202 = 0 + } + if yyr1202 || yy2arr1202 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1202[0] { + x.Rule.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1202[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rule")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Rule.CodecEncodeSelf(e) + } + } + if yyr1202 || yy2arr1202 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1202[1] { + if x.Ranges == nil { + r.EncodeNil() + } else { + yym1205 := z.EncBinary() + _ = yym1205 + if false { + } else { + h.encSliceIDRange(([]IDRange)(x.Ranges), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1202[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("ranges")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Ranges == nil { + r.EncodeNil() + } else { + yym1206 := z.EncBinary() + _ = yym1206 + if false { + } else { + h.encSliceIDRange(([]IDRange)(x.Ranges), e) + } + } + } + } + if yyr1202 || yy2arr1202 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1207 := z.DecBinary() + _ = yym1207 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1208 := r.ContainerType() + if yyct1208 == codecSelferValueTypeMap1234 { + yyl1208 := r.ReadMapStart() + if yyl1208 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1208, d) + } + } else if yyct1208 == codecSelferValueTypeArray1234 { + yyl1208 := r.ReadArrayStart() + if yyl1208 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1208, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *FSGroupStrategyOptions) 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1209Slc = r.DecodeBytes(yys1209Slc, true, true) + yys1209 := string(yys1209Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1209 { + case "rule": + if r.TryDecodeAsNil() { + x.Rule = "" + } else { + x.Rule = FSGroupStrategyType(r.DecodeString()) + } + case "ranges": + if r.TryDecodeAsNil() { + x.Ranges = nil + } else { + yyv1211 := &x.Ranges + yym1212 := z.DecBinary() + _ = yym1212 + if false { + } else { + h.decSliceIDRange((*[]IDRange)(yyv1211), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1209) + } // end switch yys1209 + } // end for yyj1209 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1213 int + var yyb1213 bool + var yyhl1213 bool = l >= 0 + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l + } else { + yyb1213 = r.CheckBreak() + } + if yyb1213 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rule = "" + } else { + x.Rule = FSGroupStrategyType(r.DecodeString()) + } + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l + } else { + yyb1213 = r.CheckBreak() + } + if yyb1213 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Ranges = nil + } else { + yyv1215 := &x.Ranges + yym1216 := z.DecBinary() + _ = yym1216 + if false { + } else { + h.decSliceIDRange((*[]IDRange)(yyv1215), d) + } + } + for { + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l + } else { + yyb1213 = r.CheckBreak() + } + if yyb1213 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1213-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1166 := z.EncBinary() - _ = yym1166 + yym1217 := z.EncBinary() + _ = yym1217 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13936,8 +14481,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1167 := z.DecBinary() - _ = yym1167 + yym1218 := z.DecBinary() + _ = yym1218 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13952,54 +14497,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1168 := z.EncBinary() - _ = yym1168 + yym1219 := z.EncBinary() + _ = yym1219 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1169 := !z.EncBinary() - yy2arr1169 := z.EncBasicHandle().StructToArray - var yyq1169 [2]bool - _, _, _ = yysep1169, yyq1169, yy2arr1169 - const yyr1169 bool = false - yyq1169[0] = x.Rule != "" - yyq1169[1] = len(x.Ranges) != 0 - var yynn1169 int - if yyr1169 || yy2arr1169 { + yysep1220 := !z.EncBinary() + yy2arr1220 := z.EncBasicHandle().StructToArray + var yyq1220 [2]bool + _, _, _ = yysep1220, yyq1220, yy2arr1220 + const yyr1220 bool = false + yyq1220[0] = x.Rule != "" + yyq1220[1] = len(x.Ranges) != 0 + var yynn1220 int + if yyr1220 || yy2arr1220 { r.EncodeArrayStart(2) } else { - yynn1169 = 0 - for _, b := range yyq1169 { + yynn1220 = 0 + for _, b := range yyq1220 { if b { - yynn1169++ + yynn1220++ } } - r.EncodeMapStart(yynn1169) - yynn1169 = 0 + r.EncodeMapStart(yynn1220) + yynn1220 = 0 } - if yyr1169 || yy2arr1169 { + if yyr1220 || yy2arr1220 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1169[0] { + if yyq1220[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1169[0] { + if yyq1220[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1169 || yy2arr1169 { + if yyr1220 || yy2arr1220 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1169[1] { + if yyq1220[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1172 := z.EncBinary() - _ = yym1172 + yym1223 := z.EncBinary() + _ = yym1223 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -14009,15 +14554,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1169[1] { + if yyq1220[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1173 := z.EncBinary() - _ = yym1173 + yym1224 := z.EncBinary() + _ = yym1224 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -14025,7 +14570,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1169 || yy2arr1169 { + if yyr1220 || yy2arr1220 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14038,25 +14583,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1174 := z.DecBinary() - _ = yym1174 + yym1225 := z.DecBinary() + _ = yym1225 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1175 := r.ContainerType() - if yyct1175 == codecSelferValueTypeMap1234 { - yyl1175 := r.ReadMapStart() - if yyl1175 == 0 { + yyct1226 := r.ContainerType() + if yyct1226 == codecSelferValueTypeMap1234 { + yyl1226 := r.ReadMapStart() + if yyl1226 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1175, d) + x.codecDecodeSelfFromMap(yyl1226, d) } - } else if yyct1175 == codecSelferValueTypeArray1234 { - yyl1175 := r.ReadArrayStart() - if yyl1175 == 0 { + } else if yyct1226 == codecSelferValueTypeArray1234 { + yyl1226 := r.ReadArrayStart() + if yyl1226 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1175, d) + x.codecDecodeSelfFromArray(yyl1226, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14068,12 +14613,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1176Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1176Slc - var yyhl1176 bool = l >= 0 - for yyj1176 := 0; ; yyj1176++ { - if yyhl1176 { - if yyj1176 >= l { + var yys1227Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1227Slc + var yyhl1227 bool = l >= 0 + for yyj1227 := 0; ; yyj1227++ { + if yyhl1227 { + if yyj1227 >= l { break } } else { @@ -14082,10 +14627,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1176Slc = r.DecodeBytes(yys1176Slc, true, true) - yys1176 := string(yys1176Slc) + yys1227Slc = r.DecodeBytes(yys1227Slc, true, true) + yys1227 := string(yys1227Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1176 { + switch yys1227 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -14096,18 +14641,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1178 := &x.Ranges - yym1179 := z.DecBinary() - _ = yym1179 + yyv1229 := &x.Ranges + yym1230 := z.DecBinary() + _ = yym1230 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1178), d) + h.decSliceIDRange((*[]IDRange)(yyv1229), d) } } default: - z.DecStructFieldNotFound(-1, yys1176) - } // end switch yys1176 - } // end for yyj1176 + z.DecStructFieldNotFound(-1, yys1227) + } // end switch yys1227 + } // end for yyj1227 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14115,16 +14660,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1180 int - var yyb1180 bool - var yyhl1180 bool = l >= 0 - yyj1180++ - if yyhl1180 { - yyb1180 = yyj1180 > l + var yyj1231 int + var yyb1231 bool + var yyhl1231 bool = l >= 0 + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb1180 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb1180 { + if yyb1231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14134,13 +14679,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj1180++ - if yyhl1180 { - yyb1180 = yyj1180 > l + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb1180 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb1180 { + if yyb1231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14148,26 +14693,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1182 := &x.Ranges - yym1183 := z.DecBinary() - _ = yym1183 + yyv1233 := &x.Ranges + yym1234 := z.DecBinary() + _ = yym1234 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1182), d) + h.decSliceIDRange((*[]IDRange)(yyv1233), d) } } for { - yyj1180++ - if yyhl1180 { - yyb1180 = yyj1180 > l + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb1180 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb1180 { + if yyb1231 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1180-1, "") + z.DecStructFieldNotFound(yyj1231-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14176,8 +14721,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1184 := z.EncBinary() - _ = yym1184 + yym1235 := z.EncBinary() + _ = yym1235 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14189,8 +14734,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1185 := z.DecBinary() - _ = yym1185 + yym1236 := z.DecBinary() + _ = yym1236 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14205,37 +14750,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1186 := z.EncBinary() - _ = yym1186 + yym1237 := z.EncBinary() + _ = yym1237 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1187 := !z.EncBinary() - yy2arr1187 := z.EncBasicHandle().StructToArray - var yyq1187 [4]bool - _, _, _ = yysep1187, yyq1187, yy2arr1187 - const yyr1187 bool = false - yyq1187[0] = x.Kind != "" - yyq1187[1] = x.APIVersion != "" - yyq1187[2] = true - var yynn1187 int - if yyr1187 || yy2arr1187 { + yysep1238 := !z.EncBinary() + yy2arr1238 := z.EncBasicHandle().StructToArray + var yyq1238 [4]bool + _, _, _ = yysep1238, yyq1238, yy2arr1238 + const yyr1238 bool = false + yyq1238[0] = x.Kind != "" + yyq1238[1] = x.APIVersion != "" + yyq1238[2] = true + var yynn1238 int + if yyr1238 || yy2arr1238 { r.EncodeArrayStart(4) } else { - yynn1187 = 1 - for _, b := range yyq1187 { + yynn1238 = 1 + for _, b := range yyq1238 { if b { - yynn1187++ + yynn1238++ } } - r.EncodeMapStart(yynn1187) - yynn1187 = 0 + r.EncodeMapStart(yynn1238) + yynn1238 = 0 } - if yyr1187 || yy2arr1187 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1187[0] { - yym1189 := z.EncBinary() - _ = yym1189 + if yyq1238[0] { + yym1240 := z.EncBinary() + _ = yym1240 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14244,23 +14789,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1187[0] { + if yyq1238[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1190 := z.EncBinary() - _ = yym1190 + yym1241 := z.EncBinary() + _ = yym1241 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1187 || yy2arr1187 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1187[1] { - yym1192 := z.EncBinary() - _ = yym1192 + if yyq1238[1] { + yym1243 := z.EncBinary() + _ = yym1243 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14269,54 +14814,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1187[1] { + if yyq1238[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1193 := z.EncBinary() - _ = yym1193 + yym1244 := z.EncBinary() + _ = yym1244 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1187 || yy2arr1187 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1187[2] { - yy1195 := &x.ListMeta - yym1196 := z.EncBinary() - _ = yym1196 + if yyq1238[2] { + yy1246 := &x.ListMeta + yym1247 := z.EncBinary() + _ = yym1247 if false { - } else if z.HasExtensions() && z.EncExt(yy1195) { + } else if z.HasExtensions() && z.EncExt(yy1246) { } else { - z.EncFallback(yy1195) + z.EncFallback(yy1246) } } else { r.EncodeNil() } } else { - if yyq1187[2] { + if yyq1238[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1197 := &x.ListMeta - yym1198 := z.EncBinary() - _ = yym1198 + yy1248 := &x.ListMeta + yym1249 := z.EncBinary() + _ = yym1249 if false { - } else if z.HasExtensions() && z.EncExt(yy1197) { + } else if z.HasExtensions() && z.EncExt(yy1248) { } else { - z.EncFallback(yy1197) + z.EncFallback(yy1248) } } } - if yyr1187 || yy2arr1187 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1200 := z.EncBinary() - _ = yym1200 + yym1251 := z.EncBinary() + _ = yym1251 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -14329,15 +14874,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1201 := z.EncBinary() - _ = yym1201 + yym1252 := z.EncBinary() + _ = yym1252 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1187 || yy2arr1187 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14350,25 +14895,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1202 := z.DecBinary() - _ = yym1202 + yym1253 := z.DecBinary() + _ = yym1253 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1203 := r.ContainerType() - if yyct1203 == codecSelferValueTypeMap1234 { - yyl1203 := r.ReadMapStart() - if yyl1203 == 0 { + yyct1254 := r.ContainerType() + if yyct1254 == codecSelferValueTypeMap1234 { + yyl1254 := r.ReadMapStart() + if yyl1254 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1203, d) + x.codecDecodeSelfFromMap(yyl1254, d) } - } else if yyct1203 == codecSelferValueTypeArray1234 { - yyl1203 := r.ReadArrayStart() - if yyl1203 == 0 { + } else if yyct1254 == codecSelferValueTypeArray1234 { + yyl1254 := r.ReadArrayStart() + if yyl1254 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1203, d) + x.codecDecodeSelfFromArray(yyl1254, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14380,12 +14925,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1204Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1204Slc - var yyhl1204 bool = l >= 0 - for yyj1204 := 0; ; yyj1204++ { - if yyhl1204 { - if yyj1204 >= l { + var yys1255Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1255Slc + var yyhl1255 bool = l >= 0 + for yyj1255 := 0; ; yyj1255++ { + if yyhl1255 { + if yyj1255 >= l { break } } else { @@ -14394,10 +14939,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1204Slc = r.DecodeBytes(yys1204Slc, true, true) - yys1204 := string(yys1204Slc) + yys1255Slc = r.DecodeBytes(yys1255Slc, true, true) + yys1255 := string(yys1255Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1204 { + switch yys1255 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14414,31 +14959,31 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1207 := &x.ListMeta - yym1208 := z.DecBinary() - _ = yym1208 + yyv1258 := &x.ListMeta + yym1259 := z.DecBinary() + _ = yym1259 if false { - } else if z.HasExtensions() && z.DecExt(yyv1207) { + } else if z.HasExtensions() && z.DecExt(yyv1258) { } else { - z.DecFallback(yyv1207, false) + z.DecFallback(yyv1258, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1209 := &x.Items - yym1210 := z.DecBinary() - _ = yym1210 + yyv1260 := &x.Items + yym1261 := z.DecBinary() + _ = yym1261 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1209), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1260), d) } } default: - z.DecStructFieldNotFound(-1, yys1204) - } // end switch yys1204 - } // end for yyj1204 + z.DecStructFieldNotFound(-1, yys1255) + } // end switch yys1255 + } // end for yyj1255 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14446,16 +14991,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1211 int - var yyb1211 bool - var yyhl1211 bool = l >= 0 - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l + var yyj1262 int + var yyb1262 bool + var yyhl1262 bool = l >= 0 + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1211 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1211 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14465,13 +15010,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1211 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1211 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14481,13 +15026,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1211 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1211 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14495,22 +15040,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1214 := &x.ListMeta - yym1215 := z.DecBinary() - _ = yym1215 + yyv1265 := &x.ListMeta + yym1266 := z.DecBinary() + _ = yym1266 if false { - } else if z.HasExtensions() && z.DecExt(yyv1214) { + } else if z.HasExtensions() && z.DecExt(yyv1265) { } else { - z.DecFallback(yyv1214, false) + z.DecFallback(yyv1265, false) } } - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1211 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1211 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14518,26 +15063,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1216 := &x.Items - yym1217 := z.DecBinary() - _ = yym1217 + yyv1267 := &x.Items + yym1268 := z.DecBinary() + _ = yym1268 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1216), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1267), d) } } for { - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1211 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1211 { + if yyb1262 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1211-1, "") + z.DecStructFieldNotFound(yyj1262-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14549,38 +15094,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1218 := z.EncBinary() - _ = yym1218 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1219 := !z.EncBinary() - yy2arr1219 := z.EncBasicHandle().StructToArray - var yyq1219 [4]bool - _, _, _ = yysep1219, yyq1219, yy2arr1219 - const yyr1219 bool = false - yyq1219[0] = x.Kind != "" - yyq1219[1] = x.APIVersion != "" - yyq1219[2] = true - yyq1219[3] = true - var yynn1219 int - if yyr1219 || yy2arr1219 { + yysep1270 := !z.EncBinary() + yy2arr1270 := z.EncBasicHandle().StructToArray + var yyq1270 [4]bool + _, _, _ = yysep1270, yyq1270, yy2arr1270 + const yyr1270 bool = false + yyq1270[0] = x.Kind != "" + yyq1270[1] = x.APIVersion != "" + yyq1270[2] = true + yyq1270[3] = true + var yynn1270 int + if yyr1270 || yy2arr1270 { r.EncodeArrayStart(4) } else { - yynn1219 = 0 - for _, b := range yyq1219 { + yynn1270 = 0 + for _, b := range yyq1270 { if b { - yynn1219++ + yynn1270++ } } - r.EncodeMapStart(yynn1219) - yynn1219 = 0 + r.EncodeMapStart(yynn1270) + yynn1270 = 0 } - if yyr1219 || yy2arr1219 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1219[0] { - yym1221 := z.EncBinary() - _ = yym1221 + if yyq1270[0] { + yym1272 := z.EncBinary() + _ = yym1272 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14589,23 +15134,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1219[0] { + if yyq1270[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1222 := z.EncBinary() - _ = yym1222 + yym1273 := z.EncBinary() + _ = yym1273 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1219 || yy2arr1219 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1219[1] { - yym1224 := z.EncBinary() - _ = yym1224 + if yyq1270[1] { + yym1275 := z.EncBinary() + _ = yym1275 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14614,53 +15159,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1219[1] { + if yyq1270[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1225 := z.EncBinary() - _ = yym1225 + yym1276 := z.EncBinary() + _ = yym1276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1219 || yy2arr1219 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1219[2] { - yy1227 := &x.ObjectMeta - yy1227.CodecEncodeSelf(e) + if yyq1270[2] { + yy1278 := &x.ObjectMeta + yy1278.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1219[2] { + if yyq1270[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1228 := &x.ObjectMeta - yy1228.CodecEncodeSelf(e) + yy1279 := &x.ObjectMeta + yy1279.CodecEncodeSelf(e) } } - if yyr1219 || yy2arr1219 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1219[3] { - yy1230 := &x.Spec - yy1230.CodecEncodeSelf(e) + if yyq1270[3] { + yy1281 := &x.Spec + yy1281.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1219[3] { + if yyq1270[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1231 := &x.Spec - yy1231.CodecEncodeSelf(e) + yy1282 := &x.Spec + yy1282.CodecEncodeSelf(e) } } - if yyr1219 || yy2arr1219 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14673,25 +15218,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1232 := z.DecBinary() - _ = yym1232 + yym1283 := z.DecBinary() + _ = yym1283 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1233 := r.ContainerType() - if yyct1233 == codecSelferValueTypeMap1234 { - yyl1233 := r.ReadMapStart() - if yyl1233 == 0 { + yyct1284 := r.ContainerType() + if yyct1284 == codecSelferValueTypeMap1234 { + yyl1284 := r.ReadMapStart() + if yyl1284 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1233, d) + x.codecDecodeSelfFromMap(yyl1284, d) } - } else if yyct1233 == codecSelferValueTypeArray1234 { - yyl1233 := r.ReadArrayStart() - if yyl1233 == 0 { + } else if yyct1284 == codecSelferValueTypeArray1234 { + yyl1284 := r.ReadArrayStart() + if yyl1284 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1233, d) + x.codecDecodeSelfFromArray(yyl1284, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14703,12 +15248,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1234Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1234Slc - var yyhl1234 bool = l >= 0 - for yyj1234 := 0; ; yyj1234++ { - if yyhl1234 { - if yyj1234 >= l { + var yys1285Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1285Slc + var yyhl1285 bool = l >= 0 + for yyj1285 := 0; ; yyj1285++ { + if yyhl1285 { + if yyj1285 >= l { break } } else { @@ -14717,10 +15262,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1234Slc = r.DecodeBytes(yys1234Slc, true, true) - yys1234 := string(yys1234Slc) + yys1285Slc = r.DecodeBytes(yys1285Slc, true, true) + yys1285 := string(yys1285Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1234 { + switch yys1285 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14737,20 +15282,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1237 := &x.ObjectMeta - yyv1237.CodecDecodeSelf(d) + yyv1288 := &x.ObjectMeta + yyv1288.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1238 := &x.Spec - yyv1238.CodecDecodeSelf(d) + yyv1289 := &x.Spec + yyv1289.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1234) - } // end switch yys1234 - } // end for yyj1234 + z.DecStructFieldNotFound(-1, yys1285) + } // end switch yys1285 + } // end for yyj1285 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14758,16 +15303,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1239 int - var yyb1239 bool - var yyhl1239 bool = l >= 0 - yyj1239++ - if yyhl1239 { - yyb1239 = yyj1239 > l + var yyj1290 int + var yyb1290 bool + var yyhl1290 bool = l >= 0 + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1239 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1239 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14777,13 +15322,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1239++ - if yyhl1239 { - yyb1239 = yyj1239 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1239 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1239 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14793,13 +15338,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1239++ - if yyhl1239 { - yyb1239 = yyj1239 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1239 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1239 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14807,16 +15352,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1242 := &x.ObjectMeta - yyv1242.CodecDecodeSelf(d) + yyv1293 := &x.ObjectMeta + yyv1293.CodecDecodeSelf(d) } - yyj1239++ - if yyhl1239 { - yyb1239 = yyj1239 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1239 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1239 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14824,21 +15369,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1243 := &x.Spec - yyv1243.CodecDecodeSelf(d) + yyv1294 := &x.Spec + yyv1294.CodecDecodeSelf(d) } for { - yyj1239++ - if yyhl1239 { - yyb1239 = yyj1239 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1239 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1239 { + if yyb1290 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1239-1, "") + z.DecStructFieldNotFound(yyj1290-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14850,61 +15395,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1244 := z.EncBinary() - _ = yym1244 + yym1295 := z.EncBinary() + _ = yym1295 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1245 := !z.EncBinary() - yy2arr1245 := z.EncBasicHandle().StructToArray - var yyq1245 [2]bool - _, _, _ = yysep1245, yyq1245, yy2arr1245 - const yyr1245 bool = false - yyq1245[1] = len(x.Ingress) != 0 - var yynn1245 int - if yyr1245 || yy2arr1245 { + yysep1296 := !z.EncBinary() + yy2arr1296 := z.EncBasicHandle().StructToArray + var yyq1296 [2]bool + _, _, _ = yysep1296, yyq1296, yy2arr1296 + const yyr1296 bool = false + yyq1296[1] = len(x.Ingress) != 0 + var yynn1296 int + if yyr1296 || yy2arr1296 { r.EncodeArrayStart(2) } else { - yynn1245 = 1 - for _, b := range yyq1245 { + yynn1296 = 1 + for _, b := range yyq1296 { if b { - yynn1245++ + yynn1296++ } } - r.EncodeMapStart(yynn1245) - yynn1245 = 0 + r.EncodeMapStart(yynn1296) + yynn1296 = 0 } - if yyr1245 || yy2arr1245 { + if yyr1296 || yy2arr1296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1247 := &x.PodSelector - yym1248 := z.EncBinary() - _ = yym1248 + yy1298 := &x.PodSelector + yym1299 := z.EncBinary() + _ = yym1299 if false { - } else if z.HasExtensions() && z.EncExt(yy1247) { + } else if z.HasExtensions() && z.EncExt(yy1298) { } else { - z.EncFallback(yy1247) + z.EncFallback(yy1298) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1249 := &x.PodSelector - yym1250 := z.EncBinary() - _ = yym1250 + yy1300 := &x.PodSelector + yym1301 := z.EncBinary() + _ = yym1301 if false { - } else if z.HasExtensions() && z.EncExt(yy1249) { + } else if z.HasExtensions() && z.EncExt(yy1300) { } else { - z.EncFallback(yy1249) + z.EncFallback(yy1300) } } - if yyr1245 || yy2arr1245 { + if yyr1296 || yy2arr1296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1245[1] { + if yyq1296[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1252 := z.EncBinary() - _ = yym1252 + yym1303 := z.EncBinary() + _ = yym1303 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14914,15 +15459,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1245[1] { + if yyq1296[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1253 := z.EncBinary() - _ = yym1253 + yym1304 := z.EncBinary() + _ = yym1304 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14930,7 +15475,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1245 || yy2arr1245 { + if yyr1296 || yy2arr1296 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14943,25 +15488,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1254 := z.DecBinary() - _ = yym1254 + yym1305 := z.DecBinary() + _ = yym1305 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1255 := r.ContainerType() - if yyct1255 == codecSelferValueTypeMap1234 { - yyl1255 := r.ReadMapStart() - if yyl1255 == 0 { + yyct1306 := r.ContainerType() + if yyct1306 == codecSelferValueTypeMap1234 { + yyl1306 := r.ReadMapStart() + if yyl1306 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1255, d) + x.codecDecodeSelfFromMap(yyl1306, d) } - } else if yyct1255 == codecSelferValueTypeArray1234 { - yyl1255 := r.ReadArrayStart() - if yyl1255 == 0 { + } else if yyct1306 == codecSelferValueTypeArray1234 { + yyl1306 := r.ReadArrayStart() + if yyl1306 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1255, d) + x.codecDecodeSelfFromArray(yyl1306, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14973,12 +15518,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1256Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1256Slc - var yyhl1256 bool = l >= 0 - for yyj1256 := 0; ; yyj1256++ { - if yyhl1256 { - if yyj1256 >= l { + var yys1307Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1307Slc + var yyhl1307 bool = l >= 0 + for yyj1307 := 0; ; yyj1307++ { + if yyhl1307 { + if yyj1307 >= l { break } } else { @@ -14987,39 +15532,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1256Slc = r.DecodeBytes(yys1256Slc, true, true) - yys1256 := string(yys1256Slc) + yys1307Slc = r.DecodeBytes(yys1307Slc, true, true) + yys1307 := string(yys1307Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1256 { + switch yys1307 { case "podSelector": if r.TryDecodeAsNil() { x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1257 := &x.PodSelector - yym1258 := z.DecBinary() - _ = yym1258 + yyv1308 := &x.PodSelector + yym1309 := z.DecBinary() + _ = yym1309 if false { - } else if z.HasExtensions() && z.DecExt(yyv1257) { + } else if z.HasExtensions() && z.DecExt(yyv1308) { } else { - z.DecFallback(yyv1257, false) + z.DecFallback(yyv1308, false) } } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1259 := &x.Ingress - yym1260 := z.DecBinary() - _ = yym1260 + yyv1310 := &x.Ingress + yym1311 := z.DecBinary() + _ = yym1311 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1259), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1310), d) } } default: - z.DecStructFieldNotFound(-1, yys1256) - } // end switch yys1256 - } // end for yyj1256 + z.DecStructFieldNotFound(-1, yys1307) + } // end switch yys1307 + } // end for yyj1307 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15027,16 +15572,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1261 int - var yyb1261 bool - var yyhl1261 bool = l >= 0 - yyj1261++ - if yyhl1261 { - yyb1261 = yyj1261 > l + var yyj1312 int + var yyb1312 bool + var yyhl1312 bool = l >= 0 + yyj1312++ + if yyhl1312 { + yyb1312 = yyj1312 > l } else { - yyb1261 = r.CheckBreak() + yyb1312 = r.CheckBreak() } - if yyb1261 { + if yyb1312 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15044,22 +15589,22 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1262 := &x.PodSelector - yym1263 := z.DecBinary() - _ = yym1263 + yyv1313 := &x.PodSelector + yym1314 := z.DecBinary() + _ = yym1314 if false { - } else if z.HasExtensions() && z.DecExt(yyv1262) { + } else if z.HasExtensions() && z.DecExt(yyv1313) { } else { - z.DecFallback(yyv1262, false) + z.DecFallback(yyv1313, false) } } - yyj1261++ - if yyhl1261 { - yyb1261 = yyj1261 > l + yyj1312++ + if yyhl1312 { + yyb1312 = yyj1312 > l } else { - yyb1261 = r.CheckBreak() + yyb1312 = r.CheckBreak() } - if yyb1261 { + if yyb1312 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15067,26 +15612,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1264 := &x.Ingress - yym1265 := z.DecBinary() - _ = yym1265 + yyv1315 := &x.Ingress + yym1316 := z.DecBinary() + _ = yym1316 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1264), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1315), d) } } for { - yyj1261++ - if yyhl1261 { - yyb1261 = yyj1261 > l + yyj1312++ + if yyhl1312 { + yyb1312 = yyj1312 > l } else { - yyb1261 = r.CheckBreak() + yyb1312 = r.CheckBreak() } - if yyb1261 { + if yyb1312 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1261-1, "") + z.DecStructFieldNotFound(yyj1312-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15098,39 +15643,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1266 := z.EncBinary() - _ = yym1266 + yym1317 := z.EncBinary() + _ = yym1317 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1267 := !z.EncBinary() - yy2arr1267 := z.EncBasicHandle().StructToArray - var yyq1267 [2]bool - _, _, _ = yysep1267, yyq1267, yy2arr1267 - const yyr1267 bool = false - yyq1267[0] = len(x.Ports) != 0 - yyq1267[1] = len(x.From) != 0 - var yynn1267 int - if yyr1267 || yy2arr1267 { + yysep1318 := !z.EncBinary() + yy2arr1318 := z.EncBasicHandle().StructToArray + var yyq1318 [2]bool + _, _, _ = yysep1318, yyq1318, yy2arr1318 + const yyr1318 bool = false + yyq1318[0] = len(x.Ports) != 0 + yyq1318[1] = len(x.From) != 0 + var yynn1318 int + if yyr1318 || yy2arr1318 { r.EncodeArrayStart(2) } else { - yynn1267 = 0 - for _, b := range yyq1267 { + yynn1318 = 0 + for _, b := range yyq1318 { if b { - yynn1267++ + yynn1318++ } } - r.EncodeMapStart(yynn1267) - yynn1267 = 0 + r.EncodeMapStart(yynn1318) + yynn1318 = 0 } - if yyr1267 || yy2arr1267 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1267[0] { + if yyq1318[0] { if x.Ports == nil { r.EncodeNil() } else { - yym1269 := z.EncBinary() - _ = yym1269 + yym1320 := z.EncBinary() + _ = yym1320 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -15140,15 +15685,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1267[0] { + if yyq1318[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1270 := z.EncBinary() - _ = yym1270 + yym1321 := z.EncBinary() + _ = yym1321 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -15156,14 +15701,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1267 || yy2arr1267 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1267[1] { + if yyq1318[1] { if x.From == nil { r.EncodeNil() } else { - yym1272 := z.EncBinary() - _ = yym1272 + yym1323 := z.EncBinary() + _ = yym1323 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -15173,15 +15718,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1267[1] { + if yyq1318[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym1273 := z.EncBinary() - _ = yym1273 + yym1324 := z.EncBinary() + _ = yym1324 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -15189,7 +15734,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1267 || yy2arr1267 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15202,25 +15747,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1274 := z.DecBinary() - _ = yym1274 + yym1325 := z.DecBinary() + _ = yym1325 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1275 := r.ContainerType() - if yyct1275 == codecSelferValueTypeMap1234 { - yyl1275 := r.ReadMapStart() - if yyl1275 == 0 { + yyct1326 := r.ContainerType() + if yyct1326 == codecSelferValueTypeMap1234 { + yyl1326 := r.ReadMapStart() + if yyl1326 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1275, d) + x.codecDecodeSelfFromMap(yyl1326, d) } - } else if yyct1275 == codecSelferValueTypeArray1234 { - yyl1275 := r.ReadArrayStart() - if yyl1275 == 0 { + } else if yyct1326 == codecSelferValueTypeArray1234 { + yyl1326 := r.ReadArrayStart() + if yyl1326 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1275, d) + x.codecDecodeSelfFromArray(yyl1326, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15232,12 +15777,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1276Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1276Slc - var yyhl1276 bool = l >= 0 - for yyj1276 := 0; ; yyj1276++ { - if yyhl1276 { - if yyj1276 >= l { + var yys1327Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1327Slc + var yyhl1327 bool = l >= 0 + for yyj1327 := 0; ; yyj1327++ { + if yyhl1327 { + if yyj1327 >= l { break } } else { @@ -15246,38 +15791,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1276Slc = r.DecodeBytes(yys1276Slc, true, true) - yys1276 := string(yys1276Slc) + yys1327Slc = r.DecodeBytes(yys1327Slc, true, true) + yys1327 := string(yys1327Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1276 { + switch yys1327 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1277 := &x.Ports - yym1278 := z.DecBinary() - _ = yym1278 + yyv1328 := &x.Ports + yym1329 := z.DecBinary() + _ = yym1329 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1277), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1328), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv1279 := &x.From - yym1280 := z.DecBinary() - _ = yym1280 + yyv1330 := &x.From + yym1331 := z.DecBinary() + _ = yym1331 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1279), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1330), d) } } default: - z.DecStructFieldNotFound(-1, yys1276) - } // end switch yys1276 - } // end for yyj1276 + z.DecStructFieldNotFound(-1, yys1327) + } // end switch yys1327 + } // end for yyj1327 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15285,16 +15830,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1281 int - var yyb1281 bool - var yyhl1281 bool = l >= 0 - yyj1281++ - if yyhl1281 { - yyb1281 = yyj1281 > l + var yyj1332 int + var yyb1332 bool + var yyhl1332 bool = l >= 0 + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l } else { - yyb1281 = r.CheckBreak() + yyb1332 = r.CheckBreak() } - if yyb1281 { + if yyb1332 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15302,21 +15847,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1282 := &x.Ports - yym1283 := z.DecBinary() - _ = yym1283 + yyv1333 := &x.Ports + yym1334 := z.DecBinary() + _ = yym1334 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1282), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1333), d) } } - yyj1281++ - if yyhl1281 { - yyb1281 = yyj1281 > l + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l } else { - yyb1281 = r.CheckBreak() + yyb1332 = r.CheckBreak() } - if yyb1281 { + if yyb1332 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15324,26 +15869,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv1284 := &x.From - yym1285 := z.DecBinary() - _ = yym1285 + yyv1335 := &x.From + yym1336 := z.DecBinary() + _ = yym1336 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1284), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1335), d) } } for { - yyj1281++ - if yyhl1281 { - yyb1281 = yyj1281 > l + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l } else { - yyb1281 = r.CheckBreak() + yyb1332 = r.CheckBreak() } - if yyb1281 { + if yyb1332 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1281-1, "") + z.DecStructFieldNotFound(yyj1332-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15355,79 +15900,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1286 := z.EncBinary() - _ = yym1286 + yym1337 := z.EncBinary() + _ = yym1337 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1287 := !z.EncBinary() - yy2arr1287 := z.EncBasicHandle().StructToArray - var yyq1287 [2]bool - _, _, _ = yysep1287, yyq1287, yy2arr1287 - const yyr1287 bool = false - yyq1287[0] = x.Protocol != nil - yyq1287[1] = x.Port != nil - var yynn1287 int - if yyr1287 || yy2arr1287 { + yysep1338 := !z.EncBinary() + yy2arr1338 := z.EncBasicHandle().StructToArray + var yyq1338 [2]bool + _, _, _ = yysep1338, yyq1338, yy2arr1338 + const yyr1338 bool = false + yyq1338[0] = x.Protocol != nil + yyq1338[1] = x.Port != nil + var yynn1338 int + if yyr1338 || yy2arr1338 { r.EncodeArrayStart(2) } else { - yynn1287 = 0 - for _, b := range yyq1287 { + yynn1338 = 0 + for _, b := range yyq1338 { if b { - yynn1287++ + yynn1338++ } } - r.EncodeMapStart(yynn1287) - yynn1287 = 0 + r.EncodeMapStart(yynn1338) + yynn1338 = 0 } - if yyr1287 || yy2arr1287 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1287[0] { + if yyq1338[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy1289 := *x.Protocol - yym1290 := z.EncBinary() - _ = yym1290 + yy1340 := *x.Protocol + yym1341 := z.EncBinary() + _ = yym1341 if false { - } else if z.HasExtensions() && z.EncExt(yy1289) { + } else if z.HasExtensions() && z.EncExt(yy1340) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1289)) + r.EncodeString(codecSelferC_UTF81234, string(yy1340)) } } } else { r.EncodeNil() } } else { - if yyq1287[0] { + if yyq1338[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy1291 := *x.Protocol - yym1292 := z.EncBinary() - _ = yym1292 + yy1342 := *x.Protocol + yym1343 := z.EncBinary() + _ = yym1343 if false { - } else if z.HasExtensions() && z.EncExt(yy1291) { + } else if z.HasExtensions() && z.EncExt(yy1342) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1291)) + r.EncodeString(codecSelferC_UTF81234, string(yy1342)) } } } } - if yyr1287 || yy2arr1287 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1287[1] { + if yyq1338[1] { if x.Port == nil { r.EncodeNil() } else { - yym1294 := z.EncBinary() - _ = yym1294 + yym1345 := z.EncBinary() + _ = yym1345 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1294 && z.IsJSONHandle() { + } else if !yym1345 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -15437,18 +15982,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1287[1] { + if yyq1338[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym1295 := z.EncBinary() - _ = yym1295 + yym1346 := z.EncBinary() + _ = yym1346 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1295 && z.IsJSONHandle() { + } else if !yym1346 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -15456,7 +16001,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1287 || yy2arr1287 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15469,25 +16014,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1296 := z.DecBinary() - _ = yym1296 + yym1347 := z.DecBinary() + _ = yym1347 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1297 := r.ContainerType() - if yyct1297 == codecSelferValueTypeMap1234 { - yyl1297 := r.ReadMapStart() - if yyl1297 == 0 { + yyct1348 := r.ContainerType() + if yyct1348 == codecSelferValueTypeMap1234 { + yyl1348 := r.ReadMapStart() + if yyl1348 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1297, d) + x.codecDecodeSelfFromMap(yyl1348, d) } - } else if yyct1297 == codecSelferValueTypeArray1234 { - yyl1297 := r.ReadArrayStart() - if yyl1297 == 0 { + } else if yyct1348 == codecSelferValueTypeArray1234 { + yyl1348 := r.ReadArrayStart() + if yyl1348 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1297, d) + x.codecDecodeSelfFromArray(yyl1348, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15499,12 +16044,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1298Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1298Slc - var yyhl1298 bool = l >= 0 - for yyj1298 := 0; ; yyj1298++ { - if yyhl1298 { - if yyj1298 >= l { + var yys1349Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1349Slc + var yyhl1349 bool = l >= 0 + for yyj1349 := 0; ; yyj1349++ { + if yyhl1349 { + if yyj1349 >= l { break } } else { @@ -15513,10 +16058,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1298Slc = r.DecodeBytes(yys1298Slc, true, true) - yys1298 := string(yys1298Slc) + yys1349Slc = r.DecodeBytes(yys1349Slc, true, true) + yys1349 := string(yys1349Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1298 { + switch yys1349 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -15537,20 +16082,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1301 := z.DecBinary() - _ = yym1301 + yym1352 := z.DecBinary() + _ = yym1352 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1301 && z.IsJSONHandle() { + } else if !yym1352 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys1298) - } // end switch yys1298 - } // end for yyj1298 + z.DecStructFieldNotFound(-1, yys1349) + } // end switch yys1349 + } // end for yyj1349 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15558,16 +16103,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1302 int - var yyb1302 bool - var yyhl1302 bool = l >= 0 - yyj1302++ - if yyhl1302 { - yyb1302 = yyj1302 > l + var yyj1353 int + var yyb1353 bool + var yyhl1353 bool = l >= 0 + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1302 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1302 { + if yyb1353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15582,13 +16127,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj1302++ - if yyhl1302 { - yyb1302 = yyj1302 > l + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1302 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1302 { + if yyb1353 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15601,28 +16146,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1305 := z.DecBinary() - _ = yym1305 + yym1356 := z.DecBinary() + _ = yym1356 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1305 && z.IsJSONHandle() { + } else if !yym1356 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj1302++ - if yyhl1302 { - yyb1302 = yyj1302 > l + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l } else { - yyb1302 = r.CheckBreak() + yyb1353 = r.CheckBreak() } - if yyb1302 { + if yyb1353 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1302-1, "") + z.DecStructFieldNotFound(yyj1353-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15634,39 +16179,39 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1306 := z.EncBinary() - _ = yym1306 + yym1357 := z.EncBinary() + _ = yym1357 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1307 := !z.EncBinary() - yy2arr1307 := z.EncBasicHandle().StructToArray - var yyq1307 [2]bool - _, _, _ = yysep1307, yyq1307, yy2arr1307 - const yyr1307 bool = false - yyq1307[0] = x.PodSelector != nil - yyq1307[1] = x.NamespaceSelector != nil - var yynn1307 int - if yyr1307 || yy2arr1307 { + yysep1358 := !z.EncBinary() + yy2arr1358 := z.EncBasicHandle().StructToArray + var yyq1358 [2]bool + _, _, _ = yysep1358, yyq1358, yy2arr1358 + const yyr1358 bool = false + yyq1358[0] = x.PodSelector != nil + yyq1358[1] = x.NamespaceSelector != nil + var yynn1358 int + if yyr1358 || yy2arr1358 { r.EncodeArrayStart(2) } else { - yynn1307 = 0 - for _, b := range yyq1307 { + yynn1358 = 0 + for _, b := range yyq1358 { if b { - yynn1307++ + yynn1358++ } } - r.EncodeMapStart(yynn1307) - yynn1307 = 0 + r.EncodeMapStart(yynn1358) + yynn1358 = 0 } - if yyr1307 || yy2arr1307 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1307[0] { + if yyq1358[0] { if x.PodSelector == nil { r.EncodeNil() } else { - yym1309 := z.EncBinary() - _ = yym1309 + yym1360 := z.EncBinary() + _ = yym1360 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -15677,15 +16222,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1307[0] { + if yyq1358[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodSelector == nil { r.EncodeNil() } else { - yym1310 := z.EncBinary() - _ = yym1310 + yym1361 := z.EncBinary() + _ = yym1361 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -15694,14 +16239,14 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1307 || yy2arr1307 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1307[1] { + if yyq1358[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1312 := z.EncBinary() - _ = yym1312 + yym1363 := z.EncBinary() + _ = yym1363 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -15712,15 +16257,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1307[1] { + if yyq1358[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1313 := z.EncBinary() - _ = yym1313 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -15729,7 +16274,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1307 || yy2arr1307 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15742,25 +16287,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1314 := z.DecBinary() - _ = yym1314 + yym1365 := z.DecBinary() + _ = yym1365 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1315 := r.ContainerType() - if yyct1315 == codecSelferValueTypeMap1234 { - yyl1315 := r.ReadMapStart() - if yyl1315 == 0 { + yyct1366 := r.ContainerType() + if yyct1366 == codecSelferValueTypeMap1234 { + yyl1366 := r.ReadMapStart() + if yyl1366 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1315, d) + x.codecDecodeSelfFromMap(yyl1366, d) } - } else if yyct1315 == codecSelferValueTypeArray1234 { - yyl1315 := r.ReadArrayStart() - if yyl1315 == 0 { + } else if yyct1366 == codecSelferValueTypeArray1234 { + yyl1366 := r.ReadArrayStart() + if yyl1366 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1315, d) + x.codecDecodeSelfFromArray(yyl1366, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15772,12 +16317,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1316Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1316Slc - var yyhl1316 bool = l >= 0 - for yyj1316 := 0; ; yyj1316++ { - if yyhl1316 { - if yyj1316 >= l { + var yys1367Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1367Slc + var yyhl1367 bool = l >= 0 + for yyj1367 := 0; ; yyj1367++ { + if yyhl1367 { + if yyj1367 >= l { break } } else { @@ -15786,10 +16331,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1316Slc = r.DecodeBytes(yys1316Slc, true, true) - yys1316 := string(yys1316Slc) + yys1367Slc = r.DecodeBytes(yys1367Slc, true, true) + yys1367 := string(yys1367Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1316 { + switch yys1367 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -15799,8 +16344,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.PodSelector == nil { x.PodSelector = new(pkg1_unversioned.LabelSelector) } - yym1318 := z.DecBinary() - _ = yym1318 + yym1369 := z.DecBinary() + _ = yym1369 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { @@ -15816,8 +16361,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) } - yym1320 := z.DecBinary() - _ = yym1320 + yym1371 := z.DecBinary() + _ = yym1371 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -15825,9 +16370,9 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } default: - z.DecStructFieldNotFound(-1, yys1316) - } // end switch yys1316 - } // end for yyj1316 + z.DecStructFieldNotFound(-1, yys1367) + } // end switch yys1367 + } // end for yyj1367 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15835,16 +16380,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1321 int - var yyb1321 bool - var yyhl1321 bool = l >= 0 - yyj1321++ - if yyhl1321 { - yyb1321 = yyj1321 > l + var yyj1372 int + var yyb1372 bool + var yyhl1372 bool = l >= 0 + yyj1372++ + if yyhl1372 { + yyb1372 = yyj1372 > l } else { - yyb1321 = r.CheckBreak() + yyb1372 = r.CheckBreak() } - if yyb1321 { + if yyb1372 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15857,21 +16402,21 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.PodSelector == nil { x.PodSelector = new(pkg1_unversioned.LabelSelector) } - yym1323 := z.DecBinary() - _ = yym1323 + yym1374 := z.DecBinary() + _ = yym1374 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { z.DecFallback(x.PodSelector, false) } } - yyj1321++ - if yyhl1321 { - yyb1321 = yyj1321 > l + yyj1372++ + if yyhl1372 { + yyb1372 = yyj1372 > l } else { - yyb1321 = r.CheckBreak() + yyb1372 = r.CheckBreak() } - if yyb1321 { + if yyb1372 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15884,8 +16429,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) } - yym1325 := z.DecBinary() - _ = yym1325 + yym1376 := z.DecBinary() + _ = yym1376 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -15893,17 +16438,17 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } for { - yyj1321++ - if yyhl1321 { - yyb1321 = yyj1321 > l + yyj1372++ + if yyhl1372 { + yyb1372 = yyj1372 > l } else { - yyb1321 = r.CheckBreak() + yyb1372 = r.CheckBreak() } - if yyb1321 { + if yyb1372 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1321-1, "") + z.DecStructFieldNotFound(yyj1372-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15915,37 +16460,37 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1326 := z.EncBinary() - _ = yym1326 + yym1377 := z.EncBinary() + _ = yym1377 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1327 := !z.EncBinary() - yy2arr1327 := z.EncBasicHandle().StructToArray - var yyq1327 [4]bool - _, _, _ = yysep1327, yyq1327, yy2arr1327 - const yyr1327 bool = false - yyq1327[0] = x.Kind != "" - yyq1327[1] = x.APIVersion != "" - yyq1327[2] = true - var yynn1327 int - if yyr1327 || yy2arr1327 { + yysep1378 := !z.EncBinary() + yy2arr1378 := z.EncBasicHandle().StructToArray + var yyq1378 [4]bool + _, _, _ = yysep1378, yyq1378, yy2arr1378 + const yyr1378 bool = false + yyq1378[0] = x.Kind != "" + yyq1378[1] = x.APIVersion != "" + yyq1378[2] = true + var yynn1378 int + if yyr1378 || yy2arr1378 { r.EncodeArrayStart(4) } else { - yynn1327 = 1 - for _, b := range yyq1327 { + yynn1378 = 1 + for _, b := range yyq1378 { if b { - yynn1327++ + yynn1378++ } } - r.EncodeMapStart(yynn1327) - yynn1327 = 0 + r.EncodeMapStart(yynn1378) + yynn1378 = 0 } - if yyr1327 || yy2arr1327 { + if yyr1378 || yy2arr1378 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[0] { - yym1329 := z.EncBinary() - _ = yym1329 + if yyq1378[0] { + yym1380 := z.EncBinary() + _ = yym1380 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -15954,23 +16499,23 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1327[0] { + if yyq1378[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1330 := z.EncBinary() - _ = yym1330 + yym1381 := z.EncBinary() + _ = yym1381 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1327 || yy2arr1327 { + if yyr1378 || yy2arr1378 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[1] { - yym1332 := z.EncBinary() - _ = yym1332 + if yyq1378[1] { + yym1383 := z.EncBinary() + _ = yym1383 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15979,54 +16524,54 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1327[1] { + if yyq1378[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1333 := z.EncBinary() - _ = yym1333 + yym1384 := z.EncBinary() + _ = yym1384 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1327 || yy2arr1327 { + if yyr1378 || yy2arr1378 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[2] { - yy1335 := &x.ListMeta - yym1336 := z.EncBinary() - _ = yym1336 + if yyq1378[2] { + yy1386 := &x.ListMeta + yym1387 := z.EncBinary() + _ = yym1387 if false { - } else if z.HasExtensions() && z.EncExt(yy1335) { + } else if z.HasExtensions() && z.EncExt(yy1386) { } else { - z.EncFallback(yy1335) + z.EncFallback(yy1386) } } else { r.EncodeNil() } } else { - if yyq1327[2] { + if yyq1378[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1337 := &x.ListMeta - yym1338 := z.EncBinary() - _ = yym1338 + yy1388 := &x.ListMeta + yym1389 := z.EncBinary() + _ = yym1389 if false { - } else if z.HasExtensions() && z.EncExt(yy1337) { + } else if z.HasExtensions() && z.EncExt(yy1388) { } else { - z.EncFallback(yy1337) + z.EncFallback(yy1388) } } } - if yyr1327 || yy2arr1327 { + if yyr1378 || yy2arr1378 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1340 := z.EncBinary() - _ = yym1340 + yym1391 := z.EncBinary() + _ = yym1391 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -16039,15 +16584,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1341 := z.EncBinary() - _ = yym1341 + yym1392 := z.EncBinary() + _ = yym1392 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr1327 || yy2arr1327 { + if yyr1378 || yy2arr1378 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16060,25 +16605,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1342 := z.DecBinary() - _ = yym1342 + yym1393 := z.DecBinary() + _ = yym1393 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1343 := r.ContainerType() - if yyct1343 == codecSelferValueTypeMap1234 { - yyl1343 := r.ReadMapStart() - if yyl1343 == 0 { + yyct1394 := r.ContainerType() + if yyct1394 == codecSelferValueTypeMap1234 { + yyl1394 := r.ReadMapStart() + if yyl1394 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1343, d) + x.codecDecodeSelfFromMap(yyl1394, d) } - } else if yyct1343 == codecSelferValueTypeArray1234 { - yyl1343 := r.ReadArrayStart() - if yyl1343 == 0 { + } else if yyct1394 == codecSelferValueTypeArray1234 { + yyl1394 := r.ReadArrayStart() + if yyl1394 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1343, d) + x.codecDecodeSelfFromArray(yyl1394, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16090,12 +16635,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1344Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1344Slc - var yyhl1344 bool = l >= 0 - for yyj1344 := 0; ; yyj1344++ { - if yyhl1344 { - if yyj1344 >= l { + var yys1395Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1395Slc + var yyhl1395 bool = l >= 0 + for yyj1395 := 0; ; yyj1395++ { + if yyhl1395 { + if yyj1395 >= l { break } } else { @@ -16104,10 +16649,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1344Slc = r.DecodeBytes(yys1344Slc, true, true) - yys1344 := string(yys1344Slc) + yys1395Slc = r.DecodeBytes(yys1395Slc, true, true) + yys1395 := string(yys1395Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1344 { + switch yys1395 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16124,31 +16669,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1347 := &x.ListMeta - yym1348 := z.DecBinary() - _ = yym1348 + yyv1398 := &x.ListMeta + yym1399 := z.DecBinary() + _ = yym1399 if false { - } else if z.HasExtensions() && z.DecExt(yyv1347) { + } else if z.HasExtensions() && z.DecExt(yyv1398) { } else { - z.DecFallback(yyv1347, false) + z.DecFallback(yyv1398, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1349 := &x.Items - yym1350 := z.DecBinary() - _ = yym1350 + yyv1400 := &x.Items + yym1401 := z.DecBinary() + _ = yym1401 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1349), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1400), d) } } default: - z.DecStructFieldNotFound(-1, yys1344) - } // end switch yys1344 - } // end for yyj1344 + z.DecStructFieldNotFound(-1, yys1395) + } // end switch yys1395 + } // end for yyj1395 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16156,16 +16701,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1351 int - var yyb1351 bool - var yyhl1351 bool = l >= 0 - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + var yyj1402 int + var yyb1402 bool + var yyhl1402 bool = l >= 0 + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1351 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1351 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16175,13 +16720,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1351 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1351 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16191,13 +16736,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1351 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1351 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16205,22 +16750,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1354 := &x.ListMeta - yym1355 := z.DecBinary() - _ = yym1355 + yyv1405 := &x.ListMeta + yym1406 := z.DecBinary() + _ = yym1406 if false { - } else if z.HasExtensions() && z.DecExt(yyv1354) { + } else if z.HasExtensions() && z.DecExt(yyv1405) { } else { - z.DecFallback(yyv1354, false) + z.DecFallback(yyv1405, false) } } - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1351 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1351 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16228,26 +16773,26 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1356 := &x.Items - yym1357 := z.DecBinary() - _ = yym1357 + yyv1407 := &x.Items + yym1408 := z.DecBinary() + _ = yym1408 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1356), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1407), d) } } for { - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1351 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1351 { + if yyb1402 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1351-1, "") + z.DecStructFieldNotFound(yyj1402-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16257,10 +16802,10 @@ func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1358 := range v { + for _, yyv1409 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1359 := &yyv1358 - yy1359.CodecEncodeSelf(e) + yy1410 := &yyv1409 + yy1410.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16270,83 +16815,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1360 := *v - yyh1360, yyl1360 := z.DecSliceHelperStart() - var yyc1360 bool - if yyl1360 == 0 { - if yyv1360 == nil { - yyv1360 = []CustomMetricTarget{} - yyc1360 = true - } else if len(yyv1360) != 0 { - yyv1360 = yyv1360[:0] - yyc1360 = true + yyv1411 := *v + yyh1411, yyl1411 := z.DecSliceHelperStart() + var yyc1411 bool + if yyl1411 == 0 { + if yyv1411 == nil { + yyv1411 = []CustomMetricTarget{} + yyc1411 = true + } else if len(yyv1411) != 0 { + yyv1411 = yyv1411[:0] + yyc1411 = true } - } else if yyl1360 > 0 { - var yyrr1360, yyrl1360 int - var yyrt1360 bool - if yyl1360 > cap(yyv1360) { + } else if yyl1411 > 0 { + var yyrr1411, yyrl1411 int + var yyrt1411 bool + if yyl1411 > cap(yyv1411) { - yyrg1360 := len(yyv1360) > 0 - yyv21360 := yyv1360 - yyrl1360, yyrt1360 = z.DecInferLen(yyl1360, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1360 { - if yyrl1360 <= cap(yyv1360) { - yyv1360 = yyv1360[:yyrl1360] + yyrg1411 := len(yyv1411) > 0 + yyv21411 := yyv1411 + yyrl1411, yyrt1411 = z.DecInferLen(yyl1411, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1411 { + if yyrl1411 <= cap(yyv1411) { + yyv1411 = yyv1411[:yyrl1411] } else { - yyv1360 = make([]CustomMetricTarget, yyrl1360) + yyv1411 = make([]CustomMetricTarget, yyrl1411) } } else { - yyv1360 = make([]CustomMetricTarget, yyrl1360) + yyv1411 = make([]CustomMetricTarget, yyrl1411) } - yyc1360 = true - yyrr1360 = len(yyv1360) - if yyrg1360 { - copy(yyv1360, yyv21360) + yyc1411 = true + yyrr1411 = len(yyv1411) + if yyrg1411 { + copy(yyv1411, yyv21411) } - } else if yyl1360 != len(yyv1360) { - yyv1360 = yyv1360[:yyl1360] - yyc1360 = true + } else if yyl1411 != len(yyv1411) { + yyv1411 = yyv1411[:yyl1411] + yyc1411 = true } - yyj1360 := 0 - for ; yyj1360 < yyrr1360; yyj1360++ { - yyh1360.ElemContainerState(yyj1360) + yyj1411 := 0 + for ; yyj1411 < yyrr1411; yyj1411++ { + yyh1411.ElemContainerState(yyj1411) if r.TryDecodeAsNil() { - yyv1360[yyj1360] = CustomMetricTarget{} + yyv1411[yyj1411] = CustomMetricTarget{} } else { - yyv1361 := &yyv1360[yyj1360] - yyv1361.CodecDecodeSelf(d) + yyv1412 := &yyv1411[yyj1411] + yyv1412.CodecDecodeSelf(d) } } - if yyrt1360 { - for ; yyj1360 < yyl1360; yyj1360++ { - yyv1360 = append(yyv1360, CustomMetricTarget{}) - yyh1360.ElemContainerState(yyj1360) + if yyrt1411 { + for ; yyj1411 < yyl1411; yyj1411++ { + yyv1411 = append(yyv1411, CustomMetricTarget{}) + yyh1411.ElemContainerState(yyj1411) if r.TryDecodeAsNil() { - yyv1360[yyj1360] = CustomMetricTarget{} + yyv1411[yyj1411] = CustomMetricTarget{} } else { - yyv1362 := &yyv1360[yyj1360] - yyv1362.CodecDecodeSelf(d) + yyv1413 := &yyv1411[yyj1411] + yyv1413.CodecDecodeSelf(d) } } } } else { - yyj1360 := 0 - for ; !r.CheckBreak(); yyj1360++ { + yyj1411 := 0 + for ; !r.CheckBreak(); yyj1411++ { - if yyj1360 >= len(yyv1360) { - yyv1360 = append(yyv1360, CustomMetricTarget{}) // var yyz1360 CustomMetricTarget - yyc1360 = true + if yyj1411 >= len(yyv1411) { + yyv1411 = append(yyv1411, CustomMetricTarget{}) // var yyz1411 CustomMetricTarget + yyc1411 = true } - yyh1360.ElemContainerState(yyj1360) - if yyj1360 < len(yyv1360) { + yyh1411.ElemContainerState(yyj1411) + if yyj1411 < len(yyv1411) { if r.TryDecodeAsNil() { - yyv1360[yyj1360] = CustomMetricTarget{} + yyv1411[yyj1411] = CustomMetricTarget{} } else { - yyv1363 := &yyv1360[yyj1360] - yyv1363.CodecDecodeSelf(d) + yyv1414 := &yyv1411[yyj1411] + yyv1414.CodecDecodeSelf(d) } } else { @@ -16354,17 +16899,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1360 < len(yyv1360) { - yyv1360 = yyv1360[:yyj1360] - yyc1360 = true - } else if yyj1360 == 0 && yyv1360 == nil { - yyv1360 = []CustomMetricTarget{} - yyc1360 = true + if yyj1411 < len(yyv1411) { + yyv1411 = yyv1411[:yyj1411] + yyc1411 = true + } else if yyj1411 == 0 && yyv1411 == nil { + yyv1411 = []CustomMetricTarget{} + yyc1411 = true } } - yyh1360.End() - if yyc1360 { - *v = yyv1360 + yyh1411.End() + if yyc1411 { + *v = yyv1411 } } @@ -16373,10 +16918,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1364 := range v { + for _, yyv1415 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1365 := &yyv1364 - yy1365.CodecEncodeSelf(e) + yy1416 := &yyv1415 + yy1416.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16386,83 +16931,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1366 := *v - yyh1366, yyl1366 := z.DecSliceHelperStart() - var yyc1366 bool - if yyl1366 == 0 { - if yyv1366 == nil { - yyv1366 = []CustomMetricCurrentStatus{} - yyc1366 = true - } else if len(yyv1366) != 0 { - yyv1366 = yyv1366[:0] - yyc1366 = true + yyv1417 := *v + yyh1417, yyl1417 := z.DecSliceHelperStart() + var yyc1417 bool + if yyl1417 == 0 { + if yyv1417 == nil { + yyv1417 = []CustomMetricCurrentStatus{} + yyc1417 = true + } else if len(yyv1417) != 0 { + yyv1417 = yyv1417[:0] + yyc1417 = true } - } else if yyl1366 > 0 { - var yyrr1366, yyrl1366 int - var yyrt1366 bool - if yyl1366 > cap(yyv1366) { + } else if yyl1417 > 0 { + var yyrr1417, yyrl1417 int + var yyrt1417 bool + if yyl1417 > cap(yyv1417) { - yyrg1366 := len(yyv1366) > 0 - yyv21366 := yyv1366 - yyrl1366, yyrt1366 = z.DecInferLen(yyl1366, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1366 { - if yyrl1366 <= cap(yyv1366) { - yyv1366 = yyv1366[:yyrl1366] + yyrg1417 := len(yyv1417) > 0 + yyv21417 := yyv1417 + yyrl1417, yyrt1417 = z.DecInferLen(yyl1417, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1417 { + if yyrl1417 <= cap(yyv1417) { + yyv1417 = yyv1417[:yyrl1417] } else { - yyv1366 = make([]CustomMetricCurrentStatus, yyrl1366) + yyv1417 = make([]CustomMetricCurrentStatus, yyrl1417) } } else { - yyv1366 = make([]CustomMetricCurrentStatus, yyrl1366) + yyv1417 = make([]CustomMetricCurrentStatus, yyrl1417) } - yyc1366 = true - yyrr1366 = len(yyv1366) - if yyrg1366 { - copy(yyv1366, yyv21366) + yyc1417 = true + yyrr1417 = len(yyv1417) + if yyrg1417 { + copy(yyv1417, yyv21417) } - } else if yyl1366 != len(yyv1366) { - yyv1366 = yyv1366[:yyl1366] - yyc1366 = true + } else if yyl1417 != len(yyv1417) { + yyv1417 = yyv1417[:yyl1417] + yyc1417 = true } - yyj1366 := 0 - for ; yyj1366 < yyrr1366; yyj1366++ { - yyh1366.ElemContainerState(yyj1366) + yyj1417 := 0 + for ; yyj1417 < yyrr1417; yyj1417++ { + yyh1417.ElemContainerState(yyj1417) if r.TryDecodeAsNil() { - yyv1366[yyj1366] = CustomMetricCurrentStatus{} + yyv1417[yyj1417] = CustomMetricCurrentStatus{} } else { - yyv1367 := &yyv1366[yyj1366] - yyv1367.CodecDecodeSelf(d) + yyv1418 := &yyv1417[yyj1417] + yyv1418.CodecDecodeSelf(d) } } - if yyrt1366 { - for ; yyj1366 < yyl1366; yyj1366++ { - yyv1366 = append(yyv1366, CustomMetricCurrentStatus{}) - yyh1366.ElemContainerState(yyj1366) + if yyrt1417 { + for ; yyj1417 < yyl1417; yyj1417++ { + yyv1417 = append(yyv1417, CustomMetricCurrentStatus{}) + yyh1417.ElemContainerState(yyj1417) if r.TryDecodeAsNil() { - yyv1366[yyj1366] = CustomMetricCurrentStatus{} + yyv1417[yyj1417] = CustomMetricCurrentStatus{} } else { - yyv1368 := &yyv1366[yyj1366] - yyv1368.CodecDecodeSelf(d) + yyv1419 := &yyv1417[yyj1417] + yyv1419.CodecDecodeSelf(d) } } } } else { - yyj1366 := 0 - for ; !r.CheckBreak(); yyj1366++ { + yyj1417 := 0 + for ; !r.CheckBreak(); yyj1417++ { - if yyj1366 >= len(yyv1366) { - yyv1366 = append(yyv1366, CustomMetricCurrentStatus{}) // var yyz1366 CustomMetricCurrentStatus - yyc1366 = true + if yyj1417 >= len(yyv1417) { + yyv1417 = append(yyv1417, CustomMetricCurrentStatus{}) // var yyz1417 CustomMetricCurrentStatus + yyc1417 = true } - yyh1366.ElemContainerState(yyj1366) - if yyj1366 < len(yyv1366) { + yyh1417.ElemContainerState(yyj1417) + if yyj1417 < len(yyv1417) { if r.TryDecodeAsNil() { - yyv1366[yyj1366] = CustomMetricCurrentStatus{} + yyv1417[yyj1417] = CustomMetricCurrentStatus{} } else { - yyv1369 := &yyv1366[yyj1366] - yyv1369.CodecDecodeSelf(d) + yyv1420 := &yyv1417[yyj1417] + yyv1420.CodecDecodeSelf(d) } } else { @@ -16470,17 +17015,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1366 < len(yyv1366) { - yyv1366 = yyv1366[:yyj1366] - yyc1366 = true - } else if yyj1366 == 0 && yyv1366 == nil { - yyv1366 = []CustomMetricCurrentStatus{} - yyc1366 = true + if yyj1417 < len(yyv1417) { + yyv1417 = yyv1417[:yyj1417] + yyc1417 = true + } else if yyj1417 == 0 && yyv1417 == nil { + yyv1417 = []CustomMetricCurrentStatus{} + yyc1417 = true } } - yyh1366.End() - if yyc1366 { - *v = yyv1366 + yyh1417.End() + if yyc1417 { + *v = yyv1417 } } @@ -16489,10 +17034,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1370 := range v { + for _, yyv1421 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1371 := &yyv1370 - yy1371.CodecEncodeSelf(e) + yy1422 := &yyv1421 + yy1422.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16502,83 +17047,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1372 := *v - yyh1372, yyl1372 := z.DecSliceHelperStart() - var yyc1372 bool - if yyl1372 == 0 { - if yyv1372 == nil { - yyv1372 = []APIVersion{} - yyc1372 = true - } else if len(yyv1372) != 0 { - yyv1372 = yyv1372[:0] - yyc1372 = true + yyv1423 := *v + yyh1423, yyl1423 := z.DecSliceHelperStart() + var yyc1423 bool + if yyl1423 == 0 { + if yyv1423 == nil { + yyv1423 = []APIVersion{} + yyc1423 = true + } else if len(yyv1423) != 0 { + yyv1423 = yyv1423[:0] + yyc1423 = true } - } else if yyl1372 > 0 { - var yyrr1372, yyrl1372 int - var yyrt1372 bool - if yyl1372 > cap(yyv1372) { + } else if yyl1423 > 0 { + var yyrr1423, yyrl1423 int + var yyrt1423 bool + if yyl1423 > cap(yyv1423) { - yyrg1372 := len(yyv1372) > 0 - yyv21372 := yyv1372 - yyrl1372, yyrt1372 = z.DecInferLen(yyl1372, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1372 { - if yyrl1372 <= cap(yyv1372) { - yyv1372 = yyv1372[:yyrl1372] + yyrg1423 := len(yyv1423) > 0 + yyv21423 := yyv1423 + yyrl1423, yyrt1423 = z.DecInferLen(yyl1423, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1423 { + if yyrl1423 <= cap(yyv1423) { + yyv1423 = yyv1423[:yyrl1423] } else { - yyv1372 = make([]APIVersion, yyrl1372) + yyv1423 = make([]APIVersion, yyrl1423) } } else { - yyv1372 = make([]APIVersion, yyrl1372) + yyv1423 = make([]APIVersion, yyrl1423) } - yyc1372 = true - yyrr1372 = len(yyv1372) - if yyrg1372 { - copy(yyv1372, yyv21372) + yyc1423 = true + yyrr1423 = len(yyv1423) + if yyrg1423 { + copy(yyv1423, yyv21423) } - } else if yyl1372 != len(yyv1372) { - yyv1372 = yyv1372[:yyl1372] - yyc1372 = true + } else if yyl1423 != len(yyv1423) { + yyv1423 = yyv1423[:yyl1423] + yyc1423 = true } - yyj1372 := 0 - for ; yyj1372 < yyrr1372; yyj1372++ { - yyh1372.ElemContainerState(yyj1372) + yyj1423 := 0 + for ; yyj1423 < yyrr1423; yyj1423++ { + yyh1423.ElemContainerState(yyj1423) if r.TryDecodeAsNil() { - yyv1372[yyj1372] = APIVersion{} + yyv1423[yyj1423] = APIVersion{} } else { - yyv1373 := &yyv1372[yyj1372] - yyv1373.CodecDecodeSelf(d) + yyv1424 := &yyv1423[yyj1423] + yyv1424.CodecDecodeSelf(d) } } - if yyrt1372 { - for ; yyj1372 < yyl1372; yyj1372++ { - yyv1372 = append(yyv1372, APIVersion{}) - yyh1372.ElemContainerState(yyj1372) + if yyrt1423 { + for ; yyj1423 < yyl1423; yyj1423++ { + yyv1423 = append(yyv1423, APIVersion{}) + yyh1423.ElemContainerState(yyj1423) if r.TryDecodeAsNil() { - yyv1372[yyj1372] = APIVersion{} + yyv1423[yyj1423] = APIVersion{} } else { - yyv1374 := &yyv1372[yyj1372] - yyv1374.CodecDecodeSelf(d) + yyv1425 := &yyv1423[yyj1423] + yyv1425.CodecDecodeSelf(d) } } } } else { - yyj1372 := 0 - for ; !r.CheckBreak(); yyj1372++ { + yyj1423 := 0 + for ; !r.CheckBreak(); yyj1423++ { - if yyj1372 >= len(yyv1372) { - yyv1372 = append(yyv1372, APIVersion{}) // var yyz1372 APIVersion - yyc1372 = true + if yyj1423 >= len(yyv1423) { + yyv1423 = append(yyv1423, APIVersion{}) // var yyz1423 APIVersion + yyc1423 = true } - yyh1372.ElemContainerState(yyj1372) - if yyj1372 < len(yyv1372) { + yyh1423.ElemContainerState(yyj1423) + if yyj1423 < len(yyv1423) { if r.TryDecodeAsNil() { - yyv1372[yyj1372] = APIVersion{} + yyv1423[yyj1423] = APIVersion{} } else { - yyv1375 := &yyv1372[yyj1372] - yyv1375.CodecDecodeSelf(d) + yyv1426 := &yyv1423[yyj1423] + yyv1426.CodecDecodeSelf(d) } } else { @@ -16586,17 +17131,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1372 < len(yyv1372) { - yyv1372 = yyv1372[:yyj1372] - yyc1372 = true - } else if yyj1372 == 0 && yyv1372 == nil { - yyv1372 = []APIVersion{} - yyc1372 = true + if yyj1423 < len(yyv1423) { + yyv1423 = yyv1423[:yyj1423] + yyc1423 = true + } else if yyj1423 == 0 && yyv1423 == nil { + yyv1423 = []APIVersion{} + yyc1423 = true } } - yyh1372.End() - if yyc1372 { - *v = yyv1372 + yyh1423.End() + if yyc1423 { + *v = yyv1423 } } @@ -16605,10 +17150,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1376 := range v { + for _, yyv1427 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1377 := &yyv1376 - yy1377.CodecEncodeSelf(e) + yy1428 := &yyv1427 + yy1428.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16618,83 +17163,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1378 := *v - yyh1378, yyl1378 := z.DecSliceHelperStart() - var yyc1378 bool - if yyl1378 == 0 { - if yyv1378 == nil { - yyv1378 = []ThirdPartyResource{} - yyc1378 = true - } else if len(yyv1378) != 0 { - yyv1378 = yyv1378[:0] - yyc1378 = true + yyv1429 := *v + yyh1429, yyl1429 := z.DecSliceHelperStart() + var yyc1429 bool + if yyl1429 == 0 { + if yyv1429 == nil { + yyv1429 = []ThirdPartyResource{} + yyc1429 = true + } else if len(yyv1429) != 0 { + yyv1429 = yyv1429[:0] + yyc1429 = true } - } else if yyl1378 > 0 { - var yyrr1378, yyrl1378 int - var yyrt1378 bool - if yyl1378 > cap(yyv1378) { + } else if yyl1429 > 0 { + var yyrr1429, yyrl1429 int + var yyrt1429 bool + if yyl1429 > cap(yyv1429) { - yyrg1378 := len(yyv1378) > 0 - yyv21378 := yyv1378 - yyrl1378, yyrt1378 = z.DecInferLen(yyl1378, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1378 { - if yyrl1378 <= cap(yyv1378) { - yyv1378 = yyv1378[:yyrl1378] + yyrg1429 := len(yyv1429) > 0 + yyv21429 := yyv1429 + yyrl1429, yyrt1429 = z.DecInferLen(yyl1429, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1429 { + if yyrl1429 <= cap(yyv1429) { + yyv1429 = yyv1429[:yyrl1429] } else { - yyv1378 = make([]ThirdPartyResource, yyrl1378) + yyv1429 = make([]ThirdPartyResource, yyrl1429) } } else { - yyv1378 = make([]ThirdPartyResource, yyrl1378) + yyv1429 = make([]ThirdPartyResource, yyrl1429) } - yyc1378 = true - yyrr1378 = len(yyv1378) - if yyrg1378 { - copy(yyv1378, yyv21378) + yyc1429 = true + yyrr1429 = len(yyv1429) + if yyrg1429 { + copy(yyv1429, yyv21429) } - } else if yyl1378 != len(yyv1378) { - yyv1378 = yyv1378[:yyl1378] - yyc1378 = true + } else if yyl1429 != len(yyv1429) { + yyv1429 = yyv1429[:yyl1429] + yyc1429 = true } - yyj1378 := 0 - for ; yyj1378 < yyrr1378; yyj1378++ { - yyh1378.ElemContainerState(yyj1378) + yyj1429 := 0 + for ; yyj1429 < yyrr1429; yyj1429++ { + yyh1429.ElemContainerState(yyj1429) if r.TryDecodeAsNil() { - yyv1378[yyj1378] = ThirdPartyResource{} + yyv1429[yyj1429] = ThirdPartyResource{} } else { - yyv1379 := &yyv1378[yyj1378] - yyv1379.CodecDecodeSelf(d) + yyv1430 := &yyv1429[yyj1429] + yyv1430.CodecDecodeSelf(d) } } - if yyrt1378 { - for ; yyj1378 < yyl1378; yyj1378++ { - yyv1378 = append(yyv1378, ThirdPartyResource{}) - yyh1378.ElemContainerState(yyj1378) + if yyrt1429 { + for ; yyj1429 < yyl1429; yyj1429++ { + yyv1429 = append(yyv1429, ThirdPartyResource{}) + yyh1429.ElemContainerState(yyj1429) if r.TryDecodeAsNil() { - yyv1378[yyj1378] = ThirdPartyResource{} + yyv1429[yyj1429] = ThirdPartyResource{} } else { - yyv1380 := &yyv1378[yyj1378] - yyv1380.CodecDecodeSelf(d) + yyv1431 := &yyv1429[yyj1429] + yyv1431.CodecDecodeSelf(d) } } } } else { - yyj1378 := 0 - for ; !r.CheckBreak(); yyj1378++ { + yyj1429 := 0 + for ; !r.CheckBreak(); yyj1429++ { - if yyj1378 >= len(yyv1378) { - yyv1378 = append(yyv1378, ThirdPartyResource{}) // var yyz1378 ThirdPartyResource - yyc1378 = true + if yyj1429 >= len(yyv1429) { + yyv1429 = append(yyv1429, ThirdPartyResource{}) // var yyz1429 ThirdPartyResource + yyc1429 = true } - yyh1378.ElemContainerState(yyj1378) - if yyj1378 < len(yyv1378) { + yyh1429.ElemContainerState(yyj1429) + if yyj1429 < len(yyv1429) { if r.TryDecodeAsNil() { - yyv1378[yyj1378] = ThirdPartyResource{} + yyv1429[yyj1429] = ThirdPartyResource{} } else { - yyv1381 := &yyv1378[yyj1378] - yyv1381.CodecDecodeSelf(d) + yyv1432 := &yyv1429[yyj1429] + yyv1432.CodecDecodeSelf(d) } } else { @@ -16702,17 +17247,133 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1378 < len(yyv1378) { - yyv1378 = yyv1378[:yyj1378] - yyc1378 = true - } else if yyj1378 == 0 && yyv1378 == nil { - yyv1378 = []ThirdPartyResource{} - yyc1378 = true + if yyj1429 < len(yyv1429) { + yyv1429 = yyv1429[:yyj1429] + yyc1429 = true + } else if yyj1429 == 0 && yyv1429 == nil { + yyv1429 = []ThirdPartyResource{} + yyc1429 = true } } - yyh1378.End() - if yyc1378 { - *v = yyv1378 + yyh1429.End() + if yyc1429 { + *v = yyv1429 + } +} + +func (x codecSelfer1234) encSliceDeploymentCondition(v []DeploymentCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1433 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1434 := &yyv1433 + yy1434.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDeploymentCondition(v *[]DeploymentCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1435 := *v + yyh1435, yyl1435 := z.DecSliceHelperStart() + var yyc1435 bool + if yyl1435 == 0 { + if yyv1435 == nil { + yyv1435 = []DeploymentCondition{} + yyc1435 = true + } else if len(yyv1435) != 0 { + yyv1435 = yyv1435[:0] + yyc1435 = true + } + } else if yyl1435 > 0 { + var yyrr1435, yyrl1435 int + var yyrt1435 bool + if yyl1435 > cap(yyv1435) { + + yyrg1435 := len(yyv1435) > 0 + yyv21435 := yyv1435 + yyrl1435, yyrt1435 = z.DecInferLen(yyl1435, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1435 { + if yyrl1435 <= cap(yyv1435) { + yyv1435 = yyv1435[:yyrl1435] + } else { + yyv1435 = make([]DeploymentCondition, yyrl1435) + } + } else { + yyv1435 = make([]DeploymentCondition, yyrl1435) + } + yyc1435 = true + yyrr1435 = len(yyv1435) + if yyrg1435 { + copy(yyv1435, yyv21435) + } + } else if yyl1435 != len(yyv1435) { + yyv1435 = yyv1435[:yyl1435] + yyc1435 = true + } + yyj1435 := 0 + for ; yyj1435 < yyrr1435; yyj1435++ { + yyh1435.ElemContainerState(yyj1435) + if r.TryDecodeAsNil() { + yyv1435[yyj1435] = DeploymentCondition{} + } else { + yyv1436 := &yyv1435[yyj1435] + yyv1436.CodecDecodeSelf(d) + } + + } + if yyrt1435 { + for ; yyj1435 < yyl1435; yyj1435++ { + yyv1435 = append(yyv1435, DeploymentCondition{}) + yyh1435.ElemContainerState(yyj1435) + if r.TryDecodeAsNil() { + yyv1435[yyj1435] = DeploymentCondition{} + } else { + yyv1437 := &yyv1435[yyj1435] + yyv1437.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1435 := 0 + for ; !r.CheckBreak(); yyj1435++ { + + if yyj1435 >= len(yyv1435) { + yyv1435 = append(yyv1435, DeploymentCondition{}) // var yyz1435 DeploymentCondition + yyc1435 = true + } + yyh1435.ElemContainerState(yyj1435) + if yyj1435 < len(yyv1435) { + if r.TryDecodeAsNil() { + yyv1435[yyj1435] = DeploymentCondition{} + } else { + yyv1438 := &yyv1435[yyj1435] + yyv1438.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1435 < len(yyv1435) { + yyv1435 = yyv1435[:yyj1435] + yyc1435 = true + } else if yyj1435 == 0 && yyv1435 == nil { + yyv1435 = []DeploymentCondition{} + yyc1435 = true + } + } + yyh1435.End() + if yyc1435 { + *v = yyv1435 } } @@ -16721,10 +17382,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1382 := range v { + for _, yyv1439 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1383 := &yyv1382 - yy1383.CodecEncodeSelf(e) + yy1440 := &yyv1439 + yy1440.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16734,83 +17395,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1384 := *v - yyh1384, yyl1384 := z.DecSliceHelperStart() - var yyc1384 bool - if yyl1384 == 0 { - if yyv1384 == nil { - yyv1384 = []Deployment{} - yyc1384 = true - } else if len(yyv1384) != 0 { - yyv1384 = yyv1384[:0] - yyc1384 = true + yyv1441 := *v + yyh1441, yyl1441 := z.DecSliceHelperStart() + var yyc1441 bool + if yyl1441 == 0 { + if yyv1441 == nil { + yyv1441 = []Deployment{} + yyc1441 = true + } else if len(yyv1441) != 0 { + yyv1441 = yyv1441[:0] + yyc1441 = true } - } else if yyl1384 > 0 { - var yyrr1384, yyrl1384 int - var yyrt1384 bool - if yyl1384 > cap(yyv1384) { + } else if yyl1441 > 0 { + var yyrr1441, yyrl1441 int + var yyrt1441 bool + if yyl1441 > cap(yyv1441) { - yyrg1384 := len(yyv1384) > 0 - yyv21384 := yyv1384 - yyrl1384, yyrt1384 = z.DecInferLen(yyl1384, z.DecBasicHandle().MaxInitLen, 800) - if yyrt1384 { - if yyrl1384 <= cap(yyv1384) { - yyv1384 = yyv1384[:yyrl1384] + yyrg1441 := len(yyv1441) > 0 + yyv21441 := yyv1441 + yyrl1441, yyrt1441 = z.DecInferLen(yyl1441, z.DecBasicHandle().MaxInitLen, 832) + if yyrt1441 { + if yyrl1441 <= cap(yyv1441) { + yyv1441 = yyv1441[:yyrl1441] } else { - yyv1384 = make([]Deployment, yyrl1384) + yyv1441 = make([]Deployment, yyrl1441) } } else { - yyv1384 = make([]Deployment, yyrl1384) + yyv1441 = make([]Deployment, yyrl1441) } - yyc1384 = true - yyrr1384 = len(yyv1384) - if yyrg1384 { - copy(yyv1384, yyv21384) + yyc1441 = true + yyrr1441 = len(yyv1441) + if yyrg1441 { + copy(yyv1441, yyv21441) } - } else if yyl1384 != len(yyv1384) { - yyv1384 = yyv1384[:yyl1384] - yyc1384 = true + } else if yyl1441 != len(yyv1441) { + yyv1441 = yyv1441[:yyl1441] + yyc1441 = true } - yyj1384 := 0 - for ; yyj1384 < yyrr1384; yyj1384++ { - yyh1384.ElemContainerState(yyj1384) + yyj1441 := 0 + for ; yyj1441 < yyrr1441; yyj1441++ { + yyh1441.ElemContainerState(yyj1441) if r.TryDecodeAsNil() { - yyv1384[yyj1384] = Deployment{} + yyv1441[yyj1441] = Deployment{} } else { - yyv1385 := &yyv1384[yyj1384] - yyv1385.CodecDecodeSelf(d) + yyv1442 := &yyv1441[yyj1441] + yyv1442.CodecDecodeSelf(d) } } - if yyrt1384 { - for ; yyj1384 < yyl1384; yyj1384++ { - yyv1384 = append(yyv1384, Deployment{}) - yyh1384.ElemContainerState(yyj1384) + if yyrt1441 { + for ; yyj1441 < yyl1441; yyj1441++ { + yyv1441 = append(yyv1441, Deployment{}) + yyh1441.ElemContainerState(yyj1441) if r.TryDecodeAsNil() { - yyv1384[yyj1384] = Deployment{} + yyv1441[yyj1441] = Deployment{} } else { - yyv1386 := &yyv1384[yyj1384] - yyv1386.CodecDecodeSelf(d) + yyv1443 := &yyv1441[yyj1441] + yyv1443.CodecDecodeSelf(d) } } } } else { - yyj1384 := 0 - for ; !r.CheckBreak(); yyj1384++ { + yyj1441 := 0 + for ; !r.CheckBreak(); yyj1441++ { - if yyj1384 >= len(yyv1384) { - yyv1384 = append(yyv1384, Deployment{}) // var yyz1384 Deployment - yyc1384 = true + if yyj1441 >= len(yyv1441) { + yyv1441 = append(yyv1441, Deployment{}) // var yyz1441 Deployment + yyc1441 = true } - yyh1384.ElemContainerState(yyj1384) - if yyj1384 < len(yyv1384) { + yyh1441.ElemContainerState(yyj1441) + if yyj1441 < len(yyv1441) { if r.TryDecodeAsNil() { - yyv1384[yyj1384] = Deployment{} + yyv1441[yyj1441] = Deployment{} } else { - yyv1387 := &yyv1384[yyj1384] - yyv1387.CodecDecodeSelf(d) + yyv1444 := &yyv1441[yyj1441] + yyv1444.CodecDecodeSelf(d) } } else { @@ -16818,17 +17479,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1384 < len(yyv1384) { - yyv1384 = yyv1384[:yyj1384] - yyc1384 = true - } else if yyj1384 == 0 && yyv1384 == nil { - yyv1384 = []Deployment{} - yyc1384 = true + if yyj1441 < len(yyv1441) { + yyv1441 = yyv1441[:yyj1441] + yyc1441 = true + } else if yyj1441 == 0 && yyv1441 == nil { + yyv1441 = []Deployment{} + yyc1441 = true } } - yyh1384.End() - if yyc1384 { - *v = yyv1384 + yyh1441.End() + if yyc1441 { + *v = yyv1441 } } @@ -16837,10 +17498,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1388 := range v { + for _, yyv1445 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1389 := &yyv1388 - yy1389.CodecEncodeSelf(e) + yy1446 := &yyv1445 + yy1446.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16850,83 +17511,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1390 := *v - yyh1390, yyl1390 := z.DecSliceHelperStart() - var yyc1390 bool - if yyl1390 == 0 { - if yyv1390 == nil { - yyv1390 = []DaemonSet{} - yyc1390 = true - } else if len(yyv1390) != 0 { - yyv1390 = yyv1390[:0] - yyc1390 = true + yyv1447 := *v + yyh1447, yyl1447 := z.DecSliceHelperStart() + var yyc1447 bool + if yyl1447 == 0 { + if yyv1447 == nil { + yyv1447 = []DaemonSet{} + yyc1447 = true + } else if len(yyv1447) != 0 { + yyv1447 = yyv1447[:0] + yyc1447 = true } - } else if yyl1390 > 0 { - var yyrr1390, yyrl1390 int - var yyrt1390 bool - if yyl1390 > cap(yyv1390) { + } else if yyl1447 > 0 { + var yyrr1447, yyrl1447 int + var yyrt1447 bool + if yyl1447 > cap(yyv1447) { - yyrg1390 := len(yyv1390) > 0 - yyv21390 := yyv1390 - yyrl1390, yyrt1390 = z.DecInferLen(yyl1390, z.DecBasicHandle().MaxInitLen, 728) - if yyrt1390 { - if yyrl1390 <= cap(yyv1390) { - yyv1390 = yyv1390[:yyrl1390] + yyrg1447 := len(yyv1447) > 0 + yyv21447 := yyv1447 + yyrl1447, yyrt1447 = z.DecInferLen(yyl1447, z.DecBasicHandle().MaxInitLen, 728) + if yyrt1447 { + if yyrl1447 <= cap(yyv1447) { + yyv1447 = yyv1447[:yyrl1447] } else { - yyv1390 = make([]DaemonSet, yyrl1390) + yyv1447 = make([]DaemonSet, yyrl1447) } } else { - yyv1390 = make([]DaemonSet, yyrl1390) + yyv1447 = make([]DaemonSet, yyrl1447) } - yyc1390 = true - yyrr1390 = len(yyv1390) - if yyrg1390 { - copy(yyv1390, yyv21390) + yyc1447 = true + yyrr1447 = len(yyv1447) + if yyrg1447 { + copy(yyv1447, yyv21447) } - } else if yyl1390 != len(yyv1390) { - yyv1390 = yyv1390[:yyl1390] - yyc1390 = true + } else if yyl1447 != len(yyv1447) { + yyv1447 = yyv1447[:yyl1447] + yyc1447 = true } - yyj1390 := 0 - for ; yyj1390 < yyrr1390; yyj1390++ { - yyh1390.ElemContainerState(yyj1390) + yyj1447 := 0 + for ; yyj1447 < yyrr1447; yyj1447++ { + yyh1447.ElemContainerState(yyj1447) if r.TryDecodeAsNil() { - yyv1390[yyj1390] = DaemonSet{} + yyv1447[yyj1447] = DaemonSet{} } else { - yyv1391 := &yyv1390[yyj1390] - yyv1391.CodecDecodeSelf(d) + yyv1448 := &yyv1447[yyj1447] + yyv1448.CodecDecodeSelf(d) } } - if yyrt1390 { - for ; yyj1390 < yyl1390; yyj1390++ { - yyv1390 = append(yyv1390, DaemonSet{}) - yyh1390.ElemContainerState(yyj1390) + if yyrt1447 { + for ; yyj1447 < yyl1447; yyj1447++ { + yyv1447 = append(yyv1447, DaemonSet{}) + yyh1447.ElemContainerState(yyj1447) if r.TryDecodeAsNil() { - yyv1390[yyj1390] = DaemonSet{} + yyv1447[yyj1447] = DaemonSet{} } else { - yyv1392 := &yyv1390[yyj1390] - yyv1392.CodecDecodeSelf(d) + yyv1449 := &yyv1447[yyj1447] + yyv1449.CodecDecodeSelf(d) } } } } else { - yyj1390 := 0 - for ; !r.CheckBreak(); yyj1390++ { + yyj1447 := 0 + for ; !r.CheckBreak(); yyj1447++ { - if yyj1390 >= len(yyv1390) { - yyv1390 = append(yyv1390, DaemonSet{}) // var yyz1390 DaemonSet - yyc1390 = true + if yyj1447 >= len(yyv1447) { + yyv1447 = append(yyv1447, DaemonSet{}) // var yyz1447 DaemonSet + yyc1447 = true } - yyh1390.ElemContainerState(yyj1390) - if yyj1390 < len(yyv1390) { + yyh1447.ElemContainerState(yyj1447) + if yyj1447 < len(yyv1447) { if r.TryDecodeAsNil() { - yyv1390[yyj1390] = DaemonSet{} + yyv1447[yyj1447] = DaemonSet{} } else { - yyv1393 := &yyv1390[yyj1390] - yyv1393.CodecDecodeSelf(d) + yyv1450 := &yyv1447[yyj1447] + yyv1450.CodecDecodeSelf(d) } } else { @@ -16934,17 +17595,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1390 < len(yyv1390) { - yyv1390 = yyv1390[:yyj1390] - yyc1390 = true - } else if yyj1390 == 0 && yyv1390 == nil { - yyv1390 = []DaemonSet{} - yyc1390 = true + if yyj1447 < len(yyv1447) { + yyv1447 = yyv1447[:yyj1447] + yyc1447 = true + } else if yyj1447 == 0 && yyv1447 == nil { + yyv1447 = []DaemonSet{} + yyc1447 = true } } - yyh1390.End() - if yyc1390 { - *v = yyv1390 + yyh1447.End() + if yyc1447 { + *v = yyv1447 } } @@ -16953,10 +17614,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1394 := range v { + for _, yyv1451 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1395 := &yyv1394 - yy1395.CodecEncodeSelf(e) + yy1452 := &yyv1451 + yy1452.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16966,83 +17627,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1396 := *v - yyh1396, yyl1396 := z.DecSliceHelperStart() - var yyc1396 bool - if yyl1396 == 0 { - if yyv1396 == nil { - yyv1396 = []ThirdPartyResourceData{} - yyc1396 = true - } else if len(yyv1396) != 0 { - yyv1396 = yyv1396[:0] - yyc1396 = true + yyv1453 := *v + yyh1453, yyl1453 := z.DecSliceHelperStart() + var yyc1453 bool + if yyl1453 == 0 { + if yyv1453 == nil { + yyv1453 = []ThirdPartyResourceData{} + yyc1453 = true + } else if len(yyv1453) != 0 { + yyv1453 = yyv1453[:0] + yyc1453 = true } - } else if yyl1396 > 0 { - var yyrr1396, yyrl1396 int - var yyrt1396 bool - if yyl1396 > cap(yyv1396) { + } else if yyl1453 > 0 { + var yyrr1453, yyrl1453 int + var yyrt1453 bool + if yyl1453 > cap(yyv1453) { - yyrg1396 := len(yyv1396) > 0 - yyv21396 := yyv1396 - yyrl1396, yyrt1396 = z.DecInferLen(yyl1396, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1396 { - if yyrl1396 <= cap(yyv1396) { - yyv1396 = yyv1396[:yyrl1396] + yyrg1453 := len(yyv1453) > 0 + yyv21453 := yyv1453 + yyrl1453, yyrt1453 = z.DecInferLen(yyl1453, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1453 { + if yyrl1453 <= cap(yyv1453) { + yyv1453 = yyv1453[:yyrl1453] } else { - yyv1396 = make([]ThirdPartyResourceData, yyrl1396) + yyv1453 = make([]ThirdPartyResourceData, yyrl1453) } } else { - yyv1396 = make([]ThirdPartyResourceData, yyrl1396) + yyv1453 = make([]ThirdPartyResourceData, yyrl1453) } - yyc1396 = true - yyrr1396 = len(yyv1396) - if yyrg1396 { - copy(yyv1396, yyv21396) + yyc1453 = true + yyrr1453 = len(yyv1453) + if yyrg1453 { + copy(yyv1453, yyv21453) } - } else if yyl1396 != len(yyv1396) { - yyv1396 = yyv1396[:yyl1396] - yyc1396 = true + } else if yyl1453 != len(yyv1453) { + yyv1453 = yyv1453[:yyl1453] + yyc1453 = true } - yyj1396 := 0 - for ; yyj1396 < yyrr1396; yyj1396++ { - yyh1396.ElemContainerState(yyj1396) + yyj1453 := 0 + for ; yyj1453 < yyrr1453; yyj1453++ { + yyh1453.ElemContainerState(yyj1453) if r.TryDecodeAsNil() { - yyv1396[yyj1396] = ThirdPartyResourceData{} + yyv1453[yyj1453] = ThirdPartyResourceData{} } else { - yyv1397 := &yyv1396[yyj1396] - yyv1397.CodecDecodeSelf(d) + yyv1454 := &yyv1453[yyj1453] + yyv1454.CodecDecodeSelf(d) } } - if yyrt1396 { - for ; yyj1396 < yyl1396; yyj1396++ { - yyv1396 = append(yyv1396, ThirdPartyResourceData{}) - yyh1396.ElemContainerState(yyj1396) + if yyrt1453 { + for ; yyj1453 < yyl1453; yyj1453++ { + yyv1453 = append(yyv1453, ThirdPartyResourceData{}) + yyh1453.ElemContainerState(yyj1453) if r.TryDecodeAsNil() { - yyv1396[yyj1396] = ThirdPartyResourceData{} + yyv1453[yyj1453] = ThirdPartyResourceData{} } else { - yyv1398 := &yyv1396[yyj1396] - yyv1398.CodecDecodeSelf(d) + yyv1455 := &yyv1453[yyj1453] + yyv1455.CodecDecodeSelf(d) } } } } else { - yyj1396 := 0 - for ; !r.CheckBreak(); yyj1396++ { + yyj1453 := 0 + for ; !r.CheckBreak(); yyj1453++ { - if yyj1396 >= len(yyv1396) { - yyv1396 = append(yyv1396, ThirdPartyResourceData{}) // var yyz1396 ThirdPartyResourceData - yyc1396 = true + if yyj1453 >= len(yyv1453) { + yyv1453 = append(yyv1453, ThirdPartyResourceData{}) // var yyz1453 ThirdPartyResourceData + yyc1453 = true } - yyh1396.ElemContainerState(yyj1396) - if yyj1396 < len(yyv1396) { + yyh1453.ElemContainerState(yyj1453) + if yyj1453 < len(yyv1453) { if r.TryDecodeAsNil() { - yyv1396[yyj1396] = ThirdPartyResourceData{} + yyv1453[yyj1453] = ThirdPartyResourceData{} } else { - yyv1399 := &yyv1396[yyj1396] - yyv1399.CodecDecodeSelf(d) + yyv1456 := &yyv1453[yyj1453] + yyv1456.CodecDecodeSelf(d) } } else { @@ -17050,17 +17711,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1396 < len(yyv1396) { - yyv1396 = yyv1396[:yyj1396] - yyc1396 = true - } else if yyj1396 == 0 && yyv1396 == nil { - yyv1396 = []ThirdPartyResourceData{} - yyc1396 = true + if yyj1453 < len(yyv1453) { + yyv1453 = yyv1453[:yyj1453] + yyc1453 = true + } else if yyj1453 == 0 && yyv1453 == nil { + yyv1453 = []ThirdPartyResourceData{} + yyc1453 = true } } - yyh1396.End() - if yyc1396 { - *v = yyv1396 + yyh1453.End() + if yyc1453 { + *v = yyv1453 } } @@ -17069,10 +17730,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1400 := range v { + for _, yyv1457 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1401 := &yyv1400 - yy1401.CodecEncodeSelf(e) + yy1458 := &yyv1457 + yy1458.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17082,83 +17743,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1402 := *v - yyh1402, yyl1402 := z.DecSliceHelperStart() - var yyc1402 bool - if yyl1402 == 0 { - if yyv1402 == nil { - yyv1402 = []Ingress{} - yyc1402 = true - } else if len(yyv1402) != 0 { - yyv1402 = yyv1402[:0] - yyc1402 = true + yyv1459 := *v + yyh1459, yyl1459 := z.DecSliceHelperStart() + var yyc1459 bool + if yyl1459 == 0 { + if yyv1459 == nil { + yyv1459 = []Ingress{} + yyc1459 = true + } else if len(yyv1459) != 0 { + yyv1459 = yyv1459[:0] + yyc1459 = true } - } else if yyl1402 > 0 { - var yyrr1402, yyrl1402 int - var yyrt1402 bool - if yyl1402 > cap(yyv1402) { + } else if yyl1459 > 0 { + var yyrr1459, yyrl1459 int + var yyrt1459 bool + if yyl1459 > cap(yyv1459) { - yyrg1402 := len(yyv1402) > 0 - yyv21402 := yyv1402 - yyrl1402, yyrt1402 = z.DecInferLen(yyl1402, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1402 { - if yyrl1402 <= cap(yyv1402) { - yyv1402 = yyv1402[:yyrl1402] + yyrg1459 := len(yyv1459) > 0 + yyv21459 := yyv1459 + yyrl1459, yyrt1459 = z.DecInferLen(yyl1459, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1459 { + if yyrl1459 <= cap(yyv1459) { + yyv1459 = yyv1459[:yyrl1459] } else { - yyv1402 = make([]Ingress, yyrl1402) + yyv1459 = make([]Ingress, yyrl1459) } } else { - yyv1402 = make([]Ingress, yyrl1402) + yyv1459 = make([]Ingress, yyrl1459) } - yyc1402 = true - yyrr1402 = len(yyv1402) - if yyrg1402 { - copy(yyv1402, yyv21402) + yyc1459 = true + yyrr1459 = len(yyv1459) + if yyrg1459 { + copy(yyv1459, yyv21459) } - } else if yyl1402 != len(yyv1402) { - yyv1402 = yyv1402[:yyl1402] - yyc1402 = true + } else if yyl1459 != len(yyv1459) { + yyv1459 = yyv1459[:yyl1459] + yyc1459 = true } - yyj1402 := 0 - for ; yyj1402 < yyrr1402; yyj1402++ { - yyh1402.ElemContainerState(yyj1402) + yyj1459 := 0 + for ; yyj1459 < yyrr1459; yyj1459++ { + yyh1459.ElemContainerState(yyj1459) if r.TryDecodeAsNil() { - yyv1402[yyj1402] = Ingress{} + yyv1459[yyj1459] = Ingress{} } else { - yyv1403 := &yyv1402[yyj1402] - yyv1403.CodecDecodeSelf(d) + yyv1460 := &yyv1459[yyj1459] + yyv1460.CodecDecodeSelf(d) } } - if yyrt1402 { - for ; yyj1402 < yyl1402; yyj1402++ { - yyv1402 = append(yyv1402, Ingress{}) - yyh1402.ElemContainerState(yyj1402) + if yyrt1459 { + for ; yyj1459 < yyl1459; yyj1459++ { + yyv1459 = append(yyv1459, Ingress{}) + yyh1459.ElemContainerState(yyj1459) if r.TryDecodeAsNil() { - yyv1402[yyj1402] = Ingress{} + yyv1459[yyj1459] = Ingress{} } else { - yyv1404 := &yyv1402[yyj1402] - yyv1404.CodecDecodeSelf(d) + yyv1461 := &yyv1459[yyj1459] + yyv1461.CodecDecodeSelf(d) } } } } else { - yyj1402 := 0 - for ; !r.CheckBreak(); yyj1402++ { + yyj1459 := 0 + for ; !r.CheckBreak(); yyj1459++ { - if yyj1402 >= len(yyv1402) { - yyv1402 = append(yyv1402, Ingress{}) // var yyz1402 Ingress - yyc1402 = true + if yyj1459 >= len(yyv1459) { + yyv1459 = append(yyv1459, Ingress{}) // var yyz1459 Ingress + yyc1459 = true } - yyh1402.ElemContainerState(yyj1402) - if yyj1402 < len(yyv1402) { + yyh1459.ElemContainerState(yyj1459) + if yyj1459 < len(yyv1459) { if r.TryDecodeAsNil() { - yyv1402[yyj1402] = Ingress{} + yyv1459[yyj1459] = Ingress{} } else { - yyv1405 := &yyv1402[yyj1402] - yyv1405.CodecDecodeSelf(d) + yyv1462 := &yyv1459[yyj1459] + yyv1462.CodecDecodeSelf(d) } } else { @@ -17166,17 +17827,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1402 < len(yyv1402) { - yyv1402 = yyv1402[:yyj1402] - yyc1402 = true - } else if yyj1402 == 0 && yyv1402 == nil { - yyv1402 = []Ingress{} - yyc1402 = true + if yyj1459 < len(yyv1459) { + yyv1459 = yyv1459[:yyj1459] + yyc1459 = true + } else if yyj1459 == 0 && yyv1459 == nil { + yyv1459 = []Ingress{} + yyc1459 = true } } - yyh1402.End() - if yyc1402 { - *v = yyv1402 + yyh1459.End() + if yyc1459 { + *v = yyv1459 } } @@ -17185,10 +17846,10 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1406 := range v { + for _, yyv1463 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1407 := &yyv1406 - yy1407.CodecEncodeSelf(e) + yy1464 := &yyv1463 + yy1464.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17198,83 +17859,83 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1408 := *v - yyh1408, yyl1408 := z.DecSliceHelperStart() - var yyc1408 bool - if yyl1408 == 0 { - if yyv1408 == nil { - yyv1408 = []IngressTLS{} - yyc1408 = true - } else if len(yyv1408) != 0 { - yyv1408 = yyv1408[:0] - yyc1408 = true + yyv1465 := *v + yyh1465, yyl1465 := z.DecSliceHelperStart() + var yyc1465 bool + if yyl1465 == 0 { + if yyv1465 == nil { + yyv1465 = []IngressTLS{} + yyc1465 = true + } else if len(yyv1465) != 0 { + yyv1465 = yyv1465[:0] + yyc1465 = true } - } else if yyl1408 > 0 { - var yyrr1408, yyrl1408 int - var yyrt1408 bool - if yyl1408 > cap(yyv1408) { + } else if yyl1465 > 0 { + var yyrr1465, yyrl1465 int + var yyrt1465 bool + if yyl1465 > cap(yyv1465) { - yyrg1408 := len(yyv1408) > 0 - yyv21408 := yyv1408 - yyrl1408, yyrt1408 = z.DecInferLen(yyl1408, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1408 { - if yyrl1408 <= cap(yyv1408) { - yyv1408 = yyv1408[:yyrl1408] + yyrg1465 := len(yyv1465) > 0 + yyv21465 := yyv1465 + yyrl1465, yyrt1465 = z.DecInferLen(yyl1465, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1465 { + if yyrl1465 <= cap(yyv1465) { + yyv1465 = yyv1465[:yyrl1465] } else { - yyv1408 = make([]IngressTLS, yyrl1408) + yyv1465 = make([]IngressTLS, yyrl1465) } } else { - yyv1408 = make([]IngressTLS, yyrl1408) + yyv1465 = make([]IngressTLS, yyrl1465) } - yyc1408 = true - yyrr1408 = len(yyv1408) - if yyrg1408 { - copy(yyv1408, yyv21408) + yyc1465 = true + yyrr1465 = len(yyv1465) + if yyrg1465 { + copy(yyv1465, yyv21465) } - } else if yyl1408 != len(yyv1408) { - yyv1408 = yyv1408[:yyl1408] - yyc1408 = true + } else if yyl1465 != len(yyv1465) { + yyv1465 = yyv1465[:yyl1465] + yyc1465 = true } - yyj1408 := 0 - for ; yyj1408 < yyrr1408; yyj1408++ { - yyh1408.ElemContainerState(yyj1408) + yyj1465 := 0 + for ; yyj1465 < yyrr1465; yyj1465++ { + yyh1465.ElemContainerState(yyj1465) if r.TryDecodeAsNil() { - yyv1408[yyj1408] = IngressTLS{} + yyv1465[yyj1465] = IngressTLS{} } else { - yyv1409 := &yyv1408[yyj1408] - yyv1409.CodecDecodeSelf(d) + yyv1466 := &yyv1465[yyj1465] + yyv1466.CodecDecodeSelf(d) } } - if yyrt1408 { - for ; yyj1408 < yyl1408; yyj1408++ { - yyv1408 = append(yyv1408, IngressTLS{}) - yyh1408.ElemContainerState(yyj1408) + if yyrt1465 { + for ; yyj1465 < yyl1465; yyj1465++ { + yyv1465 = append(yyv1465, IngressTLS{}) + yyh1465.ElemContainerState(yyj1465) if r.TryDecodeAsNil() { - yyv1408[yyj1408] = IngressTLS{} + yyv1465[yyj1465] = IngressTLS{} } else { - yyv1410 := &yyv1408[yyj1408] - yyv1410.CodecDecodeSelf(d) + yyv1467 := &yyv1465[yyj1465] + yyv1467.CodecDecodeSelf(d) } } } } else { - yyj1408 := 0 - for ; !r.CheckBreak(); yyj1408++ { + yyj1465 := 0 + for ; !r.CheckBreak(); yyj1465++ { - if yyj1408 >= len(yyv1408) { - yyv1408 = append(yyv1408, IngressTLS{}) // var yyz1408 IngressTLS - yyc1408 = true + if yyj1465 >= len(yyv1465) { + yyv1465 = append(yyv1465, IngressTLS{}) // var yyz1465 IngressTLS + yyc1465 = true } - yyh1408.ElemContainerState(yyj1408) - if yyj1408 < len(yyv1408) { + yyh1465.ElemContainerState(yyj1465) + if yyj1465 < len(yyv1465) { if r.TryDecodeAsNil() { - yyv1408[yyj1408] = IngressTLS{} + yyv1465[yyj1465] = IngressTLS{} } else { - yyv1411 := &yyv1408[yyj1408] - yyv1411.CodecDecodeSelf(d) + yyv1468 := &yyv1465[yyj1465] + yyv1468.CodecDecodeSelf(d) } } else { @@ -17282,17 +17943,17 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } - if yyj1408 < len(yyv1408) { - yyv1408 = yyv1408[:yyj1408] - yyc1408 = true - } else if yyj1408 == 0 && yyv1408 == nil { - yyv1408 = []IngressTLS{} - yyc1408 = true + if yyj1465 < len(yyv1465) { + yyv1465 = yyv1465[:yyj1465] + yyc1465 = true + } else if yyj1465 == 0 && yyv1465 == nil { + yyv1465 = []IngressTLS{} + yyc1465 = true } } - yyh1408.End() - if yyc1408 { - *v = yyv1408 + yyh1465.End() + if yyc1465 { + *v = yyv1465 } } @@ -17301,10 +17962,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1412 := range v { + for _, yyv1469 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1413 := &yyv1412 - yy1413.CodecEncodeSelf(e) + yy1470 := &yyv1469 + yy1470.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17314,83 +17975,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1414 := *v - yyh1414, yyl1414 := z.DecSliceHelperStart() - var yyc1414 bool - if yyl1414 == 0 { - if yyv1414 == nil { - yyv1414 = []IngressRule{} - yyc1414 = true - } else if len(yyv1414) != 0 { - yyv1414 = yyv1414[:0] - yyc1414 = true + yyv1471 := *v + yyh1471, yyl1471 := z.DecSliceHelperStart() + var yyc1471 bool + if yyl1471 == 0 { + if yyv1471 == nil { + yyv1471 = []IngressRule{} + yyc1471 = true + } else if len(yyv1471) != 0 { + yyv1471 = yyv1471[:0] + yyc1471 = true } - } else if yyl1414 > 0 { - var yyrr1414, yyrl1414 int - var yyrt1414 bool - if yyl1414 > cap(yyv1414) { + } else if yyl1471 > 0 { + var yyrr1471, yyrl1471 int + var yyrt1471 bool + if yyl1471 > cap(yyv1471) { - yyrg1414 := len(yyv1414) > 0 - yyv21414 := yyv1414 - yyrl1414, yyrt1414 = z.DecInferLen(yyl1414, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1414 { - if yyrl1414 <= cap(yyv1414) { - yyv1414 = yyv1414[:yyrl1414] + yyrg1471 := len(yyv1471) > 0 + yyv21471 := yyv1471 + yyrl1471, yyrt1471 = z.DecInferLen(yyl1471, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1471 { + if yyrl1471 <= cap(yyv1471) { + yyv1471 = yyv1471[:yyrl1471] } else { - yyv1414 = make([]IngressRule, yyrl1414) + yyv1471 = make([]IngressRule, yyrl1471) } } else { - yyv1414 = make([]IngressRule, yyrl1414) + yyv1471 = make([]IngressRule, yyrl1471) } - yyc1414 = true - yyrr1414 = len(yyv1414) - if yyrg1414 { - copy(yyv1414, yyv21414) + yyc1471 = true + yyrr1471 = len(yyv1471) + if yyrg1471 { + copy(yyv1471, yyv21471) } - } else if yyl1414 != len(yyv1414) { - yyv1414 = yyv1414[:yyl1414] - yyc1414 = true + } else if yyl1471 != len(yyv1471) { + yyv1471 = yyv1471[:yyl1471] + yyc1471 = true } - yyj1414 := 0 - for ; yyj1414 < yyrr1414; yyj1414++ { - yyh1414.ElemContainerState(yyj1414) + yyj1471 := 0 + for ; yyj1471 < yyrr1471; yyj1471++ { + yyh1471.ElemContainerState(yyj1471) if r.TryDecodeAsNil() { - yyv1414[yyj1414] = IngressRule{} + yyv1471[yyj1471] = IngressRule{} } else { - yyv1415 := &yyv1414[yyj1414] - yyv1415.CodecDecodeSelf(d) + yyv1472 := &yyv1471[yyj1471] + yyv1472.CodecDecodeSelf(d) } } - if yyrt1414 { - for ; yyj1414 < yyl1414; yyj1414++ { - yyv1414 = append(yyv1414, IngressRule{}) - yyh1414.ElemContainerState(yyj1414) + if yyrt1471 { + for ; yyj1471 < yyl1471; yyj1471++ { + yyv1471 = append(yyv1471, IngressRule{}) + yyh1471.ElemContainerState(yyj1471) if r.TryDecodeAsNil() { - yyv1414[yyj1414] = IngressRule{} + yyv1471[yyj1471] = IngressRule{} } else { - yyv1416 := &yyv1414[yyj1414] - yyv1416.CodecDecodeSelf(d) + yyv1473 := &yyv1471[yyj1471] + yyv1473.CodecDecodeSelf(d) } } } } else { - yyj1414 := 0 - for ; !r.CheckBreak(); yyj1414++ { + yyj1471 := 0 + for ; !r.CheckBreak(); yyj1471++ { - if yyj1414 >= len(yyv1414) { - yyv1414 = append(yyv1414, IngressRule{}) // var yyz1414 IngressRule - yyc1414 = true + if yyj1471 >= len(yyv1471) { + yyv1471 = append(yyv1471, IngressRule{}) // var yyz1471 IngressRule + yyc1471 = true } - yyh1414.ElemContainerState(yyj1414) - if yyj1414 < len(yyv1414) { + yyh1471.ElemContainerState(yyj1471) + if yyj1471 < len(yyv1471) { if r.TryDecodeAsNil() { - yyv1414[yyj1414] = IngressRule{} + yyv1471[yyj1471] = IngressRule{} } else { - yyv1417 := &yyv1414[yyj1414] - yyv1417.CodecDecodeSelf(d) + yyv1474 := &yyv1471[yyj1471] + yyv1474.CodecDecodeSelf(d) } } else { @@ -17398,17 +18059,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1414 < len(yyv1414) { - yyv1414 = yyv1414[:yyj1414] - yyc1414 = true - } else if yyj1414 == 0 && yyv1414 == nil { - yyv1414 = []IngressRule{} - yyc1414 = true + if yyj1471 < len(yyv1471) { + yyv1471 = yyv1471[:yyj1471] + yyc1471 = true + } else if yyj1471 == 0 && yyv1471 == nil { + yyv1471 = []IngressRule{} + yyc1471 = true } } - yyh1414.End() - if yyc1414 { - *v = yyv1414 + yyh1471.End() + if yyc1471 { + *v = yyv1471 } } @@ -17417,10 +18078,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1418 := range v { + for _, yyv1475 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1419 := &yyv1418 - yy1419.CodecEncodeSelf(e) + yy1476 := &yyv1475 + yy1476.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17430,83 +18091,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1420 := *v - yyh1420, yyl1420 := z.DecSliceHelperStart() - var yyc1420 bool - if yyl1420 == 0 { - if yyv1420 == nil { - yyv1420 = []HTTPIngressPath{} - yyc1420 = true - } else if len(yyv1420) != 0 { - yyv1420 = yyv1420[:0] - yyc1420 = true + yyv1477 := *v + yyh1477, yyl1477 := z.DecSliceHelperStart() + var yyc1477 bool + if yyl1477 == 0 { + if yyv1477 == nil { + yyv1477 = []HTTPIngressPath{} + yyc1477 = true + } else if len(yyv1477) != 0 { + yyv1477 = yyv1477[:0] + yyc1477 = true } - } else if yyl1420 > 0 { - var yyrr1420, yyrl1420 int - var yyrt1420 bool - if yyl1420 > cap(yyv1420) { + } else if yyl1477 > 0 { + var yyrr1477, yyrl1477 int + var yyrt1477 bool + if yyl1477 > cap(yyv1477) { - yyrg1420 := len(yyv1420) > 0 - yyv21420 := yyv1420 - yyrl1420, yyrt1420 = z.DecInferLen(yyl1420, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1420 { - if yyrl1420 <= cap(yyv1420) { - yyv1420 = yyv1420[:yyrl1420] + yyrg1477 := len(yyv1477) > 0 + yyv21477 := yyv1477 + yyrl1477, yyrt1477 = z.DecInferLen(yyl1477, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1477 { + if yyrl1477 <= cap(yyv1477) { + yyv1477 = yyv1477[:yyrl1477] } else { - yyv1420 = make([]HTTPIngressPath, yyrl1420) + yyv1477 = make([]HTTPIngressPath, yyrl1477) } } else { - yyv1420 = make([]HTTPIngressPath, yyrl1420) + yyv1477 = make([]HTTPIngressPath, yyrl1477) } - yyc1420 = true - yyrr1420 = len(yyv1420) - if yyrg1420 { - copy(yyv1420, yyv21420) + yyc1477 = true + yyrr1477 = len(yyv1477) + if yyrg1477 { + copy(yyv1477, yyv21477) } - } else if yyl1420 != len(yyv1420) { - yyv1420 = yyv1420[:yyl1420] - yyc1420 = true + } else if yyl1477 != len(yyv1477) { + yyv1477 = yyv1477[:yyl1477] + yyc1477 = true } - yyj1420 := 0 - for ; yyj1420 < yyrr1420; yyj1420++ { - yyh1420.ElemContainerState(yyj1420) + yyj1477 := 0 + for ; yyj1477 < yyrr1477; yyj1477++ { + yyh1477.ElemContainerState(yyj1477) if r.TryDecodeAsNil() { - yyv1420[yyj1420] = HTTPIngressPath{} + yyv1477[yyj1477] = HTTPIngressPath{} } else { - yyv1421 := &yyv1420[yyj1420] - yyv1421.CodecDecodeSelf(d) + yyv1478 := &yyv1477[yyj1477] + yyv1478.CodecDecodeSelf(d) } } - if yyrt1420 { - for ; yyj1420 < yyl1420; yyj1420++ { - yyv1420 = append(yyv1420, HTTPIngressPath{}) - yyh1420.ElemContainerState(yyj1420) + if yyrt1477 { + for ; yyj1477 < yyl1477; yyj1477++ { + yyv1477 = append(yyv1477, HTTPIngressPath{}) + yyh1477.ElemContainerState(yyj1477) if r.TryDecodeAsNil() { - yyv1420[yyj1420] = HTTPIngressPath{} + yyv1477[yyj1477] = HTTPIngressPath{} } else { - yyv1422 := &yyv1420[yyj1420] - yyv1422.CodecDecodeSelf(d) + yyv1479 := &yyv1477[yyj1477] + yyv1479.CodecDecodeSelf(d) } } } } else { - yyj1420 := 0 - for ; !r.CheckBreak(); yyj1420++ { + yyj1477 := 0 + for ; !r.CheckBreak(); yyj1477++ { - if yyj1420 >= len(yyv1420) { - yyv1420 = append(yyv1420, HTTPIngressPath{}) // var yyz1420 HTTPIngressPath - yyc1420 = true + if yyj1477 >= len(yyv1477) { + yyv1477 = append(yyv1477, HTTPIngressPath{}) // var yyz1477 HTTPIngressPath + yyc1477 = true } - yyh1420.ElemContainerState(yyj1420) - if yyj1420 < len(yyv1420) { + yyh1477.ElemContainerState(yyj1477) + if yyj1477 < len(yyv1477) { if r.TryDecodeAsNil() { - yyv1420[yyj1420] = HTTPIngressPath{} + yyv1477[yyj1477] = HTTPIngressPath{} } else { - yyv1423 := &yyv1420[yyj1420] - yyv1423.CodecDecodeSelf(d) + yyv1480 := &yyv1477[yyj1477] + yyv1480.CodecDecodeSelf(d) } } else { @@ -17514,17 +18175,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1420 < len(yyv1420) { - yyv1420 = yyv1420[:yyj1420] - yyc1420 = true - } else if yyj1420 == 0 && yyv1420 == nil { - yyv1420 = []HTTPIngressPath{} - yyc1420 = true + if yyj1477 < len(yyv1477) { + yyv1477 = yyv1477[:yyj1477] + yyc1477 = true + } else if yyj1477 == 0 && yyv1477 == nil { + yyv1477 = []HTTPIngressPath{} + yyc1477 = true } } - yyh1420.End() - if yyc1420 { - *v = yyv1420 + yyh1477.End() + if yyc1477 { + *v = yyv1477 } } @@ -17533,10 +18194,10 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1424 := range v { + for _, yyv1481 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1425 := &yyv1424 - yy1425.CodecEncodeSelf(e) + yy1482 := &yyv1481 + yy1482.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17546,83 +18207,83 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1426 := *v - yyh1426, yyl1426 := z.DecSliceHelperStart() - var yyc1426 bool - if yyl1426 == 0 { - if yyv1426 == nil { - yyv1426 = []ReplicaSet{} - yyc1426 = true - } else if len(yyv1426) != 0 { - yyv1426 = yyv1426[:0] - yyc1426 = true + yyv1483 := *v + yyh1483, yyl1483 := z.DecSliceHelperStart() + var yyc1483 bool + if yyl1483 == 0 { + if yyv1483 == nil { + yyv1483 = []ReplicaSet{} + yyc1483 = true + } else if len(yyv1483) != 0 { + yyv1483 = yyv1483[:0] + yyc1483 = true } - } else if yyl1426 > 0 { - var yyrr1426, yyrl1426 int - var yyrt1426 bool - if yyl1426 > cap(yyv1426) { + } else if yyl1483 > 0 { + var yyrr1483, yyrl1483 int + var yyrt1483 bool + if yyl1483 > cap(yyv1483) { - yyrg1426 := len(yyv1426) > 0 - yyv21426 := yyv1426 - yyrl1426, yyrt1426 = z.DecInferLen(yyl1426, z.DecBasicHandle().MaxInitLen, 768) - if yyrt1426 { - if yyrl1426 <= cap(yyv1426) { - yyv1426 = yyv1426[:yyrl1426] + yyrg1483 := len(yyv1483) > 0 + yyv21483 := yyv1483 + yyrl1483, yyrt1483 = z.DecInferLen(yyl1483, z.DecBasicHandle().MaxInitLen, 768) + if yyrt1483 { + if yyrl1483 <= cap(yyv1483) { + yyv1483 = yyv1483[:yyrl1483] } else { - yyv1426 = make([]ReplicaSet, yyrl1426) + yyv1483 = make([]ReplicaSet, yyrl1483) } } else { - yyv1426 = make([]ReplicaSet, yyrl1426) + yyv1483 = make([]ReplicaSet, yyrl1483) } - yyc1426 = true - yyrr1426 = len(yyv1426) - if yyrg1426 { - copy(yyv1426, yyv21426) + yyc1483 = true + yyrr1483 = len(yyv1483) + if yyrg1483 { + copy(yyv1483, yyv21483) } - } else if yyl1426 != len(yyv1426) { - yyv1426 = yyv1426[:yyl1426] - yyc1426 = true + } else if yyl1483 != len(yyv1483) { + yyv1483 = yyv1483[:yyl1483] + yyc1483 = true } - yyj1426 := 0 - for ; yyj1426 < yyrr1426; yyj1426++ { - yyh1426.ElemContainerState(yyj1426) + yyj1483 := 0 + for ; yyj1483 < yyrr1483; yyj1483++ { + yyh1483.ElemContainerState(yyj1483) if r.TryDecodeAsNil() { - yyv1426[yyj1426] = ReplicaSet{} + yyv1483[yyj1483] = ReplicaSet{} } else { - yyv1427 := &yyv1426[yyj1426] - yyv1427.CodecDecodeSelf(d) + yyv1484 := &yyv1483[yyj1483] + yyv1484.CodecDecodeSelf(d) } } - if yyrt1426 { - for ; yyj1426 < yyl1426; yyj1426++ { - yyv1426 = append(yyv1426, ReplicaSet{}) - yyh1426.ElemContainerState(yyj1426) + if yyrt1483 { + for ; yyj1483 < yyl1483; yyj1483++ { + yyv1483 = append(yyv1483, ReplicaSet{}) + yyh1483.ElemContainerState(yyj1483) if r.TryDecodeAsNil() { - yyv1426[yyj1426] = ReplicaSet{} + yyv1483[yyj1483] = ReplicaSet{} } else { - yyv1428 := &yyv1426[yyj1426] - yyv1428.CodecDecodeSelf(d) + yyv1485 := &yyv1483[yyj1483] + yyv1485.CodecDecodeSelf(d) } } } } else { - yyj1426 := 0 - for ; !r.CheckBreak(); yyj1426++ { + yyj1483 := 0 + for ; !r.CheckBreak(); yyj1483++ { - if yyj1426 >= len(yyv1426) { - yyv1426 = append(yyv1426, ReplicaSet{}) // var yyz1426 ReplicaSet - yyc1426 = true + if yyj1483 >= len(yyv1483) { + yyv1483 = append(yyv1483, ReplicaSet{}) // var yyz1483 ReplicaSet + yyc1483 = true } - yyh1426.ElemContainerState(yyj1426) - if yyj1426 < len(yyv1426) { + yyh1483.ElemContainerState(yyj1483) + if yyj1483 < len(yyv1483) { if r.TryDecodeAsNil() { - yyv1426[yyj1426] = ReplicaSet{} + yyv1483[yyj1483] = ReplicaSet{} } else { - yyv1429 := &yyv1426[yyj1426] - yyv1429.CodecDecodeSelf(d) + yyv1486 := &yyv1483[yyj1483] + yyv1486.CodecDecodeSelf(d) } } else { @@ -17630,17 +18291,17 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } - if yyj1426 < len(yyv1426) { - yyv1426 = yyv1426[:yyj1426] - yyc1426 = true - } else if yyj1426 == 0 && yyv1426 == nil { - yyv1426 = []ReplicaSet{} - yyc1426 = true + if yyj1483 < len(yyv1483) { + yyv1483 = yyv1483[:yyj1483] + yyc1483 = true + } else if yyj1483 == 0 && yyv1483 == nil { + yyv1483 = []ReplicaSet{} + yyc1483 = true } } - yyh1426.End() - if yyc1426 { - *v = yyv1426 + yyh1483.End() + if yyc1483 { + *v = yyv1483 } } @@ -17649,10 +18310,10 @@ func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1430 := range v { + for _, yyv1487 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1431 := &yyv1430 - yy1431.CodecEncodeSelf(e) + yy1488 := &yyv1487 + yy1488.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17662,83 +18323,83 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1432 := *v - yyh1432, yyl1432 := z.DecSliceHelperStart() - var yyc1432 bool - if yyl1432 == 0 { - if yyv1432 == nil { - yyv1432 = []ReplicaSetCondition{} - yyc1432 = true - } else if len(yyv1432) != 0 { - yyv1432 = yyv1432[:0] - yyc1432 = true + yyv1489 := *v + yyh1489, yyl1489 := z.DecSliceHelperStart() + var yyc1489 bool + if yyl1489 == 0 { + if yyv1489 == nil { + yyv1489 = []ReplicaSetCondition{} + yyc1489 = true + } else if len(yyv1489) != 0 { + yyv1489 = yyv1489[:0] + yyc1489 = true } - } else if yyl1432 > 0 { - var yyrr1432, yyrl1432 int - var yyrt1432 bool - if yyl1432 > cap(yyv1432) { + } else if yyl1489 > 0 { + var yyrr1489, yyrl1489 int + var yyrt1489 bool + if yyl1489 > cap(yyv1489) { - yyrg1432 := len(yyv1432) > 0 - yyv21432 := yyv1432 - yyrl1432, yyrt1432 = z.DecInferLen(yyl1432, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1432 { - if yyrl1432 <= cap(yyv1432) { - yyv1432 = yyv1432[:yyrl1432] + yyrg1489 := len(yyv1489) > 0 + yyv21489 := yyv1489 + yyrl1489, yyrt1489 = z.DecInferLen(yyl1489, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1489 { + if yyrl1489 <= cap(yyv1489) { + yyv1489 = yyv1489[:yyrl1489] } else { - yyv1432 = make([]ReplicaSetCondition, yyrl1432) + yyv1489 = make([]ReplicaSetCondition, yyrl1489) } } else { - yyv1432 = make([]ReplicaSetCondition, yyrl1432) + yyv1489 = make([]ReplicaSetCondition, yyrl1489) } - yyc1432 = true - yyrr1432 = len(yyv1432) - if yyrg1432 { - copy(yyv1432, yyv21432) + yyc1489 = true + yyrr1489 = len(yyv1489) + if yyrg1489 { + copy(yyv1489, yyv21489) } - } else if yyl1432 != len(yyv1432) { - yyv1432 = yyv1432[:yyl1432] - yyc1432 = true + } else if yyl1489 != len(yyv1489) { + yyv1489 = yyv1489[:yyl1489] + yyc1489 = true } - yyj1432 := 0 - for ; yyj1432 < yyrr1432; yyj1432++ { - yyh1432.ElemContainerState(yyj1432) + yyj1489 := 0 + for ; yyj1489 < yyrr1489; yyj1489++ { + yyh1489.ElemContainerState(yyj1489) if r.TryDecodeAsNil() { - yyv1432[yyj1432] = ReplicaSetCondition{} + yyv1489[yyj1489] = ReplicaSetCondition{} } else { - yyv1433 := &yyv1432[yyj1432] - yyv1433.CodecDecodeSelf(d) + yyv1490 := &yyv1489[yyj1489] + yyv1490.CodecDecodeSelf(d) } } - if yyrt1432 { - for ; yyj1432 < yyl1432; yyj1432++ { - yyv1432 = append(yyv1432, ReplicaSetCondition{}) - yyh1432.ElemContainerState(yyj1432) + if yyrt1489 { + for ; yyj1489 < yyl1489; yyj1489++ { + yyv1489 = append(yyv1489, ReplicaSetCondition{}) + yyh1489.ElemContainerState(yyj1489) if r.TryDecodeAsNil() { - yyv1432[yyj1432] = ReplicaSetCondition{} + yyv1489[yyj1489] = ReplicaSetCondition{} } else { - yyv1434 := &yyv1432[yyj1432] - yyv1434.CodecDecodeSelf(d) + yyv1491 := &yyv1489[yyj1489] + yyv1491.CodecDecodeSelf(d) } } } } else { - yyj1432 := 0 - for ; !r.CheckBreak(); yyj1432++ { + yyj1489 := 0 + for ; !r.CheckBreak(); yyj1489++ { - if yyj1432 >= len(yyv1432) { - yyv1432 = append(yyv1432, ReplicaSetCondition{}) // var yyz1432 ReplicaSetCondition - yyc1432 = true + if yyj1489 >= len(yyv1489) { + yyv1489 = append(yyv1489, ReplicaSetCondition{}) // var yyz1489 ReplicaSetCondition + yyc1489 = true } - yyh1432.ElemContainerState(yyj1432) - if yyj1432 < len(yyv1432) { + yyh1489.ElemContainerState(yyj1489) + if yyj1489 < len(yyv1489) { if r.TryDecodeAsNil() { - yyv1432[yyj1432] = ReplicaSetCondition{} + yyv1489[yyj1489] = ReplicaSetCondition{} } else { - yyv1435 := &yyv1432[yyj1432] - yyv1435.CodecDecodeSelf(d) + yyv1492 := &yyv1489[yyj1489] + yyv1492.CodecDecodeSelf(d) } } else { @@ -17746,17 +18407,17 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } } - if yyj1432 < len(yyv1432) { - yyv1432 = yyv1432[:yyj1432] - yyc1432 = true - } else if yyj1432 == 0 && yyv1432 == nil { - yyv1432 = []ReplicaSetCondition{} - yyc1432 = true + if yyj1489 < len(yyv1489) { + yyv1489 = yyv1489[:yyj1489] + yyc1489 = true + } else if yyj1489 == 0 && yyv1489 == nil { + yyv1489 = []ReplicaSetCondition{} + yyc1489 = true } } - yyh1432.End() - if yyc1432 { - *v = yyv1432 + yyh1489.End() + if yyc1489 { + *v = yyv1489 } } @@ -17765,14 +18426,14 @@ func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1436 := range v { + for _, yyv1493 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1437 := z.EncBinary() - _ = yym1437 + yym1494 := z.EncBinary() + _ = yym1494 if false { - } else if z.HasExtensions() && z.EncExt(yyv1436) { + } else if z.HasExtensions() && z.EncExt(yyv1493) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1436)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1493)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -17783,75 +18444,75 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1438 := *v - yyh1438, yyl1438 := z.DecSliceHelperStart() - var yyc1438 bool - if yyl1438 == 0 { - if yyv1438 == nil { - yyv1438 = []pkg2_api.Capability{} - yyc1438 = true - } else if len(yyv1438) != 0 { - yyv1438 = yyv1438[:0] - yyc1438 = true + yyv1495 := *v + yyh1495, yyl1495 := z.DecSliceHelperStart() + var yyc1495 bool + if yyl1495 == 0 { + if yyv1495 == nil { + yyv1495 = []pkg2_api.Capability{} + yyc1495 = true + } else if len(yyv1495) != 0 { + yyv1495 = yyv1495[:0] + yyc1495 = true } - } else if yyl1438 > 0 { - var yyrr1438, yyrl1438 int - var yyrt1438 bool - if yyl1438 > cap(yyv1438) { + } else if yyl1495 > 0 { + var yyrr1495, yyrl1495 int + var yyrt1495 bool + if yyl1495 > cap(yyv1495) { - yyrl1438, yyrt1438 = z.DecInferLen(yyl1438, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1438 { - if yyrl1438 <= cap(yyv1438) { - yyv1438 = yyv1438[:yyrl1438] + yyrl1495, yyrt1495 = z.DecInferLen(yyl1495, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1495 { + if yyrl1495 <= cap(yyv1495) { + yyv1495 = yyv1495[:yyrl1495] } else { - yyv1438 = make([]pkg2_api.Capability, yyrl1438) + yyv1495 = make([]pkg2_api.Capability, yyrl1495) } } else { - yyv1438 = make([]pkg2_api.Capability, yyrl1438) + yyv1495 = make([]pkg2_api.Capability, yyrl1495) } - yyc1438 = true - yyrr1438 = len(yyv1438) - } else if yyl1438 != len(yyv1438) { - yyv1438 = yyv1438[:yyl1438] - yyc1438 = true + yyc1495 = true + yyrr1495 = len(yyv1495) + } else if yyl1495 != len(yyv1495) { + yyv1495 = yyv1495[:yyl1495] + yyc1495 = true } - yyj1438 := 0 - for ; yyj1438 < yyrr1438; yyj1438++ { - yyh1438.ElemContainerState(yyj1438) + yyj1495 := 0 + for ; yyj1495 < yyrr1495; yyj1495++ { + yyh1495.ElemContainerState(yyj1495) if r.TryDecodeAsNil() { - yyv1438[yyj1438] = "" + yyv1495[yyj1495] = "" } else { - yyv1438[yyj1438] = pkg2_api.Capability(r.DecodeString()) + yyv1495[yyj1495] = pkg2_api.Capability(r.DecodeString()) } } - if yyrt1438 { - for ; yyj1438 < yyl1438; yyj1438++ { - yyv1438 = append(yyv1438, "") - yyh1438.ElemContainerState(yyj1438) + if yyrt1495 { + for ; yyj1495 < yyl1495; yyj1495++ { + yyv1495 = append(yyv1495, "") + yyh1495.ElemContainerState(yyj1495) if r.TryDecodeAsNil() { - yyv1438[yyj1438] = "" + yyv1495[yyj1495] = "" } else { - yyv1438[yyj1438] = pkg2_api.Capability(r.DecodeString()) + yyv1495[yyj1495] = pkg2_api.Capability(r.DecodeString()) } } } } else { - yyj1438 := 0 - for ; !r.CheckBreak(); yyj1438++ { + yyj1495 := 0 + for ; !r.CheckBreak(); yyj1495++ { - if yyj1438 >= len(yyv1438) { - yyv1438 = append(yyv1438, "") // var yyz1438 pkg2_api.Capability - yyc1438 = true + if yyj1495 >= len(yyv1495) { + yyv1495 = append(yyv1495, "") // var yyz1495 pkg2_api.Capability + yyc1495 = true } - yyh1438.ElemContainerState(yyj1438) - if yyj1438 < len(yyv1438) { + yyh1495.ElemContainerState(yyj1495) + if yyj1495 < len(yyv1495) { if r.TryDecodeAsNil() { - yyv1438[yyj1438] = "" + yyv1495[yyj1495] = "" } else { - yyv1438[yyj1438] = pkg2_api.Capability(r.DecodeString()) + yyv1495[yyj1495] = pkg2_api.Capability(r.DecodeString()) } } else { @@ -17859,17 +18520,17 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod } } - if yyj1438 < len(yyv1438) { - yyv1438 = yyv1438[:yyj1438] - yyc1438 = true - } else if yyj1438 == 0 && yyv1438 == nil { - yyv1438 = []pkg2_api.Capability{} - yyc1438 = true + if yyj1495 < len(yyv1495) { + yyv1495 = yyv1495[:yyj1495] + yyc1495 = true + } else if yyj1495 == 0 && yyv1495 == nil { + yyv1495 = []pkg2_api.Capability{} + yyc1495 = true } } - yyh1438.End() - if yyc1438 { - *v = yyv1438 + yyh1495.End() + if yyc1495 { + *v = yyv1495 } } @@ -17878,9 +18539,9 @@ func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1442 := range v { + for _, yyv1499 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1442.CodecEncodeSelf(e) + yyv1499.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17890,75 +18551,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1443 := *v - yyh1443, yyl1443 := z.DecSliceHelperStart() - var yyc1443 bool - if yyl1443 == 0 { - if yyv1443 == nil { - yyv1443 = []FSType{} - yyc1443 = true - } else if len(yyv1443) != 0 { - yyv1443 = yyv1443[:0] - yyc1443 = true + yyv1500 := *v + yyh1500, yyl1500 := z.DecSliceHelperStart() + var yyc1500 bool + if yyl1500 == 0 { + if yyv1500 == nil { + yyv1500 = []FSType{} + yyc1500 = true + } else if len(yyv1500) != 0 { + yyv1500 = yyv1500[:0] + yyc1500 = true } - } else if yyl1443 > 0 { - var yyrr1443, yyrl1443 int - var yyrt1443 bool - if yyl1443 > cap(yyv1443) { + } else if yyl1500 > 0 { + var yyrr1500, yyrl1500 int + var yyrt1500 bool + if yyl1500 > cap(yyv1500) { - yyrl1443, yyrt1443 = z.DecInferLen(yyl1443, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1443 { - if yyrl1443 <= cap(yyv1443) { - yyv1443 = yyv1443[:yyrl1443] + yyrl1500, yyrt1500 = z.DecInferLen(yyl1500, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1500 { + if yyrl1500 <= cap(yyv1500) { + yyv1500 = yyv1500[:yyrl1500] } else { - yyv1443 = make([]FSType, yyrl1443) + yyv1500 = make([]FSType, yyrl1500) } } else { - yyv1443 = make([]FSType, yyrl1443) + yyv1500 = make([]FSType, yyrl1500) } - yyc1443 = true - yyrr1443 = len(yyv1443) - } else if yyl1443 != len(yyv1443) { - yyv1443 = yyv1443[:yyl1443] - yyc1443 = true + yyc1500 = true + yyrr1500 = len(yyv1500) + } else if yyl1500 != len(yyv1500) { + yyv1500 = yyv1500[:yyl1500] + yyc1500 = true } - yyj1443 := 0 - for ; yyj1443 < yyrr1443; yyj1443++ { - yyh1443.ElemContainerState(yyj1443) + yyj1500 := 0 + for ; yyj1500 < yyrr1500; yyj1500++ { + yyh1500.ElemContainerState(yyj1500) if r.TryDecodeAsNil() { - yyv1443[yyj1443] = "" + yyv1500[yyj1500] = "" } else { - yyv1443[yyj1443] = FSType(r.DecodeString()) + yyv1500[yyj1500] = FSType(r.DecodeString()) } } - if yyrt1443 { - for ; yyj1443 < yyl1443; yyj1443++ { - yyv1443 = append(yyv1443, "") - yyh1443.ElemContainerState(yyj1443) + if yyrt1500 { + for ; yyj1500 < yyl1500; yyj1500++ { + yyv1500 = append(yyv1500, "") + yyh1500.ElemContainerState(yyj1500) if r.TryDecodeAsNil() { - yyv1443[yyj1443] = "" + yyv1500[yyj1500] = "" } else { - yyv1443[yyj1443] = FSType(r.DecodeString()) + yyv1500[yyj1500] = FSType(r.DecodeString()) } } } } else { - yyj1443 := 0 - for ; !r.CheckBreak(); yyj1443++ { + yyj1500 := 0 + for ; !r.CheckBreak(); yyj1500++ { - if yyj1443 >= len(yyv1443) { - yyv1443 = append(yyv1443, "") // var yyz1443 FSType - yyc1443 = true + if yyj1500 >= len(yyv1500) { + yyv1500 = append(yyv1500, "") // var yyz1500 FSType + yyc1500 = true } - yyh1443.ElemContainerState(yyj1443) - if yyj1443 < len(yyv1443) { + yyh1500.ElemContainerState(yyj1500) + if yyj1500 < len(yyv1500) { if r.TryDecodeAsNil() { - yyv1443[yyj1443] = "" + yyv1500[yyj1500] = "" } else { - yyv1443[yyj1443] = FSType(r.DecodeString()) + yyv1500[yyj1500] = FSType(r.DecodeString()) } } else { @@ -17966,17 +18627,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1443 < len(yyv1443) { - yyv1443 = yyv1443[:yyj1443] - yyc1443 = true - } else if yyj1443 == 0 && yyv1443 == nil { - yyv1443 = []FSType{} - yyc1443 = true + if yyj1500 < len(yyv1500) { + yyv1500 = yyv1500[:yyj1500] + yyc1500 = true + } else if yyj1500 == 0 && yyv1500 == nil { + yyv1500 = []FSType{} + yyc1500 = true } } - yyh1443.End() - if yyc1443 { - *v = yyv1443 + yyh1500.End() + if yyc1500 { + *v = yyv1500 } } @@ -17985,10 +18646,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1447 := range v { + for _, yyv1504 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1448 := &yyv1447 - yy1448.CodecEncodeSelf(e) + yy1505 := &yyv1504 + yy1505.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17998,83 +18659,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1449 := *v - yyh1449, yyl1449 := z.DecSliceHelperStart() - var yyc1449 bool - if yyl1449 == 0 { - if yyv1449 == nil { - yyv1449 = []HostPortRange{} - yyc1449 = true - } else if len(yyv1449) != 0 { - yyv1449 = yyv1449[:0] - yyc1449 = true + yyv1506 := *v + yyh1506, yyl1506 := z.DecSliceHelperStart() + var yyc1506 bool + if yyl1506 == 0 { + if yyv1506 == nil { + yyv1506 = []HostPortRange{} + yyc1506 = true + } else if len(yyv1506) != 0 { + yyv1506 = yyv1506[:0] + yyc1506 = true } - } else if yyl1449 > 0 { - var yyrr1449, yyrl1449 int - var yyrt1449 bool - if yyl1449 > cap(yyv1449) { + } else if yyl1506 > 0 { + var yyrr1506, yyrl1506 int + var yyrt1506 bool + if yyl1506 > cap(yyv1506) { - yyrg1449 := len(yyv1449) > 0 - yyv21449 := yyv1449 - yyrl1449, yyrt1449 = z.DecInferLen(yyl1449, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1449 { - if yyrl1449 <= cap(yyv1449) { - yyv1449 = yyv1449[:yyrl1449] + yyrg1506 := len(yyv1506) > 0 + yyv21506 := yyv1506 + yyrl1506, yyrt1506 = z.DecInferLen(yyl1506, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1506 { + if yyrl1506 <= cap(yyv1506) { + yyv1506 = yyv1506[:yyrl1506] } else { - yyv1449 = make([]HostPortRange, yyrl1449) + yyv1506 = make([]HostPortRange, yyrl1506) } } else { - yyv1449 = make([]HostPortRange, yyrl1449) + yyv1506 = make([]HostPortRange, yyrl1506) } - yyc1449 = true - yyrr1449 = len(yyv1449) - if yyrg1449 { - copy(yyv1449, yyv21449) + yyc1506 = true + yyrr1506 = len(yyv1506) + if yyrg1506 { + copy(yyv1506, yyv21506) } - } else if yyl1449 != len(yyv1449) { - yyv1449 = yyv1449[:yyl1449] - yyc1449 = true + } else if yyl1506 != len(yyv1506) { + yyv1506 = yyv1506[:yyl1506] + yyc1506 = true } - yyj1449 := 0 - for ; yyj1449 < yyrr1449; yyj1449++ { - yyh1449.ElemContainerState(yyj1449) + yyj1506 := 0 + for ; yyj1506 < yyrr1506; yyj1506++ { + yyh1506.ElemContainerState(yyj1506) if r.TryDecodeAsNil() { - yyv1449[yyj1449] = HostPortRange{} + yyv1506[yyj1506] = HostPortRange{} } else { - yyv1450 := &yyv1449[yyj1449] - yyv1450.CodecDecodeSelf(d) + yyv1507 := &yyv1506[yyj1506] + yyv1507.CodecDecodeSelf(d) } } - if yyrt1449 { - for ; yyj1449 < yyl1449; yyj1449++ { - yyv1449 = append(yyv1449, HostPortRange{}) - yyh1449.ElemContainerState(yyj1449) + if yyrt1506 { + for ; yyj1506 < yyl1506; yyj1506++ { + yyv1506 = append(yyv1506, HostPortRange{}) + yyh1506.ElemContainerState(yyj1506) if r.TryDecodeAsNil() { - yyv1449[yyj1449] = HostPortRange{} + yyv1506[yyj1506] = HostPortRange{} } else { - yyv1451 := &yyv1449[yyj1449] - yyv1451.CodecDecodeSelf(d) + yyv1508 := &yyv1506[yyj1506] + yyv1508.CodecDecodeSelf(d) } } } } else { - yyj1449 := 0 - for ; !r.CheckBreak(); yyj1449++ { + yyj1506 := 0 + for ; !r.CheckBreak(); yyj1506++ { - if yyj1449 >= len(yyv1449) { - yyv1449 = append(yyv1449, HostPortRange{}) // var yyz1449 HostPortRange - yyc1449 = true + if yyj1506 >= len(yyv1506) { + yyv1506 = append(yyv1506, HostPortRange{}) // var yyz1506 HostPortRange + yyc1506 = true } - yyh1449.ElemContainerState(yyj1449) - if yyj1449 < len(yyv1449) { + yyh1506.ElemContainerState(yyj1506) + if yyj1506 < len(yyv1506) { if r.TryDecodeAsNil() { - yyv1449[yyj1449] = HostPortRange{} + yyv1506[yyj1506] = HostPortRange{} } else { - yyv1452 := &yyv1449[yyj1449] - yyv1452.CodecDecodeSelf(d) + yyv1509 := &yyv1506[yyj1506] + yyv1509.CodecDecodeSelf(d) } } else { @@ -18082,17 +18743,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1449 < len(yyv1449) { - yyv1449 = yyv1449[:yyj1449] - yyc1449 = true - } else if yyj1449 == 0 && yyv1449 == nil { - yyv1449 = []HostPortRange{} - yyc1449 = true + if yyj1506 < len(yyv1506) { + yyv1506 = yyv1506[:yyj1506] + yyc1506 = true + } else if yyj1506 == 0 && yyv1506 == nil { + yyv1506 = []HostPortRange{} + yyc1506 = true } } - yyh1449.End() - if yyc1449 { - *v = yyv1449 + yyh1506.End() + if yyc1506 { + *v = yyv1506 } } @@ -18101,10 +18762,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1453 := range v { + for _, yyv1510 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1454 := &yyv1453 - yy1454.CodecEncodeSelf(e) + yy1511 := &yyv1510 + yy1511.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18114,83 +18775,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1455 := *v - yyh1455, yyl1455 := z.DecSliceHelperStart() - var yyc1455 bool - if yyl1455 == 0 { - if yyv1455 == nil { - yyv1455 = []IDRange{} - yyc1455 = true - } else if len(yyv1455) != 0 { - yyv1455 = yyv1455[:0] - yyc1455 = true + yyv1512 := *v + yyh1512, yyl1512 := z.DecSliceHelperStart() + var yyc1512 bool + if yyl1512 == 0 { + if yyv1512 == nil { + yyv1512 = []IDRange{} + yyc1512 = true + } else if len(yyv1512) != 0 { + yyv1512 = yyv1512[:0] + yyc1512 = true } - } else if yyl1455 > 0 { - var yyrr1455, yyrl1455 int - var yyrt1455 bool - if yyl1455 > cap(yyv1455) { + } else if yyl1512 > 0 { + var yyrr1512, yyrl1512 int + var yyrt1512 bool + if yyl1512 > cap(yyv1512) { - yyrg1455 := len(yyv1455) > 0 - yyv21455 := yyv1455 - yyrl1455, yyrt1455 = z.DecInferLen(yyl1455, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1455 { - if yyrl1455 <= cap(yyv1455) { - yyv1455 = yyv1455[:yyrl1455] + yyrg1512 := len(yyv1512) > 0 + yyv21512 := yyv1512 + yyrl1512, yyrt1512 = z.DecInferLen(yyl1512, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1512 { + if yyrl1512 <= cap(yyv1512) { + yyv1512 = yyv1512[:yyrl1512] } else { - yyv1455 = make([]IDRange, yyrl1455) + yyv1512 = make([]IDRange, yyrl1512) } } else { - yyv1455 = make([]IDRange, yyrl1455) + yyv1512 = make([]IDRange, yyrl1512) } - yyc1455 = true - yyrr1455 = len(yyv1455) - if yyrg1455 { - copy(yyv1455, yyv21455) + yyc1512 = true + yyrr1512 = len(yyv1512) + if yyrg1512 { + copy(yyv1512, yyv21512) } - } else if yyl1455 != len(yyv1455) { - yyv1455 = yyv1455[:yyl1455] - yyc1455 = true + } else if yyl1512 != len(yyv1512) { + yyv1512 = yyv1512[:yyl1512] + yyc1512 = true } - yyj1455 := 0 - for ; yyj1455 < yyrr1455; yyj1455++ { - yyh1455.ElemContainerState(yyj1455) + yyj1512 := 0 + for ; yyj1512 < yyrr1512; yyj1512++ { + yyh1512.ElemContainerState(yyj1512) if r.TryDecodeAsNil() { - yyv1455[yyj1455] = IDRange{} + yyv1512[yyj1512] = IDRange{} } else { - yyv1456 := &yyv1455[yyj1455] - yyv1456.CodecDecodeSelf(d) + yyv1513 := &yyv1512[yyj1512] + yyv1513.CodecDecodeSelf(d) } } - if yyrt1455 { - for ; yyj1455 < yyl1455; yyj1455++ { - yyv1455 = append(yyv1455, IDRange{}) - yyh1455.ElemContainerState(yyj1455) + if yyrt1512 { + for ; yyj1512 < yyl1512; yyj1512++ { + yyv1512 = append(yyv1512, IDRange{}) + yyh1512.ElemContainerState(yyj1512) if r.TryDecodeAsNil() { - yyv1455[yyj1455] = IDRange{} + yyv1512[yyj1512] = IDRange{} } else { - yyv1457 := &yyv1455[yyj1455] - yyv1457.CodecDecodeSelf(d) + yyv1514 := &yyv1512[yyj1512] + yyv1514.CodecDecodeSelf(d) } } } } else { - yyj1455 := 0 - for ; !r.CheckBreak(); yyj1455++ { + yyj1512 := 0 + for ; !r.CheckBreak(); yyj1512++ { - if yyj1455 >= len(yyv1455) { - yyv1455 = append(yyv1455, IDRange{}) // var yyz1455 IDRange - yyc1455 = true + if yyj1512 >= len(yyv1512) { + yyv1512 = append(yyv1512, IDRange{}) // var yyz1512 IDRange + yyc1512 = true } - yyh1455.ElemContainerState(yyj1455) - if yyj1455 < len(yyv1455) { + yyh1512.ElemContainerState(yyj1512) + if yyj1512 < len(yyv1512) { if r.TryDecodeAsNil() { - yyv1455[yyj1455] = IDRange{} + yyv1512[yyj1512] = IDRange{} } else { - yyv1458 := &yyv1455[yyj1455] - yyv1458.CodecDecodeSelf(d) + yyv1515 := &yyv1512[yyj1512] + yyv1515.CodecDecodeSelf(d) } } else { @@ -18198,17 +18859,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1455 < len(yyv1455) { - yyv1455 = yyv1455[:yyj1455] - yyc1455 = true - } else if yyj1455 == 0 && yyv1455 == nil { - yyv1455 = []IDRange{} - yyc1455 = true + if yyj1512 < len(yyv1512) { + yyv1512 = yyv1512[:yyj1512] + yyc1512 = true + } else if yyj1512 == 0 && yyv1512 == nil { + yyv1512 = []IDRange{} + yyc1512 = true } } - yyh1455.End() - if yyc1455 { - *v = yyv1455 + yyh1512.End() + if yyc1512 { + *v = yyv1512 } } @@ -18217,10 +18878,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1459 := range v { + for _, yyv1516 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1460 := &yyv1459 - yy1460.CodecEncodeSelf(e) + yy1517 := &yyv1516 + yy1517.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18230,83 +18891,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1461 := *v - yyh1461, yyl1461 := z.DecSliceHelperStart() - var yyc1461 bool - if yyl1461 == 0 { - if yyv1461 == nil { - yyv1461 = []PodSecurityPolicy{} - yyc1461 = true - } else if len(yyv1461) != 0 { - yyv1461 = yyv1461[:0] - yyc1461 = true + yyv1518 := *v + yyh1518, yyl1518 := z.DecSliceHelperStart() + var yyc1518 bool + if yyl1518 == 0 { + if yyv1518 == nil { + yyv1518 = []PodSecurityPolicy{} + yyc1518 = true + } else if len(yyv1518) != 0 { + yyv1518 = yyv1518[:0] + yyc1518 = true } - } else if yyl1461 > 0 { - var yyrr1461, yyrl1461 int - var yyrt1461 bool - if yyl1461 > cap(yyv1461) { + } else if yyl1518 > 0 { + var yyrr1518, yyrl1518 int + var yyrt1518 bool + if yyl1518 > cap(yyv1518) { - yyrg1461 := len(yyv1461) > 0 - yyv21461 := yyv1461 - yyrl1461, yyrt1461 = z.DecInferLen(yyl1461, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1461 { - if yyrl1461 <= cap(yyv1461) { - yyv1461 = yyv1461[:yyrl1461] + yyrg1518 := len(yyv1518) > 0 + yyv21518 := yyv1518 + yyrl1518, yyrt1518 = z.DecInferLen(yyl1518, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1518 { + if yyrl1518 <= cap(yyv1518) { + yyv1518 = yyv1518[:yyrl1518] } else { - yyv1461 = make([]PodSecurityPolicy, yyrl1461) + yyv1518 = make([]PodSecurityPolicy, yyrl1518) } } else { - yyv1461 = make([]PodSecurityPolicy, yyrl1461) + yyv1518 = make([]PodSecurityPolicy, yyrl1518) } - yyc1461 = true - yyrr1461 = len(yyv1461) - if yyrg1461 { - copy(yyv1461, yyv21461) + yyc1518 = true + yyrr1518 = len(yyv1518) + if yyrg1518 { + copy(yyv1518, yyv21518) } - } else if yyl1461 != len(yyv1461) { - yyv1461 = yyv1461[:yyl1461] - yyc1461 = true + } else if yyl1518 != len(yyv1518) { + yyv1518 = yyv1518[:yyl1518] + yyc1518 = true } - yyj1461 := 0 - for ; yyj1461 < yyrr1461; yyj1461++ { - yyh1461.ElemContainerState(yyj1461) + yyj1518 := 0 + for ; yyj1518 < yyrr1518; yyj1518++ { + yyh1518.ElemContainerState(yyj1518) if r.TryDecodeAsNil() { - yyv1461[yyj1461] = PodSecurityPolicy{} + yyv1518[yyj1518] = PodSecurityPolicy{} } else { - yyv1462 := &yyv1461[yyj1461] - yyv1462.CodecDecodeSelf(d) + yyv1519 := &yyv1518[yyj1518] + yyv1519.CodecDecodeSelf(d) } } - if yyrt1461 { - for ; yyj1461 < yyl1461; yyj1461++ { - yyv1461 = append(yyv1461, PodSecurityPolicy{}) - yyh1461.ElemContainerState(yyj1461) + if yyrt1518 { + for ; yyj1518 < yyl1518; yyj1518++ { + yyv1518 = append(yyv1518, PodSecurityPolicy{}) + yyh1518.ElemContainerState(yyj1518) if r.TryDecodeAsNil() { - yyv1461[yyj1461] = PodSecurityPolicy{} + yyv1518[yyj1518] = PodSecurityPolicy{} } else { - yyv1463 := &yyv1461[yyj1461] - yyv1463.CodecDecodeSelf(d) + yyv1520 := &yyv1518[yyj1518] + yyv1520.CodecDecodeSelf(d) } } } } else { - yyj1461 := 0 - for ; !r.CheckBreak(); yyj1461++ { + yyj1518 := 0 + for ; !r.CheckBreak(); yyj1518++ { - if yyj1461 >= len(yyv1461) { - yyv1461 = append(yyv1461, PodSecurityPolicy{}) // var yyz1461 PodSecurityPolicy - yyc1461 = true + if yyj1518 >= len(yyv1518) { + yyv1518 = append(yyv1518, PodSecurityPolicy{}) // var yyz1518 PodSecurityPolicy + yyc1518 = true } - yyh1461.ElemContainerState(yyj1461) - if yyj1461 < len(yyv1461) { + yyh1518.ElemContainerState(yyj1518) + if yyj1518 < len(yyv1518) { if r.TryDecodeAsNil() { - yyv1461[yyj1461] = PodSecurityPolicy{} + yyv1518[yyj1518] = PodSecurityPolicy{} } else { - yyv1464 := &yyv1461[yyj1461] - yyv1464.CodecDecodeSelf(d) + yyv1521 := &yyv1518[yyj1518] + yyv1521.CodecDecodeSelf(d) } } else { @@ -18314,17 +18975,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1461 < len(yyv1461) { - yyv1461 = yyv1461[:yyj1461] - yyc1461 = true - } else if yyj1461 == 0 && yyv1461 == nil { - yyv1461 = []PodSecurityPolicy{} - yyc1461 = true + if yyj1518 < len(yyv1518) { + yyv1518 = yyv1518[:yyj1518] + yyc1518 = true + } else if yyj1518 == 0 && yyv1518 == nil { + yyv1518 = []PodSecurityPolicy{} + yyc1518 = true } } - yyh1461.End() - if yyc1461 { - *v = yyv1461 + yyh1518.End() + if yyc1518 { + *v = yyv1518 } } @@ -18333,10 +18994,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1465 := range v { + for _, yyv1522 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1466 := &yyv1465 - yy1466.CodecEncodeSelf(e) + yy1523 := &yyv1522 + yy1523.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18346,83 +19007,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1467 := *v - yyh1467, yyl1467 := z.DecSliceHelperStart() - var yyc1467 bool - if yyl1467 == 0 { - if yyv1467 == nil { - yyv1467 = []NetworkPolicyIngressRule{} - yyc1467 = true - } else if len(yyv1467) != 0 { - yyv1467 = yyv1467[:0] - yyc1467 = true + yyv1524 := *v + yyh1524, yyl1524 := z.DecSliceHelperStart() + var yyc1524 bool + if yyl1524 == 0 { + if yyv1524 == nil { + yyv1524 = []NetworkPolicyIngressRule{} + yyc1524 = true + } else if len(yyv1524) != 0 { + yyv1524 = yyv1524[:0] + yyc1524 = true } - } else if yyl1467 > 0 { - var yyrr1467, yyrl1467 int - var yyrt1467 bool - if yyl1467 > cap(yyv1467) { + } else if yyl1524 > 0 { + var yyrr1524, yyrl1524 int + var yyrt1524 bool + if yyl1524 > cap(yyv1524) { - yyrg1467 := len(yyv1467) > 0 - yyv21467 := yyv1467 - yyrl1467, yyrt1467 = z.DecInferLen(yyl1467, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1467 { - if yyrl1467 <= cap(yyv1467) { - yyv1467 = yyv1467[:yyrl1467] + yyrg1524 := len(yyv1524) > 0 + yyv21524 := yyv1524 + yyrl1524, yyrt1524 = z.DecInferLen(yyl1524, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1524 { + if yyrl1524 <= cap(yyv1524) { + yyv1524 = yyv1524[:yyrl1524] } else { - yyv1467 = make([]NetworkPolicyIngressRule, yyrl1467) + yyv1524 = make([]NetworkPolicyIngressRule, yyrl1524) } } else { - yyv1467 = make([]NetworkPolicyIngressRule, yyrl1467) + yyv1524 = make([]NetworkPolicyIngressRule, yyrl1524) } - yyc1467 = true - yyrr1467 = len(yyv1467) - if yyrg1467 { - copy(yyv1467, yyv21467) + yyc1524 = true + yyrr1524 = len(yyv1524) + if yyrg1524 { + copy(yyv1524, yyv21524) } - } else if yyl1467 != len(yyv1467) { - yyv1467 = yyv1467[:yyl1467] - yyc1467 = true + } else if yyl1524 != len(yyv1524) { + yyv1524 = yyv1524[:yyl1524] + yyc1524 = true } - yyj1467 := 0 - for ; yyj1467 < yyrr1467; yyj1467++ { - yyh1467.ElemContainerState(yyj1467) + yyj1524 := 0 + for ; yyj1524 < yyrr1524; yyj1524++ { + yyh1524.ElemContainerState(yyj1524) if r.TryDecodeAsNil() { - yyv1467[yyj1467] = NetworkPolicyIngressRule{} + yyv1524[yyj1524] = NetworkPolicyIngressRule{} } else { - yyv1468 := &yyv1467[yyj1467] - yyv1468.CodecDecodeSelf(d) + yyv1525 := &yyv1524[yyj1524] + yyv1525.CodecDecodeSelf(d) } } - if yyrt1467 { - for ; yyj1467 < yyl1467; yyj1467++ { - yyv1467 = append(yyv1467, NetworkPolicyIngressRule{}) - yyh1467.ElemContainerState(yyj1467) + if yyrt1524 { + for ; yyj1524 < yyl1524; yyj1524++ { + yyv1524 = append(yyv1524, NetworkPolicyIngressRule{}) + yyh1524.ElemContainerState(yyj1524) if r.TryDecodeAsNil() { - yyv1467[yyj1467] = NetworkPolicyIngressRule{} + yyv1524[yyj1524] = NetworkPolicyIngressRule{} } else { - yyv1469 := &yyv1467[yyj1467] - yyv1469.CodecDecodeSelf(d) + yyv1526 := &yyv1524[yyj1524] + yyv1526.CodecDecodeSelf(d) } } } } else { - yyj1467 := 0 - for ; !r.CheckBreak(); yyj1467++ { + yyj1524 := 0 + for ; !r.CheckBreak(); yyj1524++ { - if yyj1467 >= len(yyv1467) { - yyv1467 = append(yyv1467, NetworkPolicyIngressRule{}) // var yyz1467 NetworkPolicyIngressRule - yyc1467 = true + if yyj1524 >= len(yyv1524) { + yyv1524 = append(yyv1524, NetworkPolicyIngressRule{}) // var yyz1524 NetworkPolicyIngressRule + yyc1524 = true } - yyh1467.ElemContainerState(yyj1467) - if yyj1467 < len(yyv1467) { + yyh1524.ElemContainerState(yyj1524) + if yyj1524 < len(yyv1524) { if r.TryDecodeAsNil() { - yyv1467[yyj1467] = NetworkPolicyIngressRule{} + yyv1524[yyj1524] = NetworkPolicyIngressRule{} } else { - yyv1470 := &yyv1467[yyj1467] - yyv1470.CodecDecodeSelf(d) + yyv1527 := &yyv1524[yyj1524] + yyv1527.CodecDecodeSelf(d) } } else { @@ -18430,17 +19091,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1467 < len(yyv1467) { - yyv1467 = yyv1467[:yyj1467] - yyc1467 = true - } else if yyj1467 == 0 && yyv1467 == nil { - yyv1467 = []NetworkPolicyIngressRule{} - yyc1467 = true + if yyj1524 < len(yyv1524) { + yyv1524 = yyv1524[:yyj1524] + yyc1524 = true + } else if yyj1524 == 0 && yyv1524 == nil { + yyv1524 = []NetworkPolicyIngressRule{} + yyc1524 = true } } - yyh1467.End() - if yyc1467 { - *v = yyv1467 + yyh1524.End() + if yyc1524 { + *v = yyv1524 } } @@ -18449,10 +19110,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1471 := range v { + for _, yyv1528 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1472 := &yyv1471 - yy1472.CodecEncodeSelf(e) + yy1529 := &yyv1528 + yy1529.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18462,83 +19123,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1473 := *v - yyh1473, yyl1473 := z.DecSliceHelperStart() - var yyc1473 bool - if yyl1473 == 0 { - if yyv1473 == nil { - yyv1473 = []NetworkPolicyPort{} - yyc1473 = true - } else if len(yyv1473) != 0 { - yyv1473 = yyv1473[:0] - yyc1473 = true + yyv1530 := *v + yyh1530, yyl1530 := z.DecSliceHelperStart() + var yyc1530 bool + if yyl1530 == 0 { + if yyv1530 == nil { + yyv1530 = []NetworkPolicyPort{} + yyc1530 = true + } else if len(yyv1530) != 0 { + yyv1530 = yyv1530[:0] + yyc1530 = true } - } else if yyl1473 > 0 { - var yyrr1473, yyrl1473 int - var yyrt1473 bool - if yyl1473 > cap(yyv1473) { + } else if yyl1530 > 0 { + var yyrr1530, yyrl1530 int + var yyrt1530 bool + if yyl1530 > cap(yyv1530) { - yyrg1473 := len(yyv1473) > 0 - yyv21473 := yyv1473 - yyrl1473, yyrt1473 = z.DecInferLen(yyl1473, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1473 { - if yyrl1473 <= cap(yyv1473) { - yyv1473 = yyv1473[:yyrl1473] + yyrg1530 := len(yyv1530) > 0 + yyv21530 := yyv1530 + yyrl1530, yyrt1530 = z.DecInferLen(yyl1530, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1530 { + if yyrl1530 <= cap(yyv1530) { + yyv1530 = yyv1530[:yyrl1530] } else { - yyv1473 = make([]NetworkPolicyPort, yyrl1473) + yyv1530 = make([]NetworkPolicyPort, yyrl1530) } } else { - yyv1473 = make([]NetworkPolicyPort, yyrl1473) + yyv1530 = make([]NetworkPolicyPort, yyrl1530) } - yyc1473 = true - yyrr1473 = len(yyv1473) - if yyrg1473 { - copy(yyv1473, yyv21473) + yyc1530 = true + yyrr1530 = len(yyv1530) + if yyrg1530 { + copy(yyv1530, yyv21530) } - } else if yyl1473 != len(yyv1473) { - yyv1473 = yyv1473[:yyl1473] - yyc1473 = true + } else if yyl1530 != len(yyv1530) { + yyv1530 = yyv1530[:yyl1530] + yyc1530 = true } - yyj1473 := 0 - for ; yyj1473 < yyrr1473; yyj1473++ { - yyh1473.ElemContainerState(yyj1473) + yyj1530 := 0 + for ; yyj1530 < yyrr1530; yyj1530++ { + yyh1530.ElemContainerState(yyj1530) if r.TryDecodeAsNil() { - yyv1473[yyj1473] = NetworkPolicyPort{} + yyv1530[yyj1530] = NetworkPolicyPort{} } else { - yyv1474 := &yyv1473[yyj1473] - yyv1474.CodecDecodeSelf(d) + yyv1531 := &yyv1530[yyj1530] + yyv1531.CodecDecodeSelf(d) } } - if yyrt1473 { - for ; yyj1473 < yyl1473; yyj1473++ { - yyv1473 = append(yyv1473, NetworkPolicyPort{}) - yyh1473.ElemContainerState(yyj1473) + if yyrt1530 { + for ; yyj1530 < yyl1530; yyj1530++ { + yyv1530 = append(yyv1530, NetworkPolicyPort{}) + yyh1530.ElemContainerState(yyj1530) if r.TryDecodeAsNil() { - yyv1473[yyj1473] = NetworkPolicyPort{} + yyv1530[yyj1530] = NetworkPolicyPort{} } else { - yyv1475 := &yyv1473[yyj1473] - yyv1475.CodecDecodeSelf(d) + yyv1532 := &yyv1530[yyj1530] + yyv1532.CodecDecodeSelf(d) } } } } else { - yyj1473 := 0 - for ; !r.CheckBreak(); yyj1473++ { + yyj1530 := 0 + for ; !r.CheckBreak(); yyj1530++ { - if yyj1473 >= len(yyv1473) { - yyv1473 = append(yyv1473, NetworkPolicyPort{}) // var yyz1473 NetworkPolicyPort - yyc1473 = true + if yyj1530 >= len(yyv1530) { + yyv1530 = append(yyv1530, NetworkPolicyPort{}) // var yyz1530 NetworkPolicyPort + yyc1530 = true } - yyh1473.ElemContainerState(yyj1473) - if yyj1473 < len(yyv1473) { + yyh1530.ElemContainerState(yyj1530) + if yyj1530 < len(yyv1530) { if r.TryDecodeAsNil() { - yyv1473[yyj1473] = NetworkPolicyPort{} + yyv1530[yyj1530] = NetworkPolicyPort{} } else { - yyv1476 := &yyv1473[yyj1473] - yyv1476.CodecDecodeSelf(d) + yyv1533 := &yyv1530[yyj1530] + yyv1533.CodecDecodeSelf(d) } } else { @@ -18546,17 +19207,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1473 < len(yyv1473) { - yyv1473 = yyv1473[:yyj1473] - yyc1473 = true - } else if yyj1473 == 0 && yyv1473 == nil { - yyv1473 = []NetworkPolicyPort{} - yyc1473 = true + if yyj1530 < len(yyv1530) { + yyv1530 = yyv1530[:yyj1530] + yyc1530 = true + } else if yyj1530 == 0 && yyv1530 == nil { + yyv1530 = []NetworkPolicyPort{} + yyc1530 = true } } - yyh1473.End() - if yyc1473 { - *v = yyv1473 + yyh1530.End() + if yyc1530 { + *v = yyv1530 } } @@ -18565,10 +19226,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1477 := range v { + for _, yyv1534 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1478 := &yyv1477 - yy1478.CodecEncodeSelf(e) + yy1535 := &yyv1534 + yy1535.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18578,83 +19239,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1479 := *v - yyh1479, yyl1479 := z.DecSliceHelperStart() - var yyc1479 bool - if yyl1479 == 0 { - if yyv1479 == nil { - yyv1479 = []NetworkPolicyPeer{} - yyc1479 = true - } else if len(yyv1479) != 0 { - yyv1479 = yyv1479[:0] - yyc1479 = true + yyv1536 := *v + yyh1536, yyl1536 := z.DecSliceHelperStart() + var yyc1536 bool + if yyl1536 == 0 { + if yyv1536 == nil { + yyv1536 = []NetworkPolicyPeer{} + yyc1536 = true + } else if len(yyv1536) != 0 { + yyv1536 = yyv1536[:0] + yyc1536 = true } - } else if yyl1479 > 0 { - var yyrr1479, yyrl1479 int - var yyrt1479 bool - if yyl1479 > cap(yyv1479) { + } else if yyl1536 > 0 { + var yyrr1536, yyrl1536 int + var yyrt1536 bool + if yyl1536 > cap(yyv1536) { - yyrg1479 := len(yyv1479) > 0 - yyv21479 := yyv1479 - yyrl1479, yyrt1479 = z.DecInferLen(yyl1479, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1479 { - if yyrl1479 <= cap(yyv1479) { - yyv1479 = yyv1479[:yyrl1479] + yyrg1536 := len(yyv1536) > 0 + yyv21536 := yyv1536 + yyrl1536, yyrt1536 = z.DecInferLen(yyl1536, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1536 { + if yyrl1536 <= cap(yyv1536) { + yyv1536 = yyv1536[:yyrl1536] } else { - yyv1479 = make([]NetworkPolicyPeer, yyrl1479) + yyv1536 = make([]NetworkPolicyPeer, yyrl1536) } } else { - yyv1479 = make([]NetworkPolicyPeer, yyrl1479) + yyv1536 = make([]NetworkPolicyPeer, yyrl1536) } - yyc1479 = true - yyrr1479 = len(yyv1479) - if yyrg1479 { - copy(yyv1479, yyv21479) + yyc1536 = true + yyrr1536 = len(yyv1536) + if yyrg1536 { + copy(yyv1536, yyv21536) } - } else if yyl1479 != len(yyv1479) { - yyv1479 = yyv1479[:yyl1479] - yyc1479 = true + } else if yyl1536 != len(yyv1536) { + yyv1536 = yyv1536[:yyl1536] + yyc1536 = true } - yyj1479 := 0 - for ; yyj1479 < yyrr1479; yyj1479++ { - yyh1479.ElemContainerState(yyj1479) + yyj1536 := 0 + for ; yyj1536 < yyrr1536; yyj1536++ { + yyh1536.ElemContainerState(yyj1536) if r.TryDecodeAsNil() { - yyv1479[yyj1479] = NetworkPolicyPeer{} + yyv1536[yyj1536] = NetworkPolicyPeer{} } else { - yyv1480 := &yyv1479[yyj1479] - yyv1480.CodecDecodeSelf(d) + yyv1537 := &yyv1536[yyj1536] + yyv1537.CodecDecodeSelf(d) } } - if yyrt1479 { - for ; yyj1479 < yyl1479; yyj1479++ { - yyv1479 = append(yyv1479, NetworkPolicyPeer{}) - yyh1479.ElemContainerState(yyj1479) + if yyrt1536 { + for ; yyj1536 < yyl1536; yyj1536++ { + yyv1536 = append(yyv1536, NetworkPolicyPeer{}) + yyh1536.ElemContainerState(yyj1536) if r.TryDecodeAsNil() { - yyv1479[yyj1479] = NetworkPolicyPeer{} + yyv1536[yyj1536] = NetworkPolicyPeer{} } else { - yyv1481 := &yyv1479[yyj1479] - yyv1481.CodecDecodeSelf(d) + yyv1538 := &yyv1536[yyj1536] + yyv1538.CodecDecodeSelf(d) } } } } else { - yyj1479 := 0 - for ; !r.CheckBreak(); yyj1479++ { + yyj1536 := 0 + for ; !r.CheckBreak(); yyj1536++ { - if yyj1479 >= len(yyv1479) { - yyv1479 = append(yyv1479, NetworkPolicyPeer{}) // var yyz1479 NetworkPolicyPeer - yyc1479 = true + if yyj1536 >= len(yyv1536) { + yyv1536 = append(yyv1536, NetworkPolicyPeer{}) // var yyz1536 NetworkPolicyPeer + yyc1536 = true } - yyh1479.ElemContainerState(yyj1479) - if yyj1479 < len(yyv1479) { + yyh1536.ElemContainerState(yyj1536) + if yyj1536 < len(yyv1536) { if r.TryDecodeAsNil() { - yyv1479[yyj1479] = NetworkPolicyPeer{} + yyv1536[yyj1536] = NetworkPolicyPeer{} } else { - yyv1482 := &yyv1479[yyj1479] - yyv1482.CodecDecodeSelf(d) + yyv1539 := &yyv1536[yyj1536] + yyv1539.CodecDecodeSelf(d) } } else { @@ -18662,17 +19323,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1479 < len(yyv1479) { - yyv1479 = yyv1479[:yyj1479] - yyc1479 = true - } else if yyj1479 == 0 && yyv1479 == nil { - yyv1479 = []NetworkPolicyPeer{} - yyc1479 = true + if yyj1536 < len(yyv1536) { + yyv1536 = yyv1536[:yyj1536] + yyc1536 = true + } else if yyj1536 == 0 && yyv1536 == nil { + yyv1536 = []NetworkPolicyPeer{} + yyc1536 = true } } - yyh1479.End() - if yyc1479 { - *v = yyv1479 + yyh1536.End() + if yyc1536 { + *v = yyv1536 } } @@ -18681,10 +19342,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1483 := range v { + for _, yyv1540 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1484 := &yyv1483 - yy1484.CodecEncodeSelf(e) + yy1541 := &yyv1540 + yy1541.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18694,83 +19355,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1485 := *v - yyh1485, yyl1485 := z.DecSliceHelperStart() - var yyc1485 bool - if yyl1485 == 0 { - if yyv1485 == nil { - yyv1485 = []NetworkPolicy{} - yyc1485 = true - } else if len(yyv1485) != 0 { - yyv1485 = yyv1485[:0] - yyc1485 = true + yyv1542 := *v + yyh1542, yyl1542 := z.DecSliceHelperStart() + var yyc1542 bool + if yyl1542 == 0 { + if yyv1542 == nil { + yyv1542 = []NetworkPolicy{} + yyc1542 = true + } else if len(yyv1542) != 0 { + yyv1542 = yyv1542[:0] + yyc1542 = true } - } else if yyl1485 > 0 { - var yyrr1485, yyrl1485 int - var yyrt1485 bool - if yyl1485 > cap(yyv1485) { + } else if yyl1542 > 0 { + var yyrr1542, yyrl1542 int + var yyrt1542 bool + if yyl1542 > cap(yyv1542) { - yyrg1485 := len(yyv1485) > 0 - yyv21485 := yyv1485 - yyrl1485, yyrt1485 = z.DecInferLen(yyl1485, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1485 { - if yyrl1485 <= cap(yyv1485) { - yyv1485 = yyv1485[:yyrl1485] + yyrg1542 := len(yyv1542) > 0 + yyv21542 := yyv1542 + yyrl1542, yyrt1542 = z.DecInferLen(yyl1542, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1542 { + if yyrl1542 <= cap(yyv1542) { + yyv1542 = yyv1542[:yyrl1542] } else { - yyv1485 = make([]NetworkPolicy, yyrl1485) + yyv1542 = make([]NetworkPolicy, yyrl1542) } } else { - yyv1485 = make([]NetworkPolicy, yyrl1485) + yyv1542 = make([]NetworkPolicy, yyrl1542) } - yyc1485 = true - yyrr1485 = len(yyv1485) - if yyrg1485 { - copy(yyv1485, yyv21485) + yyc1542 = true + yyrr1542 = len(yyv1542) + if yyrg1542 { + copy(yyv1542, yyv21542) } - } else if yyl1485 != len(yyv1485) { - yyv1485 = yyv1485[:yyl1485] - yyc1485 = true + } else if yyl1542 != len(yyv1542) { + yyv1542 = yyv1542[:yyl1542] + yyc1542 = true } - yyj1485 := 0 - for ; yyj1485 < yyrr1485; yyj1485++ { - yyh1485.ElemContainerState(yyj1485) + yyj1542 := 0 + for ; yyj1542 < yyrr1542; yyj1542++ { + yyh1542.ElemContainerState(yyj1542) if r.TryDecodeAsNil() { - yyv1485[yyj1485] = NetworkPolicy{} + yyv1542[yyj1542] = NetworkPolicy{} } else { - yyv1486 := &yyv1485[yyj1485] - yyv1486.CodecDecodeSelf(d) + yyv1543 := &yyv1542[yyj1542] + yyv1543.CodecDecodeSelf(d) } } - if yyrt1485 { - for ; yyj1485 < yyl1485; yyj1485++ { - yyv1485 = append(yyv1485, NetworkPolicy{}) - yyh1485.ElemContainerState(yyj1485) + if yyrt1542 { + for ; yyj1542 < yyl1542; yyj1542++ { + yyv1542 = append(yyv1542, NetworkPolicy{}) + yyh1542.ElemContainerState(yyj1542) if r.TryDecodeAsNil() { - yyv1485[yyj1485] = NetworkPolicy{} + yyv1542[yyj1542] = NetworkPolicy{} } else { - yyv1487 := &yyv1485[yyj1485] - yyv1487.CodecDecodeSelf(d) + yyv1544 := &yyv1542[yyj1542] + yyv1544.CodecDecodeSelf(d) } } } } else { - yyj1485 := 0 - for ; !r.CheckBreak(); yyj1485++ { + yyj1542 := 0 + for ; !r.CheckBreak(); yyj1542++ { - if yyj1485 >= len(yyv1485) { - yyv1485 = append(yyv1485, NetworkPolicy{}) // var yyz1485 NetworkPolicy - yyc1485 = true + if yyj1542 >= len(yyv1542) { + yyv1542 = append(yyv1542, NetworkPolicy{}) // var yyz1542 NetworkPolicy + yyc1542 = true } - yyh1485.ElemContainerState(yyj1485) - if yyj1485 < len(yyv1485) { + yyh1542.ElemContainerState(yyj1542) + if yyj1542 < len(yyv1542) { if r.TryDecodeAsNil() { - yyv1485[yyj1485] = NetworkPolicy{} + yyv1542[yyj1542] = NetworkPolicy{} } else { - yyv1488 := &yyv1485[yyj1485] - yyv1488.CodecDecodeSelf(d) + yyv1545 := &yyv1542[yyj1542] + yyv1545.CodecDecodeSelf(d) } } else { @@ -18778,16 +19439,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1485 < len(yyv1485) { - yyv1485 = yyv1485[:yyj1485] - yyc1485 = true - } else if yyj1485 == 0 && yyv1485 == nil { - yyv1485 = []NetworkPolicy{} - yyc1485 = true + if yyj1542 < len(yyv1542) { + yyv1542 = yyv1542[:yyj1542] + yyc1542 = true + } else if yyj1542 == 0 && yyv1542 == nil { + yyv1542 = []NetworkPolicy{} + yyc1542 = true } } - yyh1485.End() - if yyc1485 { - *v = yyv1485 + yyh1542.End() + if yyc1542 { + *v = yyv1542 } } diff --git a/pkg/apis/extensions/types.go b/pkg/apis/extensions/types.go index d4df8666..d66283e0 100644 --- a/pkg/apis/extensions/types.go +++ b/pkg/apis/extensions/types.go @@ -45,6 +45,7 @@ const ( // describes the attributes of a scale subresource type ScaleSpec struct { // desired number of instances for the scaled object. + // +optional Replicas int32 `json:"replicas,omitempty"` } @@ -55,6 +56,7 @@ type ScaleStatus struct { // label query over pods that should match the replicas count. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` } @@ -65,12 +67,15 @@ type ScaleStatus struct { type Scale struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. + // +optional api.ObjectMeta `json:"metadata,omitempty"` // defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional Spec ScaleSpec `json:"spec,omitempty"` // current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + // +optional Status ScaleStatus `json:"status,omitempty"` } @@ -111,12 +116,15 @@ type ThirdPartyResource struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Description is the description of this object. + // +optional Description string `json:"description,omitempty"` // Versions are versions for this third party object + // +optional Versions []APIVersion `json:"versions,omitempty"` } @@ -124,6 +132,7 @@ type ThirdPartyResourceList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of horizontal pod autoscalers. @@ -134,6 +143,7 @@ type ThirdPartyResourceList struct { // TODO: we should consider merge this struct with GroupVersion in unversioned.go type APIVersion struct { // Name of this version (e.g. 'v1'). + // +optional Name string `json:"name,omitempty"` } @@ -141,9 +151,11 @@ type APIVersion struct { type ThirdPartyResourceData struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata. + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Data is the raw JSON data for this data. + // +optional Data []byte `json:"data,omitempty"` } @@ -151,44 +163,64 @@ type ThirdPartyResourceData struct { type Deployment struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the Deployment. + // +optional Spec DeploymentSpec `json:"spec,omitempty"` // Most recently observed status of the Deployment. + // +optional Status DeploymentStatus `json:"status,omitempty"` } type DeploymentSpec struct { // Number of desired pods. This is a pointer to distinguish between explicit // zero and not specified. Defaults to 1. + // +optional Replicas int32 `json:"replicas,omitempty"` // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` // Template describes the pods that will be created. Template api.PodTemplateSpec `json:"template"` // The deployment strategy to use to replace existing pods with new ones. + // +optional Strategy DeploymentStrategy `json:"strategy,omitempty"` // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // The number of old ReplicaSets to retain to allow rollback. // This is a pointer to distinguish between explicit zero and not specified. + // +optional RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"` // Indicates that the deployment is paused and will not be processed by the // deployment controller. + // +optional Paused bool `json:"paused,omitempty"` + // The config this deployment is rolling back to. Will be cleared after rollback is done. + // +optional RollbackTo *RollbackConfig `json:"rollbackTo,omitempty"` + + // The maximum time in seconds for a deployment to make progress before it + // is considered to be failed. The deployment controller will continue to + // process failed deployments and a condition with a ProgressDeadlineExceeded + // reason will be surfaced in the deployment status. Once autoRollback is + // implemented, the deployment controller will automatically rollback failed + // deployments. Note that progress will not be estimated during the time a + // deployment is paused. This is not set by default. + ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty"` } // DeploymentRollback stores the information required to rollback a deployment. @@ -197,6 +229,7 @@ type DeploymentRollback struct { // Required: This must match the Name of a deployment. Name string `json:"name"` // The annotations to be updated to a deployment + // +optional UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty"` // The config of this deployment rollback. RollbackTo RollbackConfig `json:"rollbackTo"` @@ -204,6 +237,7 @@ type DeploymentRollback struct { type RollbackConfig struct { // The revision to rollback to. If set to 0, rollbck to the last revision. + // +optional Revision int64 `json:"revision,omitempty"` } @@ -216,6 +250,7 @@ const ( type DeploymentStrategy struct { // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. + // +optional Type DeploymentStrategyType `json:"type,omitempty"` // Rolling update config params. Present only if DeploymentStrategyType = @@ -223,6 +258,7 @@ type DeploymentStrategy struct { //--- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. + // +optional RollingUpdate *RollingUpdateDeployment `json:"rollingUpdate,omitempty"` } @@ -248,6 +284,7 @@ type RollingUpdateDeployment struct { // can be scaled down further, followed by scaling up the new RC, ensuring // that at least 70% of original number of pods are available at all times // during the update. + // +optional MaxUnavailable intstr.IntOrString `json:"maxUnavailable,omitempty"` // The maximum number of pods that can be scheduled above the original number of @@ -260,28 +297,71 @@ type RollingUpdateDeployment struct { // immediately when the rolling update starts. Once old pods have been killed, // new RC can be scaled up further, ensuring that total number of pods running // at any time during the update is atmost 130% of original pods. + // +optional MaxSurge intstr.IntOrString `json:"maxSurge,omitempty"` } type DeploymentStatus struct { // The generation observed by the deployment controller. + // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Total number of non-terminated pods targeted by this deployment (their labels match the selector). + // +optional Replicas int32 `json:"replicas,omitempty"` // Total number of non-terminated pods targeted by this deployment that have the desired template spec. + // +optional UpdatedReplicas int32 `json:"updatedReplicas,omitempty"` // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // Total number of unavailable pods targeted by this deployment. + // +optional UnavailableReplicas int32 `json:"unavailableReplicas,omitempty"` + + // Represents the latest available observations of a deployment's current state. + Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` +} + +type DeploymentConditionType string + +// These are valid conditions of a deployment. +const ( + // Available means the deployment is available, ie. at least the minimum available + // replicas required are up and running for at least minReadySeconds. + DeploymentAvailable DeploymentConditionType = "Available" + // Progressing means the deployment is progressing. Progress for a deployment is + // considered when a new replica set is created or adopted, and when new pods scale + // up or old pods scale down. Progress is not estimated for paused deployments or + // when progressDeadlineSeconds is not specified. + DeploymentProgressing DeploymentConditionType = "Progressing" + // ReplicaFailure is added in a deployment when one of its pods fails to be created + // or deleted. + DeploymentReplicaFailure DeploymentConditionType = "ReplicaFailure" +) + +// DeploymentCondition describes the state of a deployment at a certain point. +type DeploymentCondition struct { + // Type of deployment condition. + Type DeploymentConditionType `json:"type"` + // Status of the condition, one of True, False, Unknown. + Status api.ConditionStatus `json:"status"` + // The last time this condition was updated. + LastUpdateTime unversioned.Time `json:"lastUpdateTime,omitempty"` + // Last time the condition transitioned from one status to another. + LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` + // The reason for the condition's last transition. + Reason string `json:"reason,omitempty"` + // A human readable message indicating details about the transition. + Message string `json:"message,omitempty"` } type DeploymentList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of deployments. @@ -292,6 +372,7 @@ type DeploymentList struct { /* Commenting out for v1.2. We are planning to bring these types back with a more robust DaemonSet update implementation in v1.3, hence not deleting but just commenting the types out. type DaemonSetUpdateStrategy struct { // Type of daemon set update. Only "RollingUpdate" is supported at this time. Default is RollingUpdate. +// +optional Type DaemonSetUpdateStrategyType `json:"type,omitempty"` // Rolling update config params. Present only if DaemonSetUpdateStrategy = @@ -299,6 +380,7 @@ type DaemonSetUpdateStrategy struct { //--- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. Same as DeploymentStrategy.RollingUpdate. +// +optional RollingUpdate *RollingUpdateDaemonSet `json:"rollingUpdate,omitempty"` } @@ -324,12 +406,14 @@ type RollingUpdateDaemonSet struct { // it then proceeds onto other DaemonSet pods, thus ensuring that at least // 70% of original number of DaemonSet pods are available at all times // during the update. +// +optional MaxUnavailable intstr.IntOrString `json:"maxUnavailable,omitempty"` // Minimum number of seconds for which a newly created DaemonSet pod should // be ready without any of its container crashing, for it to be considered // available. Defaults to 0 (pod will be considered available as soon as it // is ready). +// +optional MinReadySeconds int `json:"minReadySeconds,omitempty"` } */ @@ -340,6 +424,7 @@ type DaemonSetSpec struct { // Must match in order to be controlled. // If empty, defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` // Template is the object that describes the pod that will be created. @@ -351,17 +436,19 @@ type DaemonSetSpec struct { // TODO(madhusudancs): Uncomment while implementing DaemonSet updates. /* Commenting out for v1.2. We are planning to bring these fields back with a more robust DaemonSet update implementation in v1.3, hence not deleting but just commenting these fields out. - // Update strategy to replace existing DaemonSet pods with new pods. - UpdateStrategy DaemonSetUpdateStrategy `json:"updateStrategy,omitempty"` + // Update strategy to replace existing DaemonSet pods with new pods. + // +optional + UpdateStrategy DaemonSetUpdateStrategy `json:"updateStrategy,omitempty"` - // Label key that is added to DaemonSet pods to distinguish between old and - // new pod templates during DaemonSet update. - // Users can set this to an empty string to indicate that the system should - // not add any label. If unspecified, system uses - // DefaultDaemonSetUniqueLabelKey("daemonset.kubernetes.io/podTemplateHash"). - // Value of this key is hash of DaemonSetSpec.PodTemplateSpec. - // No label is added if this is set to empty string. - UniqueLabelKey string `json:"uniqueLabelKey,omitempty"` + // Label key that is added to DaemonSet pods to distinguish between old and + // new pod templates during DaemonSet update. + // Users can set this to an empty string to indicate that the system should + // not add any label. If unspecified, system uses + // DefaultDaemonSetUniqueLabelKey("daemonset.kubernetes.io/podTemplateHash"). + // Value of this key is hash of DaemonSetSpec.PodTemplateSpec. + // No label is added if this is set to empty string. + // +optional + UniqueLabelKey string `json:"uniqueLabelKey,omitempty"` */ } @@ -398,10 +485,12 @@ type DaemonSet struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired behavior of this daemon set. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec DaemonSetSpec `json:"spec,omitempty"` // Status is the current status of this daemon set. This data may be @@ -409,6 +498,7 @@ type DaemonSet struct { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status DaemonSetStatus `json:"status,omitempty"` } @@ -417,6 +507,7 @@ type DaemonSetList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is a list of daemon sets. @@ -427,6 +518,7 @@ type ThirdPartyResourceDataList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is a list of third party objects Items []ThirdPartyResourceData `json:"items"` @@ -442,14 +534,17 @@ type Ingress struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Spec is the desired state of the Ingress. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec IngressSpec `json:"spec,omitempty"` // Status is the current state of the Ingress. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status IngressStatus `json:"status,omitempty"` } @@ -458,6 +553,7 @@ type IngressList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of Ingress. @@ -470,6 +566,7 @@ type IngressSpec struct { // rule. At least one of 'backend' or 'rules' must be specified. This field // is optional to allow the loadbalancer controller or defaulting logic to // specify a global default. + // +optional Backend *IngressBackend `json:"backend,omitempty"` // TLS configuration. Currently the Ingress only supports a single TLS @@ -477,10 +574,12 @@ type IngressSpec struct { // will be multiplexed on the same port according to the hostname specified // through the SNI TLS extension, if the ingress controller fulfilling the // ingress supports SNI. + // +optional TLS []IngressTLS `json:"tls,omitempty"` // A list of host rules used to configure the Ingress. If unspecified, or // no rule matches, all traffic is sent to the default backend. + // +optional Rules []IngressRule `json:"rules,omitempty"` // TODO: Add the ability to specify load-balancer IP through claims } @@ -491,12 +590,14 @@ type IngressTLS struct { // this list must match the name/s used in the tlsSecret. Defaults to the // wildcard host setting for the loadbalancer controller fulfilling this // Ingress, if left unspecified. + // +optional Hosts []string `json:"hosts,omitempty"` // SecretName is the name of the secret used to terminate SSL traffic on 443. // Field is left optional to allow SSL routing based on SNI hostname alone. // If the SNI host in a listener conflicts with the "Host" header field used // by an IngressRule, the SNI host is used for termination and value of the // Host header is used for routing. + // +optional SecretName string `json:"secretName,omitempty"` // TODO: Consider specifying different modes of termination, protocols etc. } @@ -504,6 +605,7 @@ type IngressTLS struct { // IngressStatus describe the current state of the Ingress. type IngressStatus struct { // LoadBalancer contains the current status of the load-balancer. + // +optional LoadBalancer api.LoadBalancerStatus `json:"loadBalancer,omitempty"` } @@ -523,12 +625,14 @@ type IngressRule struct { // Incoming requests are matched against the host before the IngressRuleValue. // If the host is unspecified, the Ingress routes all traffic based on the // specified IngressRuleValue. + // +optional Host string `json:"host,omitempty"` // IngressRuleValue represents a rule to route requests for this IngressRule. // If unspecified, the rule defaults to a http catch-all. Whether that sends // just traffic matching the host to the default backend or all traffic to the // default backend, is left to the controller fulfilling the Ingress. Http is // currently the only supported IngressRuleValue. + // +optional IngressRuleValue `json:",inline,omitempty"` } @@ -543,6 +647,7 @@ type IngressRuleValue struct { // 2. Consider adding fields for ingress-type specific global options // usable by a loadbalancer, like http keep-alive. + // +optional HTTP *HTTPIngressRuleValue `json:"http,omitempty"` } @@ -568,6 +673,7 @@ type HTTPIngressPath struct { // part of a URL as defined by RFC 3986. Paths must begin with // a '/'. If unspecified, the path defaults to a catch all sending // traffic to the backend. + // +optional Path string `json:"path,omitempty"` // Backend defines the referenced service endpoint to which the traffic @@ -589,19 +695,23 @@ type IngressBackend struct { // ReplicaSet represents the configuration of a replica set. type ReplicaSet struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired behavior of this ReplicaSet. + // +optional Spec ReplicaSetSpec `json:"spec,omitempty"` // Status is the current status of this ReplicaSet. This data may be // out of date by some window of time. + // +optional Status ReplicaSetStatus `json:"status,omitempty"` } // ReplicaSetList is a collection of ReplicaSets. type ReplicaSetList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []ReplicaSet `json:"items"` @@ -617,16 +727,19 @@ type ReplicaSetSpec struct { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // Selector is a label query over pods that should match the replica count. // Must match in order to be controlled. // If empty, defaulted to labels on pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` // Template is the object that describes the pod that will be created if // insufficient replicas are detected. + // +optional Template api.PodTemplateSpec `json:"template,omitempty"` } @@ -636,18 +749,23 @@ type ReplicaSetStatus struct { Replicas int32 `json:"replicas"` // The number of pods that have labels matching the labels of the pod template of the replicaset. + // +optional FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"` // The number of ready replicas for this replica set. + // +optional ReadyReplicas int32 `json:"readyReplicas,omitempty"` // The number of available replicas (ready for at least minReadySeconds) for this replica set. + // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // ObservedGeneration is the most recent generation observed by the controller. + // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Represents the latest available observations of a replica set's current state. + // +optional Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` } @@ -667,13 +785,14 @@ type ReplicaSetCondition struct { Type ReplicaSetConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status api.ConditionStatus `json:"status"` - // Last time we probed the condition. - LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` // The last time the condition transitioned from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. + // +optional Message string `json:"message,omitempty"` } @@ -684,37 +803,48 @@ type ReplicaSetCondition struct { // that will be applied to a pod and container. type PodSecurityPolicy struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // Spec defines the policy enforced. + // +optional Spec PodSecurityPolicySpec `json:"spec,omitempty"` } // PodSecurityPolicySpec defines the policy enforced. type PodSecurityPolicySpec struct { // Privileged determines if a pod can request to be run as privileged. + // +optional Privileged bool `json:"privileged,omitempty"` // DefaultAddCapabilities is the default set of capabilities that will be added to the container // unless the pod spec specifically drops the capability. You may not list a capability in both // DefaultAddCapabilities and RequiredDropCapabilities. + // +optional DefaultAddCapabilities []api.Capability `json:"defaultAddCapabilities,omitempty"` // RequiredDropCapabilities are the capabilities that will be dropped from the container. These // are required to be dropped and cannot be added. + // +optional RequiredDropCapabilities []api.Capability `json:"requiredDropCapabilities,omitempty"` // AllowedCapabilities is a list of capabilities that can be requested to add to the container. // Capabilities in this field may be added at the pod author's discretion. // You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + // +optional AllowedCapabilities []api.Capability `json:"allowedCapabilities,omitempty"` // Volumes is a white list of allowed volume plugins. Empty indicates that all plugins // may be used. + // +optional Volumes []FSType `json:"volumes,omitempty"` // HostNetwork determines if the policy allows the use of HostNetwork in the pod spec. + // +optional HostNetwork bool `json:"hostNetwork,omitempty"` // HostPorts determines which host port ranges are allowed to be exposed. + // +optional HostPorts []HostPortRange `json:"hostPorts,omitempty"` // HostPID determines if the policy allows the use of HostPID in the pod spec. + // +optional HostPID bool `json:"hostPID,omitempty"` // HostIPC determines if the policy allows the use of HostIPC in the pod spec. + // +optional HostIPC bool `json:"hostIPC,omitempty"` // SELinux is the strategy that will dictate the allowable labels that may be set. SELinux SELinuxStrategyOptions `json:"seLinux"` @@ -729,6 +859,7 @@ type PodSecurityPolicySpec struct { // the PSP should deny the pod. // If set to false the container may run with a read only root file system if it wishes but it // will not be forced to. + // +optional ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"` } @@ -776,6 +907,7 @@ type SELinuxStrategyOptions struct { Rule SELinuxStrategy `json:"rule"` // seLinuxOptions required to run as; required for MustRunAs // More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context + // +optional SELinuxOptions *api.SELinuxOptions `json:"seLinuxOptions,omitempty"` } @@ -795,6 +927,7 @@ type RunAsUserStrategyOptions struct { // Rule is the strategy that will dictate the allowable RunAsUser values that may be set. Rule RunAsUserStrategy `json:"rule"` // Ranges are the allowed ranges of uids that may be used. + // +optional Ranges []IDRange `json:"ranges,omitempty"` } @@ -822,9 +955,11 @@ const ( // FSGroupStrategyOptions defines the strategy type and options used to create the strategy. type FSGroupStrategyOptions struct { // Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + // +optional Rule FSGroupStrategyType `json:"rule,omitempty"` // Ranges are the allowed ranges of fs groups. If you would like to force a single // fs group then supply a single range with the same start and end. + // +optional Ranges []IDRange `json:"ranges,omitempty"` } @@ -842,9 +977,11 @@ const ( // SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. type SupplementalGroupsStrategyOptions struct { // Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + // +optional Rule SupplementalGroupsStrategyType `json:"rule,omitempty"` // Ranges are the allowed ranges of supplemental groups. If you would like to force a single // supplemental group then supply a single range with the same start and end. + // +optional Ranges []IDRange `json:"ranges,omitempty"` } @@ -862,6 +999,7 @@ const ( // PodSecurityPolicyList is a list of PodSecurityPolicy objects. type PodSecurityPolicyList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []PodSecurityPolicy `json:"items"` @@ -871,9 +1009,11 @@ type PodSecurityPolicyList struct { type NetworkPolicy struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior for this NetworkPolicy. + // +optional Spec NetworkPolicySpec `json:"spec,omitempty"` } @@ -893,6 +1033,7 @@ type NetworkPolicySpec struct { // If this field is empty then this NetworkPolicy does not affect ingress isolation. // If this field is present and contains at least one rule, this policy allows any traffic // which matches at least one of the ingress rules in this list. + // +optional Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty"` } @@ -905,6 +1046,7 @@ type NetworkPolicyIngressRule struct { // If this field is present and contains at least one item, then this rule allows traffic // only if the traffic matches at least one port in the list. // TODO: Update this to be a pointer to slice as soon as auto-generation supports it. + // +optional Ports []NetworkPolicyPort `json:"ports,omitempty"` // List of sources which should be able to access the pods selected for this rule. @@ -914,12 +1056,14 @@ type NetworkPolicyIngressRule struct { // If this field is present and contains at least on item, this rule allows traffic only if the // traffic matches at least one item in the from list. // TODO: Update this to be a pointer to slice as soon as auto-generation supports it. + // +optional From []NetworkPolicyPeer `json:"from,omitempty"` } type NetworkPolicyPort struct { // Optional. The protocol (TCP or UDP) which traffic must match. // If not specified, this field defaults to TCP. + // +optional Protocol *api.Protocol `json:"protocol,omitempty"` // If specified, the port on the given protocol. This can @@ -927,6 +1071,7 @@ type NetworkPolicyPort struct { // this matches all port names and numbers. // If present, only traffic on the specified protocol AND port // will be matched. + // +optional Port *intstr.IntOrString `json:"port,omitempty"` } @@ -937,6 +1082,7 @@ type NetworkPolicyPeer struct { // This field follows standard label selector semantics. // If not provided, this selector selects no pods. // If present but empty, this selector selects all pods in this namespace. + // +optional PodSelector *unversioned.LabelSelector `json:"podSelector,omitempty"` // Selects Namespaces using cluster scoped-labels. This @@ -944,12 +1090,14 @@ type NetworkPolicyPeer struct { // This field follows standard label selector semantics. // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. + // +optional NamespaceSelector *unversioned.LabelSelector `json:"namespaceSelector,omitempty"` } // NetworkPolicyList is a list of NetworkPolicy objects. type NetworkPolicyList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []NetworkPolicy `json:"items"` diff --git a/pkg/apis/extensions/v1beta1/conversion.go b/pkg/apis/extensions/v1beta1/conversion.go index 9374784f..38f7a276 100644 --- a/pkg/apis/extensions/v1beta1/conversion.go +++ b/pkg/apis/extensions/v1beta1/conversion.go @@ -134,14 +134,7 @@ func Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus(in *ScaleStatus, out func Convert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensions.DeploymentSpec, out *DeploymentSpec, s conversion.Scope) error { out.Replicas = &in.Replicas - if in.Selector != nil { - out.Selector = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -160,6 +153,10 @@ func Convert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensions. } else { out.RollbackTo = nil } + if in.ProgressDeadlineSeconds != nil { + out.ProgressDeadlineSeconds = new(int32) + *out.ProgressDeadlineSeconds = *in.ProgressDeadlineSeconds + } return nil } @@ -167,15 +164,7 @@ func Convert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *DeploymentS if in.Replicas != nil { out.Replicas = *in.Replicas } - - if in.Selector != nil { - out.Selector = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -191,6 +180,10 @@ func Convert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *DeploymentS } else { out.RollbackTo = nil } + if in.ProgressDeadlineSeconds != nil { + out.ProgressDeadlineSeconds = new(int32) + *out.ProgressDeadlineSeconds = *in.ProgressDeadlineSeconds + } return nil } @@ -250,15 +243,7 @@ func Convert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensions. out.Replicas = new(int32) *out.Replicas = int32(in.Replicas) out.MinReadySeconds = in.MinReadySeconds - if in.Selector != nil { - out.Selector = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } - + out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -270,14 +255,7 @@ func Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *ReplicaSetS out.Replicas = *in.Replicas } out.MinReadySeconds = in.MinReadySeconds - if in.Selector != nil { - out.Selector = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -288,16 +266,7 @@ func Convert_batch_JobSpec_To_v1beta1_JobSpec(in *batch.JobSpec, out *JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1beta1.LabelSelector - if in.Selector != nil { - out.Selector = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } - + out.Selector = in.Selector // BEGIN non-standard conversion // autoSelector has opposite meaning as manualSelector. // in both cases, unset means false, and unset is always preferred to false. @@ -322,16 +291,7 @@ func Convert_v1beta1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // unable to generate simple pointer conversion for v1beta1.LabelSelector -> unversioned.LabelSelector - if in.Selector != nil { - out.Selector = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { - return err - } - } else { - out.Selector = nil - } - + out.Selector = in.Selector // BEGIN non-standard conversion // autoSelector has opposite meaning as manualSelector. // in both cases, unset means false, and unset is always preferred to false. diff --git a/pkg/apis/extensions/v1beta1/defaults.go b/pkg/apis/extensions/v1beta1/defaults.go index 473edbe3..2704d67f 100644 --- a/pkg/apis/extensions/v1beta1/defaults.go +++ b/pkg/apis/extensions/v1beta1/defaults.go @@ -17,12 +17,14 @@ limitations under the License. package v1beta1 import ( + "k8s.io/client-go/pkg/api/unversioned" "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/runtime" "k8s.io/client-go/pkg/util/intstr" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( SetDefaults_DaemonSet, SetDefaults_Deployment, @@ -39,7 +41,7 @@ func SetDefaults_DaemonSet(obj *DaemonSet) { // TODO: support templates defined elsewhere when we support them in the API if labels != nil { if obj.Spec.Selector == nil { - obj.Spec.Selector = &LabelSelector{ + obj.Spec.Selector = &unversioned.LabelSelector{ MatchLabels: labels, } } @@ -55,7 +57,7 @@ func SetDefaults_Deployment(obj *Deployment) { if labels != nil { if obj.Spec.Selector == nil { - obj.Spec.Selector = &LabelSelector{MatchLabels: labels} + obj.Spec.Selector = &unversioned.LabelSelector{MatchLabels: labels} } if len(obj.Labels) == 0 { obj.Labels = labels @@ -71,7 +73,7 @@ func SetDefaults_Deployment(obj *Deployment) { if strategy.Type == "" { strategy.Type = RollingUpdateDeploymentStrategyType } - if strategy.Type == RollingUpdateDeploymentStrategyType { + if strategy.Type == RollingUpdateDeploymentStrategyType || strategy.RollingUpdate != nil { if strategy.RollingUpdate == nil { rollingUpdate := RollingUpdateDeployment{} strategy.RollingUpdate = &rollingUpdate @@ -101,7 +103,7 @@ func SetDefaults_Job(obj *Job) { // and default behavior for an unspecified manual selector is to use the pod template labels if manualSelector && obj.Spec.Selector == nil { - obj.Spec.Selector = &LabelSelector{ + obj.Spec.Selector = &unversioned.LabelSelector{ MatchLabels: labels, } } @@ -139,7 +141,7 @@ func SetDefaults_ReplicaSet(obj *ReplicaSet) { // TODO: support templates defined elsewhere when we support them in the API if labels != nil { if obj.Spec.Selector == nil { - obj.Spec.Selector = &LabelSelector{ + obj.Spec.Selector = &unversioned.LabelSelector{ MatchLabels: labels, } } diff --git a/pkg/apis/extensions/v1beta1/doc.go b/pkg/apis/extensions/v1beta1/doc.go index a9520c2c..2a7ce913 100644 --- a/pkg/apis/extensions/v1beta1/doc.go +++ b/pkg/apis/extensions/v1beta1/doc.go @@ -19,5 +19,6 @@ limitations under the License. // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/autoscaling // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1beta1 diff --git a/pkg/apis/extensions/v1beta1/generated.pb.go b/pkg/apis/extensions/v1beta1/generated.pb.go index 0a2266d1..0260da7d 100644 --- a/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/pkg/apis/extensions/v1beta1/generated.pb.go @@ -36,6 +36,7 @@ limitations under the License. DaemonSetSpec DaemonSetStatus Deployment + DeploymentCondition DeploymentList DeploymentRollback DeploymentSpec @@ -64,8 +65,6 @@ limitations under the License. JobList JobSpec JobStatus - LabelSelector - LabelSelectorRequirement NetworkPolicy NetworkPolicyIngressRule NetworkPolicyList @@ -169,259 +168,253 @@ func (m *Deployment) Reset() { *m = Deployment{} } func (*Deployment) ProtoMessage() {} func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } +func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} } +func (*DeploymentCondition) ProtoMessage() {} +func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } + func (m *DeploymentList) Reset() { *m = DeploymentList{} } func (*DeploymentList) ProtoMessage() {} -func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } +func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} } func (*DeploymentRollback) ProtoMessage() {} -func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } +func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} } func (*DeploymentSpec) ProtoMessage() {} -func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } +func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} } func (*DeploymentStatus) ProtoMessage() {} -func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } +func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} } func (*DeploymentStrategy) ProtoMessage() {} -func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } +func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } func (m *ExportOptions) Reset() { *m = ExportOptions{} } func (*ExportOptions) ProtoMessage() {} -func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } +func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} } func (*FSGroupStrategyOptions) ProtoMessage() {} -func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } +func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } func (*HTTPIngressPath) ProtoMessage() {} -func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } +func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} } func (*HTTPIngressRuleValue) ProtoMessage() {} -func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } +func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } func (*HorizontalPodAutoscaler) ProtoMessage() {} func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{20} + return fileDescriptorGenerated, []int{21} } func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} } func (*HorizontalPodAutoscalerList) ProtoMessage() {} func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{21} + return fileDescriptorGenerated, []int{22} } func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} } func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{22} + return fileDescriptorGenerated, []int{23} } func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} } func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{23} + return fileDescriptorGenerated, []int{24} } func (m *HostPortRange) Reset() { *m = HostPortRange{} } func (*HostPortRange) ProtoMessage() {} -func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } +func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } func (m *IDRange) Reset() { *m = IDRange{} } func (*IDRange) ProtoMessage() {} -func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } +func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } func (m *Ingress) Reset() { *m = Ingress{} } func (*Ingress) ProtoMessage() {} -func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } +func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } func (m *IngressBackend) Reset() { *m = IngressBackend{} } func (*IngressBackend) ProtoMessage() {} -func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } +func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } func (m *IngressList) Reset() { *m = IngressList{} } func (*IngressList) ProtoMessage() {} -func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } +func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } func (m *IngressRule) Reset() { *m = IngressRule{} } func (*IngressRule) ProtoMessage() {} -func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } +func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} } func (*IngressRuleValue) ProtoMessage() {} -func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } +func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } func (m *IngressSpec) Reset() { *m = IngressSpec{} } func (*IngressSpec) ProtoMessage() {} -func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } +func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } func (m *IngressStatus) Reset() { *m = IngressStatus{} } func (*IngressStatus) ProtoMessage() {} -func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } +func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } func (m *IngressTLS) Reset() { *m = IngressTLS{} } func (*IngressTLS) ProtoMessage() {} -func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } +func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } func (m *Job) Reset() { *m = Job{} } func (*Job) ProtoMessage() {} -func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } +func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } func (m *JobCondition) Reset() { *m = JobCondition{} } func (*JobCondition) ProtoMessage() {} -func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } +func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } func (m *JobList) Reset() { *m = JobList{} } func (*JobList) ProtoMessage() {} -func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } +func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } func (m *JobSpec) Reset() { *m = JobSpec{} } func (*JobSpec) ProtoMessage() {} -func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } +func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } func (m *JobStatus) Reset() { *m = JobStatus{} } func (*JobStatus) ProtoMessage() {} -func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } - -func (m *LabelSelector) Reset() { *m = LabelSelector{} } -func (*LabelSelector) ProtoMessage() {} -func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } - -func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } -func (*LabelSelectorRequirement) ProtoMessage() {} -func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{40} -} +func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } func (*NetworkPolicy) ProtoMessage() {} -func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } +func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } func (*NetworkPolicyIngressRule) ProtoMessage() {} func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{42} + return fileDescriptorGenerated, []int{41} } func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } func (*NetworkPolicyList) ProtoMessage() {} -func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } +func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } func (*NetworkPolicyPeer) ProtoMessage() {} -func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } func (*NetworkPolicyPort) ProtoMessage() {} -func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } func (*NetworkPolicySpec) ProtoMessage() {} -func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } func (*PodSecurityPolicy) ProtoMessage() {} -func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } +func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } func (*PodSecurityPolicyList) ProtoMessage() {} -func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } +func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } func (*PodSecurityPolicySpec) ProtoMessage() {} -func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } +func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } func (*ReplicaSet) ProtoMessage() {} -func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } +func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } func (*ReplicaSetCondition) ProtoMessage() {} -func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } +func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } func (*ReplicaSetList) ProtoMessage() {} -func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } +func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } func (*ReplicaSetSpec) ProtoMessage() {} -func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } +func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } func (*ReplicaSetStatus) ProtoMessage() {} -func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } +func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} } func (*ReplicationControllerDummy) ProtoMessage() {} func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{55} + return fileDescriptorGenerated, []int{54} } func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } func (*RollbackConfig) ProtoMessage() {} -func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } +func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} } func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } func (*RollingUpdateDeployment) ProtoMessage() {} func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{57} + return fileDescriptorGenerated, []int{56} } func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} } func (*RunAsUserStrategyOptions) ProtoMessage() {} func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{58} + return fileDescriptorGenerated, []int{57} } func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} } func (*SELinuxStrategyOptions) ProtoMessage() {} -func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } +func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } func (m *Scale) Reset() { *m = Scale{} } func (*Scale) ProtoMessage() {} -func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } +func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } func (*ScaleSpec) ProtoMessage() {} -func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } +func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } func (*ScaleStatus) ProtoMessage() {} -func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } +func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } func (m *SubresourceReference) Reset() { *m = SubresourceReference{} } func (*SubresourceReference) ProtoMessage() {} -func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } +func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} } func (*SupplementalGroupsStrategyOptions) ProtoMessage() {} func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{64} + return fileDescriptorGenerated, []int{63} } func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} } func (*ThirdPartyResource) ProtoMessage() {} -func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } +func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} } func (*ThirdPartyResourceData) ProtoMessage() {} -func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } +func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} } func (*ThirdPartyResourceDataList) ProtoMessage() {} func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{67} + return fileDescriptorGenerated, []int{66} } func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} } func (*ThirdPartyResourceList) ProtoMessage() {} -func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } +func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} } func init() { proto.RegisterType((*APIVersion)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.APIVersion") @@ -435,6 +428,7 @@ func init() { proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSetSpec") proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSetStatus") proto.RegisterType((*Deployment)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.Deployment") + proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentCondition") proto.RegisterType((*DeploymentList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentList") proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentRollback") proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentSpec") @@ -463,8 +457,6 @@ func init() { proto.RegisterType((*JobList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.JobList") proto.RegisterType((*JobSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.JobSpec") proto.RegisterType((*JobStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.JobStatus") - proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.LabelSelector") - proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.LabelSelectorRequirement") proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicy") proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyIngressRule") proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyList") @@ -845,6 +837,56 @@ func (m *Deployment) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *DeploymentCondition) 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 *DeploymentCondition) 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(len(m.Status))) + i += copy(data[i:], m.Status) + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) + i += copy(data[i:], m.Reason) + data[i] = 0x2a + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Message))) + i += copy(data[i:], m.Message) + data[i] = 0x32 + i++ + i = encodeVarintGenerated(data, i, uint64(m.LastUpdateTime.Size())) + n12, err := m.LastUpdateTime.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n12 + data[i] = 0x3a + i++ + i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) + n13, err := m.LastTransitionTime.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n13 + return i, nil +} + func (m *DeploymentList) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -863,11 +905,11 @@ func (m *DeploymentList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n12, err := m.ListMeta.MarshalTo(data[i:]) + n14, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n12 + i += n14 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -922,11 +964,11 @@ func (m *DeploymentRollback) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size())) - n13, err := m.RollbackTo.MarshalTo(data[i:]) + n15, err := m.RollbackTo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n13 + i += n15 return i, nil } @@ -954,28 +996,28 @@ func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n14, err := m.Selector.MarshalTo(data[i:]) + n16, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n14 + i += n16 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n15, err := m.Template.MarshalTo(data[i:]) + n17, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n15 + i += n17 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Strategy.Size())) - n16, err := m.Strategy.MarshalTo(data[i:]) + n18, err := m.Strategy.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n16 + i += n18 data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) @@ -996,11 +1038,16 @@ func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size())) - n17, err := m.RollbackTo.MarshalTo(data[i:]) + n19, err := m.RollbackTo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n17 + i += n19 + } + if m.ProgressDeadlineSeconds != nil { + data[i] = 0x48 + i++ + i = encodeVarintGenerated(data, i, uint64(*m.ProgressDeadlineSeconds)) } return i, nil } @@ -1035,6 +1082,18 @@ func (m *DeploymentStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.UnavailableReplicas)) + if len(m.Conditions) > 0 { + for _, msg := range m.Conditions { + data[i] = 0x32 + 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 } @@ -1061,11 +1120,11 @@ func (m *DeploymentStrategy) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.RollingUpdate.Size())) - n18, err := m.RollingUpdate.MarshalTo(data[i:]) + n20, err := m.RollingUpdate.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n18 + i += n20 } return i, nil } @@ -1160,11 +1219,11 @@ func (m *HTTPIngressPath) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Backend.Size())) - n19, err := m.Backend.MarshalTo(data[i:]) + n21, err := m.Backend.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n19 + i += n21 return i, nil } @@ -1216,27 +1275,27 @@ func (m *HorizontalPodAutoscaler) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n20, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n20 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n21, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n21 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n22, err := m.Status.MarshalTo(data[i:]) + n22, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n22 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n23, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n23 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n24, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n24 return i, nil } @@ -1258,11 +1317,11 @@ func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n23, err := m.ListMeta.MarshalTo(data[i:]) + n25, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n23 + i += n25 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1296,11 +1355,11 @@ func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ScaleRef.Size())) - n24, err := m.ScaleRef.MarshalTo(data[i:]) + n26, err := m.ScaleRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n24 + i += n26 if m.MinReplicas != nil { data[i] = 0x10 i++ @@ -1313,11 +1372,11 @@ func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.CPUUtilization.Size())) - n25, err := m.CPUUtilization.MarshalTo(data[i:]) + n27, err := m.CPUUtilization.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n25 + i += n27 } return i, nil } @@ -1346,11 +1405,11 @@ func (m *HorizontalPodAutoscalerStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.LastScaleTime.Size())) - n26, err := m.LastScaleTime.MarshalTo(data[i:]) + n28, err := m.LastScaleTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n26 + i += n28 } data[i] = 0x18 i++ @@ -1432,27 +1491,27 @@ func (m *Ingress) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n27, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n27 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n28, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n28 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n29, err := m.Status.MarshalTo(data[i:]) + n29, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n29 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n30, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n30 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n31, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n31 return i, nil } @@ -1478,11 +1537,11 @@ func (m *IngressBackend) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.ServicePort.Size())) - n30, err := m.ServicePort.MarshalTo(data[i:]) + n32, err := m.ServicePort.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n30 + i += n32 return i, nil } @@ -1504,11 +1563,11 @@ func (m *IngressList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n31, err := m.ListMeta.MarshalTo(data[i:]) + n33, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n31 + i += n33 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1546,11 +1605,11 @@ func (m *IngressRule) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.IngressRuleValue.Size())) - n32, err := m.IngressRuleValue.MarshalTo(data[i:]) + n34, err := m.IngressRuleValue.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n32 + i += n34 return i, nil } @@ -1573,11 +1632,11 @@ func (m *IngressRuleValue) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.HTTP.Size())) - n33, err := m.HTTP.MarshalTo(data[i:]) + n35, err := m.HTTP.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n33 + i += n35 } return i, nil } @@ -1601,11 +1660,11 @@ func (m *IngressSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Backend.Size())) - n34, err := m.Backend.MarshalTo(data[i:]) + n36, err := m.Backend.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n34 + i += n36 } if len(m.TLS) > 0 { for _, msg := range m.TLS { @@ -1652,11 +1711,11 @@ func (m *IngressStatus) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size())) - n35, err := m.LoadBalancer.MarshalTo(data[i:]) + n37, err := m.LoadBalancer.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n35 + i += n37 return i, nil } @@ -1715,27 +1774,27 @@ func (m *Job) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n36, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n36 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n37, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n37 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n38, err := m.Status.MarshalTo(data[i:]) + n38, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n38 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n39, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n39 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n40, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n40 return i, nil } @@ -1765,19 +1824,19 @@ func (m *JobCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n39, err := m.LastProbeTime.MarshalTo(data[i:]) + n41, err := m.LastProbeTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n39 + i += n41 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n40, err := m.LastTransitionTime.MarshalTo(data[i:]) + n42, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n40 + i += n42 data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -1807,11 +1866,11 @@ func (m *JobList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n41, err := m.ListMeta.MarshalTo(data[i:]) + n43, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n41 + i += n43 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1861,11 +1920,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n42, err := m.Selector.MarshalTo(data[i:]) + n44, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n42 + i += n44 } if m.AutoSelector != nil { data[i] = 0x28 @@ -1880,11 +1939,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n43, err := m.Template.MarshalTo(data[i:]) + n45, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n43 + i += n45 return i, nil } @@ -1919,21 +1978,21 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size())) - n44, err := m.StartTime.MarshalTo(data[i:]) + n46, err := m.StartTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n44 + i += n46 } if m.CompletionTime != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.CompletionTime.Size())) - n45, err := m.CompletionTime.MarshalTo(data[i:]) + n47, err := m.CompletionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n45 + i += n47 } data[i] = 0x20 i++ @@ -1947,94 +2006,6 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *LabelSelector) 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 *LabelSelector) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.MatchLabels) > 0 { - for k := range m.MatchLabels { - data[i] = 0xa - i++ - v := m.MatchLabels[k] - mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - i = encodeVarintGenerated(data, i, uint64(mapSize)) - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(k))) - i += copy(data[i:], k) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(v))) - i += copy(data[i:], v) - } - } - if len(m.MatchExpressions) > 0 { - for _, msg := range m.MatchExpressions { - data[i] = 0x12 - 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 -} - -func (m *LabelSelectorRequirement) 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 *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Key))) - i += copy(data[i:], m.Key) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Operator))) - i += copy(data[i:], m.Operator) - if len(m.Values) > 0 { - for _, s := range m.Values { - data[i] = 0x1a - 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 -} - func (m *NetworkPolicy) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -2053,19 +2024,19 @@ func (m *NetworkPolicy) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n46, err := m.ObjectMeta.MarshalTo(data[i:]) + n48, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n46 + i += n48 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n47, err := m.Spec.MarshalTo(data[i:]) + n49, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n47 + i += n49 return i, nil } @@ -2129,11 +2100,11 @@ func (m *NetworkPolicyList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n48, err := m.ListMeta.MarshalTo(data[i:]) + n50, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n48 + i += n50 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2168,21 +2139,21 @@ func (m *NetworkPolicyPeer) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size())) - n49, err := m.PodSelector.MarshalTo(data[i:]) + n51, err := m.PodSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n49 + i += n51 } if m.NamespaceSelector != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.NamespaceSelector.Size())) - n50, err := m.NamespaceSelector.MarshalTo(data[i:]) + n52, err := m.NamespaceSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n50 + i += n52 } return i, nil } @@ -2212,11 +2183,11 @@ func (m *NetworkPolicyPort) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Port.Size())) - n51, err := m.Port.MarshalTo(data[i:]) + n53, err := m.Port.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n51 + i += n53 } return i, nil } @@ -2239,11 +2210,11 @@ func (m *NetworkPolicySpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size())) - n52, err := m.PodSelector.MarshalTo(data[i:]) + n54, err := m.PodSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n52 + i += n54 if len(m.Ingress) > 0 { for _, msg := range m.Ingress { data[i] = 0x12 @@ -2277,19 +2248,19 @@ func (m *PodSecurityPolicy) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n53, err := m.ObjectMeta.MarshalTo(data[i:]) + n55, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n53 + i += n55 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n54, err := m.Spec.MarshalTo(data[i:]) + n56, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n54 + i += n56 return i, nil } @@ -2311,11 +2282,11 @@ func (m *PodSecurityPolicyList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n55, err := m.ListMeta.MarshalTo(data[i:]) + n57, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n55 + i += n57 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2453,35 +2424,35 @@ func (m *PodSecurityPolicySpec) MarshalTo(data []byte) (int, error) { data[i] = 0x52 i++ i = encodeVarintGenerated(data, i, uint64(m.SELinux.Size())) - n56, err := m.SELinux.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n56 - data[i] = 0x5a - i++ - i = encodeVarintGenerated(data, i, uint64(m.RunAsUser.Size())) - n57, err := m.RunAsUser.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n57 - data[i] = 0x62 - i++ - i = encodeVarintGenerated(data, i, uint64(m.SupplementalGroups.Size())) - n58, err := m.SupplementalGroups.MarshalTo(data[i:]) + n58, err := m.SELinux.MarshalTo(data[i:]) if err != nil { return 0, err } i += n58 - data[i] = 0x6a + data[i] = 0x5a i++ - i = encodeVarintGenerated(data, i, uint64(m.FSGroup.Size())) - n59, err := m.FSGroup.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.RunAsUser.Size())) + n59, err := m.RunAsUser.MarshalTo(data[i:]) if err != nil { return 0, err } i += n59 + data[i] = 0x62 + i++ + i = encodeVarintGenerated(data, i, uint64(m.SupplementalGroups.Size())) + n60, err := m.SupplementalGroups.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n60 + data[i] = 0x6a + i++ + i = encodeVarintGenerated(data, i, uint64(m.FSGroup.Size())) + n61, err := m.FSGroup.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n61 data[i] = 0x70 i++ if m.ReadOnlyRootFilesystem { @@ -2511,27 +2482,27 @@ func (m *ReplicaSet) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n60, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n60 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n61, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n61 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n62, err := m.Status.MarshalTo(data[i:]) + n62, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n62 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n63, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n63 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n64, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n64 return i, nil } @@ -2560,25 +2531,17 @@ func (m *ReplicaSetCondition) MarshalTo(data []byte) (int, error) { i += copy(data[i:], m.Status) data[i] = 0x1a i++ - i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n63, err := m.LastProbeTime.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n63 - data[i] = 0x22 - i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n64, err := m.LastTransitionTime.MarshalTo(data[i:]) + n65, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n64 - data[i] = 0x2a + i += n65 + data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) i += copy(data[i:], m.Reason) - data[i] = 0x32 + data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Message))) i += copy(data[i:], m.Message) @@ -2603,11 +2566,11 @@ func (m *ReplicaSetList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n65, err := m.ListMeta.MarshalTo(data[i:]) + n66, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n65 + i += n66 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2647,20 +2610,20 @@ func (m *ReplicaSetSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n66, err := m.Selector.MarshalTo(data[i:]) + n67, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n66 + i += n67 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n67, err := m.Template.MarshalTo(data[i:]) + n68, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n67 + i += n68 data[i] = 0x20 i++ i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) @@ -2770,21 +2733,21 @@ func (m *RollingUpdateDeployment) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.MaxUnavailable.Size())) - n68, err := m.MaxUnavailable.MarshalTo(data[i:]) + n69, err := m.MaxUnavailable.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n68 + i += n69 } if m.MaxSurge != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.MaxSurge.Size())) - n69, err := m.MaxSurge.MarshalTo(data[i:]) + n70, err := m.MaxSurge.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n69 + i += n70 } return i, nil } @@ -2846,11 +2809,11 @@ func (m *SELinuxStrategyOptions) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n70, err := m.SELinuxOptions.MarshalTo(data[i:]) + n71, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n70 + i += n71 } return i, nil } @@ -2873,27 +2836,27 @@ func (m *Scale) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n71, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n71 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n72, err := m.Spec.MarshalTo(data[i:]) + n72, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n72 - data[i] = 0x1a + data[i] = 0x12 i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n73, err := m.Status.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n73, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } i += n73 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n74, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n74 return i, nil } @@ -3046,11 +3009,11 @@ func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n74, err := m.ObjectMeta.MarshalTo(data[i:]) + n75, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n74 + i += n75 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Description))) @@ -3088,11 +3051,11 @@ func (m *ThirdPartyResourceData) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n75, err := m.ObjectMeta.MarshalTo(data[i:]) + n76, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n75 + i += n76 if m.Data != nil { data[i] = 0x12 i++ @@ -3120,11 +3083,11 @@ func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n76, err := m.ListMeta.MarshalTo(data[i:]) + n77, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n76 + i += n77 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3158,11 +3121,11 @@ func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n77, err := m.ListMeta.MarshalTo(data[i:]) + n78, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n77 + i += n78 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3324,6 +3287,24 @@ func (m *Deployment) Size() (n int) { return n } +func (m *DeploymentCondition) Size() (n int) { + var l int + _ = l + l = len(m.Type) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Status) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Reason) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Message) + n += 1 + l + sovGenerated(uint64(l)) + l = m.LastUpdateTime.Size() + n += 1 + l + sovGenerated(uint64(l)) + l = m.LastTransitionTime.Size() + n += 1 + l + sovGenerated(uint64(l)) + return n +} + func (m *DeploymentList) Size() (n int) { var l int _ = l @@ -3379,6 +3360,9 @@ func (m *DeploymentSpec) Size() (n int) { l = m.RollbackTo.Size() n += 1 + l + sovGenerated(uint64(l)) } + if m.ProgressDeadlineSeconds != nil { + n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds)) + } return n } @@ -3390,6 +3374,12 @@ func (m *DeploymentStatus) Size() (n int) { n += 1 + sovGenerated(uint64(m.UpdatedReplicas)) n += 1 + sovGenerated(uint64(m.AvailableReplicas)) n += 1 + sovGenerated(uint64(m.UnavailableReplicas)) + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } return n } @@ -3716,42 +3706,6 @@ func (m *JobStatus) Size() (n int) { return n } -func (m *LabelSelector) Size() (n int) { - var l int - _ = l - if len(m.MatchLabels) > 0 { - for k, v := range m.MatchLabels { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) - } - } - if len(m.MatchExpressions) > 0 { - for _, e := range m.MatchExpressions { - l = e.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - -func (m *LabelSelectorRequirement) Size() (n int) { - var l int - _ = l - l = len(m.Key) - n += 1 + l + sovGenerated(uint64(l)) - l = len(m.Operator) - n += 1 + l + sovGenerated(uint64(l)) - if len(m.Values) > 0 { - for _, s := range m.Values { - l = len(s) - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - func (m *NetworkPolicy) Size() (n int) { var l int _ = l @@ -3928,8 +3882,6 @@ func (m *ReplicaSetCondition) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = len(m.Status) n += 1 + l + sovGenerated(uint64(l)) - l = m.LastProbeTime.Size() - n += 1 + l + sovGenerated(uint64(l)) l = m.LastTransitionTime.Size() n += 1 + l + sovGenerated(uint64(l)) l = len(m.Reason) @@ -4262,7 +4214,7 @@ func (this *DaemonSetSpec) String() string { return "nil" } s := strings.Join([]string{`&DaemonSetSpec{`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -4293,6 +4245,21 @@ func (this *Deployment) String() string { }, "") return s } +func (this *DeploymentCondition) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DeploymentCondition{`, + `Type:` + fmt.Sprintf("%v", this.Type) + `,`, + `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_api_unversioned.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} func (this *DeploymentList) String() string { if this == nil { return "nil" @@ -4332,13 +4299,14 @@ func (this *DeploymentSpec) String() string { } s := strings.Join([]string{`&DeploymentSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.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) + `,`, `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`, `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`, `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`, + `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`, `}`, }, "") return s @@ -4353,6 +4321,7 @@ func (this *DeploymentStatus) String() string { `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`, `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) + `,`, `}`, }, "") return s @@ -4617,7 +4586,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", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `AutoSelector:` + valueToStringGenerated(this.AutoSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -4639,39 +4608,6 @@ func (this *JobStatus) String() string { }, "") return s } -func (this *LabelSelector) String() string { - if this == nil { - return "nil" - } - keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) - for k := range this.MatchLabels { - keysForMatchLabels = append(keysForMatchLabels, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) - mapStringForMatchLabels := "map[string]string{" - for _, k := range keysForMatchLabels { - mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) - } - mapStringForMatchLabels += "}" - s := strings.Join([]string{`&LabelSelector{`, - `MatchLabels:` + mapStringForMatchLabels + `,`, - `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func (this *LabelSelectorRequirement) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&LabelSelectorRequirement{`, - `Key:` + fmt.Sprintf("%v", this.Key) + `,`, - `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, - `Values:` + fmt.Sprintf("%v", this.Values) + `,`, - `}`, - }, "") - return s -} func (this *NetworkPolicy) String() string { if this == nil { return "nil" @@ -4710,8 +4646,8 @@ func (this *NetworkPolicyPeer) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicyPeer{`, - `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "LabelSelector", 1) + `,`, - `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "LabelSelector", 1) + `,`, + `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `}`, }, "") return s @@ -4732,7 +4668,7 @@ func (this *NetworkPolicySpec) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicySpec{`, - `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "LabelSelector", 1), `&`, ``, 1) + `,`, + `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1), `&`, ``, 1) + `,`, `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -4802,7 +4738,6 @@ func (this *ReplicaSetCondition) String() string { s := strings.Join([]string{`&ReplicaSetCondition{`, `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_api_unversioned.Time", 1), `&`, ``, 1) + `,`, `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, @@ -4827,7 +4762,7 @@ func (this *ReplicaSetSpec) String() string { } s := strings.Join([]string{`&ReplicaSetSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.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) + `,`, `}`, @@ -5857,7 +5792,7 @@ func (m *DaemonSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -6180,6 +6115,232 @@ func (m *Deployment) Unmarshal(data []byte) error { } return nil } +func (m *DeploymentCondition) 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: DeploymentCondition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeploymentCondition: 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 = DeploymentConditionType(data[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status = k8s_io_kubernetes_pkg_api_v1.ConditionStatus(data[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", 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.Reason = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", 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.Message = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", 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.LastUpdateTime.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", 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.LastTransitionTime.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 *DeploymentList) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -6587,7 +6748,7 @@ func (m *DeploymentSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -6745,6 +6906,26 @@ func (m *DeploymentSpec) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType) + } + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + v |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.ProgressDeadlineSeconds = &v default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -6890,6 +7071,37 @@ func (m *DeploymentStatus) Unmarshal(data []byte) error { break } } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Conditions", 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.Conditions = append(m.Conditions, DeploymentCondition{}) + if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -9631,7 +9843,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -9913,335 +10125,6 @@ func (m *JobStatus) Unmarshal(data []byte) error { } return nil } -func (m *LabelSelector) 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: LabelSelector: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", 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 - } - var keykey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - keykey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey := string(data[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - var valuekey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - valuekey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue := string(data[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - if m.MatchLabels == nil { - m.MatchLabels = make(map[string]string) - } - m.MatchLabels[mapkey] = mapvalue - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", 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.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) - if err := m.MatchExpressions[len(m.MatchExpressions)-1].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 *LabelSelectorRequirement) 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: LabelSelectorRequirement: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", 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.Key = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operator", 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.Operator = LabelSelectorOperator(data[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Values", 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.Values = append(m.Values, string(data[iNdEx:postIndex])) - 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 *NetworkPolicy) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -10631,7 +10514,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.PodSelector == nil { - m.PodSelector = &LabelSelector{} + m.PodSelector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.PodSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -10664,7 +10547,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.NamespaceSelector == nil { - m.NamespaceSelector = &LabelSelector{} + m.NamespaceSelector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.NamespaceSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -11781,36 +11664,6 @@ func (m *ReplicaSetCondition) Unmarshal(data []byte) error { m.Status = k8s_io_kubernetes_pkg_api_v1.ConditionStatus(data[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", 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.LastProbeTime.Unmarshal(data[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) } @@ -11840,7 +11693,7 @@ func (m *ReplicaSetCondition) Unmarshal(data []byte) error { return err } iNdEx = postIndex - case 5: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) } @@ -11869,7 +11722,7 @@ func (m *ReplicaSetCondition) Unmarshal(data []byte) error { } m.Reason = string(data[iNdEx:postIndex]) iNdEx = postIndex - case 6: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } @@ -12106,7 +11959,7 @@ func (m *ReplicaSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -14088,250 +13941,250 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 3916 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x5b, 0x5b, 0x8f, 0x1c, 0xc7, - 0x75, 0xd6, 0xcc, 0xec, 0x65, 0xa6, 0xf6, 0xc2, 0x65, 0x71, 0x49, 0x8e, 0x56, 0x12, 0x29, 0xb5, - 0x10, 0x5d, 0x10, 0x71, 0x36, 0x64, 0x24, 0x85, 0xa2, 0x24, 0x4a, 0x3b, 0x7b, 0x21, 0x29, 0xed, - 0x92, 0xa3, 0x9a, 0x25, 0xa5, 0xe8, 0x9a, 0xde, 0x99, 0xda, 0xd9, 0xe6, 0xf6, 0x4c, 0x8f, 0xfa, - 0xb2, 0xda, 0x55, 0x10, 0x44, 0x41, 0x12, 0x20, 0x2f, 0x51, 0xf4, 0x16, 0x01, 0x89, 0x1f, 0x0c, - 0xd8, 0xf0, 0x93, 0x05, 0x1b, 0x30, 0xa0, 0x07, 0xbf, 0xd8, 0x82, 0x0d, 0xd3, 0x0f, 0x86, 0x65, - 0xc3, 0x86, 0xfd, 0x60, 0x4b, 0xb2, 0x0c, 0x5b, 0xf0, 0x5f, 0x90, 0xfd, 0xe0, 0x53, 0x97, 0xbe, - 0x54, 0x4f, 0xf7, 0x90, 0x3d, 0x7b, 0x81, 0x0d, 0xfb, 0x61, 0x41, 0x76, 0xd5, 0x39, 0xdf, 0x39, - 0x75, 0xea, 0xd4, 0xa9, 0x53, 0x55, 0x67, 0xd0, 0x93, 0x9b, 0x67, 0x9d, 0x8a, 0x61, 0xcd, 0x6e, - 0x7a, 0x6b, 0xd4, 0xee, 0x50, 0x97, 0x3a, 0xb3, 0xdd, 0xcd, 0xd6, 0xac, 0xde, 0x35, 0x9c, 0x59, - 0xba, 0xed, 0xd2, 0x8e, 0x63, 0x58, 0x1d, 0x67, 0x76, 0xeb, 0xf4, 0x1a, 0x75, 0xf5, 0xd3, 0xb3, - 0x2d, 0xda, 0xa1, 0xb6, 0xee, 0xd2, 0x66, 0xa5, 0x6b, 0x5b, 0xae, 0x85, 0x4f, 0x09, 0xf6, 0x4a, - 0xc8, 0x5e, 0x01, 0xf6, 0x0a, 0x63, 0xaf, 0x84, 0xec, 0x15, 0xc9, 0x3e, 0x73, 0xaa, 0x65, 0xb8, - 0x1b, 0xde, 0x5a, 0xa5, 0x61, 0xb5, 0x67, 0x5b, 0x56, 0xcb, 0x9a, 0xe5, 0x28, 0x6b, 0xde, 0x3a, - 0xff, 0xe2, 0x1f, 0xfc, 0x7f, 0x02, 0x7d, 0xe6, 0x4c, 0xaa, 0x72, 0xb3, 0x36, 0x75, 0x2c, 0xcf, - 0x6e, 0xd0, 0xb8, 0x46, 0x33, 0x8f, 0xa4, 0xf3, 0x78, 0x9d, 0x2d, 0x6a, 0x33, 0x85, 0x68, 0xb3, - 0x87, 0xed, 0xa1, 0x74, 0xb6, 0xad, 0x9e, 0x61, 0xcf, 0x9c, 0x4a, 0xa6, 0xb6, 0xbd, 0x8e, 0x6b, - 0xb4, 0x7b, 0x75, 0x3a, 0x9d, 0x4c, 0xee, 0xb9, 0x86, 0x39, 0x6b, 0x74, 0x5c, 0xc7, 0xb5, 0xe3, - 0x2c, 0x5a, 0x05, 0xa1, 0xb9, 0xda, 0xa5, 0x6b, 0x42, 0x5f, 0x7c, 0x37, 0x1a, 0xea, 0xe8, 0x6d, - 0x5a, 0xce, 0xdd, 0x9d, 0x7b, 0xa0, 0x54, 0x1d, 0xbf, 0xf1, 0xd1, 0xc9, 0xdb, 0x3e, 0xfd, 0xe8, - 0xe4, 0xd0, 0x65, 0x68, 0x23, 0xbc, 0x47, 0x7b, 0x19, 0x4d, 0xcf, 0xd7, 0xae, 0xae, 0xea, 0x76, - 0x8b, 0xba, 0x57, 0x01, 0xd7, 0x78, 0x53, 0x77, 0x19, 0xe7, 0x02, 0x9a, 0x72, 0x79, 0x63, 0x8d, - 0x82, 0xb5, 0x3a, 0xae, 0xde, 0x12, 0x28, 0xc3, 0xd5, 0xb2, 0x44, 0x99, 0x5a, 0x8d, 0xf5, 0x93, - 0x1e, 0x0e, 0xed, 0x7f, 0x73, 0xe8, 0xf6, 0x79, 0xcf, 0x71, 0xad, 0xf6, 0x0a, 0x75, 0x6d, 0xa3, - 0x31, 0xef, 0xd9, 0x36, 0x74, 0xd5, 0x5d, 0xdd, 0xf5, 0x9c, 0x9b, 0x6b, 0x87, 0x5f, 0x40, 0xc3, - 0x5b, 0xba, 0xe9, 0xd1, 0x72, 0x1e, 0x48, 0xc6, 0xce, 0x3c, 0x54, 0x49, 0x75, 0x9b, 0x8a, 0x3f, - 0xb1, 0x95, 0xe7, 0x3c, 0x1d, 0xac, 0xe9, 0xee, 0x54, 0xa7, 0x25, 0xe0, 0xb8, 0x94, 0x7a, 0x8d, - 0x21, 0x11, 0x01, 0xa8, 0xbd, 0x9d, 0x43, 0x77, 0xa5, 0x6a, 0xb6, 0x6c, 0x38, 0x2e, 0x6e, 0xa3, - 0x61, 0xc3, 0xa5, 0x6d, 0x07, 0xd4, 0x2b, 0x80, 0xec, 0x8b, 0x95, 0x4c, 0x2e, 0x5b, 0x49, 0x05, - 0xaf, 0x4e, 0x48, 0xbd, 0x86, 0x2f, 0x31, 0x78, 0x22, 0xa4, 0x68, 0xff, 0x93, 0x43, 0x38, 0xca, - 0x23, 0xac, 0x7b, 0x0b, 0x36, 0x7a, 0x7e, 0x37, 0x36, 0x3a, 0x22, 0x01, 0xc7, 0x84, 0x38, 0xc5, - 0x44, 0x6f, 0xe5, 0xd0, 0xb1, 0x5e, 0x8d, 0xb8, 0x6d, 0xd6, 0x55, 0xdb, 0xcc, 0xed, 0xc2, 0x36, - 0x02, 0x35, 0xc5, 0x28, 0x5f, 0xcd, 0xa3, 0xd2, 0x82, 0x4e, 0xdb, 0x56, 0xa7, 0x0e, 0xb6, 0x78, - 0x01, 0x15, 0xdb, 0xc0, 0xdf, 0xd4, 0x5d, 0x9d, 0xdb, 0x63, 0xec, 0xcc, 0x03, 0x7d, 0x06, 0xbb, - 0x75, 0xba, 0x72, 0x65, 0xed, 0x3a, 0x6d, 0xb8, 0x20, 0x47, 0xaf, 0x62, 0x89, 0x8f, 0xc2, 0x36, - 0x12, 0xa0, 0xe1, 0x57, 0xd1, 0x90, 0xd3, 0xa5, 0x0d, 0x69, 0xc2, 0x27, 0x32, 0x0e, 0x27, 0xd0, - 0xb0, 0x0e, 0x18, 0xe1, 0x1c, 0xb1, 0x2f, 0xc2, 0x71, 0xc1, 0x5e, 0x23, 0x0e, 0x9f, 0xfc, 0x72, - 0x81, 0x4b, 0x38, 0x3f, 0xb0, 0x04, 0xe1, 0x42, 0x93, 0x52, 0xc6, 0x88, 0xf8, 0x26, 0x12, 0x5d, - 0xfb, 0x41, 0x0e, 0x4d, 0x04, 0xb4, 0x7c, 0xa6, 0x5e, 0xe9, 0xb1, 0xd9, 0x6c, 0x1f, 0x9b, 0x45, - 0x22, 0x5d, 0x85, 0xb1, 0x73, 0xd3, 0x4d, 0x49, 0x61, 0x45, 0xbf, 0x25, 0x62, 0xb8, 0x57, 0x7c, - 0x47, 0xc8, 0x73, 0x47, 0x38, 0x3b, 0xe8, 0xb8, 0x52, 0xe6, 0xff, 0x27, 0xd1, 0xf1, 0xd4, 0x85, - 0x25, 0x8b, 0x0e, 0x35, 0x61, 0x06, 0x2d, 0x5b, 0x8e, 0x27, 0xeb, 0x6c, 0x2d, 0xeb, 0x6b, 0xd4, - 0xac, 0x4b, 0x8c, 0xea, 0x38, 0x1b, 0x98, 0xff, 0x45, 0x02, 0x6c, 0xfc, 0x12, 0x2a, 0x82, 0x06, - 0x5d, 0x13, 0x42, 0xab, 0xf4, 0x8a, 0x53, 0xfd, 0x7d, 0xad, 0x66, 0x35, 0x57, 0x25, 0x03, 0x77, - 0x83, 0xc0, 0x6a, 0x7e, 0x2b, 0x09, 0x00, 0xb5, 0xef, 0xe4, 0xd1, 0xa1, 0xd8, 0x94, 0xe2, 0x6b, - 0xe8, 0x58, 0x43, 0x84, 0x89, 0xcb, 0x5e, 0x1b, 0x04, 0xd4, 0x1b, 0x1b, 0xb4, 0xe9, 0x99, 0xb4, - 0x29, 0xc3, 0xee, 0x09, 0x89, 0x77, 0x6c, 0x3e, 0x91, 0x8a, 0xa4, 0x70, 0xe3, 0x67, 0x10, 0xee, - 0xf0, 0xa6, 0x15, 0xc3, 0x71, 0x02, 0xcc, 0x3c, 0xc7, 0x9c, 0x91, 0x98, 0xf8, 0x72, 0x0f, 0x05, - 0x49, 0xe0, 0x62, 0x3a, 0x36, 0xa9, 0x63, 0xd8, 0xb4, 0x19, 0xd7, 0xb1, 0xa0, 0xea, 0xb8, 0x90, - 0x48, 0x45, 0x52, 0xb8, 0xf1, 0x23, 0x68, 0x4c, 0x48, 0x23, 0x54, 0x6f, 0xee, 0x94, 0x87, 0x38, - 0x58, 0x10, 0x9a, 0x2e, 0x87, 0x5d, 0x24, 0x4a, 0xa7, 0x7d, 0x2d, 0x8f, 0xd0, 0x02, 0xed, 0x9a, - 0xd6, 0x4e, 0x1b, 0x06, 0xbe, 0x8f, 0xe1, 0xe1, 0x35, 0x25, 0x3c, 0x3c, 0x99, 0xd5, 0xc9, 0x03, - 0x15, 0x53, 0xe3, 0x43, 0x2b, 0x16, 0x1f, 0x9e, 0x1a, 0x5c, 0x44, 0xff, 0x00, 0xf1, 0xc3, 0x1c, - 0x9a, 0x0c, 0x89, 0x0f, 0x22, 0x42, 0xbc, 0xaa, 0x46, 0x88, 0xc7, 0x06, 0x1e, 0x59, 0x4a, 0x88, - 0x78, 0xb7, 0x80, 0x70, 0x48, 0x44, 0x2c, 0xd3, 0x5c, 0xd3, 0x1b, 0x9b, 0xb7, 0xb0, 0x6f, 0x7e, - 0x19, 0x36, 0x5c, 0xaf, 0xdb, 0x64, 0xb9, 0xd3, 0x5c, 0xa7, 0x63, 0xb9, 0x3c, 0xef, 0xf1, 0xd5, - 0xfc, 0xc7, 0x81, 0xd5, 0xf4, 0x35, 0xa8, 0x5c, 0xed, 0xc1, 0x5e, 0xec, 0xb8, 0xf6, 0x4e, 0xb8, - 0xe8, 0x7a, 0x09, 0x48, 0x82, 0x42, 0xf8, 0x75, 0x84, 0x6c, 0x89, 0xb9, 0x6a, 0x49, 0xff, 0xc8, - 0xea, 0x82, 0xbe, 0x52, 0xf3, 0x56, 0x67, 0xdd, 0x68, 0x85, 0xde, 0x4e, 0x02, 0x60, 0x12, 0x11, - 0x32, 0xb3, 0x88, 0x8e, 0xa7, 0x68, 0x8f, 0xa7, 0x50, 0x61, 0x93, 0xee, 0x08, 0xb3, 0x12, 0xf6, - 0x5f, 0x3c, 0x1d, 0xcd, 0x3f, 0x4a, 0x32, 0x79, 0x38, 0x97, 0x3f, 0x9b, 0xd3, 0xde, 0x1d, 0x8e, - 0x3a, 0x1b, 0x0f, 0xdf, 0x0f, 0xa0, 0xa2, 0x0d, 0x2d, 0x46, 0x43, 0x77, 0x64, 0x5c, 0xe3, 0x01, - 0x98, 0xc8, 0x36, 0x12, 0xf4, 0x2a, 0x81, 0x3e, 0x7f, 0x40, 0x81, 0xbe, 0xb0, 0xc7, 0x81, 0x1e, - 0x5b, 0x30, 0x08, 0x97, 0xa5, 0xe7, 0x2d, 0x11, 0xd5, 0xb2, 0xa7, 0x4a, 0xd1, 0x95, 0x2d, 0x80, - 0x42, 0x81, 0x7e, 0x0b, 0x09, 0x84, 0xe0, 0x39, 0x74, 0xa8, 0x6d, 0x74, 0x78, 0x78, 0xac, 0xd3, - 0x86, 0xd5, 0x69, 0x3a, 0xe5, 0x61, 0x6e, 0xe6, 0xe3, 0x92, 0xe9, 0xd0, 0x8a, 0xda, 0x4d, 0xe2, - 0xf4, 0x78, 0x19, 0x4d, 0xdb, 0x74, 0xcb, 0x60, 0x6a, 0x5c, 0x84, 0xe5, 0x6c, 0xd9, 0x3b, 0xcb, - 0x46, 0xdb, 0x70, 0xcb, 0x23, 0x22, 0xfb, 0x07, 0x8c, 0x69, 0x92, 0xd0, 0x4f, 0x12, 0xb9, 0xf0, - 0x7d, 0x68, 0xa4, 0xab, 0x7b, 0x0e, 0x6c, 0x11, 0xa3, 0xc0, 0x5f, 0x0c, 0x03, 0x53, 0x8d, 0xb7, - 0x12, 0xd9, 0x0b, 0xd9, 0x76, 0xd4, 0xcb, 0x8b, 0x7b, 0xe1, 0xe5, 0x93, 0xe9, 0x1e, 0xae, 0x7d, - 0x96, 0x47, 0x53, 0xf1, 0xa0, 0xc9, 0xb6, 0x4a, 0x6b, 0xcd, 0xa1, 0xf6, 0x16, 0x6d, 0x5e, 0x10, - 0xc7, 0x2a, 0x80, 0xe7, 0x6e, 0x5a, 0x08, 0x57, 0xed, 0x95, 0x1e, 0x0a, 0x92, 0xc0, 0x85, 0x1f, - 0x8a, 0x38, 0xba, 0xd8, 0x6c, 0x83, 0x69, 0x4b, 0x70, 0x76, 0x98, 0x36, 0xb9, 0xf2, 0xfd, 0x4e, - 0xb9, 0xa3, 0x06, 0xd3, 0x76, 0x55, 0xed, 0x26, 0x71, 0x7a, 0x7c, 0x01, 0x1d, 0xd6, 0xb7, 0x74, - 0xc3, 0xd4, 0xd7, 0x4c, 0x1a, 0x80, 0x88, 0x9d, 0xf4, 0x76, 0x09, 0x72, 0x78, 0x2e, 0x4e, 0x40, - 0x7a, 0x79, 0xf0, 0x0a, 0x3a, 0xe2, 0x75, 0x7a, 0xa1, 0x84, 0x1b, 0xdd, 0x21, 0xa1, 0x8e, 0x5c, - 0xed, 0x25, 0x21, 0x49, 0x7c, 0xda, 0x8f, 0x72, 0xd1, 0xf8, 0xec, 0xbb, 0x2c, 0x3e, 0x87, 0x86, - 0xdc, 0x9d, 0xae, 0x1f, 0x9f, 0xef, 0xf3, 0xe3, 0xf3, 0x2a, 0xb4, 0x7d, 0xce, 0x13, 0x88, 0x38, - 0x07, 0xeb, 0x21, 0x9c, 0x07, 0xff, 0x2b, 0x9a, 0x60, 0x53, 0x69, 0x74, 0x5a, 0xc2, 0x2a, 0x32, - 0x3e, 0x2c, 0x0d, 0xe0, 0x2e, 0x01, 0x46, 0x64, 0x9f, 0x39, 0x0c, 0x8a, 0x4c, 0x28, 0x9d, 0x44, - 0x95, 0x07, 0x87, 0xe6, 0x89, 0xc5, 0xed, 0xae, 0x65, 0xbb, 0x57, 0xba, 0x22, 0x46, 0x83, 0x97, - 0x53, 0xde, 0xc0, 0xc7, 0x13, 0xf1, 0x72, 0x41, 0x46, 0x64, 0x2f, 0xbe, 0x17, 0x0d, 0xd3, 0x6d, - 0xbd, 0xe1, 0x72, 0x8d, 0x8b, 0xe1, 0x8e, 0xb6, 0xc8, 0x1a, 0x89, 0xe8, 0xd3, 0xbe, 0x0e, 0xe7, - 0xae, 0xa5, 0xfa, 0x05, 0xdb, 0xf2, 0xba, 0xfe, 0xe0, 0x7d, 0x39, 0xff, 0x80, 0x86, 0x6c, 0xc8, - 0x98, 0xa4, 0xd5, 0xee, 0xf5, 0xad, 0x46, 0xa0, 0x0d, 0xac, 0x76, 0x24, 0xc6, 0x25, 0x4c, 0xc6, - 0x18, 0x60, 0x17, 0x1e, 0xb1, 0xf5, 0x4e, 0x8b, 0xfa, 0xfb, 0xdb, 0xa3, 0x19, 0x6d, 0x75, 0x69, - 0x81, 0x30, 0xf6, 0x70, 0x60, 0xfc, 0x13, 0xf2, 0x0a, 0x81, 0xaa, 0x7d, 0x21, 0x87, 0x0e, 0x5d, - 0x5c, 0x5d, 0xad, 0x5d, 0xea, 0xb4, 0xe0, 0x90, 0xe9, 0xd4, 0x74, 0x77, 0x83, 0x6d, 0xc1, 0x5d, - 0xf8, 0x37, 0xbe, 0x05, 0xb3, 0x3e, 0xc2, 0x7b, 0xf0, 0x06, 0x1a, 0x65, 0xeb, 0x91, 0x76, 0x9a, - 0x03, 0xa6, 0x56, 0x52, 0x5c, 0x55, 0x80, 0x54, 0x0f, 0x49, 0x19, 0xa3, 0xb2, 0x81, 0xf8, 0xf0, - 0xda, 0x3f, 0xa3, 0xe9, 0x88, 0x7a, 0xcc, 0x5e, 0xfc, 0xa8, 0x8b, 0x1b, 0x68, 0x98, 0x69, 0xe2, - 0x1f, 0x64, 0xb3, 0x9e, 0xcb, 0x62, 0x43, 0x0e, 0x27, 0x94, 0x7d, 0x41, 0x8a, 0xc2, 0xb1, 0xb5, - 0x9f, 0xe5, 0xd1, 0xf1, 0x8b, 0x96, 0x6d, 0xbc, 0x69, 0x75, 0x5c, 0xdd, 0x84, 0xfd, 0x63, 0xce, - 0x73, 0x2d, 0xa7, 0xa1, 0x9b, 0xd4, 0xde, 0xc7, 0xa4, 0xd5, 0x54, 0x92, 0xd6, 0x67, 0xb2, 0x8e, - 0x2c, 0x59, 0xdf, 0xd4, 0x0c, 0xd6, 0x8d, 0x65, 0xb0, 0xcb, 0x7b, 0x24, 0xaf, 0x7f, 0x3a, 0xfb, - 0xbb, 0x1c, 0xba, 0x23, 0x85, 0xf3, 0x20, 0x72, 0xdb, 0x4d, 0x35, 0xb7, 0x5d, 0xda, 0x9b, 0x31, - 0xa7, 0x24, 0xba, 0xbf, 0xcf, 0xa7, 0x8e, 0x95, 0xa7, 0x56, 0xaf, 0x43, 0xae, 0xc1, 0xbe, 0x08, - 0x5d, 0x97, 0x63, 0x9d, 0xcf, 0xa8, 0x4f, 0xdd, 0x5b, 0xf3, 0x6f, 0x88, 0x00, 0x84, 0xc2, 0x69, - 0xb2, 0x41, 0x23, 0xd9, 0x86, 0x04, 0x27, 0x81, 0x18, 0x7c, 0x1a, 0x8d, 0xf1, 0xec, 0x41, 0xd9, - 0xe7, 0x0e, 0xb1, 0x33, 0xdb, 0x4a, 0xd8, 0x4c, 0xa2, 0x34, 0xec, 0xa8, 0xd7, 0xd6, 0xb7, 0x63, - 0xbb, 0x5c, 0x70, 0xd4, 0x5b, 0x09, 0xbb, 0x48, 0x94, 0x0e, 0x42, 0xfe, 0x64, 0xa3, 0xeb, 0x45, - 0x2e, 0x28, 0x65, 0x3a, 0x95, 0x75, 0x88, 0x49, 0x77, 0x9d, 0x55, 0x0c, 0xa2, 0x27, 0xa1, 0x27, - 0xd2, 0x46, 0x62, 0xe2, 0xb4, 0x0f, 0x0a, 0xe8, 0xae, 0xbe, 0x3e, 0x8a, 0x97, 0xfa, 0x64, 0x0f, - 0xc7, 0x32, 0x64, 0x0e, 0x4d, 0x34, 0x61, 0xea, 0x8e, 0xcb, 0xcd, 0xbd, 0x6a, 0xb4, 0xfd, 0xdd, - 0xed, 0x6f, 0x6f, 0xd1, 0x71, 0x19, 0x8b, 0xd8, 0xc2, 0x96, 0xa3, 0x28, 0x44, 0x05, 0x65, 0x19, - 0x87, 0xbc, 0x30, 0x48, 0xcb, 0x38, 0xe6, 0xd5, 0x6e, 0x12, 0xa7, 0x67, 0x10, 0xf2, 0x3c, 0x1f, - 0xcb, 0x37, 0x02, 0x88, 0x05, 0xb5, 0x9b, 0xc4, 0xe9, 0x21, 0xeb, 0x3b, 0x29, 0x51, 0x55, 0xf3, - 0x47, 0x2e, 0x9d, 0x45, 0xde, 0x71, 0x2f, 0xc0, 0x9d, 0x9c, 0xef, 0x4f, 0x4a, 0x6e, 0x86, 0xa5, - 0xad, 0xa0, 0x89, 0x8b, 0x96, 0xe3, 0xd6, 0xd8, 0x96, 0xcc, 0xf6, 0x2d, 0x7c, 0x17, 0x2a, 0x80, - 0x73, 0xca, 0x93, 0xc8, 0x98, 0x54, 0xbb, 0xc0, 0x9c, 0x97, 0xb5, 0xf3, 0x6e, 0x7d, 0x5b, 0xfa, - 0x75, 0xd8, 0x0d, 0x7e, 0xc9, 0xda, 0xb5, 0x0b, 0x68, 0x54, 0xee, 0x8b, 0x51, 0xa0, 0x42, 0x7f, - 0xa0, 0x42, 0x02, 0xd0, 0x57, 0xf2, 0x80, 0x24, 0xb6, 0x91, 0x7d, 0xdc, 0x10, 0x5e, 0x56, 0x36, - 0x84, 0x73, 0x83, 0x6d, 0xb5, 0xa9, 0x1b, 0x40, 0x33, 0xb6, 0x01, 0x3c, 0x31, 0x20, 0x7e, 0xff, - 0x80, 0xff, 0x5e, 0x0e, 0x4d, 0xaa, 0x9b, 0x3e, 0x8b, 0x28, 0x6c, 0x0d, 0x19, 0x0d, 0x7a, 0x39, - 0x3c, 0xf0, 0x07, 0x11, 0xa5, 0x1e, 0x76, 0x91, 0x28, 0x1d, 0xa6, 0x01, 0x1b, 0x73, 0x07, 0x69, - 0x94, 0x4a, 0x8a, 0xd2, 0xec, 0xc5, 0xa5, 0x22, 0x5e, 0x5c, 0x40, 0x51, 0xf7, 0x0a, 0xac, 0x79, - 0x1b, 0xd2, 0xc1, 0x1e, 0x31, 0xdc, 0xb3, 0xa2, 0xb8, 0xda, 0xf7, 0x73, 0x68, 0x4c, 0x2a, 0x7c, - 0x10, 0x3b, 0xd2, 0x4b, 0xea, 0x8e, 0xf4, 0xe8, 0x80, 0xf9, 0x54, 0xf2, 0x0e, 0xf4, 0x7e, 0x38, - 0x16, 0x96, 0x41, 0xb1, 0x04, 0x6f, 0x03, 0x96, 0x53, 0x3c, 0xc1, 0x63, 0x4b, 0x8c, 0xf0, 0x1e, - 0xfc, 0x9f, 0x39, 0x34, 0x65, 0xc4, 0x72, 0x2e, 0x69, 0xea, 0xa7, 0x06, 0x53, 0x2d, 0x80, 0x09, - 0xdf, 0xa1, 0xe2, 0x3d, 0xa4, 0x47, 0xa4, 0xe6, 0xa1, 0x1e, 0x2a, 0xac, 0x83, 0xf6, 0xae, 0xdb, - 0x1d, 0x70, 0xaf, 0x4c, 0xca, 0x26, 0xab, 0x45, 0x3e, 0x7c, 0xe8, 0x21, 0x1c, 0x5a, 0x7b, 0x2f, - 0x1f, 0x18, 0xac, 0x2e, 0xd6, 0x48, 0x90, 0xef, 0xe6, 0xf6, 0x22, 0xdf, 0x1d, 0x4b, 0xca, 0x75, - 0x21, 0x82, 0x14, 0x5c, 0x73, 0xd0, 0xfb, 0x36, 0x29, 0x61, 0x75, 0xb9, 0x1e, 0xc6, 0x29, 0xf8, - 0x20, 0x0c, 0x12, 0xbf, 0x86, 0x86, 0xd9, 0x69, 0x82, 0x2d, 0xf1, 0xc2, 0xe0, 0x21, 0x84, 0xd9, - 0x2b, 0xf4, 0x30, 0xf6, 0x05, 0x1e, 0xc6, 0x71, 0x21, 0x4d, 0x9f, 0x50, 0xe2, 0x00, 0xbe, 0x8e, - 0xc6, 0x4d, 0x4b, 0x6f, 0x56, 0x75, 0x53, 0x87, 0x64, 0xc4, 0xbf, 0xf2, 0xff, 0xbb, 0xfe, 0x11, - 0x71, 0x39, 0xc2, 0x21, 0xe3, 0x49, 0xf0, 0x16, 0x18, 0xed, 0x23, 0x0a, 0xb6, 0xa6, 0x23, 0x14, - 0x8e, 0x1e, 0x9f, 0x44, 0xc3, 0xcc, 0x85, 0xc5, 0xc9, 0xa0, 0x54, 0x2d, 0x31, 0x5d, 0x99, 0x67, - 0x83, 0xae, 0xbc, 0x1d, 0x9f, 0x41, 0xc8, 0xa1, 0x0d, 0x9b, 0xba, 0x3c, 0xec, 0xf0, 0xcb, 0xaf, - 0x30, 0x00, 0xd7, 0x83, 0x1e, 0x12, 0xa1, 0xd2, 0xfe, 0x2f, 0x8f, 0x0a, 0xcf, 0x58, 0x6b, 0xfb, - 0x18, 0xe4, 0x5f, 0x50, 0x82, 0x7c, 0xd6, 0xf5, 0x0f, 0xba, 0xa5, 0x06, 0xf8, 0x7f, 0x8a, 0x05, - 0xf8, 0xb3, 0x03, 0x60, 0xf7, 0x0f, 0xee, 0x3f, 0x2e, 0xa0, 0x71, 0xa0, 0x9a, 0xb7, 0x3a, 0x4d, - 0x83, 0xa7, 0x42, 0x0f, 0x2b, 0x97, 0x04, 0x77, 0xc7, 0x2e, 0x09, 0xa6, 0xa2, 0xb4, 0x91, 0xeb, - 0x81, 0x6b, 0x81, 0xa2, 0x62, 0x52, 0xce, 0xab, 0xe2, 0x80, 0xb3, 0xef, 0xa3, 0x7d, 0x25, 0xc0, - 0x54, 0xd5, 0x83, 0xd3, 0x2a, 0xcf, 0xa1, 0x6a, 0xb6, 0xb5, 0x26, 0x12, 0xb3, 0x42, 0xf6, 0xc4, - 0xec, 0xa8, 0xd4, 0x85, 0x27, 0x67, 0x01, 0x12, 0x51, 0x81, 0xf1, 0x1b, 0x08, 0xb3, 0x86, 0x55, - 0x38, 0x5c, 0x3b, 0x62, 0x74, 0x4c, 0xdc, 0x50, 0x76, 0x71, 0xc1, 0xad, 0xd5, 0x72, 0x0f, 0x1c, - 0x49, 0x10, 0xc1, 0xee, 0x31, 0x6c, 0xaa, 0x3b, 0x90, 0xb7, 0x0e, 0x73, 0xd3, 0x85, 0xc7, 0x7d, - 0xde, 0x4a, 0x64, 0x2f, 0x7e, 0x10, 0x8d, 0xb6, 0x61, 0x9d, 0xb0, 0xfc, 0x6c, 0x84, 0x13, 0x06, - 0x27, 0xef, 0x15, 0xd1, 0x4c, 0xfc, 0x7e, 0xed, 0xdb, 0x39, 0x34, 0x0a, 0x13, 0x75, 0x10, 0x9b, - 0xdf, 0xf3, 0xea, 0xe6, 0x77, 0x26, 0xbb, 0x83, 0xa6, 0x6c, 0x7c, 0xdf, 0x2c, 0xf0, 0x31, 0xf0, - 0x18, 0x0e, 0x67, 0x9e, 0xae, 0x6e, 0xeb, 0xa6, 0x49, 0x4d, 0xc3, 0x69, 0xcb, 0xd4, 0x91, 0x9f, - 0x79, 0x6a, 0x61, 0x33, 0x89, 0xd2, 0x30, 0x96, 0x86, 0xd5, 0xee, 0x9a, 0xd4, 0x7f, 0x61, 0x08, - 0x58, 0xe6, 0xc3, 0x66, 0x12, 0xa5, 0xc1, 0x57, 0xd0, 0x51, 0xbd, 0xe1, 0x1a, 0x5b, 0x74, 0x81, - 0xea, 0x4d, 0xd3, 0xe8, 0x50, 0xff, 0x36, 0xb7, 0xc0, 0x53, 0xc8, 0xdb, 0x81, 0xf9, 0xe8, 0x5c, - 0x12, 0x01, 0x49, 0xe6, 0x53, 0xae, 0xd3, 0x87, 0xf6, 0xf1, 0x3a, 0xfd, 0x61, 0x34, 0xae, 0xc3, - 0xc9, 0xc8, 0xef, 0xe1, 0x7e, 0x54, 0xac, 0x4e, 0xb1, 0xd0, 0x3b, 0x17, 0x69, 0x27, 0x0a, 0x95, - 0x72, 0x09, 0x3f, 0xb2, 0xd7, 0xaf, 0xad, 0xdf, 0x2a, 0xa0, 0x52, 0x10, 0x7c, 0xb0, 0x85, 0x50, - 0xc3, 0x5f, 0xe0, 0xfe, 0xb5, 0xcf, 0xe3, 0xd9, 0x3d, 0x25, 0x08, 0x12, 0x61, 0x3c, 0x0e, 0x9a, - 0x1c, 0x12, 0x11, 0x01, 0x11, 0xb9, 0x04, 0x01, 0xc4, 0x76, 0x07, 0x3d, 0xcb, 0x4d, 0x00, 0x76, - 0xa9, 0xee, 0x23, 0x90, 0x10, 0x0c, 0xb7, 0xe0, 0x50, 0x1c, 0xf8, 0xcc, 0xa0, 0x11, 0x49, 0x1c, - 0x7e, 0x15, 0x18, 0x12, 0x83, 0x65, 0x61, 0x41, 0x78, 0x95, 0x3c, 0xe0, 0x05, 0x61, 0x41, 0xb8, - 0x20, 0x91, 0xbd, 0x78, 0x16, 0x86, 0xea, 0x35, 0x1a, 0x94, 0x36, 0x69, 0x53, 0x1e, 0xdc, 0x0e, - 0x4b, 0xd2, 0x52, 0xdd, 0xef, 0x20, 0x21, 0x0d, 0x03, 0x5e, 0xd7, 0x0d, 0xf6, 0x80, 0x3c, 0xa2, - 0x02, 0x2f, 0xf1, 0x56, 0x22, 0x7b, 0xb5, 0xdf, 0xe6, 0xd1, 0x84, 0xe2, 0x7f, 0xf8, 0x3f, 0x72, - 0xec, 0x22, 0xc1, 0x6d, 0x6c, 0xf0, 0x66, 0x7f, 0x22, 0x57, 0x76, 0xe3, 0xd3, 0x95, 0x95, 0x10, - 0x4f, 0x3c, 0xd5, 0x45, 0xee, 0x25, 0x82, 0x1e, 0x12, 0x15, 0x8b, 0xff, 0x1b, 0x12, 0x5c, 0xfe, - 0xbd, 0xb8, 0xdd, 0x65, 0x99, 0x43, 0xe4, 0x09, 0xf1, 0xc2, 0x6e, 0x74, 0x21, 0xf4, 0x75, 0x0f, - 0x4e, 0xca, 0xfc, 0x3e, 0x3a, 0x48, 0x74, 0x57, 0x62, 0x82, 0x48, 0x8f, 0xe8, 0x99, 0xf3, 0x68, - 0x2a, 0x3e, 0x8a, 0x4c, 0x4f, 0x76, 0x5f, 0xca, 0xa1, 0x72, 0x9a, 0x22, 0xec, 0x14, 0x1b, 0x00, - 0x85, 0xd9, 0xe1, 0xb3, 0x74, 0x47, 0xa0, 0x2e, 0xa2, 0xa2, 0xd5, 0x65, 0xb7, 0x18, 0xf2, 0xc5, - 0xae, 0x54, 0x7d, 0xd0, 0x5f, 0x95, 0x57, 0x64, 0x3b, 0xec, 0xbd, 0x47, 0x15, 0x78, 0xbf, 0x83, - 0x04, 0xac, 0x58, 0x43, 0x23, 0x5c, 0x1f, 0x91, 0x65, 0x96, 0xaa, 0x88, 0xf9, 0x03, 0xcf, 0xaf, - 0x61, 0x2b, 0x16, 0x3d, 0xbc, 0xce, 0xe5, 0x32, 0x75, 0xdf, 0xb0, 0xec, 0xcd, 0x9a, 0x65, 0x1a, - 0x8d, 0x9d, 0x7d, 0xcc, 0xa8, 0xd6, 0x94, 0x8c, 0xea, 0xe9, 0x8c, 0xb3, 0xaa, 0x68, 0x99, 0x96, - 0x5b, 0x69, 0xbf, 0x01, 0xb3, 0x2b, 0x94, 0xd1, 0x63, 0x16, 0x45, 0xc3, 0xec, 0xf1, 0xc0, 0xf7, - 0xf1, 0x5d, 0x69, 0xc0, 0xce, 0xa4, 0x91, 0x5b, 0x6a, 0x06, 0x4b, 0x04, 0x3a, 0x1b, 0xe7, 0xba, - 0x6d, 0xb5, 0xa5, 0xf7, 0xee, 0x4e, 0x0a, 0xa5, 0x76, 0x38, 0xce, 0x25, 0x40, 0x25, 0x1c, 0x5b, - 0xfb, 0x69, 0x0e, 0x1d, 0x56, 0x28, 0x0f, 0x22, 0x2d, 0xd0, 0xd5, 0xb4, 0xe0, 0x89, 0xdd, 0x8c, - 0x2c, 0x25, 0x41, 0xf8, 0xaf, 0x7c, 0x6c, 0x5c, 0xcc, 0x02, 0xb0, 0xd5, 0x8c, 0x75, 0xad, 0x66, - 0x7d, 0x2f, 0xcb, 0x95, 0x44, 0xa2, 0x11, 0x82, 0x92, 0xa8, 0x04, 0xfc, 0x6f, 0x60, 0x5e, 0x56, - 0xdb, 0xe0, 0x74, 0xf5, 0x06, 0xad, 0xef, 0xe5, 0xeb, 0xf9, 0x51, 0xf6, 0x7c, 0x78, 0x39, 0x0e, - 0x4d, 0x7a, 0xa5, 0x69, 0xdf, 0x88, 0x4f, 0x31, 0x73, 0x32, 0xfc, 0x1c, 0x2a, 0xf2, 0xfa, 0xd4, - 0x86, 0x65, 0xca, 0xf8, 0xf1, 0x08, 0x9b, 0xad, 0x9a, 0x6c, 0x83, 0xb8, 0xf0, 0x37, 0x7d, 0x73, - 0x72, 0x9f, 0x90, 0x04, 0x30, 0x78, 0x19, 0x0d, 0x75, 0x07, 0xbf, 0xb9, 0xe1, 0x47, 0x75, 0x7e, - 0x5d, 0xc3, 0x51, 0xb4, 0x3f, 0xc4, 0xd5, 0xe6, 0xc9, 0x9e, 0xb3, 0xf7, 0x33, 0x18, 0xec, 0x29, - 0xa9, 0xb3, 0x68, 0xa3, 0x51, 0x79, 0x81, 0x31, 0xe0, 0x4e, 0x92, 0x16, 0x49, 0xc2, 0x2c, 0xdd, - 0x6f, 0xf4, 0x05, 0xf1, 0x85, 0xc9, 0x15, 0x6a, 0x78, 0xb6, 0xe1, 0xee, 0xec, 0x7b, 0x50, 0x5d, - 0x57, 0x82, 0xea, 0x42, 0xc6, 0x01, 0xf6, 0x68, 0x9a, 0x1a, 0x58, 0x7f, 0x99, 0x43, 0x47, 0x7b, - 0xa8, 0x0f, 0x22, 0xe8, 0x50, 0x35, 0xe8, 0x3c, 0xbd, 0xdb, 0x11, 0xa6, 0x04, 0x9e, 0x1b, 0x28, - 0x61, 0x7c, 0xdc, 0x75, 0xcf, 0x20, 0xd4, 0xb5, 0x8d, 0x2d, 0x48, 0x9f, 0x5a, 0xb2, 0x86, 0xb0, - 0x18, 0xce, 0x49, 0x2d, 0xe8, 0x21, 0x11, 0x2a, 0xfc, 0x2f, 0xac, 0xbe, 0x6f, 0x5d, 0xf7, 0x4c, - 0x77, 0xae, 0xd9, 0x9c, 0xd7, 0xbb, 0xfa, 0x9a, 0x61, 0x42, 0x16, 0x2b, 0x5f, 0x8d, 0x4b, 0xd5, - 0x45, 0x51, 0xdb, 0x97, 0x44, 0x01, 0x2b, 0xf8, 0xfe, 0xfe, 0xa7, 0x6a, 0x9f, 0x78, 0x87, 0xa4, - 0x08, 0xc1, 0xff, 0x0e, 0xbb, 0xa0, 0x2d, 0xf2, 0x8d, 0xe6, 0x82, 0x6d, 0x75, 0x15, 0x0d, 0x44, - 0x32, 0x70, 0x01, 0x34, 0x28, 0x93, 0x14, 0x9a, 0x2c, 0x3a, 0xa4, 0x0a, 0xc2, 0x2e, 0x3a, 0x02, - 0x27, 0x37, 0xeb, 0x0d, 0xaa, 0x5a, 0x60, 0x88, 0xcb, 0xaf, 0xb2, 0xda, 0x87, 0xb9, 0xde, 0xee, - 0x2c, 0xa2, 0x93, 0xe0, 0x21, 0x75, 0x1e, 0xdd, 0xb2, 0x4c, 0x0f, 0xa2, 0x29, 0x24, 0xce, 0x4c, - 0x12, 0x8b, 0xb8, 0xa3, 0xd7, 0x44, 0xd3, 0xe7, 0x2c, 0x23, 0xae, 0xf3, 0x2b, 0x0e, 0x9f, 0x8a, - 0x5d, 0x7b, 0xb3, 0x7b, 0x28, 0xb9, 0xd6, 0x79, 0xfe, 0x5c, 0x0c, 0x83, 0xcb, 0xc5, 0xb0, 0x8b, - 0x44, 0xe9, 0x70, 0x1b, 0x95, 0x36, 0xe4, 0x13, 0x88, 0x53, 0x1e, 0x1d, 0x68, 0x43, 0x54, 0x9e, - 0x50, 0xc2, 0x04, 0xdf, 0x6f, 0x76, 0x48, 0x28, 0x81, 0x5d, 0x14, 0xf0, 0x8f, 0x4b, 0x0b, 0xbc, - 0xa6, 0xa7, 0x18, 0x86, 0xa0, 0x8b, 0xa2, 0x99, 0xf8, 0xfd, 0x3e, 0xe9, 0xa5, 0xda, 0x7c, 0xb9, - 0xd4, 0x4b, 0x0a, 0xcd, 0xc4, 0xef, 0xc7, 0x5d, 0x34, 0xea, 0xd0, 0x65, 0xa3, 0xe3, 0x6d, 0x97, - 0x11, 0x5f, 0xba, 0x8b, 0x59, 0x5f, 0x3a, 0x17, 0x39, 0x77, 0xac, 0xbc, 0x22, 0x94, 0x28, 0xfb, - 0x89, 0x2f, 0x06, 0x6f, 0xa3, 0x92, 0xed, 0x75, 0xe6, 0x9c, 0xab, 0x0e, 0xb5, 0xcb, 0x63, 0x5c, - 0x66, 0xd6, 0xa8, 0x4c, 0x7c, 0xfe, 0xb8, 0xd4, 0xc0, 0x82, 0x01, 0x05, 0x09, 0x85, 0xe1, 0xff, - 0xcf, 0x21, 0xec, 0x78, 0x5d, 0x38, 0x8e, 0xb1, 0x1c, 0x5c, 0x37, 0x79, 0x85, 0x87, 0x53, 0x1e, - 0xe7, 0x3a, 0xd4, 0x32, 0xbf, 0xf0, 0xc6, 0x81, 0xe2, 0xca, 0x04, 0x37, 0x46, 0xbd, 0xa4, 0x24, - 0x41, 0x0f, 0x36, 0x15, 0xeb, 0x0e, 0xff, 0x7f, 0x79, 0x62, 0xa0, 0xa9, 0x48, 0xae, 0x74, 0x09, - 0xa7, 0x42, 0xf6, 0x13, 0x5f, 0x0c, 0x2b, 0x42, 0xb6, 0xa9, 0xde, 0xbc, 0xd2, 0x31, 0x77, 0x88, - 0x65, 0xb9, 0x4b, 0x10, 0xbb, 0x9c, 0x1d, 0x07, 0xa2, 0x61, 0x79, 0x92, 0xbb, 0x4d, 0x50, 0x84, - 0x4c, 0x12, 0xa9, 0x48, 0x0a, 0x37, 0xaf, 0x26, 0x96, 0x0f, 0x93, 0xfb, 0xfb, 0x63, 0x83, 0xdd, - 0x55, 0x13, 0x87, 0x2a, 0xee, 0x5b, 0x35, 0x71, 0x44, 0x44, 0xff, 0x0b, 0xdb, 0x4f, 0x0a, 0xe8, - 0x48, 0x48, 0x1c, 0xde, 0xdb, 0x3e, 0xae, 0xdc, 0xdb, 0xde, 0x1f, 0xbb, 0xb7, 0x3d, 0x9e, 0xc0, - 0xf2, 0xd7, 0xeb, 0xdb, 0x3f, 0xd1, 0xeb, 0x5b, 0x56, 0x30, 0x1e, 0xce, 0xd7, 0x9f, 0x41, 0xc1, - 0x78, 0xa8, 0x6c, 0x4a, 0xca, 0xf4, 0x41, 0x3e, 0x3a, 0xa2, 0xbf, 0xc4, 0xaa, 0xe4, 0x84, 0x22, - 0xe1, 0xa1, 0x6c, 0x45, 0xc2, 0xda, 0x2f, 0x0a, 0x68, 0x2a, 0x1e, 0x26, 0x94, 0x9a, 0xd7, 0xdc, - 0x4d, 0x6b, 0x5e, 0x6b, 0x68, 0x7a, 0xdd, 0x33, 0xcd, 0x1d, 0x6e, 0x90, 0x48, 0x0d, 0x89, 0xb8, - 0x1e, 0xbf, 0x53, 0x72, 0x4e, 0x2f, 0x25, 0xd0, 0x90, 0x44, 0xce, 0x94, 0xfa, 0xdd, 0xc2, 0x40, - 0xf5, 0xbb, 0x8f, 0xa3, 0x09, 0x9b, 0xff, 0xe2, 0x44, 0x2d, 0x6d, 0x09, 0x02, 0x00, 0x89, 0x76, - 0x12, 0x95, 0x36, 0xb9, 0x16, 0x77, 0x78, 0x80, 0x5a, 0xdc, 0x2d, 0xe5, 0xb2, 0x7a, 0x84, 0x2f, - 0x88, 0xea, 0xc0, 0x0b, 0xe2, 0x96, 0xef, 0xac, 0xb5, 0x3b, 0xd1, 0x8c, 0x64, 0x63, 0xdf, 0x40, - 0xe4, 0xb2, 0x02, 0x58, 0x6a, 0x2f, 0x78, 0xed, 0xf6, 0x8e, 0x76, 0x1e, 0x16, 0x90, 0x52, 0x6a, - 0x2d, 0x66, 0x5e, 0x54, 0x7f, 0xcb, 0x1a, 0x98, 0xc8, 0xcc, 0x8b, 0x76, 0x12, 0x50, 0x68, 0x1f, - 0xe7, 0xd0, 0xf1, 0x94, 0xe2, 0x5b, 0x7c, 0x1d, 0x4d, 0xb6, 0xf5, 0xed, 0x48, 0x75, 0xb1, 0x0c, - 0x31, 0x59, 0xcf, 0xf7, 0xfc, 0x5a, 0x7b, 0x45, 0x41, 0x22, 0x31, 0x64, 0xbe, 0xc5, 0xeb, 0xdb, - 0x75, 0xcf, 0x6e, 0xd1, 0x01, 0x6f, 0x11, 0xf8, 0xf2, 0x5d, 0x91, 0x18, 0x24, 0x40, 0x63, 0x25, - 0xbc, 0xe5, 0xb4, 0x7c, 0x0f, 0x32, 0xf7, 0x68, 0x11, 0xef, 0x3d, 0xb1, 0x22, 0xde, 0xc3, 0x3d, - 0x7c, 0x07, 0x54, 0xc2, 0xfb, 0x7e, 0x0e, 0x1d, 0x4b, 0xce, 0x8b, 0xf1, 0xdf, 0x2b, 0x1a, 0x9f, - 0x8c, 0x69, 0x7c, 0x28, 0xc6, 0x25, 0xf5, 0xdd, 0x40, 0x93, 0x32, 0x7b, 0x96, 0x30, 0xb7, 0xf0, - 0x03, 0xd5, 0xad, 0x20, 0x35, 0xf7, 0xf3, 0x40, 0x3e, 0x8f, 0x6a, 0x1b, 0x89, 0xe1, 0x6a, 0x5f, - 0xcc, 0xa3, 0x61, 0x5e, 0xd9, 0xb6, 0x8f, 0x49, 0xdb, 0x8b, 0x4a, 0xd2, 0x96, 0xf5, 0xed, 0x9b, - 0x6b, 0x97, 0x9a, 0xaf, 0xad, 0xc5, 0xf2, 0xb5, 0x73, 0x03, 0xa1, 0xf7, 0x4f, 0xd5, 0x1e, 0x43, - 0xa5, 0x40, 0x89, 0x6c, 0x81, 0x9a, 0x25, 0xc6, 0x63, 0x11, 0x11, 0x19, 0xc3, 0xfc, 0x96, 0xb2, - 0x63, 0x0e, 0xf2, 0x4b, 0xea, 0x88, 0xec, 0x8a, 0xbf, 0x55, 0x8a, 0xf7, 0x99, 0xb0, 0x36, 0xb5, - 0x77, 0x07, 0x85, 0x20, 0x25, 0x7e, 0x8e, 0x1e, 0xdc, 0xde, 0x15, 0xb8, 0xf7, 0x1e, 0x93, 0x3c, - 0x93, 0xab, 0x4a, 0x2f, 0x89, 0x51, 0xcf, 0xc0, 0x06, 0xa0, 0x08, 0xcb, 0xf4, 0x8c, 0xf2, 0xdd, - 0x1c, 0x9a, 0x4e, 0xaa, 0xa6, 0x65, 0x25, 0x53, 0x9b, 0x86, 0x2c, 0xff, 0x89, 0x94, 0x4c, 0x3d, - 0x0b, 0x6d, 0x84, 0xf7, 0x04, 0x3f, 0x5c, 0xcb, 0xa7, 0xfe, 0x70, 0xed, 0x0c, 0x42, 0x60, 0x2a, - 0xf9, 0x13, 0x7f, 0x39, 0xaa, 0xc0, 0x79, 0xc3, 0x1f, 0xff, 0x93, 0x08, 0x15, 0x2f, 0x92, 0x0b, - 0xf5, 0xe1, 0x9b, 0x59, 0xb4, 0x48, 0x2e, 0xa2, 0x6a, 0x94, 0x4e, 0xfb, 0x5e, 0x0e, 0xdd, 0x73, - 0xd3, 0x33, 0x23, 0xae, 0x2a, 0xe1, 0xa1, 0x12, 0x0b, 0x0f, 0x27, 0xd2, 0x01, 0x0e, 0xf0, 0x07, - 0x0a, 0x6f, 0xe7, 0x11, 0x5e, 0xdd, 0x30, 0xec, 0x66, 0x4d, 0xb7, 0x5d, 0xd8, 0xa9, 0xc5, 0x00, - 0xf7, 0x31, 0x60, 0x80, 0xc5, 0x9b, 0xd4, 0x69, 0xd8, 0x06, 0x37, 0x92, 0x9c, 0xce, 0xc0, 0xe2, - 0x0b, 0x61, 0x17, 0x89, 0xd2, 0xc1, 0xd9, 0xad, 0x28, 0xf3, 0x65, 0xbf, 0xca, 0x2a, 0x6b, 0x02, - 0x1c, 0x7a, 0x40, 0xb8, 0x3e, 0x64, 0x03, 0xac, 0x4b, 0x1f, 0x5c, 0x7b, 0x07, 0xc2, 0x7d, 0xaf, - 0x41, 0x16, 0x44, 0x0d, 0xd1, 0x7e, 0x19, 0xe5, 0x4e, 0x34, 0xc4, 0x51, 0x99, 0x35, 0xc6, 0xc5, - 0x1d, 0x3c, 0x93, 0x48, 0x78, 0xab, 0xf6, 0x59, 0x0e, 0xcd, 0x24, 0xab, 0x74, 0x10, 0xe7, 0x8e, - 0xeb, 0xea, 0xb9, 0x23, 0xeb, 0x3d, 0x46, 0xb2, 0xe2, 0x29, 0x67, 0x90, 0x8f, 0x13, 0x8d, 0x7f, - 0x10, 0xa3, 0x5c, 0x57, 0x47, 0x39, 0xb7, 0xeb, 0x51, 0x26, 0x8f, 0xb0, 0xfa, 0xe0, 0x8d, 0x5f, - 0x9d, 0xb8, 0xed, 0x43, 0xf8, 0xfb, 0x39, 0xfc, 0xbd, 0xf5, 0xe9, 0x89, 0xdc, 0x0d, 0xf8, 0xfb, - 0x10, 0xfe, 0x3e, 0x81, 0xbf, 0x77, 0x7e, 0x7d, 0xe2, 0xb6, 0x17, 0x47, 0x25, 0xe6, 0x1f, 0x03, - 0x00, 0x00, 0xff, 0xff, 0x3c, 0x85, 0xb5, 0xb9, 0x4b, 0x46, 0x00, 0x00, + // 3908 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5b, 0x5d, 0x6c, 0x24, 0xd9, + 0x55, 0x9e, 0xea, 0x76, 0xdb, 0xed, 0xd3, 0x63, 0x8f, 0xe7, 0x8e, 0xc7, 0xd3, 0xeb, 0xdd, 0x75, + 0x4f, 0x6a, 0xc5, 0x66, 0x22, 0x76, 0xdb, 0xcc, 0xb0, 0x13, 0x36, 0xbb, 0x9b, 0x4d, 0xdc, 0xf6, + 0xfc, 0x62, 0xcf, 0x74, 0x6e, 0xdb, 0x93, 0x21, 0xd9, 0x6c, 0xa8, 0xee, 0xba, 0x6e, 0xd7, 0xba, + 0xfe, 0xb6, 0xea, 0x96, 0xd7, 0x9d, 0x08, 0x25, 0x12, 0xe2, 0x35, 0xe4, 0x0d, 0x24, 0xe0, 0x81, + 0x07, 0xc4, 0x13, 0x11, 0x11, 0x48, 0x91, 0x78, 0x02, 0x04, 0x62, 0x91, 0x40, 0x04, 0x24, 0x04, + 0x0f, 0xd0, 0xcb, 0x3a, 0x42, 0x11, 0xef, 0x08, 0xa4, 0xe1, 0x05, 0xdd, 0x5b, 0xb7, 0x7e, 0xbb, + 0xaa, 0xc7, 0xd5, 0xfe, 0x91, 0x10, 0x6f, 0xdd, 0xf7, 0x9e, 0xf3, 0x9d, 0x73, 0x4f, 0x9d, 0x3a, + 0xe7, 0xdc, 0x7b, 0x4f, 0xc1, 0x17, 0xf7, 0xdf, 0x74, 0x9b, 0x9a, 0xb5, 0xba, 0xef, 0x75, 0x89, + 0x63, 0x12, 0x4a, 0xdc, 0x55, 0x7b, 0xbf, 0xbf, 0xaa, 0xd8, 0x9a, 0xbb, 0x4a, 0x0e, 0x29, 0x31, + 0x5d, 0xcd, 0x32, 0xdd, 0xd5, 0x83, 0x9b, 0x5d, 0x42, 0x95, 0x9b, 0xab, 0x7d, 0x62, 0x12, 0x47, + 0xa1, 0x44, 0x6d, 0xda, 0x8e, 0x45, 0x2d, 0xf4, 0xba, 0xcf, 0xde, 0x8c, 0xd8, 0x9b, 0xf6, 0x7e, + 0xbf, 0xc9, 0xd8, 0x9b, 0x11, 0x7b, 0x53, 0xb0, 0x2f, 0xbf, 0xde, 0xd7, 0xe8, 0x9e, 0xd7, 0x6d, + 0xf6, 0x2c, 0x63, 0xb5, 0x6f, 0xf5, 0xad, 0x55, 0x8e, 0xd2, 0xf5, 0x76, 0xf9, 0x3f, 0xfe, 0x87, + 0xff, 0xf2, 0xd1, 0x97, 0x6f, 0xe5, 0x2a, 0xb7, 0xea, 0x10, 0xd7, 0xf2, 0x9c, 0x1e, 0x49, 0x6b, + 0xb4, 0x7c, 0x3b, 0x9f, 0xc7, 0x33, 0x0f, 0x88, 0xc3, 0x14, 0x22, 0xea, 0x08, 0xdb, 0x6b, 0xf9, + 0x6c, 0x07, 0x23, 0xcb, 0x5e, 0x7e, 0x3d, 0x9b, 0xda, 0xf1, 0x4c, 0xaa, 0x19, 0xa3, 0x3a, 0xdd, + 0xcc, 0x26, 0xf7, 0xa8, 0xa6, 0xaf, 0x6a, 0x26, 0x75, 0xa9, 0x93, 0x66, 0x91, 0x9b, 0x00, 0x6b, + 0xed, 0x07, 0x4f, 0x7c, 0x7d, 0xd1, 0x75, 0x98, 0x32, 0x15, 0x83, 0xd4, 0xa5, 0xeb, 0xd2, 0x8d, + 0xd9, 0xd6, 0xc5, 0x8f, 0x87, 0x8d, 0x0b, 0x47, 0xc3, 0xc6, 0xd4, 0x23, 0xc5, 0x20, 0x98, 0xcf, + 0xc8, 0xef, 0xc1, 0xe2, 0x7a, 0x7b, 0x67, 0x5b, 0x71, 0xfa, 0x84, 0xee, 0x50, 0x4d, 0xd7, 0xbe, + 0xa5, 0x50, 0xc6, 0xb9, 0x01, 0x0b, 0x94, 0x0f, 0xb6, 0x89, 0xd3, 0x23, 0x26, 0x55, 0xfa, 0x3e, + 0x4a, 0xa5, 0x55, 0x17, 0x28, 0x0b, 0xdb, 0xa9, 0x79, 0x3c, 0xc2, 0x21, 0xff, 0x86, 0x04, 0x2f, + 0xac, 0x7b, 0x2e, 0xb5, 0x8c, 0x2d, 0x42, 0x1d, 0xad, 0xb7, 0xee, 0x39, 0x0e, 0x31, 0x69, 0x87, + 0x2a, 0xd4, 0x73, 0x9f, 0xaf, 0x1d, 0x7a, 0x0a, 0x95, 0x03, 0x45, 0xf7, 0x48, 0xbd, 0x74, 0x5d, + 0xba, 0x51, 0xbb, 0xf5, 0x5a, 0x33, 0xd7, 0x6d, 0x9a, 0xc1, 0x83, 0x6d, 0x7e, 0xc5, 0x53, 0x4c, + 0xaa, 0xd1, 0x41, 0x6b, 0x51, 0x00, 0x5e, 0x14, 0x52, 0x9f, 0x30, 0x24, 0xec, 0x03, 0xca, 0xdf, + 0x93, 0xe0, 0xe5, 0x5c, 0xcd, 0x36, 0x35, 0x97, 0x22, 0x03, 0x2a, 0x1a, 0x25, 0x86, 0x5b, 0x97, + 0xae, 0x97, 0x6f, 0xd4, 0x6e, 0xdd, 0x6f, 0x16, 0x72, 0xd9, 0x66, 0x2e, 0x78, 0x6b, 0x4e, 0xe8, + 0x55, 0x79, 0xc0, 0xe0, 0xb1, 0x2f, 0x45, 0xfe, 0x75, 0x09, 0x50, 0x9c, 0xc7, 0xb7, 0xee, 0x31, + 0x6c, 0xf4, 0xd5, 0x93, 0xd8, 0xe8, 0x8a, 0x00, 0xac, 0xf9, 0xe2, 0x12, 0x26, 0xfa, 0xae, 0x04, + 0x4b, 0xa3, 0x1a, 0x71, 0xdb, 0xec, 0x26, 0x6d, 0xb3, 0x76, 0x02, 0xdb, 0xf8, 0xa8, 0x39, 0x46, + 0xf9, 0x83, 0x12, 0xcc, 0x6e, 0x28, 0xc4, 0xb0, 0xcc, 0x0e, 0xa1, 0xe8, 0x29, 0x54, 0x0d, 0x42, + 0x15, 0x55, 0xa1, 0x0a, 0xb7, 0x47, 0xed, 0xd6, 0x8d, 0x31, 0x8b, 0x3d, 0xb8, 0xd9, 0x7c, 0xdc, + 0xfd, 0x80, 0xf4, 0xe8, 0x16, 0xa1, 0x4a, 0x0b, 0x09, 0x7c, 0x88, 0xc6, 0x70, 0x88, 0x86, 0xde, + 0x87, 0x29, 0xd7, 0x26, 0x3d, 0x61, 0xc2, 0x77, 0x0a, 0x2e, 0x27, 0xd4, 0xb0, 0x63, 0x93, 0x5e, + 0xf4, 0x8c, 0xd8, 0x3f, 0xcc, 0x71, 0xd1, 0x2e, 0x4c, 0xbb, 0xfc, 0xe1, 0xd7, 0xcb, 0x5c, 0xc2, + 0xbb, 0x13, 0x4b, 0xf0, 0x5d, 0x68, 0x5e, 0xc8, 0x98, 0xf6, 0xff, 0x63, 0x81, 0x2e, 0xff, 0xad, + 0x04, 0x73, 0x21, 0x2d, 0x7f, 0x52, 0xdf, 0x18, 0xb1, 0xd9, 0xea, 0x18, 0x9b, 0xc5, 0x22, 0x5d, + 0x93, 0xb1, 0x73, 0xd3, 0x2d, 0x08, 0x61, 0xd5, 0x60, 0x24, 0x66, 0xb8, 0x6f, 0x04, 0x8e, 0x50, + 0xe2, 0x8e, 0xf0, 0xe6, 0xa4, 0xeb, 0xca, 0x79, 0xfe, 0x7f, 0x13, 0x5f, 0x0f, 0xb3, 0x27, 0x7a, + 0x1f, 0xaa, 0x2e, 0xd1, 0x49, 0x8f, 0x5a, 0x8e, 0x58, 0xcf, 0x1b, 0xc7, 0x5d, 0x8f, 0xd2, 0x25, + 0x7a, 0x47, 0xf0, 0xb6, 0x2e, 0xb2, 0x05, 0x05, 0xff, 0x70, 0x88, 0x89, 0xbe, 0x0e, 0x55, 0x4a, + 0x0c, 0x5b, 0x57, 0x68, 0xf0, 0x42, 0xbd, 0x3e, 0xde, 0xc7, 0xda, 0x96, 0xba, 0x2d, 0x18, 0xf8, + 0xe3, 0x0f, 0xad, 0x15, 0x8c, 0xe2, 0x10, 0x50, 0xfe, 0x8b, 0x12, 0x5c, 0x4a, 0x3d, 0x4a, 0xf4, + 0x04, 0x96, 0x7a, 0x7e, 0x78, 0x78, 0xe4, 0x19, 0x5d, 0xe2, 0x74, 0x7a, 0x7b, 0x44, 0xf5, 0x74, + 0xa2, 0x8a, 0x70, 0xbb, 0x22, 0xf0, 0x96, 0xd6, 0x33, 0xa9, 0x70, 0x0e, 0x37, 0x7a, 0x08, 0xc8, + 0xe4, 0x43, 0x5b, 0x9a, 0xeb, 0x86, 0x98, 0x25, 0x8e, 0xb9, 0x2c, 0x30, 0xd1, 0xa3, 0x11, 0x0a, + 0x9c, 0xc1, 0xc5, 0x74, 0x54, 0x89, 0xab, 0x39, 0x44, 0x4d, 0xeb, 0x58, 0x4e, 0xea, 0xb8, 0x91, + 0x49, 0x85, 0x73, 0xb8, 0xd1, 0x6d, 0xa8, 0xf9, 0xd2, 0x30, 0x51, 0xd4, 0x41, 0x7d, 0x8a, 0x83, + 0x85, 0x21, 0xe9, 0x51, 0x34, 0x85, 0xe3, 0x74, 0xf2, 0x1f, 0x96, 0x00, 0x36, 0x88, 0xad, 0x5b, + 0x03, 0x83, 0x98, 0x67, 0x19, 0x16, 0xbe, 0x99, 0x08, 0x0b, 0x5f, 0x2c, 0xea, 0xdc, 0xa1, 0x8a, + 0xb9, 0x71, 0xa1, 0x9f, 0x8a, 0x0b, 0x5f, 0x9a, 0x5c, 0xc4, 0xf8, 0xc0, 0xf0, 0x93, 0x32, 0x5c, + 0x89, 0x88, 0xd7, 0x2d, 0x53, 0xd5, 0x78, 0x9a, 0x7f, 0x1b, 0xa6, 0xe8, 0xc0, 0x0e, 0xd2, 0xcb, + 0x67, 0x03, 0x15, 0xb7, 0x07, 0x36, 0x79, 0x36, 0x6c, 0x5c, 0xcb, 0x60, 0x61, 0x53, 0x98, 0x33, + 0xa1, 0x27, 0xa1, 0xf6, 0x25, 0xce, 0xfe, 0x6e, 0x52, 0xf8, 0xb3, 0x61, 0x63, 0x6c, 0x75, 0xd4, + 0x0c, 0x31, 0x93, 0xca, 0xa2, 0x57, 0x61, 0xda, 0x21, 0x8a, 0x6b, 0x99, 0xdc, 0x23, 0x66, 0xa3, + 0x45, 0x61, 0x3e, 0x8a, 0xc5, 0x2c, 0xfa, 0x1c, 0xcc, 0x18, 0xc4, 0x75, 0x59, 0x69, 0x52, 0xe1, + 0x84, 0x97, 0x04, 0xe1, 0xcc, 0x96, 0x3f, 0x8c, 0x83, 0x79, 0xb4, 0x0f, 0xf3, 0xba, 0xe2, 0xd2, + 0x1d, 0x5b, 0x55, 0x28, 0xd9, 0xd6, 0x0c, 0x52, 0x9f, 0xe6, 0x06, 0xff, 0xd9, 0x63, 0x06, 0x0f, + 0xc6, 0xd2, 0x5a, 0x12, 0xf0, 0xf3, 0x9b, 0x09, 0x28, 0x9c, 0x82, 0x46, 0x1f, 0x01, 0x62, 0x23, + 0xdb, 0x8e, 0x62, 0xba, 0xbe, 0xcd, 0x98, 0xc0, 0x99, 0xe2, 0x02, 0xc3, 0xf7, 0x74, 0x73, 0x04, + 0x0e, 0x67, 0x88, 0x90, 0xff, 0x4e, 0x82, 0xf9, 0xe8, 0x91, 0x9d, 0x47, 0xfc, 0x7f, 0x3f, 0x19, + 0xff, 0xbf, 0x30, 0xb1, 0xff, 0xe6, 0x24, 0x80, 0xdf, 0x2c, 0x03, 0x8a, 0x88, 0xb0, 0xa5, 0xeb, + 0x5d, 0xa5, 0xb7, 0x7f, 0x8c, 0xaa, 0xe8, 0xf7, 0x24, 0x40, 0x1e, 0x7f, 0x24, 0xea, 0x9a, 0x69, + 0x5a, 0x94, 0x57, 0xb5, 0x81, 0x9a, 0xbf, 0x34, 0xb1, 0x9a, 0x81, 0x06, 0xcd, 0x9d, 0x11, 0xec, + 0x3b, 0x26, 0x75, 0x06, 0xd1, 0x23, 0x1b, 0x25, 0xc0, 0x19, 0x0a, 0xa1, 0x0f, 0x01, 0x1c, 0x81, + 0xb9, 0x6d, 0x89, 0x28, 0x50, 0x34, 0xd0, 0x04, 0x4a, 0xad, 0x5b, 0xe6, 0xae, 0xd6, 0x8f, 0x62, + 0x1a, 0x0e, 0x81, 0x71, 0x4c, 0xc8, 0xf2, 0x1d, 0xb8, 0x96, 0xa3, 0x3d, 0x5a, 0x80, 0xf2, 0x3e, + 0x19, 0xf8, 0x66, 0xc5, 0xec, 0x27, 0x5a, 0x8c, 0x57, 0x97, 0xb3, 0xa2, 0x34, 0x7c, 0xab, 0xf4, + 0xa6, 0x24, 0xff, 0xb4, 0x12, 0x77, 0x36, 0x9e, 0x9c, 0x6f, 0x40, 0xd5, 0x21, 0xb6, 0xae, 0xf5, + 0x14, 0x57, 0x64, 0x2f, 0x9e, 0x66, 0xb1, 0x18, 0xc3, 0xe1, 0x6c, 0x22, 0x8d, 0x97, 0xce, 0x38, + 0x8d, 0x97, 0x4f, 0x39, 0x8d, 0x23, 0x0b, 0xaa, 0x2e, 0x65, 0x9b, 0xae, 0xbe, 0x9f, 0xb3, 0x8a, + 0x17, 0xc0, 0xf1, 0xb8, 0xed, 0x03, 0x45, 0x02, 0x83, 0x11, 0x1c, 0x0a, 0x41, 0x6b, 0x70, 0xc9, + 0xd0, 0x4c, 0x9e, 0xfc, 0x3a, 0xa4, 0x67, 0x99, 0xaa, 0xcb, 0x03, 0x5e, 0xa5, 0x75, 0x4d, 0x30, + 0x5d, 0xda, 0x4a, 0x4e, 0xe3, 0x34, 0x3d, 0xda, 0x84, 0x45, 0x87, 0x1c, 0x68, 0x4c, 0x8d, 0xfb, + 0x9a, 0x4b, 0x2d, 0x67, 0xb0, 0xa9, 0x19, 0x1a, 0xe5, 0x61, 0xb0, 0xd2, 0xaa, 0x1f, 0x0d, 0x1b, + 0x8b, 0x38, 0x63, 0x1e, 0x67, 0x72, 0xb1, 0x08, 0x6d, 0x2b, 0x9e, 0x4b, 0x54, 0x1e, 0xd5, 0xaa, + 0x51, 0x84, 0x6e, 0xf3, 0x51, 0x2c, 0x66, 0x91, 0x91, 0xf0, 0xee, 0xea, 0x69, 0x78, 0xf7, 0x7c, + 0xbe, 0x67, 0xa3, 0x1d, 0xb8, 0x66, 0x3b, 0x56, 0xdf, 0x21, 0xae, 0xbb, 0x41, 0x14, 0x55, 0xd7, + 0x4c, 0x12, 0xd8, 0x6b, 0x96, 0xaf, 0xf3, 0xc5, 0xa3, 0x61, 0xe3, 0x5a, 0x3b, 0x9b, 0x04, 0xe7, + 0xf1, 0xca, 0x9f, 0x94, 0x61, 0x21, 0x9d, 0x69, 0x59, 0x7d, 0x65, 0x75, 0x5d, 0xe2, 0x1c, 0x10, + 0xf5, 0x9e, 0xbf, 0x07, 0xd7, 0x2c, 0x93, 0x7b, 0x7d, 0x39, 0x0a, 0x02, 0x8f, 0x47, 0x28, 0x70, + 0x06, 0x17, 0x7a, 0x2d, 0xf6, 0xde, 0xf8, 0x15, 0x5a, 0xe8, 0x0d, 0x19, 0xef, 0xce, 0x1a, 0x5c, + 0x12, 0x81, 0x24, 0x98, 0x14, 0x65, 0x58, 0xe8, 0x0d, 0x3b, 0xc9, 0x69, 0x9c, 0xa6, 0x47, 0xf7, + 0xe0, 0xb2, 0x72, 0xa0, 0x68, 0xba, 0xd2, 0xd5, 0x49, 0x08, 0xe2, 0x97, 0x5f, 0x2f, 0x08, 0x90, + 0xcb, 0x6b, 0x69, 0x02, 0x3c, 0xca, 0x83, 0xb6, 0xe0, 0x8a, 0x67, 0x8e, 0x42, 0xf9, 0xde, 0xf9, + 0xa2, 0x80, 0xba, 0xb2, 0x33, 0x4a, 0x82, 0xb3, 0xf8, 0xd0, 0x01, 0x40, 0x2f, 0x28, 0x0a, 0xdc, + 0xfa, 0x34, 0x0f, 0xd6, 0xad, 0x89, 0xdf, 0xad, 0xb0, 0xbe, 0x88, 0x42, 0x62, 0x38, 0xe4, 0xe2, + 0x98, 0x24, 0xf9, 0xef, 0xa5, 0x78, 0x9a, 0x09, 0xde, 0x40, 0xf4, 0x56, 0xa2, 0x3a, 0x7a, 0x35, + 0x55, 0x1d, 0x2d, 0x8d, 0x72, 0xc4, 0x8a, 0xa3, 0xef, 0xc0, 0x1c, 0xf3, 0x4c, 0xcd, 0xec, 0xfb, + 0x4f, 0x43, 0x84, 0xb9, 0xbb, 0x13, 0x78, 0x7f, 0x88, 0x11, 0x4b, 0x97, 0x97, 0x8f, 0x86, 0x8d, + 0xb9, 0xc4, 0x24, 0x4e, 0xca, 0x93, 0xdf, 0x83, 0xb9, 0x3b, 0x87, 0xb6, 0xe5, 0xd0, 0xc7, 0xb6, + 0x9f, 0x6a, 0x5e, 0x85, 0x69, 0xc2, 0x07, 0xf8, 0x7a, 0x62, 0x2f, 0xad, 0x4f, 0x86, 0xc5, 0x2c, + 0x7a, 0x05, 0x2a, 0xe4, 0x50, 0xe9, 0x51, 0xae, 0x71, 0x35, 0x4a, 0xcc, 0x77, 0xd8, 0x20, 0xf6, + 0xe7, 0xe4, 0x1f, 0x4a, 0xb0, 0x74, 0xb7, 0x73, 0xcf, 0xb1, 0x3c, 0x3b, 0x58, 0x7c, 0x20, 0xe7, + 0x17, 0x60, 0xca, 0xf1, 0xf4, 0xc0, 0x6a, 0xaf, 0x04, 0x56, 0xc3, 0x9e, 0xce, 0xac, 0x76, 0x25, + 0xc5, 0xe5, 0x9b, 0x8c, 0x31, 0xa0, 0xf7, 0x61, 0xda, 0x51, 0xcc, 0x3e, 0x09, 0xd2, 0xf4, 0xe7, + 0x0b, 0xda, 0xea, 0xc1, 0x06, 0x66, 0xec, 0xb1, 0x7a, 0x91, 0xa3, 0x61, 0x81, 0x2a, 0xff, 0x8e, + 0x04, 0x97, 0xee, 0x6f, 0x6f, 0xb7, 0x1f, 0x98, 0xfc, 0x35, 0x6f, 0x2b, 0x74, 0x8f, 0x55, 0x12, + 0xb6, 0x42, 0xf7, 0xd2, 0x95, 0x04, 0x9b, 0xc3, 0x7c, 0x06, 0xed, 0xc1, 0x0c, 0x0b, 0x2f, 0xc4, + 0x54, 0x27, 0xdc, 0x07, 0x08, 0x71, 0x2d, 0x1f, 0x24, 0x2a, 0x52, 0xc5, 0x00, 0x0e, 0xe0, 0xe5, + 0x6f, 0xc3, 0x62, 0x4c, 0x3d, 0x66, 0x2f, 0x7e, 0x1e, 0x83, 0x7a, 0x50, 0x61, 0x9a, 0x04, 0xa7, + 0x2d, 0x45, 0x0f, 0x0f, 0x52, 0x4b, 0x8e, 0x1e, 0x28, 0xfb, 0xe7, 0x62, 0x1f, 0x5b, 0xfe, 0xa7, + 0x12, 0x5c, 0xbb, 0x6f, 0x39, 0xda, 0xb7, 0x2c, 0x93, 0x2a, 0x7a, 0xdb, 0x52, 0xd7, 0x3c, 0x6a, + 0xb9, 0x3d, 0x45, 0x27, 0xce, 0x19, 0xee, 0xb0, 0xf4, 0xc4, 0x0e, 0xeb, 0x61, 0xd1, 0x95, 0x65, + 0xeb, 0x9b, 0xbb, 0xdd, 0xa2, 0xa9, 0xed, 0xd6, 0xe6, 0x29, 0xc9, 0x1b, 0xbf, 0xf7, 0xfa, 0x0f, + 0x09, 0x5e, 0xcc, 0xe1, 0x3c, 0x8f, 0x12, 0x7d, 0x3f, 0x59, 0xa2, 0xdf, 0x3d, 0x9d, 0x35, 0xe7, + 0xd4, 0xeb, 0xff, 0x53, 0xca, 0x5d, 0x2b, 0xaf, 0x10, 0x3f, 0x84, 0x2a, 0xff, 0x87, 0xc9, 0xae, + 0x58, 0xeb, 0x7a, 0x41, 0x7d, 0x3a, 0x5e, 0x37, 0x38, 0xc6, 0xc4, 0x64, 0x97, 0x38, 0xc4, 0xec, + 0x91, 0x58, 0xf1, 0x24, 0xc0, 0x71, 0x28, 0x06, 0xdd, 0x84, 0x1a, 0x2f, 0x86, 0x12, 0xf9, 0xf5, + 0xd2, 0xd1, 0xb0, 0x51, 0xdb, 0x8a, 0x86, 0x71, 0x9c, 0x06, 0xdd, 0x86, 0x9a, 0xa1, 0x1c, 0xa6, + 0xb2, 0x6b, 0x78, 0x2e, 0xb1, 0x15, 0x4d, 0xe1, 0x38, 0x1d, 0xfa, 0x0e, 0xcc, 0xf7, 0x6c, 0x2f, + 0x76, 0x8a, 0x2e, 0xaa, 0xc3, 0xa2, 0x4b, 0xcc, 0x3a, 0x90, 0x6f, 0x21, 0xb6, 0xf1, 0x5c, 0x6f, + 0xef, 0xc4, 0xc6, 0x70, 0x4a, 0x9c, 0xfc, 0xe7, 0x65, 0x78, 0x79, 0xac, 0x8f, 0xa2, 0xbb, 0x63, + 0xaa, 0x96, 0xa5, 0x02, 0x15, 0x8b, 0x0a, 0x73, 0x6c, 0xff, 0xc9, 0xcd, 0xcd, 0x77, 0xb7, 0xa5, + 0xe2, 0xbb, 0x5b, 0x9e, 0xc2, 0x36, 0xe3, 0x28, 0x38, 0x09, 0xca, 0x2a, 0x1d, 0x71, 0xba, 0x95, + 0x57, 0xe9, 0xac, 0x27, 0xa7, 0x71, 0x9a, 0x9e, 0x41, 0x88, 0xc3, 0xa7, 0x54, 0x9d, 0x13, 0x42, + 0x6c, 0x24, 0xa7, 0x71, 0x9a, 0x1e, 0x19, 0xd0, 0x10, 0xa8, 0x49, 0xf3, 0xc7, 0x6e, 0x46, 0xfc, + 0x7a, 0xe7, 0x95, 0xa3, 0x61, 0xa3, 0xb1, 0x3e, 0x9e, 0x14, 0x3f, 0x0f, 0x4b, 0xde, 0x82, 0xb9, + 0xfb, 0x96, 0x4b, 0xdb, 0x2c, 0x25, 0xb3, 0xbc, 0x85, 0x5e, 0x86, 0xb2, 0xa1, 0x99, 0x62, 0x43, + 0x55, 0x13, 0x6a, 0x97, 0x99, 0xf3, 0xb2, 0x71, 0x3e, 0xad, 0x1c, 0x0a, 0xbf, 0x8e, 0xa6, 0x95, + 0x43, 0xcc, 0xc6, 0xe5, 0x7b, 0x30, 0x23, 0xf2, 0x62, 0x1c, 0xa8, 0x3c, 0x1e, 0xa8, 0x9c, 0x01, + 0xf4, 0xfb, 0x25, 0x98, 0x11, 0x69, 0xe4, 0x0c, 0x13, 0xc2, 0x7b, 0x89, 0x84, 0xf0, 0xd6, 0x64, + 0xa9, 0x36, 0x37, 0x01, 0xa8, 0xa9, 0x04, 0xf0, 0xce, 0x84, 0xf8, 0xe3, 0x03, 0xfe, 0x0f, 0x24, + 0x98, 0x4f, 0x26, 0x7d, 0x16, 0x51, 0xd8, 0x3b, 0xa4, 0xf5, 0xc8, 0xa3, 0xe8, 0xdc, 0x22, 0x8c, + 0x28, 0x9d, 0x68, 0x0a, 0xc7, 0xe9, 0x10, 0x09, 0xd9, 0x98, 0x3b, 0x08, 0xa3, 0x34, 0x73, 0x94, + 0xf6, 0xa8, 0xa6, 0x37, 0xfd, 0x6b, 0xc1, 0xe6, 0x03, 0x93, 0x3e, 0x76, 0x3a, 0xd4, 0xd1, 0xcc, + 0xfe, 0x88, 0x18, 0xee, 0x59, 0x71, 0x5c, 0xf9, 0xaf, 0x25, 0xa8, 0x09, 0x85, 0xcf, 0x23, 0x23, + 0x7d, 0x3d, 0x99, 0x91, 0x3e, 0x3f, 0x61, 0x3d, 0x95, 0x9d, 0x81, 0x7e, 0x14, 0xad, 0x85, 0x55, + 0x50, 0xac, 0xc0, 0xdb, 0xb3, 0x5c, 0x9a, 0x2e, 0xf0, 0xd8, 0x2b, 0x86, 0xf9, 0x0c, 0xfa, 0x35, + 0x09, 0x16, 0xb4, 0x54, 0xcd, 0x25, 0x4c, 0xfd, 0xa5, 0xc9, 0x54, 0x0b, 0x61, 0xa2, 0xcb, 0xd2, + 0xf4, 0x0c, 0x1e, 0x11, 0x29, 0x7b, 0x30, 0x42, 0x85, 0x14, 0x98, 0xda, 0xa3, 0xd4, 0x9e, 0x30, + 0x57, 0x66, 0x55, 0x93, 0xad, 0x2a, 0x5f, 0xfe, 0xf6, 0x76, 0x1b, 0x73, 0x68, 0xf9, 0x07, 0xa5, + 0xd0, 0x60, 0x1d, 0xff, 0x1d, 0x09, 0xeb, 0x5d, 0xe9, 0x34, 0xea, 0xdd, 0x5a, 0x56, 0xad, 0x8b, + 0x9e, 0x42, 0x99, 0xea, 0x93, 0x1e, 0x1b, 0x0a, 0x09, 0xdb, 0x9b, 0x9d, 0x28, 0x4e, 0x6d, 0x6f, + 0x76, 0x30, 0x83, 0x44, 0xdf, 0x84, 0x0a, 0xdb, 0x4d, 0xb0, 0x57, 0xbc, 0x3c, 0x79, 0x08, 0x61, + 0xf6, 0x8a, 0x3c, 0x8c, 0xfd, 0x73, 0xb1, 0x8f, 0x2b, 0x7f, 0x1b, 0xe6, 0x12, 0x71, 0x00, 0x7d, + 0x00, 0x17, 0x75, 0x4b, 0x51, 0x5b, 0x8a, 0xae, 0x98, 0x3d, 0x12, 0xdc, 0x4b, 0xfd, 0xdc, 0xf8, + 0x88, 0xb8, 0x19, 0xe3, 0x10, 0xf1, 0x24, 0xbc, 0xb0, 0x8e, 0xcf, 0xe1, 0x04, 0xb6, 0xac, 0x00, + 0x44, 0xab, 0x47, 0x0d, 0xa8, 0x30, 0x17, 0xf6, 0x77, 0x06, 0xb3, 0xad, 0x59, 0xa6, 0x2b, 0xf3, + 0x6c, 0x17, 0xfb, 0xe3, 0xe8, 0x16, 0x80, 0x4b, 0x7a, 0x0e, 0xa1, 0x3c, 0xec, 0xf8, 0xc7, 0xf4, + 0x61, 0x00, 0xee, 0x84, 0x33, 0x38, 0x46, 0x25, 0xff, 0x56, 0x09, 0xca, 0x0f, 0xad, 0xee, 0x19, + 0x06, 0xf9, 0xa7, 0x89, 0x20, 0x5f, 0xf4, 0xfd, 0x7f, 0x68, 0x75, 0x73, 0x03, 0xfc, 0x2f, 0xa7, + 0x02, 0xfc, 0x9b, 0x13, 0x60, 0x8f, 0x0f, 0xee, 0xff, 0x50, 0x86, 0x8b, 0x0f, 0xad, 0x6e, 0x74, + 0x85, 0xf2, 0x46, 0xe2, 0x90, 0xe0, 0x7a, 0xea, 0x90, 0x60, 0x21, 0x4e, 0x7b, 0x0e, 0x77, 0x27, + 0x7b, 0x7e, 0x61, 0xd6, 0x76, 0xac, 0xae, 0x5f, 0x98, 0x95, 0x8b, 0x17, 0x66, 0x57, 0x85, 0x2e, + 0xbc, 0x38, 0x0b, 0x91, 0x70, 0x12, 0x38, 0xe7, 0x96, 0x63, 0xea, 0xcc, 0x6f, 0x39, 0x62, 0xd7, + 0x43, 0x95, 0xe3, 0x5e, 0x0f, 0x4d, 0x8f, 0xbf, 0x1e, 0x92, 0xff, 0x4c, 0x82, 0x99, 0x87, 0x56, + 0xf7, 0x3c, 0x92, 0xdf, 0x57, 0x93, 0xc9, 0xef, 0x56, 0x71, 0x07, 0xcd, 0x49, 0x7c, 0x7f, 0x54, + 0xe6, 0x6b, 0xe0, 0x31, 0xfc, 0x26, 0xd4, 0x6c, 0xc5, 0x51, 0x74, 0x9d, 0xe8, 0x9a, 0x6b, 0x88, + 0xd2, 0x91, 0xef, 0x79, 0xda, 0xd1, 0x30, 0x8e, 0xd3, 0x30, 0x96, 0x9e, 0x65, 0xd8, 0x3a, 0x09, + 0x2e, 0x4a, 0x42, 0x96, 0xf5, 0x68, 0x18, 0xc7, 0x69, 0xd0, 0x63, 0xb8, 0xaa, 0xf4, 0xa8, 0x76, + 0x40, 0xd2, 0x87, 0xad, 0x65, 0x5e, 0x42, 0xbe, 0x70, 0x34, 0x6c, 0x5c, 0x5d, 0xcb, 0x22, 0xc0, + 0xd9, 0x7c, 0x89, 0x5b, 0x81, 0xa9, 0x33, 0xb8, 0x15, 0x78, 0x03, 0x2e, 0x2a, 0x1e, 0xb5, 0x82, + 0x19, 0xee, 0x3f, 0xd5, 0xd6, 0x02, 0x0b, 0xb9, 0x6b, 0xb1, 0x71, 0x9c, 0xa0, 0x4a, 0xdc, 0x25, + 0x4c, 0x9f, 0x76, 0x4b, 0xc0, 0x9f, 0x96, 0x61, 0x36, 0x0c, 0x3a, 0xc8, 0x4a, 0x9c, 0x7f, 0xfa, + 0xc7, 0x3d, 0x6f, 0x17, 0xf7, 0x90, 0x63, 0x1f, 0x7c, 0xa2, 0xa7, 0x30, 0xeb, 0x52, 0xc5, 0xa1, + 0x93, 0xee, 0xe1, 0xe6, 0x8e, 0x86, 0x8d, 0xd9, 0x4e, 0x80, 0x80, 0x23, 0x30, 0xd4, 0x87, 0xf9, + 0xc8, 0x57, 0x26, 0x8d, 0x44, 0xfe, 0xa6, 0x37, 0x01, 0x83, 0x53, 0xb0, 0x2c, 0x1c, 0xf8, 0xde, + 0x24, 0x36, 0x76, 0x61, 0x38, 0xf0, 0x5d, 0x0f, 0x8b, 0x59, 0xb4, 0x0a, 0xb3, 0xae, 0xd7, 0xeb, + 0x11, 0xa2, 0x12, 0x55, 0x6c, 0xd8, 0x2e, 0x0b, 0xd2, 0xd9, 0x4e, 0x30, 0x81, 0x23, 0x1a, 0x06, + 0xbc, 0xab, 0x68, 0x3a, 0x51, 0xc5, 0x25, 0x49, 0x08, 0x7c, 0x97, 0x8f, 0x62, 0x31, 0xcb, 0x9b, + 0x6e, 0x1e, 0x11, 0xfa, 0x91, 0xe5, 0xec, 0xb7, 0x2d, 0x5d, 0xeb, 0x0d, 0xce, 0x30, 0x73, 0x76, + 0x13, 0x99, 0xf3, 0xcb, 0x05, 0x5d, 0x23, 0xa1, 0x65, 0x5e, 0x0e, 0x95, 0xff, 0x5d, 0x82, 0x7a, + 0x82, 0x32, 0x5e, 0x4e, 0x13, 0xa8, 0xd8, 0x96, 0x43, 0x03, 0xe7, 0x3c, 0x91, 0x06, 0x6c, 0xef, + 0x11, 0x3b, 0x8d, 0x64, 0xb0, 0xd8, 0x47, 0x67, 0xeb, 0xdc, 0x75, 0x2c, 0x43, 0x04, 0xc9, 0x93, + 0x49, 0x21, 0xc4, 0x89, 0xd6, 0x79, 0xd7, 0xb1, 0x0c, 0xcc, 0xb1, 0xe5, 0x7f, 0x94, 0xe0, 0x72, + 0x82, 0xf2, 0x3c, 0xc2, 0xbf, 0x92, 0x0c, 0xff, 0xef, 0x9c, 0x64, 0x65, 0x39, 0x89, 0xe0, 0xbf, + 0xd3, 0xeb, 0x62, 0x16, 0x40, 0x7d, 0xa8, 0xd9, 0x96, 0xda, 0x39, 0x8d, 0xde, 0x29, 0x3f, 0x91, + 0x44, 0x60, 0x38, 0x8e, 0x8c, 0x06, 0x70, 0xd9, 0x54, 0x0c, 0xe2, 0xda, 0x4a, 0x8f, 0x74, 0x4e, + 0xe3, 0x8e, 0xf7, 0xea, 0xd1, 0xb0, 0x71, 0xf9, 0x51, 0x1a, 0x12, 0x8f, 0x4a, 0x91, 0xff, 0x78, + 0x64, 0xe5, 0x96, 0x43, 0xd1, 0x57, 0xa0, 0xca, 0x7b, 0x63, 0x7b, 0x96, 0x2e, 0x8a, 0xb4, 0xdb, + 0xec, 0xe1, 0xb4, 0xc5, 0xd8, 0xb3, 0x61, 0xe3, 0x67, 0xc6, 0x96, 0x5a, 0x01, 0x21, 0x0e, 0x61, + 0xd0, 0x26, 0x4c, 0xd9, 0x93, 0x6f, 0xc8, 0xf9, 0x0e, 0x8c, 0xef, 0xc2, 0x39, 0x8a, 0xfc, 0x9f, + 0x69, 0xb5, 0x79, 0x0e, 0xdf, 0x3f, 0xbd, 0x07, 0x16, 0x9e, 0x00, 0xe4, 0x3e, 0x34, 0x07, 0x66, + 0xc4, 0x7e, 0x54, 0x38, 0xe6, 0xbd, 0x93, 0x38, 0x66, 0x7c, 0x0f, 0x15, 0x16, 0x5d, 0xc1, 0x60, + 0x20, 0x88, 0xbf, 0x7f, 0x5c, 0xa1, 0x9e, 0xe7, 0x68, 0x74, 0x70, 0xe6, 0xb1, 0x73, 0x37, 0x11, + 0x3b, 0x37, 0x0a, 0x2e, 0x70, 0x44, 0xd3, 0xdc, 0xf8, 0xf9, 0xaf, 0x12, 0x5c, 0x1d, 0xa1, 0x3e, + 0x8f, 0xd8, 0x42, 0x92, 0xb1, 0xe5, 0xcb, 0x27, 0x5d, 0x61, 0x4e, 0x7c, 0xf9, 0x18, 0x32, 0xd6, + 0xc7, 0x5d, 0xf6, 0x16, 0x80, 0xed, 0x68, 0x07, 0x9a, 0x4e, 0xfa, 0xa2, 0x7f, 0xb1, 0x1a, 0x3d, + 0x93, 0x76, 0x38, 0x83, 0x63, 0x54, 0xe8, 0x57, 0x60, 0x49, 0x25, 0xbb, 0x8a, 0xa7, 0xd3, 0x35, + 0x55, 0x5d, 0x57, 0x6c, 0xa5, 0xab, 0xe9, 0x1a, 0xd5, 0xc4, 0x25, 0xe0, 0x6c, 0xeb, 0x8e, 0xdf, + 0x57, 0x98, 0x45, 0xf1, 0x6c, 0xd8, 0xf8, 0xec, 0xf8, 0x4d, 0x52, 0x40, 0x3c, 0xc0, 0x39, 0x42, + 0xd0, 0xaf, 0x4a, 0x50, 0x77, 0xc8, 0x87, 0x9e, 0xe6, 0x10, 0x75, 0xc3, 0xb1, 0xec, 0x84, 0x06, + 0x65, 0xae, 0xc1, 0xbd, 0xa3, 0x61, 0xa3, 0x8e, 0x73, 0x68, 0x8a, 0xe8, 0x90, 0x2b, 0x08, 0x51, + 0xb8, 0xa2, 0xe8, 0xba, 0xf5, 0x11, 0x49, 0x5a, 0x60, 0x8a, 0xcb, 0x6f, 0x1d, 0x0d, 0x1b, 0x57, + 0xd6, 0x46, 0xa7, 0x8b, 0x88, 0xce, 0x82, 0x47, 0xab, 0x30, 0x73, 0x60, 0xe9, 0x9e, 0x41, 0xdc, + 0x7a, 0x85, 0x4b, 0x62, 0x91, 0x76, 0xe6, 0x89, 0x3f, 0xf4, 0x8c, 0x15, 0x3a, 0x1d, 0xbe, 0x63, + 0x0d, 0xa8, 0xd0, 0x6d, 0xa8, 0xed, 0x59, 0x2e, 0x15, 0xef, 0x3a, 0x2f, 0x8b, 0xaa, 0x51, 0x70, + 0xb9, 0x1f, 0x4d, 0xe1, 0x38, 0x1d, 0x32, 0x60, 0x76, 0x4f, 0x9c, 0x68, 0xbb, 0xf5, 0x99, 0x89, + 0xf2, 0x5e, 0xe2, 0x44, 0x3c, 0xaa, 0xdb, 0x82, 0x61, 0x17, 0x47, 0x12, 0xd8, 0xbe, 0x8f, 0xff, + 0x79, 0xb0, 0xc1, 0x3b, 0x4e, 0xaa, 0x51, 0x08, 0xba, 0xef, 0x0f, 0xe3, 0x60, 0x3e, 0x20, 0x7d, + 0xd0, 0x5e, 0xe7, 0x0d, 0x22, 0x29, 0xd2, 0x07, 0xed, 0x75, 0x1c, 0xcc, 0x23, 0x1b, 0x66, 0x5c, + 0xb2, 0xa9, 0x99, 0xde, 0x61, 0x1d, 0xf8, 0xab, 0x7b, 0xa7, 0xe8, 0xc5, 0xd5, 0x1d, 0xce, 0x9d, + 0xba, 0x2d, 0x8f, 0x24, 0x8a, 0x79, 0x1c, 0x88, 0x41, 0x87, 0x30, 0xeb, 0x78, 0xe6, 0x9a, 0xbb, + 0xe3, 0x12, 0xa7, 0x5e, 0xe3, 0x32, 0x8b, 0x46, 0x65, 0x1c, 0xf0, 0xa7, 0xa5, 0x86, 0x16, 0x0c, + 0x29, 0x70, 0x24, 0x0c, 0xfd, 0xb6, 0x04, 0xc8, 0xf5, 0x6c, 0x5b, 0x27, 0x06, 0x31, 0xa9, 0xa2, + 0xf3, 0x0b, 0x7b, 0xb7, 0x7e, 0x91, 0xeb, 0xd0, 0x2e, 0x7c, 0x61, 0x97, 0x06, 0x4a, 0x2b, 0x13, + 0x1e, 0x00, 0x8c, 0x92, 0xe2, 0x0c, 0x3d, 0xd8, 0xa3, 0xd8, 0x75, 0xf9, 0xef, 0xfa, 0xdc, 0x44, + 0x8f, 0x22, 0xbb, 0x71, 0x21, 0x7a, 0x14, 0x62, 0x1e, 0x07, 0x62, 0xd0, 0x13, 0x58, 0x72, 0x88, + 0xa2, 0x3e, 0x36, 0xf5, 0x01, 0xb6, 0x2c, 0x7a, 0x57, 0xd3, 0x89, 0x3b, 0x70, 0x29, 0x31, 0xea, + 0xf3, 0xdc, 0x6d, 0xc2, 0x06, 0x68, 0x9c, 0x49, 0x85, 0x73, 0xb8, 0x79, 0x27, 0xb3, 0xb8, 0x67, + 0x3a, 0xdb, 0x0f, 0x1c, 0x4e, 0xd6, 0xc9, 0x1c, 0xa9, 0x78, 0x66, 0x9d, 0xcc, 0x31, 0x11, 0xe3, + 0xcf, 0xdf, 0xfe, 0xab, 0x04, 0x57, 0x22, 0xe2, 0x63, 0x77, 0x32, 0x67, 0xb0, 0x9c, 0xc3, 0x69, + 0x5c, 0xf6, 0x19, 0x59, 0xf9, 0x3c, 0xcf, 0xc8, 0x4e, 0xab, 0x85, 0x9a, 0x37, 0x17, 0x47, 0x56, + 0xfc, 0x3f, 0xd0, 0x5c, 0x1c, 0x29, 0x9b, 0x53, 0xc8, 0xfc, 0x49, 0x29, 0xbe, 0xa2, 0xff, 0x4f, + 0x1d, 0xac, 0x19, 0x0d, 0xa5, 0x53, 0xc5, 0x1a, 0x4a, 0xe5, 0x7f, 0x29, 0xc3, 0x42, 0xfa, 0xa5, + 0x4d, 0x34, 0x32, 0x4a, 0xcf, 0x6d, 0x64, 0x6c, 0xc3, 0xe2, 0xae, 0xa7, 0xeb, 0x03, 0x6e, 0x90, + 0xd8, 0x05, 0xbd, 0x7f, 0xf6, 0xf8, 0x92, 0xe0, 0x5c, 0xbc, 0x9b, 0x41, 0x83, 0x33, 0x39, 0x73, + 0x9a, 0x32, 0xcb, 0x13, 0x35, 0x65, 0xbe, 0x0d, 0x73, 0x0e, 0xff, 0xf6, 0x24, 0xd9, 0x37, 0x10, + 0x1e, 0x8e, 0xe3, 0xf8, 0x24, 0x4e, 0xd2, 0x66, 0x37, 0x58, 0x56, 0x26, 0x68, 0xb0, 0x3c, 0x8d, + 0x8e, 0xc8, 0x8c, 0xd8, 0xf7, 0xdc, 0x8e, 0xc8, 0x97, 0x60, 0x59, 0xb0, 0xb1, 0xff, 0xeb, 0x96, + 0x49, 0x1d, 0x4b, 0xd7, 0x89, 0xb3, 0xe1, 0x19, 0xc6, 0x40, 0x7e, 0x17, 0xe6, 0x93, 0x6d, 0xb9, + 0xfe, 0x93, 0xf7, 0x3b, 0x85, 0x45, 0x83, 0x41, 0xec, 0xc9, 0xfb, 0xe3, 0x38, 0xa4, 0x90, 0x3f, + 0x91, 0xe0, 0x5a, 0x4e, 0x67, 0x23, 0xfa, 0x00, 0xe6, 0x0d, 0xe5, 0x30, 0xd6, 0x32, 0x2a, 0x42, + 0x4b, 0xd1, 0x5d, 0x36, 0x3f, 0x3b, 0xdc, 0x4a, 0x20, 0xe1, 0x14, 0x32, 0x4f, 0xb8, 0xca, 0x61, + 0xc7, 0x73, 0xfa, 0x64, 0xc2, 0xbd, 0x3c, 0x7f, 0x7d, 0xb7, 0x04, 0x06, 0x0e, 0xd1, 0xe4, 0x1f, + 0x4a, 0x50, 0xcf, 0xab, 0xbe, 0xd0, 0xed, 0x44, 0x87, 0xe4, 0x67, 0x52, 0x1d, 0x92, 0x97, 0x47, + 0xf8, 0xce, 0xa9, 0x3f, 0xf2, 0x47, 0x12, 0x2c, 0x65, 0x57, 0xa9, 0xe8, 0xe7, 0x13, 0x1a, 0x37, + 0x52, 0x1a, 0x5f, 0x4a, 0x71, 0x09, 0x7d, 0xf7, 0x60, 0x5e, 0xd4, 0xb2, 0x02, 0xe6, 0x18, 0x9f, + 0xa8, 0x1e, 0x84, 0x85, 0x72, 0x50, 0x95, 0xf1, 0xe7, 0x98, 0x1c, 0xc3, 0x29, 0x5c, 0xf9, 0x77, + 0x4b, 0x50, 0xe1, 0x6d, 0x43, 0x67, 0x58, 0x42, 0x7d, 0x2d, 0x51, 0x42, 0x15, 0xbd, 0x58, 0xe4, + 0xda, 0xe5, 0x56, 0x4f, 0xdd, 0x54, 0xf5, 0xf4, 0xd6, 0x44, 0xe8, 0xe3, 0x0b, 0xa7, 0x2f, 0xc0, + 0x6c, 0xa8, 0x44, 0xb1, 0x40, 0xcd, 0xca, 0xd4, 0x5a, 0x4c, 0x44, 0xc1, 0x30, 0x7f, 0x90, 0xc8, + 0x94, 0x93, 0x7c, 0x4b, 0x1d, 0x93, 0xdd, 0x0c, 0x52, 0xa5, 0xff, 0xb9, 0x4d, 0xd4, 0xf8, 0x37, + 0x9a, 0x41, 0xdf, 0x85, 0x79, 0xff, 0x83, 0xf4, 0xf0, 0x0c, 0xad, 0xcc, 0xbd, 0x37, 0xfc, 0x8c, + 0x6b, 0x3b, 0x31, 0x8b, 0x53, 0xd4, 0xcb, 0x6f, 0xc3, 0x5c, 0x42, 0x58, 0xa1, 0xaf, 0x63, 0xfe, + 0x52, 0x82, 0xc5, 0xac, 0x56, 0x45, 0x74, 0x1d, 0xa6, 0xf6, 0x35, 0xd1, 0x5b, 0x11, 0xeb, 0x47, + 0xf9, 0x45, 0xcd, 0x54, 0x31, 0x9f, 0x09, 0x3f, 0x6e, 0x2a, 0xe5, 0x7e, 0xdc, 0x74, 0x0b, 0x40, + 0xb1, 0x35, 0xf1, 0x91, 0xbf, 0x58, 0x55, 0xe8, 0xbc, 0xd1, 0xe7, 0xff, 0x38, 0x46, 0xc5, 0x3b, + 0x90, 0x22, 0x7d, 0x44, 0x59, 0x18, 0xb5, 0x06, 0xc5, 0x54, 0x8d, 0xd3, 0xc9, 0x7f, 0x25, 0xc1, + 0x67, 0x9e, 0xbb, 0x83, 0x43, 0xad, 0x44, 0x78, 0x68, 0xa6, 0xc2, 0xc3, 0x4a, 0x3e, 0xc0, 0x39, + 0x76, 0x7f, 0x7f, 0xaf, 0x04, 0x68, 0x7b, 0x4f, 0x73, 0xd4, 0xb6, 0xe2, 0xd0, 0x01, 0x16, 0x0b, + 0x3c, 0xc3, 0x80, 0x71, 0x1b, 0x6a, 0x2a, 0x71, 0x7b, 0x8e, 0xc6, 0x8d, 0x24, 0x1e, 0x67, 0x68, + 0xf1, 0x8d, 0x68, 0x0a, 0xc7, 0xe9, 0x50, 0x1f, 0xaa, 0xa2, 0x56, 0x0c, 0x5a, 0x58, 0x8a, 0x16, + 0xbe, 0x91, 0x07, 0x44, 0xef, 0x87, 0x18, 0x70, 0x71, 0x08, 0x2e, 0x7f, 0x5f, 0x82, 0xa5, 0x51, + 0x83, 0x6c, 0xf8, 0x0d, 0x1a, 0x67, 0x65, 0x94, 0x97, 0x60, 0x8a, 0xa3, 0x32, 0x6b, 0x5c, 0xf4, + 0x4f, 0xc2, 0x99, 0x44, 0xcc, 0x47, 0xe5, 0x9f, 0x4a, 0xb0, 0x9c, 0xad, 0xd2, 0x79, 0xec, 0x37, + 0x3e, 0x48, 0xee, 0x37, 0x8a, 0x9e, 0x2a, 0x64, 0x2b, 0x9e, 0xb3, 0xf7, 0xf8, 0x24, 0xd3, 0xf8, + 0xe7, 0xb1, 0xca, 0xdd, 0xe4, 0x2a, 0xd7, 0x4e, 0xbc, 0xca, 0xec, 0x15, 0xb6, 0x3e, 0xf7, 0xf1, + 0xa7, 0x2b, 0x17, 0x7e, 0xfc, 0xe9, 0xca, 0x85, 0x7f, 0xfe, 0x74, 0xe5, 0xc2, 0x77, 0x8f, 0x56, + 0xa4, 0x8f, 0x8f, 0x56, 0xa4, 0x1f, 0x1f, 0xad, 0x48, 0xff, 0x76, 0xb4, 0x22, 0x7d, 0xff, 0x27, + 0x2b, 0x17, 0xbe, 0x36, 0x23, 0x30, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x18, 0x07, 0xfd, 0xe8, + 0x4d, 0x46, 0x00, 0x00, } diff --git a/pkg/apis/extensions/v1beta1/generated.proto b/pkg/apis/extensions/v1beta1/generated.proto index 308329ba..e77401a6 100644 --- a/pkg/apis/extensions/v1beta1/generated.proto +++ b/pkg/apis/extensions/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.extensions.v1beta1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1beta1"; @@ -33,6 +33,7 @@ option go_package = "v1beta1"; // An APIVersion represents a single concrete version of an object model. message APIVersion { // Name of this version (e.g. 'v1'). + // +optional optional string name = 1; } @@ -71,10 +72,12 @@ message CustomMetricTargetList { message DaemonSet { // Standard object's 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; // Spec defines the desired behavior of this daemon set. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional DaemonSetSpec spec = 2; // Status is the current status of this daemon set. This data may be @@ -82,6 +85,7 @@ message DaemonSet { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional DaemonSetStatus status = 3; } @@ -89,6 +93,7 @@ message DaemonSet { message DaemonSetList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of daemon sets. @@ -101,7 +106,8 @@ message DaemonSetSpec { // Must match in order to be controlled. // If empty, defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - optional LabelSelector selector = 1; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.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 @@ -136,18 +142,43 @@ message DaemonSetStatus { // Deployment enables declarative updates for Pods and ReplicaSets. message Deployment { // Standard object metadata. + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Specification of the desired behavior of the Deployment. + // +optional optional DeploymentSpec spec = 2; // Most recently observed status of the Deployment. + // +optional optional DeploymentStatus status = 3; } +// DeploymentCondition describes the state of a deployment at a certain point. +message DeploymentCondition { + // Type of deployment condition. + optional string type = 1; + + // Status of the condition, one of True, False, Unknown. + optional string status = 2; + + // The last time this condition was updated. + optional k8s.io.kubernetes.pkg.api.unversioned.Time lastUpdateTime = 6; + + // Last time the condition transitioned from one status to another. + optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 7; + + // The reason for the condition's last transition. + optional string reason = 4; + + // A human readable message indicating details about the transition. + optional string message = 5; +} + // DeploymentList is a list of Deployments. message DeploymentList { // Standard list metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of Deployments. @@ -160,6 +191,7 @@ message DeploymentRollback { optional string name = 1; // The annotations to be updated to a deployment + // +optional map updatedAnnotations = 2; // The config of this deployment rollback. @@ -170,56 +202,81 @@ message DeploymentRollback { message DeploymentSpec { // Number of desired pods. This is a pointer to distinguish between explicit // zero and not specified. Defaults to 1. + // +optional optional int32 replicas = 1; // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. - optional LabelSelector selector = 2; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 2; // Template describes the pods that will be created. optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 3; // The deployment strategy to use to replace existing pods with new ones. + // +optional optional DeploymentStrategy strategy = 4; // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional optional int32 minReadySeconds = 5; // The number of old ReplicaSets to retain to allow rollback. // This is a pointer to distinguish between explicit zero and not specified. + // +optional optional int32 revisionHistoryLimit = 6; // Indicates that the deployment is paused and will not be processed by the // deployment controller. + // +optional optional bool paused = 7; // The config this deployment is rolling back to. Will be cleared after rollback is done. + // +optional optional RollbackConfig rollbackTo = 8; + + // The maximum time in seconds for a deployment to make progress before it + // is considered to be failed. The deployment controller will continue to + // process failed deployments and a condition with a ProgressDeadlineExceeded + // reason will be surfaced in the deployment status. Once autoRollback is + // implemented, the deployment controller will automatically rollback failed + // deployments. Note that progress will not be estimated during the time a + // deployment is paused. This is not set by default. + optional int32 progressDeadlineSeconds = 9; } // DeploymentStatus is the most recently observed status of the Deployment. message DeploymentStatus { // The generation observed by the deployment controller. + // +optional optional int64 observedGeneration = 1; // Total number of non-terminated pods targeted by this deployment (their labels match the selector). + // +optional optional int32 replicas = 2; // Total number of non-terminated pods targeted by this deployment that have the desired template spec. + // +optional optional int32 updatedReplicas = 3; // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + // +optional optional int32 availableReplicas = 4; // Total number of unavailable pods targeted by this deployment. + // +optional optional int32 unavailableReplicas = 5; + + // Represents the latest available observations of a deployment's current state. + repeated DeploymentCondition conditions = 6; } // DeploymentStrategy describes how to replace existing pods with new ones. message DeploymentStrategy { // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. + // +optional optional string type = 1; // Rolling update config params. Present only if DeploymentStrategyType = @@ -227,6 +284,7 @@ message DeploymentStrategy { // --- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. + // +optional optional RollingUpdateDeployment rollingUpdate = 2; } @@ -242,10 +300,12 @@ message ExportOptions { // FSGroupStrategyOptions defines the strategy type and options used to create the strategy. message FSGroupStrategyOptions { // Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + // +optional optional string rule = 1; // Ranges are the allowed ranges of fs groups. If you would like to force a single // fs group then supply a single range with the same start and end. + // +optional repeated IDRange ranges = 2; } @@ -259,6 +319,7 @@ message HTTPIngressPath { // part of a URL as defined by RFC 3986. Paths must begin with // a '/'. If unspecified, the path defaults to a catch all sending // traffic to the backend. + // +optional optional string path = 1; // Backend defines the referenced service endpoint to which the traffic @@ -279,18 +340,22 @@ message HTTPIngressRuleValue { // configuration of a horizontal pod autoscaler. message HorizontalPodAutoscaler { // 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; // behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional optional HorizontalPodAutoscalerSpec spec = 2; // current information about the autoscaler. + // +optional optional HorizontalPodAutoscalerStatus status = 3; } // list of horizontal pod autoscaler objects. message HorizontalPodAutoscalerList { // Standard list metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // list of horizontal pod autoscaler objects. @@ -304,6 +369,7 @@ message HorizontalPodAutoscalerSpec { optional SubresourceReference scaleRef = 1; // lower limit for the number of pods that can be set by the autoscaler, default 1. + // +optional optional int32 minReplicas = 2; // upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. @@ -311,16 +377,19 @@ message HorizontalPodAutoscalerSpec { // target average CPU utilization (represented as a percentage of requested CPU) over all the pods; // if not specified it defaults to the target CPU utilization at 80% of the requested resources. + // +optional optional CPUTargetUtilization cpuUtilization = 4; } // current status of a horizontal pod autoscaler message HorizontalPodAutoscalerStatus { // most recent generation observed by this autoscaler. + // +optional optional int64 observedGeneration = 1; // 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.api.unversioned.Time lastScaleTime = 2; // current number of replicas of pods managed by this autoscaler. @@ -331,6 +400,7 @@ message HorizontalPodAutoscalerStatus { // current average CPU utilization over all pods, represented as a percentage of requested CPU, // e.g. 70 means that an average pod is using now 70% of its requested CPU. + // +optional optional int32 currentCPUUtilizationPercentage = 5; } @@ -360,14 +430,17 @@ message IDRange { message Ingress { // Standard object's 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; // Spec is the desired state of the Ingress. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional IngressSpec spec = 2; // Status is the current state of the Ingress. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional IngressStatus status = 3; } @@ -384,6 +457,7 @@ message IngressBackend { message IngressList { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of Ingress. @@ -406,6 +480,7 @@ message IngressRule { // Incoming requests are matched against the host before the IngressRuleValue. // If the host is unspecified, the Ingress routes all traffic based on the // specified IngressRuleValue. + // +optional optional string host = 1; // IngressRuleValue represents a rule to route requests for this IngressRule. @@ -413,6 +488,7 @@ message IngressRule { // just traffic matching the host to the default backend or all traffic to the // default backend, is left to the controller fulfilling the Ingress. Http is // currently the only supported IngressRuleValue. + // +optional optional IngressRuleValue ingressRuleValue = 2; } @@ -421,6 +497,7 @@ message IngressRule { // mixing different types of rules in a single Ingress is disallowed, so exactly // one of the following must be set. message IngressRuleValue { + // +optional optional HTTPIngressRuleValue http = 1; } @@ -430,6 +507,7 @@ message IngressSpec { // rule. At least one of 'backend' or 'rules' must be specified. This field // is optional to allow the loadbalancer controller or defaulting logic to // specify a global default. + // +optional optional IngressBackend backend = 1; // TLS configuration. Currently the Ingress only supports a single TLS @@ -437,16 +515,19 @@ message IngressSpec { // will be multiplexed on the same port according to the hostname specified // through the SNI TLS extension, if the ingress controller fulfilling the // ingress supports SNI. + // +optional repeated IngressTLS tls = 2; // A list of host rules used to configure the Ingress. If unspecified, or // no rule matches, all traffic is sent to the default backend. + // +optional repeated IngressRule rules = 3; } // IngressStatus describe the current state of the Ingress. message IngressStatus { // LoadBalancer contains the current status of the load-balancer. + // +optional optional k8s.io.kubernetes.pkg.api.v1.LoadBalancerStatus loadBalancer = 1; } @@ -456,6 +537,7 @@ message IngressTLS { // this list must match the name/s used in the tlsSecret. Defaults to the // wildcard host setting for the loadbalancer controller fulfilling this // Ingress, if left unspecified. + // +optional repeated string hosts = 1; // SecretName is the name of the secret used to terminate SSL traffic on 443. @@ -463,6 +545,7 @@ message IngressTLS { // If the SNI host in a listener conflicts with the "Host" header field used // by an IngressRule, the SNI host is used for termination and value of the // Host header is used for routing. + // +optional optional string secretName = 2; } @@ -470,14 +553,17 @@ message IngressTLS { message Job { // Standard object's 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; // Spec is a structure defining the expected behavior of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobSpec spec = 2; // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional JobStatus status = 3; } @@ -490,15 +576,19 @@ message JobCondition { optional string status = 2; // Last time the condition was checked. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastProbeTime = 3; // Last time the condition transit from one status to another. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. + // +optional optional string reason = 5; // Human readable message indicating details about last transition. + // +optional optional string message = 6; } @@ -506,6 +596,7 @@ message JobCondition { message JobList { // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of Job. @@ -519,6 +610,7 @@ message JobSpec { // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional optional int32 parallelism = 1; // Completions specifies the desired number of successfully finished pods the @@ -527,22 +619,26 @@ message JobSpec { // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional optional int32 completions = 2; // Optional duration in seconds relative to the startTime that the job may be active // before the system tries to terminate it; value must be positive integer + // +optional optional int64 activeDeadlineSeconds = 3; // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - optional LabelSelector selector = 4; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; // AutoSelector controls generation of pod labels and pod selectors. // It was not present in the original extensions/v1beta1 Job definition, but exists // to allow conversion from batch/v1 Jobs, where it corresponds to, but has the opposite // meaning as, ManualSelector. // More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md + // +optional optional bool autoSelector = 5; // Template is the object that describes the pod that will be created when @@ -555,64 +651,42 @@ message JobSpec { message JobStatus { // Conditions represent the latest available observations of an object's current state. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional repeated JobCondition conditions = 1; // StartTime represents time when the job was acknowledged by the Job Manager. // 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.api.unversioned.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.api.unversioned.Time completionTime = 3; // Active is the number of actively running pods. + // +optional optional int32 active = 4; // Succeeded is the number of pods which reached Phase Succeeded. + // +optional optional int32 succeeded = 5; // Failed is the number of pods which reached Phase Failed. + // +optional optional int32 failed = 6; } -// A label selector is a label query over a set of resources. The result of matchLabels and -// matchExpressions are ANDed. An empty label selector matches all objects. A null -// label selector matches no objects. -message LabelSelector { - // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels - // map is equivalent to an element of matchExpressions, whose key field is "key", the - // operator is "In", and the values array contains only "value". The requirements are ANDed. - map matchLabels = 1; - - // matchExpressions is a list of label selector requirements. The requirements are ANDed. - repeated LabelSelectorRequirement matchExpressions = 2; -} - -// A label selector requirement is a selector that contains values, a key, and an operator that -// relates the key and values. -message LabelSelectorRequirement { - // key is the label key that the selector applies to. - optional string key = 1; - - // operator represents a key's relationship to a set of values. - // Valid operators ard In, NotIn, Exists and DoesNotExist. - optional string operator = 2; - - // values is an array of string values. If the operator is In or NotIn, - // the values array must be non-empty. If the operator is Exists or DoesNotExist, - // the values array must be empty. This array is replaced during a strategic - // merge patch. - repeated string values = 3; -} - message NetworkPolicy { // Standard object's 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; // Specification of the desired behavior for this NetworkPolicy. + // +optional optional NetworkPolicySpec spec = 2; } @@ -625,6 +699,7 @@ message NetworkPolicyIngressRule { // If this field is present and contains at least one item, then this rule allows traffic // only if the traffic matches at least one port in the list. // TODO: Update this to be a pointer to slice as soon as auto-generation supports it. + // +optional repeated NetworkPolicyPort ports = 1; // List of sources which should be able to access the pods selected for this rule. @@ -634,6 +709,7 @@ message NetworkPolicyIngressRule { // If this field is present and contains at least on item, this rule allows traffic only if the // traffic matches at least one item in the from list. // TODO: Update this to be a pointer to slice as soon as auto-generation supports it. + // +optional repeated NetworkPolicyPeer from = 2; } @@ -641,6 +717,7 @@ message NetworkPolicyIngressRule { message NetworkPolicyList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of schema objects. @@ -652,19 +729,22 @@ message NetworkPolicyPeer { // This field follows standard label selector semantics. // If not provided, this selector selects no pods. // If present but empty, this selector selects all pods in this namespace. - optional LabelSelector podSelector = 1; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector podSelector = 1; // Selects Namespaces using cluster scoped-labels. This // matches all pods in all namespaces selected by this label selector. // This field follows standard label selector semantics. // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. - optional LabelSelector namespaceSelector = 2; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector namespaceSelector = 2; } message NetworkPolicyPort { // Optional. The protocol (TCP or UDP) which traffic must match. // If not specified, this field defaults to TCP. + // +optional optional string protocol = 1; // If specified, the port on the given protocol. This can @@ -672,6 +752,7 @@ message NetworkPolicyPort { // this matches all port names and numbers. // If present, only traffic on the specified protocol AND port // will be matched. + // +optional optional k8s.io.kubernetes.pkg.util.intstr.IntOrString port = 2; } @@ -681,7 +762,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 LabelSelector podSelector = 1; + optional k8s.io.kubernetes.pkg.api.unversioned.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, @@ -691,6 +772,7 @@ message NetworkPolicySpec { // If this field is empty then this NetworkPolicy does not affect ingress isolation. // If this field is present and contains at least one rule, this policy allows any traffic // which matches at least one of the ingress rules in this list. + // +optional repeated NetworkPolicyIngressRule ingress = 2; } @@ -699,9 +781,11 @@ message NetworkPolicySpec { message PodSecurityPolicy { // Standard object's 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; // spec defines the policy enforced. + // +optional optional PodSecurityPolicySpec spec = 2; } @@ -709,6 +793,7 @@ message PodSecurityPolicy { message PodSecurityPolicyList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of schema objects. @@ -718,36 +803,45 @@ message PodSecurityPolicyList { // Pod Security Policy Spec defines the policy enforced. message PodSecurityPolicySpec { // privileged determines if a pod can request to be run as privileged. + // +optional optional bool privileged = 1; // DefaultAddCapabilities is the default set of capabilities that will be added to the container // unless the pod spec specifically drops the capability. You may not list a capabiility in both // DefaultAddCapabilities and RequiredDropCapabilities. + // +optional repeated string defaultAddCapabilities = 2; // RequiredDropCapabilities are the capabilities that will be dropped from the container. These // are required to be dropped and cannot be added. + // +optional repeated string requiredDropCapabilities = 3; // AllowedCapabilities is a list of capabilities that can be requested to add to the container. // Capabilities in this field may be added at the pod author's discretion. // You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + // +optional repeated string allowedCapabilities = 4; // volumes is a white list of allowed volume plugins. Empty indicates that all plugins // may be used. + // +optional repeated string volumes = 5; // hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. + // +optional optional bool hostNetwork = 6; // hostPorts determines which host port ranges are allowed to be exposed. + // +optional repeated HostPortRange hostPorts = 7; // hostPID determines if the policy allows the use of HostPID in the pod spec. + // +optional optional bool hostPID = 8; // hostIPC determines if the policy allows the use of HostIPC in the pod spec. + // +optional optional bool hostIPC = 9; // seLinux is the strategy that will dictate the allowable labels that may be set. @@ -767,6 +861,7 @@ message PodSecurityPolicySpec { // the PSP should deny the pod. // If set to false the container may run with a read only root file system if it wishes but it // will not be forced to. + // +optional optional bool readOnlyRootFilesystem = 14; } @@ -775,10 +870,12 @@ message ReplicaSet { // 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 + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Spec defines the specification of the desired behavior of the ReplicaSet. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ReplicaSetSpec spec = 2; // Status is the most recently observed status of the ReplicaSet. @@ -786,6 +883,7 @@ message ReplicaSet { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional optional ReplicaSetStatus status = 3; } @@ -797,23 +895,24 @@ message ReplicaSetCondition { // Status of the condition, one of True, False, Unknown. optional string status = 2; - // Last time we probed the condition. - optional k8s.io.kubernetes.pkg.api.unversioned.Time lastProbeTime = 3; - // The last time the condition transitioned from one status to another. - optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 3; // The reason for the condition's last transition. - optional string reason = 5; + // +optional + optional string reason = 4; // A human readable message indicating details about the transition. - optional string message = 6; + // +optional + optional string message = 5; } // ReplicaSetList is a collection of ReplicaSets. message ReplicaSetList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of ReplicaSets. @@ -827,22 +926,26 @@ message ReplicaSetSpec { // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + // +optional optional int32 replicas = 1; // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional optional int32 minReadySeconds = 4; // Selector is a label query over pods that should match the replica count. // If the selector is empty, it is defaulted to the labels present on the pod template. // 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 LabelSelector selector = 2; + // +optional + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 2; // Template is the object that describes the pod that will be created if // insufficient replicas are detected. // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template + // +optional optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 3; } @@ -853,18 +956,23 @@ message ReplicaSetStatus { optional int32 replicas = 1; // The number of pods that have labels matching the labels of the pod template of the replicaset. + // +optional optional int32 fullyLabeledReplicas = 2; // The number of ready replicas for this replica set. + // +optional optional int32 readyReplicas = 4; // The number of available replicas (ready for at least minReadySeconds) for this replica set. + // +optional optional int32 availableReplicas = 5; // ObservedGeneration reflects the generation of the most recently observed ReplicaSet. + // +optional optional int64 observedGeneration = 3; // Represents the latest available observations of a replica set's current state. + // +optional repeated ReplicaSetCondition conditions = 6; } @@ -874,6 +982,7 @@ message ReplicationControllerDummy { message RollbackConfig { // The revision to rollback to. If set to 0, rollbck to the last revision. + // +optional optional int64 revision = 1; } @@ -889,6 +998,7 @@ message RollingUpdateDeployment { // can be scaled down further, followed by scaling up the new RC, ensuring // that the total number of pods available at all times during the update is at // least 70% of desired pods. + // +optional optional k8s.io.kubernetes.pkg.util.intstr.IntOrString maxUnavailable = 1; // The maximum number of pods that can be scheduled above the desired number of @@ -902,6 +1012,7 @@ message RollingUpdateDeployment { // 130% of desired pods. Once old pods have been killed, // new RC can be scaled up further, ensuring that total number of pods running // at any time during the update is atmost 130% of desired pods. + // +optional optional k8s.io.kubernetes.pkg.util.intstr.IntOrString maxSurge = 2; } @@ -911,6 +1022,7 @@ message RunAsUserStrategyOptions { optional string rule = 1; // Ranges are the allowed ranges of uids that may be used. + // +optional repeated IDRange ranges = 2; } @@ -921,24 +1033,29 @@ message SELinuxStrategyOptions { // seLinuxOptions required to run as; required for MustRunAs // More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context + // +optional optional k8s.io.kubernetes.pkg.api.v1.SELinuxOptions seLinuxOptions = 2; } // represents a scaling request for a resource. message Scale { // 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; // defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional optional ScaleSpec spec = 2; // current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + // +optional optional ScaleStatus status = 3; } // describes the attributes of a scale subresource message ScaleSpec { // desired number of instances for the scaled object. + // +optional optional int32 replicas = 1; } @@ -948,6 +1065,7 @@ message ScaleStatus { optional int32 replicas = 1; // label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional map selector = 2; // label selector for pods that should match the replicas count. This is a serializated @@ -956,31 +1074,38 @@ message ScaleStatus { // query-param syntax. If the target type only supports map-based selectors, both this // field and map-based selector field are populated. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional optional string targetSelector = 3; } // SubresourceReference contains enough information to let you inspect or modify the referred subresource. message SubresourceReference { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional string kind = 1; // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names + // +optional optional string name = 2; // API version of the referent + // +optional optional string apiVersion = 3; // Subresource name of the referent + // +optional optional string subresource = 4; } // SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. message SupplementalGroupsStrategyOptions { // Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + // +optional optional string rule = 1; // Ranges are the allowed ranges of supplemental groups. If you would like to force a single // supplemental group then supply a single range with the same start and end. + // +optional repeated IDRange ranges = 2; } @@ -988,21 +1113,26 @@ message SupplementalGroupsStrategyOptions { // types to the API. It consists of one or more Versions of the api. message ThirdPartyResource { // Standard object metadata + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Description is the description of this object. + // +optional optional string description = 2; // Versions are versions for this third party object + // +optional repeated APIVersion versions = 3; } // An internal object, used for versioned storage in etcd. Not exposed to the end user. message ThirdPartyResourceData { // Standard object metadata. + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Data is the raw JSON data for this data. + // +optional optional bytes data = 2; } @@ -1010,6 +1140,7 @@ message ThirdPartyResourceData { message ThirdPartyResourceDataList { // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of ThirdpartyResourceData. @@ -1019,6 +1150,7 @@ message ThirdPartyResourceDataList { // ThirdPartyResourceList is a list of ThirdPartyResources. message ThirdPartyResourceList { // Standard list metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of ThirdPartyResources. diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index 160a8b36..752fb71e 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -5424,7 +5424,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep453 := !z.EncBinary() yy2arr453 := z.EncBasicHandle().StructToArray - var yyq453 [8]bool + var yyq453 [9]bool _, _, _ = yysep453, yyq453, yy2arr453 const yyr453 bool = false yyq453[0] = x.Replicas != nil @@ -5434,9 +5434,10 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { 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 { - r.EncodeArrayStart(8) + r.EncodeArrayStart(9) } else { yynn453 = 1 for _, b := range yyq453 { @@ -5488,7 +5489,13 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym460 := z.EncBinary() + _ = yym460 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() @@ -5501,26 +5508,32 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym461 := z.EncBinary() + _ = yym461 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy461 := &x.Template - yy461.CodecEncodeSelf(e) + yy463 := &x.Template + yy463.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy462 := &x.Template - yy462.CodecEncodeSelf(e) + yy464 := &x.Template + yy464.CodecEncodeSelf(e) } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[3] { - yy464 := &x.Strategy - yy464.CodecEncodeSelf(e) + yy466 := &x.Strategy + yy466.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -5529,15 +5542,15 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy465 := &x.Strategy - yy465.CodecEncodeSelf(e) + yy467 := &x.Strategy + yy467.CodecEncodeSelf(e) } } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[4] { - yym467 := z.EncBinary() - _ = yym467 + yym469 := z.EncBinary() + _ = yym469 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5550,8 +5563,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym468 := z.EncBinary() - _ = yym468 + yym470 := z.EncBinary() + _ = yym470 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5564,12 +5577,12 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy470 := *x.RevisionHistoryLimit - yym471 := z.EncBinary() - _ = yym471 + yy472 := *x.RevisionHistoryLimit + yym473 := z.EncBinary() + _ = yym473 if false { } else { - r.EncodeInt(int64(yy470)) + r.EncodeInt(int64(yy472)) } } } else { @@ -5583,12 +5596,12 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy472 := *x.RevisionHistoryLimit - yym473 := z.EncBinary() - _ = yym473 + yy474 := *x.RevisionHistoryLimit + yym475 := z.EncBinary() + _ = yym475 if false { } else { - r.EncodeInt(int64(yy472)) + r.EncodeInt(int64(yy474)) } } } @@ -5596,8 +5609,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[6] { - yym475 := z.EncBinary() - _ = yym475 + yym477 := z.EncBinary() + _ = yym477 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5610,8 +5623,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("paused")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym476 := z.EncBinary() - _ = yym476 + yym478 := z.EncBinary() + _ = yym478 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5641,6 +5654,41 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } + if yyr453 || yy2arr453 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq453[8] { + if x.ProgressDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy481 := *x.ProgressDeadlineSeconds + yym482 := z.EncBinary() + _ = yym482 + if false { + } else { + r.EncodeInt(int64(yy481)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq453[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 + if false { + } else { + r.EncodeInt(int64(yy483)) + } + } + } + } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -5654,25 +5702,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym478 := z.DecBinary() - _ = yym478 + yym485 := z.DecBinary() + _ = yym485 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct479 := r.ContainerType() - if yyct479 == codecSelferValueTypeMap1234 { - yyl479 := r.ReadMapStart() - if yyl479 == 0 { + yyct486 := r.ContainerType() + if yyct486 == codecSelferValueTypeMap1234 { + yyl486 := r.ReadMapStart() + if yyl486 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl479, d) + x.codecDecodeSelfFromMap(yyl486, d) } - } else if yyct479 == codecSelferValueTypeArray1234 { - yyl479 := r.ReadArrayStart() - if yyl479 == 0 { + } else if yyct486 == codecSelferValueTypeArray1234 { + yyl486 := r.ReadArrayStart() + if yyl486 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl479, d) + x.codecDecodeSelfFromArray(yyl486, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5684,12 +5732,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys480Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys480Slc - var yyhl480 bool = l >= 0 - for yyj480 := 0; ; yyj480++ { - if yyhl480 { - if yyj480 >= l { + var yys487Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys487Slc + var yyhl487 bool = l >= 0 + for yyj487 := 0; ; yyj487++ { + if yyhl487 { + if yyj487 >= l { break } } else { @@ -5698,10 +5746,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys480Slc = r.DecodeBytes(yys480Slc, true, true) - yys480 := string(yys480Slc) + yys487Slc = r.DecodeBytes(yys487Slc, true, true) + yys487 := string(yys487Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys480 { + switch yys487 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -5711,8 +5759,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym482 := z.DecBinary() - _ = yym482 + yym489 := z.DecBinary() + _ = yym489 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -5725,23 +5773,29 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym491 := z.DecBinary() + _ = yym491 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv484 := &x.Template - yyv484.CodecDecodeSelf(d) + yyv492 := &x.Template + yyv492.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv485 := &x.Strategy - yyv485.CodecDecodeSelf(d) + yyv493 := &x.Strategy + yyv493.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -5758,8 +5812,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym488 := z.DecBinary() - _ = yym488 + yym496 := z.DecBinary() + _ = yym496 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -5782,10 +5836,26 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } + case "progressDeadlineSeconds": + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil + } + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym500 := z.DecBinary() + _ = yym500 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } default: - z.DecStructFieldNotFound(-1, yys480) - } // end switch yys480 - } // end for yyj480 + z.DecStructFieldNotFound(-1, yys487) + } // end switch yys487 + } // end for yyj487 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5793,16 +5863,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj491 int - var yyb491 bool - var yyhl491 bool = l >= 0 - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + var yyj501 int + var yyb501 bool + var yyhl501 bool = l >= 0 + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5815,20 +5885,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym493 := z.DecBinary() - _ = yym493 + yym503 := z.DecBinary() + _ = yym503 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5839,17 +5909,23 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym505 := z.DecBinary() + _ = yym505 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5857,16 +5933,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv495 := &x.Template - yyv495.CodecDecodeSelf(d) + yyv506 := &x.Template + yyv506.CodecDecodeSelf(d) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5874,16 +5950,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv496 := &x.Strategy - yyv496.CodecDecodeSelf(d) + yyv507 := &x.Strategy + yyv507.CodecDecodeSelf(d) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5893,13 +5969,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5912,20 +5988,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym499 := z.DecBinary() - _ = yym499 + yym510 := z.DecBinary() + _ = yym510 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5935,13 +6011,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb491 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb491 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5956,18 +6032,44 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } - for { - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l - } else { - yyb491 = r.CheckBreak() + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l + } else { + yyb501 = r.CheckBreak() + } + if yyb501 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil } - if yyb491 { + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym514 := z.DecBinary() + _ = yym514 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } + for { + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l + } else { + yyb501 = r.CheckBreak() + } + if yyb501 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj491-1, "") + z.DecStructFieldNotFound(yyj501-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5979,37 +6081,37 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym502 := z.EncBinary() - _ = yym502 + yym515 := z.EncBinary() + _ = yym515 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep503 := !z.EncBinary() - yy2arr503 := z.EncBasicHandle().StructToArray - var yyq503 [5]bool - _, _, _ = yysep503, yyq503, yy2arr503 - const yyr503 bool = false - yyq503[0] = x.Kind != "" - yyq503[1] = x.APIVersion != "" - yyq503[3] = len(x.UpdatedAnnotations) != 0 - var yynn503 int - if yyr503 || yy2arr503 { + 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 { r.EncodeArrayStart(5) } else { - yynn503 = 2 - for _, b := range yyq503 { + yynn516 = 2 + for _, b := range yyq516 { if b { - yynn503++ + yynn516++ } } - r.EncodeMapStart(yynn503) - yynn503 = 0 + r.EncodeMapStart(yynn516) + yynn516 = 0 } - if yyr503 || yy2arr503 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq503[0] { - yym505 := z.EncBinary() - _ = yym505 + if yyq516[0] { + yym518 := z.EncBinary() + _ = yym518 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6018,23 +6120,23 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq503[0] { + if yyq516[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym506 := z.EncBinary() - _ = yym506 + yym519 := z.EncBinary() + _ = yym519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr503 || yy2arr503 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq503[1] { - yym508 := z.EncBinary() - _ = yym508 + if yyq516[1] { + yym521 := z.EncBinary() + _ = yym521 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6043,22 +6145,22 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq503[1] { + if yyq516[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym509 := z.EncBinary() - _ = yym509 + yym522 := z.EncBinary() + _ = yym522 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr503 || yy2arr503 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym511 := z.EncBinary() - _ = yym511 + yym524 := z.EncBinary() + _ = yym524 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -6067,21 +6169,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym512 := z.EncBinary() - _ = yym512 + yym525 := z.EncBinary() + _ = yym525 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr503 || yy2arr503 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq503[3] { + if yyq516[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym514 := z.EncBinary() - _ = yym514 + yym527 := z.EncBinary() + _ = yym527 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6091,15 +6193,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq503[3] { + if yyq516[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym515 := z.EncBinary() - _ = yym515 + yym528 := z.EncBinary() + _ = yym528 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6107,18 +6209,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr503 || yy2arr503 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy517 := &x.RollbackTo - yy517.CodecEncodeSelf(e) + yy530 := &x.RollbackTo + yy530.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy518 := &x.RollbackTo - yy518.CodecEncodeSelf(e) + yy531 := &x.RollbackTo + yy531.CodecEncodeSelf(e) } - if yyr503 || yy2arr503 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6131,25 +6233,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym519 := z.DecBinary() - _ = yym519 + yym532 := z.DecBinary() + _ = yym532 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct520 := r.ContainerType() - if yyct520 == codecSelferValueTypeMap1234 { - yyl520 := r.ReadMapStart() - if yyl520 == 0 { + yyct533 := r.ContainerType() + if yyct533 == codecSelferValueTypeMap1234 { + yyl533 := r.ReadMapStart() + if yyl533 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl520, d) + x.codecDecodeSelfFromMap(yyl533, d) } - } else if yyct520 == codecSelferValueTypeArray1234 { - yyl520 := r.ReadArrayStart() - if yyl520 == 0 { + } else if yyct533 == codecSelferValueTypeArray1234 { + yyl533 := r.ReadArrayStart() + if yyl533 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl520, d) + x.codecDecodeSelfFromArray(yyl533, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6161,12 +6263,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys521Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys521Slc - var yyhl521 bool = l >= 0 - for yyj521 := 0; ; yyj521++ { - if yyhl521 { - if yyj521 >= l { + var yys534Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys534Slc + var yyhl534 bool = l >= 0 + for yyj534 := 0; ; yyj534++ { + if yyhl534 { + if yyj534 >= l { break } } else { @@ -6175,10 +6277,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys521Slc = r.DecodeBytes(yys521Slc, true, true) - yys521 := string(yys521Slc) + yys534Slc = r.DecodeBytes(yys534Slc, true, true) + yys534 := string(yys534Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys521 { + switch yys534 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6201,25 +6303,25 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv525 := &x.UpdatedAnnotations - yym526 := z.DecBinary() - _ = yym526 + yyv538 := &x.UpdatedAnnotations + yym539 := z.DecBinary() + _ = yym539 if false { } else { - z.F.DecMapStringStringX(yyv525, false, d) + z.F.DecMapStringStringX(yyv538, false, d) } } case "rollbackTo": if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv527 := &x.RollbackTo - yyv527.CodecDecodeSelf(d) + yyv540 := &x.RollbackTo + yyv540.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys521) - } // end switch yys521 - } // end for yyj521 + z.DecStructFieldNotFound(-1, yys534) + } // end switch yys534 + } // end for yyj534 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6227,16 +6329,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj528 int - var yyb528 bool - var yyhl528 bool = l >= 0 - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + var yyj541 int + var yyb541 bool + var yyhl541 bool = l >= 0 + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb528 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb528 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6246,13 +6348,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb528 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb528 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6262,13 +6364,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb528 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb528 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6278,13 +6380,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb528 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb528 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6292,21 +6394,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv532 := &x.UpdatedAnnotations - yym533 := z.DecBinary() - _ = yym533 + yyv545 := &x.UpdatedAnnotations + yym546 := z.DecBinary() + _ = yym546 if false { } else { - z.F.DecMapStringStringX(yyv532, false, d) + z.F.DecMapStringStringX(yyv545, false, d) } } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb528 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb528 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6314,21 +6416,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv534 := &x.RollbackTo - yyv534.CodecDecodeSelf(d) + yyv547 := &x.RollbackTo + yyv547.CodecDecodeSelf(d) } for { - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb528 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb528 { + if yyb541 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj528-1, "") + z.DecStructFieldNotFound(yyj541-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6340,35 +6442,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym535 := z.EncBinary() - _ = yym535 + yym548 := z.EncBinary() + _ = yym548 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep536 := !z.EncBinary() - yy2arr536 := z.EncBasicHandle().StructToArray - var yyq536 [1]bool - _, _, _ = yysep536, yyq536, yy2arr536 - const yyr536 bool = false - yyq536[0] = x.Revision != 0 - var yynn536 int - if yyr536 || yy2arr536 { + 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 { r.EncodeArrayStart(1) } else { - yynn536 = 0 - for _, b := range yyq536 { + yynn549 = 0 + for _, b := range yyq549 { if b { - yynn536++ + yynn549++ } } - r.EncodeMapStart(yynn536) - yynn536 = 0 + r.EncodeMapStart(yynn549) + yynn549 = 0 } - if yyr536 || yy2arr536 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq536[0] { - yym538 := z.EncBinary() - _ = yym538 + if yyq549[0] { + yym551 := z.EncBinary() + _ = yym551 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -6377,19 +6479,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq536[0] { + if yyq549[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym539 := z.EncBinary() - _ = yym539 + yym552 := z.EncBinary() + _ = yym552 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr536 || yy2arr536 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6402,25 +6504,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym540 := z.DecBinary() - _ = yym540 + yym553 := z.DecBinary() + _ = yym553 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct541 := r.ContainerType() - if yyct541 == codecSelferValueTypeMap1234 { - yyl541 := r.ReadMapStart() - if yyl541 == 0 { + yyct554 := r.ContainerType() + if yyct554 == codecSelferValueTypeMap1234 { + yyl554 := r.ReadMapStart() + if yyl554 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl541, d) + x.codecDecodeSelfFromMap(yyl554, d) } - } else if yyct541 == codecSelferValueTypeArray1234 { - yyl541 := r.ReadArrayStart() - if yyl541 == 0 { + } else if yyct554 == codecSelferValueTypeArray1234 { + yyl554 := r.ReadArrayStart() + if yyl554 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl541, d) + x.codecDecodeSelfFromArray(yyl554, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6432,12 +6534,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys542Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys542Slc - var yyhl542 bool = l >= 0 - for yyj542 := 0; ; yyj542++ { - if yyhl542 { - if yyj542 >= l { + var yys555Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys555Slc + var yyhl555 bool = l >= 0 + for yyj555 := 0; ; yyj555++ { + if yyhl555 { + if yyj555 >= l { break } } else { @@ -6446,10 +6548,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys542Slc = r.DecodeBytes(yys542Slc, true, true) - yys542 := string(yys542Slc) + yys555Slc = r.DecodeBytes(yys555Slc, true, true) + yys555 := string(yys555Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys542 { + switch yys555 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -6457,9 +6559,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys542) - } // end switch yys542 - } // end for yyj542 + z.DecStructFieldNotFound(-1, yys555) + } // end switch yys555 + } // end for yyj555 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6467,16 +6569,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj544 int - var yyb544 bool - var yyhl544 bool = l >= 0 - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + var yyj557 int + var yyb557 bool + var yyhl557 bool = l >= 0 + yyj557++ + if yyhl557 { + yyb557 = yyj557 > l } else { - yyb544 = r.CheckBreak() + yyb557 = r.CheckBreak() } - if yyb544 { + if yyb557 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6487,17 +6589,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + yyj557++ + if yyhl557 { + yyb557 = yyj557 > l } else { - yyb544 = r.CheckBreak() + yyb557 = r.CheckBreak() } - if yyb544 { + if yyb557 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj544-1, "") + z.DecStructFieldNotFound(yyj557-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6509,49 +6611,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym546 := z.EncBinary() - _ = yym546 + yym559 := z.EncBinary() + _ = yym559 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep547 := !z.EncBinary() - yy2arr547 := z.EncBasicHandle().StructToArray - var yyq547 [2]bool - _, _, _ = yysep547, yyq547, yy2arr547 - const yyr547 bool = false - yyq547[0] = x.Type != "" - yyq547[1] = x.RollingUpdate != nil - var yynn547 int - if yyr547 || yy2arr547 { + 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 { r.EncodeArrayStart(2) } else { - yynn547 = 0 - for _, b := range yyq547 { + yynn560 = 0 + for _, b := range yyq560 { if b { - yynn547++ + yynn560++ } } - r.EncodeMapStart(yynn547) - yynn547 = 0 + r.EncodeMapStart(yynn560) + yynn560 = 0 } - if yyr547 || yy2arr547 { + if yyr560 || yy2arr560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq547[0] { + if yyq560[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq547[0] { + if yyq560[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr547 || yy2arr547 { + if yyr560 || yy2arr560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq547[1] { + if yyq560[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -6561,7 +6663,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq547[1] { + if yyq560[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6572,7 +6674,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr547 || yy2arr547 { + if yyr560 || yy2arr560 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6585,25 +6687,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym550 := z.DecBinary() - _ = yym550 + yym563 := z.DecBinary() + _ = yym563 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct551 := r.ContainerType() - if yyct551 == codecSelferValueTypeMap1234 { - yyl551 := r.ReadMapStart() - if yyl551 == 0 { + yyct564 := r.ContainerType() + if yyct564 == codecSelferValueTypeMap1234 { + yyl564 := r.ReadMapStart() + if yyl564 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl551, d) + x.codecDecodeSelfFromMap(yyl564, d) } - } else if yyct551 == codecSelferValueTypeArray1234 { - yyl551 := r.ReadArrayStart() - if yyl551 == 0 { + } else if yyct564 == codecSelferValueTypeArray1234 { + yyl564 := r.ReadArrayStart() + if yyl564 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl551, d) + x.codecDecodeSelfFromArray(yyl564, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6615,12 +6717,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys552Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys552Slc - var yyhl552 bool = l >= 0 - for yyj552 := 0; ; yyj552++ { - if yyhl552 { - if yyj552 >= l { + var yys565Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys565Slc + var yyhl565 bool = l >= 0 + for yyj565 := 0; ; yyj565++ { + if yyhl565 { + if yyj565 >= l { break } } else { @@ -6629,10 +6731,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys552Slc = r.DecodeBytes(yys552Slc, true, true) - yys552 := string(yys552Slc) + yys565Slc = r.DecodeBytes(yys565Slc, true, true) + yys565 := string(yys565Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys552 { + switch yys565 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -6651,9 +6753,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys552) - } // end switch yys552 - } // end for yyj552 + z.DecStructFieldNotFound(-1, yys565) + } // end switch yys565 + } // end for yyj565 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6661,16 +6763,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj555 int - var yyb555 bool - var yyhl555 bool = l >= 0 - yyj555++ - if yyhl555 { - yyb555 = yyj555 > l + var yyj568 int + var yyb568 bool + var yyhl568 bool = l >= 0 + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb555 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb555 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6680,13 +6782,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj555++ - if yyhl555 { - yyb555 = yyj555 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb555 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb555 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6702,17 +6804,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj555++ - if yyhl555 { - yyb555 = yyj555 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb555 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb555 { + if yyb568 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj555-1, "") + z.DecStructFieldNotFound(yyj568-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6721,8 +6823,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym558 := z.EncBinary() - _ = yym558 + yym571 := z.EncBinary() + _ = yym571 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6734,8 +6836,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym559 := z.DecBinary() - _ = yym559 + yym572 := z.DecBinary() + _ = yym572 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6750,42 +6852,42 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym560 := z.EncBinary() - _ = yym560 + yym573 := z.EncBinary() + _ = yym573 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep561 := !z.EncBinary() - yy2arr561 := z.EncBasicHandle().StructToArray - var yyq561 [2]bool - _, _, _ = yysep561, yyq561, yy2arr561 - const yyr561 bool = false - yyq561[0] = x.MaxUnavailable != nil - yyq561[1] = x.MaxSurge != nil - var yynn561 int - if yyr561 || yy2arr561 { + 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 { r.EncodeArrayStart(2) } else { - yynn561 = 0 - for _, b := range yyq561 { + yynn574 = 0 + for _, b := range yyq574 { if b { - yynn561++ + yynn574++ } } - r.EncodeMapStart(yynn561) - yynn561 = 0 + r.EncodeMapStart(yynn574) + yynn574 = 0 } - if yyr561 || yy2arr561 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq561[0] { + if yyq574[0] { if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym563 := z.EncBinary() - _ = yym563 + yym576 := z.EncBinary() + _ = yym576 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym563 && z.IsJSONHandle() { + } else if !yym576 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6795,18 +6897,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq561[0] { + if yyq574[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym564 := z.EncBinary() - _ = yym564 + yym577 := z.EncBinary() + _ = yym577 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym564 && z.IsJSONHandle() { + } else if !yym577 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6814,17 +6916,17 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr561 || yy2arr561 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq561[1] { + if yyq574[1] { if x.MaxSurge == nil { r.EncodeNil() } else { - yym566 := z.EncBinary() - _ = yym566 + yym579 := z.EncBinary() + _ = yym579 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym566 && z.IsJSONHandle() { + } else if !yym579 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6834,18 +6936,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq561[1] { + if yyq574[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxSurge == nil { r.EncodeNil() } else { - yym567 := z.EncBinary() - _ = yym567 + yym580 := z.EncBinary() + _ = yym580 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym567 && z.IsJSONHandle() { + } else if !yym580 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6853,7 +6955,7 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr561 || yy2arr561 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6866,25 +6968,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym568 := z.DecBinary() - _ = yym568 + yym581 := z.DecBinary() + _ = yym581 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct569 := r.ContainerType() - if yyct569 == codecSelferValueTypeMap1234 { - yyl569 := r.ReadMapStart() - if yyl569 == 0 { + yyct582 := r.ContainerType() + if yyct582 == codecSelferValueTypeMap1234 { + yyl582 := r.ReadMapStart() + if yyl582 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl569, d) + x.codecDecodeSelfFromMap(yyl582, d) } - } else if yyct569 == codecSelferValueTypeArray1234 { - yyl569 := r.ReadArrayStart() - if yyl569 == 0 { + } else if yyct582 == codecSelferValueTypeArray1234 { + yyl582 := r.ReadArrayStart() + if yyl582 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl569, d) + x.codecDecodeSelfFromArray(yyl582, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6896,12 +6998,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys570Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys570Slc - var yyhl570 bool = l >= 0 - for yyj570 := 0; ; yyj570++ { - if yyhl570 { - if yyj570 >= l { + var yys583Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys583Slc + var yyhl583 bool = l >= 0 + for yyj583 := 0; ; yyj583++ { + if yyhl583 { + if yyj583 >= l { break } } else { @@ -6910,10 +7012,10 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys570Slc = r.DecodeBytes(yys570Slc, true, true) - yys570 := string(yys570Slc) + yys583Slc = r.DecodeBytes(yys583Slc, true, true) + yys583 := string(yys583Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys570 { + switch yys583 { case "maxUnavailable": if r.TryDecodeAsNil() { if x.MaxUnavailable != nil { @@ -6923,11 +7025,11 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym572 := z.DecBinary() - _ = yym572 + yym585 := z.DecBinary() + _ = yym585 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym572 && z.IsJSONHandle() { + } else if !yym585 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) @@ -6942,20 +7044,20 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym574 := z.DecBinary() - _ = yym574 + yym587 := z.DecBinary() + _ = yym587 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym574 && z.IsJSONHandle() { + } else if !yym587 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } default: - z.DecStructFieldNotFound(-1, yys570) - } // end switch yys570 - } // end for yyj570 + z.DecStructFieldNotFound(-1, yys583) + } // end switch yys583 + } // end for yyj583 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6963,16 +7065,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj575 int - var yyb575 bool - var yyhl575 bool = l >= 0 - yyj575++ - if yyhl575 { - yyb575 = yyj575 > l + var yyj588 int + var yyb588 bool + var yyhl588 bool = l >= 0 + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb575 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb575 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6985,23 +7087,23 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym577 := z.DecBinary() - _ = yym577 + yym590 := z.DecBinary() + _ = yym590 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym577 && z.IsJSONHandle() { + } else if !yym590 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) } } - yyj575++ - if yyhl575 { - yyb575 = yyj575 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb575 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb575 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7014,28 +7116,28 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym579 := z.DecBinary() - _ = yym579 + yym592 := z.DecBinary() + _ = yym592 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym579 && z.IsJSONHandle() { + } else if !yym592 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } for { - yyj575++ - if yyhl575 { - yyb575 = yyj575 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb575 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb575 { + if yyb588 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj575-1, "") + z.DecStructFieldNotFound(yyj588-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7047,160 +7149,194 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym580 := z.EncBinary() - _ = yym580 + yym593 := z.EncBinary() + _ = yym593 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep581 := !z.EncBinary() - yy2arr581 := z.EncBasicHandle().StructToArray - var yyq581 [5]bool - _, _, _ = yysep581, yyq581, yy2arr581 - const yyr581 bool = false - yyq581[0] = x.ObservedGeneration != 0 - yyq581[1] = x.Replicas != 0 - yyq581[2] = x.UpdatedReplicas != 0 - yyq581[3] = x.AvailableReplicas != 0 - yyq581[4] = x.UnavailableReplicas != 0 - var yynn581 int - if yyr581 || yy2arr581 { - r.EncodeArrayStart(5) + 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) } else { - yynn581 = 0 - for _, b := range yyq581 { + yynn594 = 0 + for _, b := range yyq594 { if b { - yynn581++ + yynn594++ } } - r.EncodeMapStart(yynn581) - yynn581 = 0 + r.EncodeMapStart(yynn594) + yynn594 = 0 } - if yyr581 || yy2arr581 { + if yyr594 || yy2arr594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[0] { - yym583 := z.EncBinary() - _ = yym583 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq581[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym584 := z.EncBinary() - _ = yym584 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } - } - if yyr581 || yy2arr581 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[1] { - yym586 := z.EncBinary() - _ = yym586 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq581[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym587 := z.EncBinary() - _ = yym587 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - } - if yyr581 || yy2arr581 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[2] { - yym589 := z.EncBinary() - _ = yym589 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq581[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym590 := z.EncBinary() - _ = yym590 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } - } - if yyr581 || yy2arr581 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[3] { - yym592 := z.EncBinary() - _ = yym592 - if false { - } else { - r.EncodeInt(int64(x.AvailableReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq581[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym593 := z.EncBinary() - _ = yym593 - if false { - } else { - r.EncodeInt(int64(x.AvailableReplicas)) - } - } - } - if yyr581 || yy2arr581 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[4] { - yym595 := z.EncBinary() - _ = yym595 - if false { - } else { - r.EncodeInt(int64(x.UnavailableReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq581[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq594[0] { yym596 := z.EncBinary() _ = yym596 if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym597 := z.EncBinary() + _ = yym597 + if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } + } + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[1] { + yym599 := z.EncBinary() + _ = yym599 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym600 := z.EncBinary() + _ = yym600 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + } + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[2] { + yym602 := z.EncBinary() + _ = yym602 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym603 := z.EncBinary() + _ = yym603 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } + } + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[3] { + yym605 := z.EncBinary() + _ = yym605 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym606 := z.EncBinary() + _ = yym606 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } + } + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[4] { + yym608 := z.EncBinary() + _ = yym608 + if false { + } else { + r.EncodeInt(int64(x.UnavailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym609 := z.EncBinary() + _ = yym609 + if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr581 || yy2arr581 { + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym611 := z.EncBinary() + _ = yym611 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq594[5] { + 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 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } + } + if yyr594 || yy2arr594 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7213,25 +7349,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym597 := z.DecBinary() - _ = yym597 + yym613 := z.DecBinary() + _ = yym613 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct598 := r.ContainerType() - if yyct598 == codecSelferValueTypeMap1234 { - yyl598 := r.ReadMapStart() - if yyl598 == 0 { + yyct614 := r.ContainerType() + if yyct614 == codecSelferValueTypeMap1234 { + yyl614 := r.ReadMapStart() + if yyl614 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl598, d) + x.codecDecodeSelfFromMap(yyl614, d) } - } else if yyct598 == codecSelferValueTypeArray1234 { - yyl598 := r.ReadArrayStart() - if yyl598 == 0 { + } else if yyct614 == codecSelferValueTypeArray1234 { + yyl614 := r.ReadArrayStart() + if yyl614 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl598, d) + x.codecDecodeSelfFromArray(yyl614, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7243,12 +7379,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys599Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys599Slc - var yyhl599 bool = l >= 0 - for yyj599 := 0; ; yyj599++ { - if yyhl599 { - if yyj599 >= l { + var yys615Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys615Slc + var yyhl615 bool = l >= 0 + for yyj615 := 0; ; yyj615++ { + if yyhl615 { + if yyj615 >= l { break } } else { @@ -7257,10 +7393,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys599Slc = r.DecodeBytes(yys599Slc, true, true) - yys599 := string(yys599Slc) + yys615Slc = r.DecodeBytes(yys615Slc, true, true) + yys615 := string(yys615Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys599 { + switch yys615 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -7291,10 +7427,22 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv621 := &x.Conditions + yym622 := z.DecBinary() + _ = yym622 + if false { + } else { + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv621), d) + } + } default: - z.DecStructFieldNotFound(-1, yys599) - } // end switch yys599 - } // end for yyj599 + z.DecStructFieldNotFound(-1, yys615) + } // end switch yys615 + } // end for yyj615 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7302,16 +7450,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj605 int - var yyb605 bool - var yyhl605 bool = l >= 0 - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + var yyj623 int + var yyb623 bool + var yyhl623 bool = l >= 0 + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb605 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb605 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7321,13 +7469,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb605 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb605 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7337,13 +7485,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb605 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb605 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7353,13 +7501,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb605 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb605 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7369,13 +7517,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb605 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb605 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7385,18 +7533,521 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } - for { - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv629 := &x.Conditions + yym630 := z.DecBinary() + _ = yym630 + if false { } else { - yyb605 = r.CheckBreak() + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv629), d) } - if yyb605 { + } + for { + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj605-1, "") + z.DecStructFieldNotFound(yyj623-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x DeploymentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym631 := z.EncBinary() + _ = yym631 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *DeploymentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym632 := z.DecBinary() + _ = yym632 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym633 := z.EncBinary() + _ = yym633 + 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 { + r.EncodeArrayStart(6) + } else { + yynn634 = 2 + for _, b := range yyq634 { + if b { + yynn634++ + } + } + r.EncodeMapStart(yynn634) + yynn634 = 0 + } + if yyr634 || yy2arr634 { + 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 yyr634 || yy2arr634 { + 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)) + } + } 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)) + } + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq634[2] { + yy640 := &x.LastUpdateTime + yym641 := z.EncBinary() + _ = yym641 + if false { + } else if z.HasExtensions() && z.EncExt(yy640) { + } else if yym641 { + z.EncBinaryMarshal(yy640) + } else if !yym641 && z.IsJSONHandle() { + z.EncJSONMarshal(yy640) + } else { + z.EncFallback(yy640) + } + } else { + r.EncodeNil() + } + } else { + if yyq634[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy642 := &x.LastUpdateTime + yym643 := z.EncBinary() + _ = yym643 + if false { + } else if z.HasExtensions() && z.EncExt(yy642) { + } else if yym643 { + z.EncBinaryMarshal(yy642) + } else if !yym643 && z.IsJSONHandle() { + z.EncJSONMarshal(yy642) + } else { + z.EncFallback(yy642) + } + } + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq634[3] { + yy645 := &x.LastTransitionTime + yym646 := z.EncBinary() + _ = yym646 + if false { + } else if z.HasExtensions() && z.EncExt(yy645) { + } else if yym646 { + z.EncBinaryMarshal(yy645) + } else if !yym646 && z.IsJSONHandle() { + z.EncJSONMarshal(yy645) + } else { + z.EncFallback(yy645) + } + } else { + r.EncodeNil() + } + } else { + if yyq634[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy647 := &x.LastTransitionTime + yym648 := z.EncBinary() + _ = yym648 + if false { + } else if z.HasExtensions() && z.EncExt(yy647) { + } else if yym648 { + z.EncBinaryMarshal(yy647) + } else if !yym648 && z.IsJSONHandle() { + z.EncJSONMarshal(yy647) + } else { + z.EncFallback(yy647) + } + } + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq634[4] { + yym650 := z.EncBinary() + _ = yym650 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq634[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym651 := z.EncBinary() + _ = yym651 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq634[5] { + yym653 := z.EncBinary() + _ = yym653 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq634[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym654 := z.EncBinary() + _ = yym654 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DeploymentCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym655 := z.DecBinary() + _ = yym655 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct656 := r.ContainerType() + if yyct656 == codecSelferValueTypeMap1234 { + yyl656 := r.ReadMapStart() + if yyl656 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl656, d) + } + } else if yyct656 == codecSelferValueTypeArray1234 { + yyl656 := r.ReadArrayStart() + if yyl656 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl656, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys657Slc = r.DecodeBytes(yys657Slc, true, true) + yys657 := string(yys657Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys657 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + } + case "lastUpdateTime": + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv660 := &x.LastUpdateTime + yym661 := z.DecBinary() + _ = yym661 + if false { + } else if z.HasExtensions() && z.DecExt(yyv660) { + } else if yym661 { + z.DecBinaryUnmarshal(yyv660) + } else if !yym661 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv660) + } else { + z.DecFallback(yyv660, false) + } + } + case "lastTransitionTime": + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv662 := &x.LastTransitionTime + yym663 := z.DecBinary() + _ = yym663 + if false { + } else if z.HasExtensions() && z.DecExt(yyv662) { + } else if yym663 { + z.DecBinaryUnmarshal(yyv662) + } else if !yym663 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv662) + } else { + z.DecFallback(yyv662, 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, yys657) + } // end switch yys657 + } // end for yyj657 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv669 := &x.LastUpdateTime + yym670 := z.DecBinary() + _ = yym670 + if false { + } else if z.HasExtensions() && z.DecExt(yyv669) { + } else if yym670 { + z.DecBinaryUnmarshal(yyv669) + } else if !yym670 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv669) + } else { + z.DecFallback(yyv669, false) + } + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv671 := &x.LastTransitionTime + yym672 := z.DecBinary() + _ = yym672 + if false { + } else if z.HasExtensions() && z.DecExt(yyv671) { + } else if yym672 { + z.DecBinaryUnmarshal(yyv671) + } else if !yym672 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv671) + } else { + z.DecFallback(yyv671, false) + } + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj666-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7408,37 +8059,37 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym611 := z.EncBinary() - _ = yym611 + yym675 := z.EncBinary() + _ = yym675 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep612 := !z.EncBinary() - yy2arr612 := z.EncBasicHandle().StructToArray - var yyq612 [4]bool - _, _, _ = yysep612, yyq612, yy2arr612 - const yyr612 bool = false - yyq612[0] = x.Kind != "" - yyq612[1] = x.APIVersion != "" - yyq612[2] = true - var yynn612 int - if yyr612 || yy2arr612 { + 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 { r.EncodeArrayStart(4) } else { - yynn612 = 1 - for _, b := range yyq612 { + yynn676 = 1 + for _, b := range yyq676 { if b { - yynn612++ + yynn676++ } } - r.EncodeMapStart(yynn612) - yynn612 = 0 + r.EncodeMapStart(yynn676) + yynn676 = 0 } - if yyr612 || yy2arr612 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq612[0] { - yym614 := z.EncBinary() - _ = yym614 + if yyq676[0] { + yym678 := z.EncBinary() + _ = yym678 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7447,23 +8098,23 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq612[0] { + if yyq676[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym615 := z.EncBinary() - _ = yym615 + yym679 := z.EncBinary() + _ = yym679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr612 || yy2arr612 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq612[1] { - yym617 := z.EncBinary() - _ = yym617 + if yyq676[1] { + yym681 := z.EncBinary() + _ = yym681 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7472,54 +8123,54 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq612[1] { + if yyq676[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym618 := z.EncBinary() - _ = yym618 + yym682 := z.EncBinary() + _ = yym682 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr612 || yy2arr612 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq612[2] { - yy620 := &x.ListMeta - yym621 := z.EncBinary() - _ = yym621 + if yyq676[2] { + yy684 := &x.ListMeta + yym685 := z.EncBinary() + _ = yym685 if false { - } else if z.HasExtensions() && z.EncExt(yy620) { + } else if z.HasExtensions() && z.EncExt(yy684) { } else { - z.EncFallback(yy620) + z.EncFallback(yy684) } } else { r.EncodeNil() } } else { - if yyq612[2] { + if yyq676[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy622 := &x.ListMeta - yym623 := z.EncBinary() - _ = yym623 + yy686 := &x.ListMeta + yym687 := z.EncBinary() + _ = yym687 if false { - } else if z.HasExtensions() && z.EncExt(yy622) { + } else if z.HasExtensions() && z.EncExt(yy686) { } else { - z.EncFallback(yy622) + z.EncFallback(yy686) } } } - if yyr612 || yy2arr612 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym625 := z.EncBinary() - _ = yym625 + yym689 := z.EncBinary() + _ = yym689 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) @@ -7532,15 +8183,15 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym626 := z.EncBinary() - _ = yym626 + yym690 := z.EncBinary() + _ = yym690 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) } } } - if yyr612 || yy2arr612 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7553,25 +8204,25 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym627 := z.DecBinary() - _ = yym627 + yym691 := z.DecBinary() + _ = yym691 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct628 := r.ContainerType() - if yyct628 == codecSelferValueTypeMap1234 { - yyl628 := r.ReadMapStart() - if yyl628 == 0 { + yyct692 := r.ContainerType() + if yyct692 == codecSelferValueTypeMap1234 { + yyl692 := r.ReadMapStart() + if yyl692 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl628, d) + x.codecDecodeSelfFromMap(yyl692, d) } - } else if yyct628 == codecSelferValueTypeArray1234 { - yyl628 := r.ReadArrayStart() - if yyl628 == 0 { + } else if yyct692 == codecSelferValueTypeArray1234 { + yyl692 := r.ReadArrayStart() + if yyl692 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl628, d) + x.codecDecodeSelfFromArray(yyl692, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7583,12 +8234,12 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys629Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys629Slc - var yyhl629 bool = l >= 0 - for yyj629 := 0; ; yyj629++ { - if yyhl629 { - if yyj629 >= l { + var yys693Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys693Slc + var yyhl693 bool = l >= 0 + for yyj693 := 0; ; yyj693++ { + if yyhl693 { + if yyj693 >= l { break } } else { @@ -7597,10 +8248,10 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys629Slc = r.DecodeBytes(yys629Slc, true, true) - yys629 := string(yys629Slc) + yys693Slc = r.DecodeBytes(yys693Slc, true, true) + yys693 := string(yys693Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys629 { + switch yys693 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7617,31 +8268,31 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv632 := &x.ListMeta - yym633 := z.DecBinary() - _ = yym633 + yyv696 := &x.ListMeta + yym697 := z.DecBinary() + _ = yym697 if false { - } else if z.HasExtensions() && z.DecExt(yyv632) { + } else if z.HasExtensions() && z.DecExt(yyv696) { } else { - z.DecFallback(yyv632, false) + z.DecFallback(yyv696, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv634 := &x.Items - yym635 := z.DecBinary() - _ = yym635 + yyv698 := &x.Items + yym699 := z.DecBinary() + _ = yym699 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv634), d) + h.decSliceDeployment((*[]Deployment)(yyv698), d) } } default: - z.DecStructFieldNotFound(-1, yys629) - } // end switch yys629 - } // end for yyj629 + z.DecStructFieldNotFound(-1, yys693) + } // end switch yys693 + } // end for yyj693 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7649,16 +8300,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj636 int - var yyb636 bool - var yyhl636 bool = l >= 0 - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + var yyj700 int + var yyb700 bool + var yyhl700 bool = l >= 0 + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l } else { - yyb636 = r.CheckBreak() + yyb700 = r.CheckBreak() } - if yyb636 { + if yyb700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7668,13 +8319,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l } else { - yyb636 = r.CheckBreak() + yyb700 = r.CheckBreak() } - if yyb636 { + if yyb700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7684,13 +8335,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l } else { - yyb636 = r.CheckBreak() + yyb700 = r.CheckBreak() } - if yyb636 { + if yyb700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7698,22 +8349,22 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv639 := &x.ListMeta - yym640 := z.DecBinary() - _ = yym640 + yyv703 := &x.ListMeta + yym704 := z.DecBinary() + _ = yym704 if false { - } else if z.HasExtensions() && z.DecExt(yyv639) { + } else if z.HasExtensions() && z.DecExt(yyv703) { } else { - z.DecFallback(yyv639, false) + z.DecFallback(yyv703, false) } } - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l } else { - yyb636 = r.CheckBreak() + yyb700 = r.CheckBreak() } - if yyb636 { + if yyb700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7721,26 +8372,26 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv641 := &x.Items - yym642 := z.DecBinary() - _ = yym642 + yyv705 := &x.Items + yym706 := z.DecBinary() + _ = yym706 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv641), d) + h.decSliceDeployment((*[]Deployment)(yyv705), d) } } for { - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l } else { - yyb636 = r.CheckBreak() + yyb700 = r.CheckBreak() } - if yyb636 { + if yyb700 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj636-1, "") + z.DecStructFieldNotFound(yyj700-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7752,65 +8403,77 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym643 := z.EncBinary() - _ = yym643 + yym707 := z.EncBinary() + _ = yym707 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep644 := !z.EncBinary() - yy2arr644 := z.EncBasicHandle().StructToArray - var yyq644 [2]bool - _, _, _ = yysep644, yyq644, yy2arr644 - const yyr644 bool = false - yyq644[0] = x.Selector != nil - var yynn644 int - if yyr644 || yy2arr644 { + 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 { r.EncodeArrayStart(2) } else { - yynn644 = 1 - for _, b := range yyq644 { + yynn708 = 1 + for _, b := range yyq708 { if b { - yynn644++ + yynn708++ } } - r.EncodeMapStart(yynn644) - yynn644 = 0 + r.EncodeMapStart(yynn708) + yynn708 = 0 } - if yyr644 || yy2arr644 { + if yyr708 || yy2arr708 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[0] { + if yyq708[0] { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym710 := z.EncBinary() + _ = yym710 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() } } else { - if yyq644[0] { + if yyq708[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym711 := z.EncBinary() + _ = yym711 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } - if yyr644 || yy2arr644 { + if yyr708 || yy2arr708 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy647 := &x.Template - yy647.CodecEncodeSelf(e) + yy713 := &x.Template + yy713.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy648 := &x.Template - yy648.CodecEncodeSelf(e) + yy714 := &x.Template + yy714.CodecEncodeSelf(e) } - if yyr644 || yy2arr644 { + if yyr708 || yy2arr708 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7823,25 +8486,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym649 := z.DecBinary() - _ = yym649 + yym715 := z.DecBinary() + _ = yym715 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct650 := r.ContainerType() - if yyct650 == codecSelferValueTypeMap1234 { - yyl650 := r.ReadMapStart() - if yyl650 == 0 { + yyct716 := r.ContainerType() + if yyct716 == codecSelferValueTypeMap1234 { + yyl716 := r.ReadMapStart() + if yyl716 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl650, d) + x.codecDecodeSelfFromMap(yyl716, d) } - } else if yyct650 == codecSelferValueTypeArray1234 { - yyl650 := r.ReadArrayStart() - if yyl650 == 0 { + } else if yyct716 == codecSelferValueTypeArray1234 { + yyl716 := r.ReadArrayStart() + if yyl716 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl650, d) + x.codecDecodeSelfFromArray(yyl716, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7853,12 +8516,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys651Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys651Slc - var yyhl651 bool = l >= 0 - for yyj651 := 0; ; yyj651++ { - if yyhl651 { - if yyj651 >= l { + var yys717Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys717Slc + var yyhl717 bool = l >= 0 + for yyj717 := 0; ; yyj717++ { + if yyhl717 { + if yyj717 >= l { break } } else { @@ -7867,10 +8530,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys651Slc = r.DecodeBytes(yys651Slc, true, true) - yys651 := string(yys651Slc) + yys717Slc = r.DecodeBytes(yys717Slc, true, true) + yys717 := string(yys717Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys651 { + switch yys717 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -7878,21 +8541,27 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym719 := z.DecBinary() + _ = yym719 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv653 := &x.Template - yyv653.CodecDecodeSelf(d) + yyv720 := &x.Template + yyv720.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys651) - } // end switch yys651 - } // end for yyj651 + z.DecStructFieldNotFound(-1, yys717) + } // end switch yys717 + } // end for yyj717 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7900,16 +8569,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj654 int - var yyb654 bool - var yyhl654 bool = l >= 0 - yyj654++ - if yyhl654 { - yyb654 = yyj654 > l + var yyj721 int + var yyb721 bool + var yyhl721 bool = l >= 0 + yyj721++ + if yyhl721 { + yyb721 = yyj721 > l } else { - yyb654 = r.CheckBreak() + yyb721 = r.CheckBreak() } - if yyb654 { + if yyb721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7920,17 +8589,23 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym723 := z.DecBinary() + _ = yym723 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } - yyj654++ - if yyhl654 { - yyb654 = yyj654 > l + yyj721++ + if yyhl721 { + yyb721 = yyj721 > l } else { - yyb654 = r.CheckBreak() + yyb721 = r.CheckBreak() } - if yyb654 { + if yyb721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7938,21 +8613,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv656 := &x.Template - yyv656.CodecDecodeSelf(d) + yyv724 := &x.Template + yyv724.CodecDecodeSelf(d) } for { - yyj654++ - if yyhl654 { - yyb654 = yyj654 > l + yyj721++ + if yyhl721 { + yyb721 = yyj721 > l } else { - yyb654 = r.CheckBreak() + yyb721 = r.CheckBreak() } - if yyb654 { + if yyb721 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj654-1, "") + z.DecStructFieldNotFound(yyj721-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7964,33 +8639,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym657 := z.EncBinary() - _ = yym657 + yym725 := z.EncBinary() + _ = yym725 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep658 := !z.EncBinary() - yy2arr658 := z.EncBasicHandle().StructToArray - var yyq658 [4]bool - _, _, _ = yysep658, yyq658, yy2arr658 - const yyr658 bool = false - var yynn658 int - if yyr658 || yy2arr658 { + 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) } else { - yynn658 = 4 - for _, b := range yyq658 { + yynn726 = 4 + for _, b := range yyq726 { if b { - yynn658++ + yynn726++ } } - r.EncodeMapStart(yynn658) - yynn658 = 0 + r.EncodeMapStart(yynn726) + yynn726 = 0 } - if yyr658 || yy2arr658 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym660 := z.EncBinary() - _ = yym660 + yym728 := z.EncBinary() + _ = yym728 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -7999,17 +8674,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym661 := z.EncBinary() - _ = yym661 + yym729 := z.EncBinary() + _ = yym729 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr658 || yy2arr658 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym663 := z.EncBinary() - _ = yym663 + yym731 := z.EncBinary() + _ = yym731 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -8018,17 +8693,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym664 := z.EncBinary() - _ = yym664 + yym732 := z.EncBinary() + _ = yym732 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr658 || yy2arr658 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym666 := z.EncBinary() - _ = yym666 + yym734 := z.EncBinary() + _ = yym734 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -8037,17 +8712,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym667 := z.EncBinary() - _ = yym667 + yym735 := z.EncBinary() + _ = yym735 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr658 || yy2arr658 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym669 := z.EncBinary() - _ = yym669 + yym737 := z.EncBinary() + _ = yym737 if false { } else { r.EncodeInt(int64(x.NumberReady)) @@ -8056,14 +8731,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberReady")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym670 := z.EncBinary() - _ = yym670 + yym738 := z.EncBinary() + _ = yym738 if false { } else { r.EncodeInt(int64(x.NumberReady)) } } - if yyr658 || yy2arr658 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8076,25 +8751,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym671 := z.DecBinary() - _ = yym671 + yym739 := z.DecBinary() + _ = yym739 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct672 := r.ContainerType() - if yyct672 == codecSelferValueTypeMap1234 { - yyl672 := r.ReadMapStart() - if yyl672 == 0 { + yyct740 := r.ContainerType() + if yyct740 == codecSelferValueTypeMap1234 { + yyl740 := r.ReadMapStart() + if yyl740 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl672, d) + x.codecDecodeSelfFromMap(yyl740, d) } - } else if yyct672 == codecSelferValueTypeArray1234 { - yyl672 := r.ReadArrayStart() - if yyl672 == 0 { + } else if yyct740 == codecSelferValueTypeArray1234 { + yyl740 := r.ReadArrayStart() + if yyl740 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl672, d) + x.codecDecodeSelfFromArray(yyl740, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8106,12 +8781,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys673Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys673Slc - var yyhl673 bool = l >= 0 - for yyj673 := 0; ; yyj673++ { - if yyhl673 { - if yyj673 >= l { + var yys741Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys741Slc + var yyhl741 bool = l >= 0 + for yyj741 := 0; ; yyj741++ { + if yyhl741 { + if yyj741 >= l { break } } else { @@ -8120,10 +8795,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys673Slc = r.DecodeBytes(yys673Slc, true, true) - yys673 := string(yys673Slc) + yys741Slc = r.DecodeBytes(yys741Slc, true, true) + yys741 := string(yys741Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys673 { + switch yys741 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -8149,9 +8824,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NumberReady = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys673) - } // end switch yys673 - } // end for yyj673 + z.DecStructFieldNotFound(-1, yys741) + } // end switch yys741 + } // end for yyj741 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8159,16 +8834,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj678 int - var yyb678 bool - var yyhl678 bool = l >= 0 - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + var yyj746 int + var yyb746 bool + var yyhl746 bool = l >= 0 + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb678 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb678 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8178,13 +8853,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb678 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb678 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8194,13 +8869,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb678 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb678 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8210,13 +8885,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb678 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb678 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8227,17 +8902,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.NumberReady = int32(r.DecodeInt(32)) } for { - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb678 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb678 { + if yyb746 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj678-1, "") + z.DecStructFieldNotFound(yyj746-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8249,39 +8924,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym683 := z.EncBinary() - _ = yym683 + yym751 := z.EncBinary() + _ = yym751 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep684 := !z.EncBinary() - yy2arr684 := z.EncBasicHandle().StructToArray - var yyq684 [5]bool - _, _, _ = yysep684, yyq684, yy2arr684 - const yyr684 bool = false - yyq684[0] = x.Kind != "" - yyq684[1] = x.APIVersion != "" - yyq684[2] = true - yyq684[3] = true - yyq684[4] = true - var yynn684 int - if yyr684 || yy2arr684 { + 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 { r.EncodeArrayStart(5) } else { - yynn684 = 0 - for _, b := range yyq684 { + yynn752 = 0 + for _, b := range yyq752 { if b { - yynn684++ + yynn752++ } } - r.EncodeMapStart(yynn684) - yynn684 = 0 + r.EncodeMapStart(yynn752) + yynn752 = 0 } - if yyr684 || yy2arr684 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[0] { - yym686 := z.EncBinary() - _ = yym686 + if yyq752[0] { + yym754 := z.EncBinary() + _ = yym754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8290,23 +8965,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq684[0] { + if yyq752[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym687 := z.EncBinary() - _ = yym687 + yym755 := z.EncBinary() + _ = yym755 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr684 || yy2arr684 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[1] { - yym689 := z.EncBinary() - _ = yym689 + if yyq752[1] { + yym757 := z.EncBinary() + _ = yym757 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8315,70 +8990,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq684[1] { + if yyq752[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym690 := z.EncBinary() - _ = yym690 + yym758 := z.EncBinary() + _ = yym758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr684 || yy2arr684 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[2] { - yy692 := &x.ObjectMeta - yy692.CodecEncodeSelf(e) + if yyq752[2] { + yy760 := &x.ObjectMeta + yy760.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq684[2] { + if yyq752[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy693 := &x.ObjectMeta - yy693.CodecEncodeSelf(e) + yy761 := &x.ObjectMeta + yy761.CodecEncodeSelf(e) } } - if yyr684 || yy2arr684 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[3] { - yy695 := &x.Spec - yy695.CodecEncodeSelf(e) + if yyq752[3] { + yy763 := &x.Spec + yy763.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq684[3] { + if yyq752[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy696 := &x.Spec - yy696.CodecEncodeSelf(e) + yy764 := &x.Spec + yy764.CodecEncodeSelf(e) } } - if yyr684 || yy2arr684 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[4] { - yy698 := &x.Status - yy698.CodecEncodeSelf(e) + if yyq752[4] { + yy766 := &x.Status + yy766.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq684[4] { + if yyq752[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy699 := &x.Status - yy699.CodecEncodeSelf(e) + yy767 := &x.Status + yy767.CodecEncodeSelf(e) } } - if yyr684 || yy2arr684 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8391,25 +9066,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym700 := z.DecBinary() - _ = yym700 + yym768 := z.DecBinary() + _ = yym768 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct701 := r.ContainerType() - if yyct701 == codecSelferValueTypeMap1234 { - yyl701 := r.ReadMapStart() - if yyl701 == 0 { + yyct769 := r.ContainerType() + if yyct769 == codecSelferValueTypeMap1234 { + yyl769 := r.ReadMapStart() + if yyl769 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl701, d) + x.codecDecodeSelfFromMap(yyl769, d) } - } else if yyct701 == codecSelferValueTypeArray1234 { - yyl701 := r.ReadArrayStart() - if yyl701 == 0 { + } else if yyct769 == codecSelferValueTypeArray1234 { + yyl769 := r.ReadArrayStart() + if yyl769 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl701, d) + x.codecDecodeSelfFromArray(yyl769, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8421,12 +9096,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys702Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys702Slc - var yyhl702 bool = l >= 0 - for yyj702 := 0; ; yyj702++ { - if yyhl702 { - if yyj702 >= l { + var yys770Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys770Slc + var yyhl770 bool = l >= 0 + for yyj770 := 0; ; yyj770++ { + if yyhl770 { + if yyj770 >= l { break } } else { @@ -8435,10 +9110,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys702Slc = r.DecodeBytes(yys702Slc, true, true) - yys702 := string(yys702Slc) + yys770Slc = r.DecodeBytes(yys770Slc, true, true) + yys770 := string(yys770Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys702 { + switch yys770 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8455,27 +9130,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv705 := &x.ObjectMeta - yyv705.CodecDecodeSelf(d) + yyv773 := &x.ObjectMeta + yyv773.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv706 := &x.Spec - yyv706.CodecDecodeSelf(d) + yyv774 := &x.Spec + yyv774.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv707 := &x.Status - yyv707.CodecDecodeSelf(d) + yyv775 := &x.Status + yyv775.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys702) - } // end switch yys702 - } // end for yyj702 + z.DecStructFieldNotFound(-1, yys770) + } // end switch yys770 + } // end for yyj770 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8483,16 +9158,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj708 int - var yyb708 bool - var yyhl708 bool = l >= 0 - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + var yyj776 int + var yyb776 bool + var yyhl776 bool = l >= 0 + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb708 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb708 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8502,13 +9177,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb708 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb708 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8518,13 +9193,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb708 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb708 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8532,16 +9207,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv711 := &x.ObjectMeta - yyv711.CodecDecodeSelf(d) + yyv779 := &x.ObjectMeta + yyv779.CodecDecodeSelf(d) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb708 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb708 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8549,16 +9224,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv712 := &x.Spec - yyv712.CodecDecodeSelf(d) + yyv780 := &x.Spec + yyv780.CodecDecodeSelf(d) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb708 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb708 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8566,21 +9241,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv713 := &x.Status - yyv713.CodecDecodeSelf(d) + yyv781 := &x.Status + yyv781.CodecDecodeSelf(d) } for { - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb708 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb708 { + if yyb776 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj708-1, "") + z.DecStructFieldNotFound(yyj776-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8592,37 +9267,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym714 := z.EncBinary() - _ = yym714 + yym782 := z.EncBinary() + _ = yym782 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep715 := !z.EncBinary() - yy2arr715 := z.EncBasicHandle().StructToArray - var yyq715 [4]bool - _, _, _ = yysep715, yyq715, yy2arr715 - const yyr715 bool = false - yyq715[0] = x.Kind != "" - yyq715[1] = x.APIVersion != "" - yyq715[2] = true - var yynn715 int - if yyr715 || yy2arr715 { + 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 { r.EncodeArrayStart(4) } else { - yynn715 = 1 - for _, b := range yyq715 { + yynn783 = 1 + for _, b := range yyq783 { if b { - yynn715++ + yynn783++ } } - r.EncodeMapStart(yynn715) - yynn715 = 0 + r.EncodeMapStart(yynn783) + yynn783 = 0 } - if yyr715 || yy2arr715 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq715[0] { - yym717 := z.EncBinary() - _ = yym717 + if yyq783[0] { + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8631,23 +9306,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq715[0] { + if yyq783[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym718 := z.EncBinary() - _ = yym718 + yym786 := z.EncBinary() + _ = yym786 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr715 || yy2arr715 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq715[1] { - yym720 := z.EncBinary() - _ = yym720 + if yyq783[1] { + yym788 := z.EncBinary() + _ = yym788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8656,54 +9331,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq715[1] { + if yyq783[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym721 := z.EncBinary() - _ = yym721 + yym789 := z.EncBinary() + _ = yym789 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr715 || yy2arr715 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq715[2] { - yy723 := &x.ListMeta - yym724 := z.EncBinary() - _ = yym724 + if yyq783[2] { + yy791 := &x.ListMeta + yym792 := z.EncBinary() + _ = yym792 if false { - } else if z.HasExtensions() && z.EncExt(yy723) { + } else if z.HasExtensions() && z.EncExt(yy791) { } else { - z.EncFallback(yy723) + z.EncFallback(yy791) } } else { r.EncodeNil() } } else { - if yyq715[2] { + if yyq783[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy725 := &x.ListMeta - yym726 := z.EncBinary() - _ = yym726 + yy793 := &x.ListMeta + yym794 := z.EncBinary() + _ = yym794 if false { - } else if z.HasExtensions() && z.EncExt(yy725) { + } else if z.HasExtensions() && z.EncExt(yy793) { } else { - z.EncFallback(yy725) + z.EncFallback(yy793) } } } - if yyr715 || yy2arr715 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym728 := z.EncBinary() - _ = yym728 + yym796 := z.EncBinary() + _ = yym796 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -8716,15 +9391,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym729 := z.EncBinary() - _ = yym729 + yym797 := z.EncBinary() + _ = yym797 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr715 || yy2arr715 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8737,25 +9412,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym730 := z.DecBinary() - _ = yym730 + yym798 := z.DecBinary() + _ = yym798 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct731 := r.ContainerType() - if yyct731 == codecSelferValueTypeMap1234 { - yyl731 := r.ReadMapStart() - if yyl731 == 0 { + yyct799 := r.ContainerType() + if yyct799 == codecSelferValueTypeMap1234 { + yyl799 := r.ReadMapStart() + if yyl799 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl731, d) + x.codecDecodeSelfFromMap(yyl799, d) } - } else if yyct731 == codecSelferValueTypeArray1234 { - yyl731 := r.ReadArrayStart() - if yyl731 == 0 { + } else if yyct799 == codecSelferValueTypeArray1234 { + yyl799 := r.ReadArrayStart() + if yyl799 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl731, d) + x.codecDecodeSelfFromArray(yyl799, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8767,12 +9442,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys732Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys732Slc - var yyhl732 bool = l >= 0 - for yyj732 := 0; ; yyj732++ { - if yyhl732 { - if yyj732 >= l { + var yys800Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys800Slc + var yyhl800 bool = l >= 0 + for yyj800 := 0; ; yyj800++ { + if yyhl800 { + if yyj800 >= l { break } } else { @@ -8781,10 +9456,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys732Slc = r.DecodeBytes(yys732Slc, true, true) - yys732 := string(yys732Slc) + yys800Slc = r.DecodeBytes(yys800Slc, true, true) + yys800 := string(yys800Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys732 { + switch yys800 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8801,31 +9476,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv735 := &x.ListMeta - yym736 := z.DecBinary() - _ = yym736 + yyv803 := &x.ListMeta + yym804 := z.DecBinary() + _ = yym804 if false { - } else if z.HasExtensions() && z.DecExt(yyv735) { + } else if z.HasExtensions() && z.DecExt(yyv803) { } else { - z.DecFallback(yyv735, false) + z.DecFallback(yyv803, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv737 := &x.Items - yym738 := z.DecBinary() - _ = yym738 + yyv805 := &x.Items + yym806 := z.DecBinary() + _ = yym806 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv737), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv805), d) } } default: - z.DecStructFieldNotFound(-1, yys732) - } // end switch yys732 - } // end for yyj732 + z.DecStructFieldNotFound(-1, yys800) + } // end switch yys800 + } // end for yyj800 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8833,16 +9508,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj807 int + var yyb807 bool + var yyhl807 bool = l >= 0 + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb739 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb739 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8852,13 +9527,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb739 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb739 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8868,13 +9543,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb739 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb739 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8882,22 +9557,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv742 := &x.ListMeta - yym743 := z.DecBinary() - _ = yym743 + yyv810 := &x.ListMeta + yym811 := z.DecBinary() + _ = yym811 if false { - } else if z.HasExtensions() && z.DecExt(yyv742) { + } else if z.HasExtensions() && z.DecExt(yyv810) { } else { - z.DecFallback(yyv742, false) + z.DecFallback(yyv810, false) } } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb739 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb739 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8905,26 +9580,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv744 := &x.Items - yym745 := z.DecBinary() - _ = yym745 + yyv812 := &x.Items + yym813 := z.DecBinary() + _ = yym813 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv744), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv812), d) } } for { - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb739 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb739 { + if yyb807 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj739-1, "") + z.DecStructFieldNotFound(yyj807-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8936,37 +9611,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym746 := z.EncBinary() - _ = yym746 + yym814 := z.EncBinary() + _ = yym814 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep747 := !z.EncBinary() - yy2arr747 := z.EncBasicHandle().StructToArray - var yyq747 [4]bool - _, _, _ = yysep747, yyq747, yy2arr747 - const yyr747 bool = false - yyq747[0] = x.Kind != "" - yyq747[1] = x.APIVersion != "" - yyq747[2] = true - var yynn747 int - if yyr747 || yy2arr747 { + 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 { r.EncodeArrayStart(4) } else { - yynn747 = 1 - for _, b := range yyq747 { + yynn815 = 1 + for _, b := range yyq815 { if b { - yynn747++ + yynn815++ } } - r.EncodeMapStart(yynn747) - yynn747 = 0 + r.EncodeMapStart(yynn815) + yynn815 = 0 } - if yyr747 || yy2arr747 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq747[0] { - yym749 := z.EncBinary() - _ = yym749 + if yyq815[0] { + yym817 := z.EncBinary() + _ = yym817 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8975,23 +9650,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq747[0] { + if yyq815[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym750 := z.EncBinary() - _ = yym750 + yym818 := z.EncBinary() + _ = yym818 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr747 || yy2arr747 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq747[1] { - yym752 := z.EncBinary() - _ = yym752 + if yyq815[1] { + yym820 := z.EncBinary() + _ = yym820 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9000,54 +9675,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq747[1] { + if yyq815[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym753 := z.EncBinary() - _ = yym753 + yym821 := z.EncBinary() + _ = yym821 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr747 || yy2arr747 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq747[2] { - yy755 := &x.ListMeta - yym756 := z.EncBinary() - _ = yym756 + if yyq815[2] { + yy823 := &x.ListMeta + yym824 := z.EncBinary() + _ = yym824 if false { - } else if z.HasExtensions() && z.EncExt(yy755) { + } else if z.HasExtensions() && z.EncExt(yy823) { } else { - z.EncFallback(yy755) + z.EncFallback(yy823) } } else { r.EncodeNil() } } else { - if yyq747[2] { + if yyq815[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy757 := &x.ListMeta - yym758 := z.EncBinary() - _ = yym758 + yy825 := &x.ListMeta + yym826 := z.EncBinary() + _ = yym826 if false { - } else if z.HasExtensions() && z.EncExt(yy757) { + } else if z.HasExtensions() && z.EncExt(yy825) { } else { - z.EncFallback(yy757) + z.EncFallback(yy825) } } } - if yyr747 || yy2arr747 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym760 := z.EncBinary() - _ = yym760 + yym828 := z.EncBinary() + _ = yym828 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -9060,15 +9735,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym761 := z.EncBinary() - _ = yym761 + yym829 := z.EncBinary() + _ = yym829 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr747 || yy2arr747 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9081,25 +9756,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym762 := z.DecBinary() - _ = yym762 + yym830 := z.DecBinary() + _ = yym830 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct763 := r.ContainerType() - if yyct763 == codecSelferValueTypeMap1234 { - yyl763 := r.ReadMapStart() - if yyl763 == 0 { + yyct831 := r.ContainerType() + if yyct831 == codecSelferValueTypeMap1234 { + yyl831 := r.ReadMapStart() + if yyl831 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl763, d) + x.codecDecodeSelfFromMap(yyl831, d) } - } else if yyct763 == codecSelferValueTypeArray1234 { - yyl763 := r.ReadArrayStart() - if yyl763 == 0 { + } else if yyct831 == codecSelferValueTypeArray1234 { + yyl831 := r.ReadArrayStart() + if yyl831 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl763, d) + x.codecDecodeSelfFromArray(yyl831, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9111,12 +9786,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys764Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys764Slc - var yyhl764 bool = l >= 0 - for yyj764 := 0; ; yyj764++ { - if yyhl764 { - if yyj764 >= l { + var yys832Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys832Slc + var yyhl832 bool = l >= 0 + for yyj832 := 0; ; yyj832++ { + if yyhl832 { + if yyj832 >= l { break } } else { @@ -9125,10 +9800,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys764Slc = r.DecodeBytes(yys764Slc, true, true) - yys764 := string(yys764Slc) + yys832Slc = r.DecodeBytes(yys832Slc, true, true) + yys832 := string(yys832Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys764 { + switch yys832 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9145,31 +9820,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv767 := &x.ListMeta - yym768 := z.DecBinary() - _ = yym768 + yyv835 := &x.ListMeta + yym836 := z.DecBinary() + _ = yym836 if false { - } else if z.HasExtensions() && z.DecExt(yyv767) { + } else if z.HasExtensions() && z.DecExt(yyv835) { } else { - z.DecFallback(yyv767, false) + z.DecFallback(yyv835, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv769 := &x.Items - yym770 := z.DecBinary() - _ = yym770 + yyv837 := &x.Items + yym838 := z.DecBinary() + _ = yym838 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv769), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv837), d) } } default: - z.DecStructFieldNotFound(-1, yys764) - } // end switch yys764 - } // end for yyj764 + z.DecStructFieldNotFound(-1, yys832) + } // end switch yys832 + } // end for yyj832 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9177,16 +9852,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj771 int - var yyb771 bool - var yyhl771 bool = l >= 0 - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + var yyj839 int + var yyb839 bool + var yyhl839 bool = l >= 0 + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb771 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb771 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9196,13 +9871,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb771 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb771 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9212,13 +9887,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb771 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb771 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9226,22 +9901,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv774 := &x.ListMeta - yym775 := z.DecBinary() - _ = yym775 + yyv842 := &x.ListMeta + yym843 := z.DecBinary() + _ = yym843 if false { - } else if z.HasExtensions() && z.DecExt(yyv774) { + } else if z.HasExtensions() && z.DecExt(yyv842) { } else { - z.DecFallback(yyv774, false) + z.DecFallback(yyv842, false) } } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb771 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb771 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9249,26 +9924,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv776 := &x.Items - yym777 := z.DecBinary() - _ = yym777 + yyv844 := &x.Items + yym845 := z.DecBinary() + _ = yym845 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv776), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv844), d) } } for { - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb771 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb771 { + if yyb839 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj771-1, "") + z.DecStructFieldNotFound(yyj839-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9280,39 +9955,39 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym778 := z.EncBinary() - _ = yym778 + yym846 := z.EncBinary() + _ = yym846 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep779 := !z.EncBinary() - yy2arr779 := z.EncBasicHandle().StructToArray - var yyq779 [5]bool - _, _, _ = yysep779, yyq779, yy2arr779 - const yyr779 bool = false - yyq779[0] = x.Kind != "" - yyq779[1] = x.APIVersion != "" - yyq779[2] = true - yyq779[3] = true - yyq779[4] = true - var yynn779 int - if yyr779 || yy2arr779 { + 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 { r.EncodeArrayStart(5) } else { - yynn779 = 0 - for _, b := range yyq779 { + yynn847 = 0 + for _, b := range yyq847 { if b { - yynn779++ + yynn847++ } } - r.EncodeMapStart(yynn779) - yynn779 = 0 + r.EncodeMapStart(yynn847) + yynn847 = 0 } - if yyr779 || yy2arr779 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[0] { - yym781 := z.EncBinary() - _ = yym781 + if yyq847[0] { + yym849 := z.EncBinary() + _ = yym849 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9321,23 +9996,23 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq779[0] { + if yyq847[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym782 := z.EncBinary() - _ = yym782 + yym850 := z.EncBinary() + _ = yym850 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr779 || yy2arr779 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[1] { - yym784 := z.EncBinary() - _ = yym784 + if yyq847[1] { + yym852 := z.EncBinary() + _ = yym852 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9346,70 +10021,70 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq779[1] { + if yyq847[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym785 := z.EncBinary() - _ = yym785 + yym853 := z.EncBinary() + _ = yym853 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr779 || yy2arr779 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[2] { - yy787 := &x.ObjectMeta - yy787.CodecEncodeSelf(e) + if yyq847[2] { + yy855 := &x.ObjectMeta + yy855.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq779[2] { + if yyq847[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy788 := &x.ObjectMeta - yy788.CodecEncodeSelf(e) + yy856 := &x.ObjectMeta + yy856.CodecEncodeSelf(e) } } - if yyr779 || yy2arr779 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[3] { - yy790 := &x.Spec - yy790.CodecEncodeSelf(e) + if yyq847[3] { + yy858 := &x.Spec + yy858.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq779[3] { + if yyq847[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy791 := &x.Spec - yy791.CodecEncodeSelf(e) + yy859 := &x.Spec + yy859.CodecEncodeSelf(e) } } - if yyr779 || yy2arr779 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[4] { - yy793 := &x.Status - yy793.CodecEncodeSelf(e) + if yyq847[4] { + yy861 := &x.Status + yy861.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq779[4] { + if yyq847[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy794 := &x.Status - yy794.CodecEncodeSelf(e) + yy862 := &x.Status + yy862.CodecEncodeSelf(e) } } - if yyr779 || yy2arr779 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9422,25 +10097,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym795 := z.DecBinary() - _ = yym795 + yym863 := z.DecBinary() + _ = yym863 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct796 := r.ContainerType() - if yyct796 == codecSelferValueTypeMap1234 { - yyl796 := r.ReadMapStart() - if yyl796 == 0 { + yyct864 := r.ContainerType() + if yyct864 == codecSelferValueTypeMap1234 { + yyl864 := r.ReadMapStart() + if yyl864 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl796, d) + x.codecDecodeSelfFromMap(yyl864, d) } - } else if yyct796 == codecSelferValueTypeArray1234 { - yyl796 := r.ReadArrayStart() - if yyl796 == 0 { + } else if yyct864 == codecSelferValueTypeArray1234 { + yyl864 := r.ReadArrayStart() + if yyl864 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl796, d) + x.codecDecodeSelfFromArray(yyl864, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9452,12 +10127,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys797Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys797Slc - var yyhl797 bool = l >= 0 - for yyj797 := 0; ; yyj797++ { - if yyhl797 { - if yyj797 >= l { + var yys865Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys865Slc + var yyhl865 bool = l >= 0 + for yyj865 := 0; ; yyj865++ { + if yyhl865 { + if yyj865 >= l { break } } else { @@ -9466,10 +10141,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys797Slc = r.DecodeBytes(yys797Slc, true, true) - yys797 := string(yys797Slc) + yys865Slc = r.DecodeBytes(yys865Slc, true, true) + yys865 := string(yys865Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys797 { + switch yys865 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9486,27 +10161,27 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv800 := &x.ObjectMeta - yyv800.CodecDecodeSelf(d) + yyv868 := &x.ObjectMeta + yyv868.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv801 := &x.Spec - yyv801.CodecDecodeSelf(d) + yyv869 := &x.Spec + yyv869.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv802 := &x.Status - yyv802.CodecDecodeSelf(d) + yyv870 := &x.Status + yyv870.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys797) - } // end switch yys797 - } // end for yyj797 + z.DecStructFieldNotFound(-1, yys865) + } // end switch yys865 + } // end for yyj865 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9514,16 +10189,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj803 int - var yyb803 bool - var yyhl803 bool = l >= 0 - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + var yyj871 int + var yyb871 bool + var yyhl871 bool = l >= 0 + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb803 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb803 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9533,13 +10208,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb803 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb803 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9549,13 +10224,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb803 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb803 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9563,16 +10238,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv806 := &x.ObjectMeta - yyv806.CodecDecodeSelf(d) + yyv874 := &x.ObjectMeta + yyv874.CodecDecodeSelf(d) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb803 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb803 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9580,16 +10255,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv807 := &x.Spec - yyv807.CodecDecodeSelf(d) + yyv875 := &x.Spec + yyv875.CodecDecodeSelf(d) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb803 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb803 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9597,21 +10272,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv808 := &x.Status - yyv808.CodecDecodeSelf(d) + yyv876 := &x.Status + yyv876.CodecDecodeSelf(d) } for { - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb803 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb803 { + if yyb871 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj803-1, "") + z.DecStructFieldNotFound(yyj871-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9623,37 +10298,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym809 := z.EncBinary() - _ = yym809 + yym877 := z.EncBinary() + _ = yym877 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep810 := !z.EncBinary() - yy2arr810 := z.EncBasicHandle().StructToArray - var yyq810 [4]bool - _, _, _ = yysep810, yyq810, yy2arr810 - const yyr810 bool = false - yyq810[0] = x.Kind != "" - yyq810[1] = x.APIVersion != "" - yyq810[2] = true - var yynn810 int - if yyr810 || yy2arr810 { + 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 { r.EncodeArrayStart(4) } else { - yynn810 = 1 - for _, b := range yyq810 { + yynn878 = 1 + for _, b := range yyq878 { if b { - yynn810++ + yynn878++ } } - r.EncodeMapStart(yynn810) - yynn810 = 0 + r.EncodeMapStart(yynn878) + yynn878 = 0 } - if yyr810 || yy2arr810 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq810[0] { - yym812 := z.EncBinary() - _ = yym812 + if yyq878[0] { + yym880 := z.EncBinary() + _ = yym880 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9662,23 +10337,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq810[0] { + if yyq878[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym813 := z.EncBinary() - _ = yym813 + yym881 := z.EncBinary() + _ = yym881 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr810 || yy2arr810 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq810[1] { - yym815 := z.EncBinary() - _ = yym815 + if yyq878[1] { + yym883 := z.EncBinary() + _ = yym883 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9687,54 +10362,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq810[1] { + if yyq878[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym816 := z.EncBinary() - _ = yym816 + yym884 := z.EncBinary() + _ = yym884 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr810 || yy2arr810 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq810[2] { - yy818 := &x.ListMeta - yym819 := z.EncBinary() - _ = yym819 + if yyq878[2] { + yy886 := &x.ListMeta + yym887 := z.EncBinary() + _ = yym887 if false { - } else if z.HasExtensions() && z.EncExt(yy818) { + } else if z.HasExtensions() && z.EncExt(yy886) { } else { - z.EncFallback(yy818) + z.EncFallback(yy886) } } else { r.EncodeNil() } } else { - if yyq810[2] { + if yyq878[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy820 := &x.ListMeta - yym821 := z.EncBinary() - _ = yym821 + yy888 := &x.ListMeta + yym889 := z.EncBinary() + _ = yym889 if false { - } else if z.HasExtensions() && z.EncExt(yy820) { + } else if z.HasExtensions() && z.EncExt(yy888) { } else { - z.EncFallback(yy820) + z.EncFallback(yy888) } } } - if yyr810 || yy2arr810 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym823 := z.EncBinary() - _ = yym823 + yym891 := z.EncBinary() + _ = yym891 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -9747,15 +10422,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym824 := z.EncBinary() - _ = yym824 + yym892 := z.EncBinary() + _ = yym892 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr810 || yy2arr810 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9768,25 +10443,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym825 := z.DecBinary() - _ = yym825 + yym893 := z.DecBinary() + _ = yym893 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct826 := r.ContainerType() - if yyct826 == codecSelferValueTypeMap1234 { - yyl826 := r.ReadMapStart() - if yyl826 == 0 { + yyct894 := r.ContainerType() + if yyct894 == codecSelferValueTypeMap1234 { + yyl894 := r.ReadMapStart() + if yyl894 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl826, d) + x.codecDecodeSelfFromMap(yyl894, d) } - } else if yyct826 == codecSelferValueTypeArray1234 { - yyl826 := r.ReadArrayStart() - if yyl826 == 0 { + } else if yyct894 == codecSelferValueTypeArray1234 { + yyl894 := r.ReadArrayStart() + if yyl894 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl826, d) + x.codecDecodeSelfFromArray(yyl894, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9798,12 +10473,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys827Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys827Slc - var yyhl827 bool = l >= 0 - for yyj827 := 0; ; yyj827++ { - if yyhl827 { - if yyj827 >= l { + var yys895Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys895Slc + var yyhl895 bool = l >= 0 + for yyj895 := 0; ; yyj895++ { + if yyhl895 { + if yyj895 >= l { break } } else { @@ -9812,10 +10487,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys827Slc = r.DecodeBytes(yys827Slc, true, true) - yys827 := string(yys827Slc) + yys895Slc = r.DecodeBytes(yys895Slc, true, true) + yys895 := string(yys895Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys827 { + switch yys895 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9832,31 +10507,31 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv830 := &x.ListMeta - yym831 := z.DecBinary() - _ = yym831 + yyv898 := &x.ListMeta + yym899 := z.DecBinary() + _ = yym899 if false { - } else if z.HasExtensions() && z.DecExt(yyv830) { + } else if z.HasExtensions() && z.DecExt(yyv898) { } else { - z.DecFallback(yyv830, false) + z.DecFallback(yyv898, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv832 := &x.Items - yym833 := z.DecBinary() - _ = yym833 + yyv900 := &x.Items + yym901 := z.DecBinary() + _ = yym901 if false { } else { - h.decSliceJob((*[]Job)(yyv832), d) + h.decSliceJob((*[]Job)(yyv900), d) } } default: - z.DecStructFieldNotFound(-1, yys827) - } // end switch yys827 - } // end for yyj827 + z.DecStructFieldNotFound(-1, yys895) + } // end switch yys895 + } // end for yyj895 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9864,16 +10539,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj834 int - var yyb834 bool - var yyhl834 bool = l >= 0 - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + var yyj902 int + var yyb902 bool + var yyhl902 bool = l >= 0 + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb834 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb834 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9883,13 +10558,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb834 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb834 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9899,13 +10574,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb834 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb834 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9913,22 +10588,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv837 := &x.ListMeta - yym838 := z.DecBinary() - _ = yym838 + yyv905 := &x.ListMeta + yym906 := z.DecBinary() + _ = yym906 if false { - } else if z.HasExtensions() && z.DecExt(yyv837) { + } else if z.HasExtensions() && z.DecExt(yyv905) { } else { - z.DecFallback(yyv837, false) + z.DecFallback(yyv905, false) } } - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb834 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb834 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9936,26 +10611,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv839 := &x.Items - yym840 := z.DecBinary() - _ = yym840 + yyv907 := &x.Items + yym908 := z.DecBinary() + _ = yym908 if false { } else { - h.decSliceJob((*[]Job)(yyv839), d) + h.decSliceJob((*[]Job)(yyv907), d) } } for { - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb834 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb834 { + if yyb902 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj834-1, "") + z.DecStructFieldNotFound(yyj902-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9967,209 +10642,221 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym841 := z.EncBinary() - _ = yym841 + yym909 := z.EncBinary() + _ = yym909 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep842 := !z.EncBinary() - yy2arr842 := z.EncBasicHandle().StructToArray - var yyq842 [6]bool - _, _, _ = yysep842, yyq842, yy2arr842 - const yyr842 bool = false - yyq842[0] = x.Parallelism != nil - yyq842[1] = x.Completions != nil - yyq842[2] = x.ActiveDeadlineSeconds != nil - yyq842[3] = x.Selector != nil - yyq842[4] = x.AutoSelector != nil - var yynn842 int - if yyr842 || yy2arr842 { + yysep910 := !z.EncBinary() + yy2arr910 := z.EncBasicHandle().StructToArray + var yyq910 [6]bool + _, _, _ = yysep910, yyq910, yy2arr910 + const yyr910 bool = false + yyq910[0] = x.Parallelism != nil + yyq910[1] = x.Completions != nil + yyq910[2] = x.ActiveDeadlineSeconds != nil + yyq910[3] = x.Selector != nil + yyq910[4] = x.AutoSelector != nil + var yynn910 int + if yyr910 || yy2arr910 { r.EncodeArrayStart(6) } else { - yynn842 = 1 - for _, b := range yyq842 { + yynn910 = 1 + for _, b := range yyq910 { if b { - yynn842++ + yynn910++ } } - r.EncodeMapStart(yynn842) - yynn842 = 0 + r.EncodeMapStart(yynn910) + yynn910 = 0 } - if yyr842 || yy2arr842 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[0] { + if yyq910[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy844 := *x.Parallelism - yym845 := z.EncBinary() - _ = yym845 + yy912 := *x.Parallelism + yym913 := z.EncBinary() + _ = yym913 if false { } else { - r.EncodeInt(int64(yy844)) + r.EncodeInt(int64(yy912)) } } } else { r.EncodeNil() } } else { - if yyq842[0] { + if yyq910[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy846 := *x.Parallelism - yym847 := z.EncBinary() - _ = yym847 + yy914 := *x.Parallelism + yym915 := z.EncBinary() + _ = yym915 if false { } else { - r.EncodeInt(int64(yy846)) + r.EncodeInt(int64(yy914)) } } } } - if yyr842 || yy2arr842 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[1] { + if yyq910[1] { if x.Completions == nil { r.EncodeNil() } else { - yy849 := *x.Completions - yym850 := z.EncBinary() - _ = yym850 + yy917 := *x.Completions + yym918 := z.EncBinary() + _ = yym918 if false { } else { - r.EncodeInt(int64(yy849)) + r.EncodeInt(int64(yy917)) } } } else { r.EncodeNil() } } else { - if yyq842[1] { + if yyq910[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy851 := *x.Completions - yym852 := z.EncBinary() - _ = yym852 + yy919 := *x.Completions + yym920 := z.EncBinary() + _ = yym920 if false { } else { - r.EncodeInt(int64(yy851)) + r.EncodeInt(int64(yy919)) } } } } - if yyr842 || yy2arr842 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[2] { + if yyq910[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy854 := *x.ActiveDeadlineSeconds - yym855 := z.EncBinary() - _ = yym855 + yy922 := *x.ActiveDeadlineSeconds + yym923 := z.EncBinary() + _ = yym923 if false { } else { - r.EncodeInt(int64(yy854)) + r.EncodeInt(int64(yy922)) } } } else { r.EncodeNil() } } else { - if yyq842[2] { + if yyq910[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy856 := *x.ActiveDeadlineSeconds - yym857 := z.EncBinary() - _ = yym857 + yy924 := *x.ActiveDeadlineSeconds + yym925 := z.EncBinary() + _ = yym925 if false { } else { - r.EncodeInt(int64(yy856)) + r.EncodeInt(int64(yy924)) } } } } - if yyr842 || yy2arr842 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[3] { + if yyq910[3] { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym927 := z.EncBinary() + _ = yym927 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() } } else { - if yyq842[3] { + if yyq910[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym928 := z.EncBinary() + _ = yym928 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } - if yyr842 || yy2arr842 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[4] { + if yyq910[4] { if x.AutoSelector == nil { r.EncodeNil() } else { - yy860 := *x.AutoSelector - yym861 := z.EncBinary() - _ = yym861 + yy930 := *x.AutoSelector + yym931 := z.EncBinary() + _ = yym931 if false { } else { - r.EncodeBool(bool(yy860)) + r.EncodeBool(bool(yy930)) } } } else { r.EncodeNil() } } else { - if yyq842[4] { + if yyq910[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("autoSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AutoSelector == nil { r.EncodeNil() } else { - yy862 := *x.AutoSelector - yym863 := z.EncBinary() - _ = yym863 + yy932 := *x.AutoSelector + yym933 := z.EncBinary() + _ = yym933 if false { } else { - r.EncodeBool(bool(yy862)) + r.EncodeBool(bool(yy932)) } } } } - if yyr842 || yy2arr842 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy865 := &x.Template - yy865.CodecEncodeSelf(e) + yy935 := &x.Template + yy935.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy866 := &x.Template - yy866.CodecEncodeSelf(e) + yy936 := &x.Template + yy936.CodecEncodeSelf(e) } - if yyr842 || yy2arr842 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10182,25 +10869,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym867 := z.DecBinary() - _ = yym867 + yym937 := z.DecBinary() + _ = yym937 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct868 := r.ContainerType() - if yyct868 == codecSelferValueTypeMap1234 { - yyl868 := r.ReadMapStart() - if yyl868 == 0 { + yyct938 := r.ContainerType() + if yyct938 == codecSelferValueTypeMap1234 { + yyl938 := r.ReadMapStart() + if yyl938 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl868, d) + x.codecDecodeSelfFromMap(yyl938, d) } - } else if yyct868 == codecSelferValueTypeArray1234 { - yyl868 := r.ReadArrayStart() - if yyl868 == 0 { + } else if yyct938 == codecSelferValueTypeArray1234 { + yyl938 := r.ReadArrayStart() + if yyl938 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl868, d) + x.codecDecodeSelfFromArray(yyl938, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10212,12 +10899,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys869Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys869Slc - var yyhl869 bool = l >= 0 - for yyj869 := 0; ; yyj869++ { - if yyhl869 { - if yyj869 >= l { + var yys939Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys939Slc + var yyhl939 bool = l >= 0 + for yyj939 := 0; ; yyj939++ { + if yyhl939 { + if yyj939 >= l { break } } else { @@ -10226,10 +10913,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys869Slc = r.DecodeBytes(yys869Slc, true, true) - yys869 := string(yys869Slc) + yys939Slc = r.DecodeBytes(yys939Slc, true, true) + yys939 := string(yys939Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys869 { + switch yys939 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -10239,8 +10926,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym871 := z.DecBinary() - _ = yym871 + yym941 := z.DecBinary() + _ = yym941 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -10255,8 +10942,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym873 := z.DecBinary() - _ = yym873 + yym943 := z.DecBinary() + _ = yym943 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -10271,8 +10958,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym875 := z.DecBinary() - _ = yym875 + yym945 := z.DecBinary() + _ = yym945 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -10285,9 +10972,15 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym947 := z.DecBinary() + _ = yym947 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } case "autoSelector": if r.TryDecodeAsNil() { @@ -10298,8 +10991,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym878 := z.DecBinary() - _ = yym878 + yym949 := z.DecBinary() + _ = yym949 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() @@ -10309,13 +11002,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv879 := &x.Template - yyv879.CodecDecodeSelf(d) + yyv950 := &x.Template + yyv950.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys869) - } // end switch yys869 - } // end for yyj869 + z.DecStructFieldNotFound(-1, yys939) + } // end switch yys939 + } // end for yyj939 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10323,16 +11016,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj880 int - var yyb880 bool - var yyhl880 bool = l >= 0 - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + var yyj951 int + var yyb951 bool + var yyhl951 bool = l >= 0 + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb880 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb880 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10345,20 +11038,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym882 := z.DecBinary() - _ = yym882 + yym953 := z.DecBinary() + _ = yym953 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb880 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb880 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10371,20 +11064,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym884 := z.DecBinary() - _ = yym884 + yym955 := z.DecBinary() + _ = yym955 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb880 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb880 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10397,20 +11090,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym886 := z.DecBinary() - _ = yym886 + yym957 := z.DecBinary() + _ = yym957 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb880 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb880 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10421,17 +11114,23 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym959 := z.DecBinary() + _ = yym959 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) } - x.Selector.CodecDecodeSelf(d) } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb880 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb880 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10444,20 +11143,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym889 := z.DecBinary() - _ = yym889 + yym961 := z.DecBinary() + _ = yym961 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb880 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb880 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10465,21 +11164,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv890 := &x.Template - yyv890.CodecDecodeSelf(d) + yyv962 := &x.Template + yyv962.CodecDecodeSelf(d) } for { - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb880 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb880 { + if yyb951 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj880-1, "") + z.DecStructFieldNotFound(yyj951-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10491,43 +11190,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym891 := z.EncBinary() - _ = yym891 + yym963 := z.EncBinary() + _ = yym963 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep892 := !z.EncBinary() - yy2arr892 := z.EncBasicHandle().StructToArray - var yyq892 [6]bool - _, _, _ = yysep892, yyq892, yy2arr892 - const yyr892 bool = false - yyq892[0] = len(x.Conditions) != 0 - yyq892[1] = x.StartTime != nil - yyq892[2] = x.CompletionTime != nil - yyq892[3] = x.Active != 0 - yyq892[4] = x.Succeeded != 0 - yyq892[5] = x.Failed != 0 - var yynn892 int - if yyr892 || yy2arr892 { + yysep964 := !z.EncBinary() + yy2arr964 := z.EncBasicHandle().StructToArray + var yyq964 [6]bool + _, _, _ = yysep964, yyq964, yy2arr964 + const yyr964 bool = false + yyq964[0] = len(x.Conditions) != 0 + yyq964[1] = x.StartTime != nil + yyq964[2] = x.CompletionTime != nil + yyq964[3] = x.Active != 0 + yyq964[4] = x.Succeeded != 0 + yyq964[5] = x.Failed != 0 + var yynn964 int + if yyr964 || yy2arr964 { r.EncodeArrayStart(6) } else { - yynn892 = 0 - for _, b := range yyq892 { + yynn964 = 0 + for _, b := range yyq964 { if b { - yynn892++ + yynn964++ } } - r.EncodeMapStart(yynn892) - yynn892 = 0 + r.EncodeMapStart(yynn964) + yynn964 = 0 } - if yyr892 || yy2arr892 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[0] { + if yyq964[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym894 := z.EncBinary() - _ = yym894 + yym966 := z.EncBinary() + _ = yym966 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10537,15 +11236,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq892[0] { + if yyq964[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym895 := z.EncBinary() - _ = yym895 + yym967 := z.EncBinary() + _ = yym967 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10553,19 +11252,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr892 || yy2arr892 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[1] { + if yyq964[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym897 := z.EncBinary() - _ = yym897 + yym969 := z.EncBinary() + _ = yym969 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym897 { + } else if yym969 { z.EncBinaryMarshal(x.StartTime) - } else if !yym897 && z.IsJSONHandle() { + } else if !yym969 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10575,20 +11274,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq892[1] { + if yyq964[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym898 := z.EncBinary() - _ = yym898 + yym970 := z.EncBinary() + _ = yym970 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym898 { + } else if yym970 { z.EncBinaryMarshal(x.StartTime) - } else if !yym898 && z.IsJSONHandle() { + } else if !yym970 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10596,19 +11295,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr892 || yy2arr892 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[2] { + if yyq964[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym900 := z.EncBinary() - _ = yym900 + yym972 := z.EncBinary() + _ = yym972 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym900 { + } else if yym972 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym900 && z.IsJSONHandle() { + } else if !yym972 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10618,20 +11317,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq892[2] { + if yyq964[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym901 := z.EncBinary() - _ = yym901 + yym973 := z.EncBinary() + _ = yym973 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym901 { + } else if yym973 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym901 && z.IsJSONHandle() { + } else if !yym973 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10639,11 +11338,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr892 || yy2arr892 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[3] { - yym903 := z.EncBinary() - _ = yym903 + if yyq964[3] { + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeInt(int64(x.Active)) @@ -10652,23 +11351,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq892[3] { + if yyq964[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym904 := z.EncBinary() - _ = yym904 + yym976 := z.EncBinary() + _ = yym976 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr892 || yy2arr892 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[4] { - yym906 := z.EncBinary() - _ = yym906 + if yyq964[4] { + yym978 := z.EncBinary() + _ = yym978 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -10677,23 +11376,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq892[4] { + if yyq964[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym907 := z.EncBinary() - _ = yym907 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr892 || yy2arr892 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[5] { - yym909 := z.EncBinary() - _ = yym909 + if yyq964[5] { + yym981 := z.EncBinary() + _ = yym981 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -10702,19 +11401,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq892[5] { + if yyq964[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym910 := z.EncBinary() - _ = yym910 + yym982 := z.EncBinary() + _ = yym982 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr892 || yy2arr892 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10727,25 +11426,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym911 := z.DecBinary() - _ = yym911 + yym983 := z.DecBinary() + _ = yym983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct912 := r.ContainerType() - if yyct912 == codecSelferValueTypeMap1234 { - yyl912 := r.ReadMapStart() - if yyl912 == 0 { + yyct984 := r.ContainerType() + if yyct984 == codecSelferValueTypeMap1234 { + yyl984 := r.ReadMapStart() + if yyl984 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl912, d) + x.codecDecodeSelfFromMap(yyl984, d) } - } else if yyct912 == codecSelferValueTypeArray1234 { - yyl912 := r.ReadArrayStart() - if yyl912 == 0 { + } else if yyct984 == codecSelferValueTypeArray1234 { + yyl984 := r.ReadArrayStart() + if yyl984 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl912, d) + x.codecDecodeSelfFromArray(yyl984, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10757,12 +11456,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys913Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys913Slc - var yyhl913 bool = l >= 0 - for yyj913 := 0; ; yyj913++ { - if yyhl913 { - if yyj913 >= l { + var yys985Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys985Slc + var yyhl985 bool = l >= 0 + for yyj985 := 0; ; yyj985++ { + if yyhl985 { + if yyj985 >= l { break } } else { @@ -10771,20 +11470,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys913Slc = r.DecodeBytes(yys913Slc, true, true) - yys913 := string(yys913Slc) + yys985Slc = r.DecodeBytes(yys985Slc, true, true) + yys985 := string(yys985Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys913 { + switch yys985 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv914 := &x.Conditions - yym915 := z.DecBinary() - _ = yym915 + yyv986 := &x.Conditions + yym987 := z.DecBinary() + _ = yym987 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv914), d) + h.decSliceJobCondition((*[]JobCondition)(yyv986), d) } } case "startTime": @@ -10796,13 +11495,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym917 := z.DecBinary() - _ = yym917 + yym989 := z.DecBinary() + _ = yym989 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym917 { + } else if yym989 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym917 && z.IsJSONHandle() { + } else if !yym989 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -10817,13 +11516,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym919 := z.DecBinary() - _ = yym919 + yym991 := z.DecBinary() + _ = yym991 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym919 { + } else if yym991 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym919 && z.IsJSONHandle() { + } else if !yym991 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -10848,9 +11547,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys913) - } // end switch yys913 - } // end for yyj913 + z.DecStructFieldNotFound(-1, yys985) + } // end switch yys985 + } // end for yyj985 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10858,16 +11557,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj995 int + var yyb995 bool + var yyhl995 bool = l >= 0 + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb923 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb923 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10875,21 +11574,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv924 := &x.Conditions - yym925 := z.DecBinary() - _ = yym925 + yyv996 := &x.Conditions + yym997 := z.DecBinary() + _ = yym997 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv924), d) + h.decSliceJobCondition((*[]JobCondition)(yyv996), d) } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb923 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb923 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10902,25 +11601,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym927 := z.DecBinary() - _ = yym927 + yym999 := z.DecBinary() + _ = yym999 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym927 { + } else if yym999 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym927 && z.IsJSONHandle() { + } else if !yym999 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb923 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb923 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10933,25 +11632,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym929 := z.DecBinary() - _ = yym929 + yym1001 := z.DecBinary() + _ = yym1001 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym929 { + } else if yym1001 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym929 && z.IsJSONHandle() { + } else if !yym1001 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb923 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb923 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10961,13 +11660,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb923 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb923 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10977,13 +11676,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb923 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb923 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10994,17 +11693,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb923 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb923 { + if yyb995 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj923-1, "") + z.DecStructFieldNotFound(yyj995-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11013,8 +11712,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym933 := z.EncBinary() - _ = yym933 + yym1005 := z.EncBinary() + _ = yym1005 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11026,8 +11725,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym934 := z.DecBinary() - _ = yym934 + yym1006 := z.DecBinary() + _ = yym1006 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11042,34 +11741,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym935 := z.EncBinary() - _ = yym935 + yym1007 := z.EncBinary() + _ = yym1007 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep936 := !z.EncBinary() - yy2arr936 := z.EncBasicHandle().StructToArray - var yyq936 [6]bool - _, _, _ = yysep936, yyq936, yy2arr936 - const yyr936 bool = false - yyq936[2] = true - yyq936[3] = true - yyq936[4] = x.Reason != "" - yyq936[5] = x.Message != "" - var yynn936 int - if yyr936 || yy2arr936 { + yysep1008 := !z.EncBinary() + yy2arr1008 := z.EncBasicHandle().StructToArray + var yyq1008 [6]bool + _, _, _ = yysep1008, yyq1008, yy2arr1008 + const yyr1008 bool = false + yyq1008[2] = true + yyq1008[3] = true + yyq1008[4] = x.Reason != "" + yyq1008[5] = x.Message != "" + var yynn1008 int + if yyr1008 || yy2arr1008 { r.EncodeArrayStart(6) } else { - yynn936 = 2 - for _, b := range yyq936 { + yynn1008 = 2 + for _, b := range yyq1008 { if b { - yynn936++ + yynn1008++ } } - r.EncodeMapStart(yynn936) - yynn936 = 0 + r.EncodeMapStart(yynn1008) + yynn1008 = 0 } - if yyr936 || yy2arr936 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11078,10 +11777,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr936 || yy2arr936 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym939 := z.EncBinary() - _ = yym939 + yym1011 := z.EncBinary() + _ = yym1011 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -11091,93 +11790,93 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym940 := z.EncBinary() - _ = yym940 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr936 || yy2arr936 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[2] { - yy942 := &x.LastProbeTime - yym943 := z.EncBinary() - _ = yym943 + if yyq1008[2] { + yy1014 := &x.LastProbeTime + yym1015 := z.EncBinary() + _ = yym1015 if false { - } else if z.HasExtensions() && z.EncExt(yy942) { - } else if yym943 { - z.EncBinaryMarshal(yy942) - } else if !yym943 && z.IsJSONHandle() { - z.EncJSONMarshal(yy942) + } else if z.HasExtensions() && z.EncExt(yy1014) { + } else if yym1015 { + z.EncBinaryMarshal(yy1014) + } else if !yym1015 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1014) } else { - z.EncFallback(yy942) + z.EncFallback(yy1014) } } else { r.EncodeNil() } } else { - if yyq936[2] { + if yyq1008[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy944 := &x.LastProbeTime - yym945 := z.EncBinary() - _ = yym945 + yy1016 := &x.LastProbeTime + yym1017 := z.EncBinary() + _ = yym1017 if false { - } else if z.HasExtensions() && z.EncExt(yy944) { - } else if yym945 { - z.EncBinaryMarshal(yy944) - } else if !yym945 && z.IsJSONHandle() { - z.EncJSONMarshal(yy944) + } else if z.HasExtensions() && z.EncExt(yy1016) { + } else if yym1017 { + z.EncBinaryMarshal(yy1016) + } else if !yym1017 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1016) } else { - z.EncFallback(yy944) + z.EncFallback(yy1016) } } } - if yyr936 || yy2arr936 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[3] { - yy947 := &x.LastTransitionTime - yym948 := z.EncBinary() - _ = yym948 + if yyq1008[3] { + yy1019 := &x.LastTransitionTime + yym1020 := z.EncBinary() + _ = yym1020 if false { - } else if z.HasExtensions() && z.EncExt(yy947) { - } else if yym948 { - z.EncBinaryMarshal(yy947) - } else if !yym948 && z.IsJSONHandle() { - z.EncJSONMarshal(yy947) + } else if z.HasExtensions() && z.EncExt(yy1019) { + } else if yym1020 { + z.EncBinaryMarshal(yy1019) + } else if !yym1020 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1019) } else { - z.EncFallback(yy947) + z.EncFallback(yy1019) } } else { r.EncodeNil() } } else { - if yyq936[3] { + if yyq1008[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy949 := &x.LastTransitionTime - yym950 := z.EncBinary() - _ = yym950 + yy1021 := &x.LastTransitionTime + yym1022 := z.EncBinary() + _ = yym1022 if false { - } else if z.HasExtensions() && z.EncExt(yy949) { - } else if yym950 { - z.EncBinaryMarshal(yy949) - } else if !yym950 && z.IsJSONHandle() { - z.EncJSONMarshal(yy949) + } else if z.HasExtensions() && z.EncExt(yy1021) { + } else if yym1022 { + z.EncBinaryMarshal(yy1021) + } else if !yym1022 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1021) } else { - z.EncFallback(yy949) + z.EncFallback(yy1021) } } } - if yyr936 || yy2arr936 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[4] { - yym952 := z.EncBinary() - _ = yym952 + if yyq1008[4] { + yym1024 := z.EncBinary() + _ = yym1024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -11186,23 +11885,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq936[4] { + if yyq1008[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym953 := z.EncBinary() - _ = yym953 + yym1025 := z.EncBinary() + _ = yym1025 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr936 || yy2arr936 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[5] { - yym955 := z.EncBinary() - _ = yym955 + if yyq1008[5] { + yym1027 := z.EncBinary() + _ = yym1027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -11211,19 +11910,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq936[5] { + if yyq1008[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym956 := z.EncBinary() - _ = yym956 + yym1028 := z.EncBinary() + _ = yym1028 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr936 || yy2arr936 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11236,25 +11935,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym957 := z.DecBinary() - _ = yym957 + yym1029 := z.DecBinary() + _ = yym1029 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct958 := r.ContainerType() - if yyct958 == codecSelferValueTypeMap1234 { - yyl958 := r.ReadMapStart() - if yyl958 == 0 { + yyct1030 := r.ContainerType() + if yyct1030 == codecSelferValueTypeMap1234 { + yyl1030 := r.ReadMapStart() + if yyl1030 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl958, d) + x.codecDecodeSelfFromMap(yyl1030, d) } - } else if yyct958 == codecSelferValueTypeArray1234 { - yyl958 := r.ReadArrayStart() - if yyl958 == 0 { + } else if yyct1030 == codecSelferValueTypeArray1234 { + yyl1030 := r.ReadArrayStart() + if yyl1030 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl958, d) + x.codecDecodeSelfFromArray(yyl1030, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11266,12 +11965,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys959Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys959Slc - var yyhl959 bool = l >= 0 - for yyj959 := 0; ; yyj959++ { - if yyhl959 { - if yyj959 >= l { + var yys1031Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1031Slc + var yyhl1031 bool = l >= 0 + for yyj1031 := 0; ; yyj1031++ { + if yyhl1031 { + if yyj1031 >= l { break } } else { @@ -11280,10 +11979,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys959Slc = r.DecodeBytes(yys959Slc, true, true) - yys959 := string(yys959Slc) + yys1031Slc = r.DecodeBytes(yys1031Slc, true, true) + yys1031 := string(yys1031Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys959 { + switch yys1031 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11300,34 +11999,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv962 := &x.LastProbeTime - yym963 := z.DecBinary() - _ = yym963 + yyv1034 := &x.LastProbeTime + yym1035 := z.DecBinary() + _ = yym1035 if false { - } else if z.HasExtensions() && z.DecExt(yyv962) { - } else if yym963 { - z.DecBinaryUnmarshal(yyv962) - } else if !yym963 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv962) + } else if z.HasExtensions() && z.DecExt(yyv1034) { + } else if yym1035 { + z.DecBinaryUnmarshal(yyv1034) + } else if !yym1035 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1034) } else { - z.DecFallback(yyv962, false) + z.DecFallback(yyv1034, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv964 := &x.LastTransitionTime - yym965 := z.DecBinary() - _ = yym965 + yyv1036 := &x.LastTransitionTime + yym1037 := z.DecBinary() + _ = yym1037 if false { - } else if z.HasExtensions() && z.DecExt(yyv964) { - } else if yym965 { - z.DecBinaryUnmarshal(yyv964) - } else if !yym965 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv964) + } else if z.HasExtensions() && z.DecExt(yyv1036) { + } else if yym1037 { + z.DecBinaryUnmarshal(yyv1036) + } else if !yym1037 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1036) } else { - z.DecFallback(yyv964, false) + z.DecFallback(yyv1036, false) } } case "reason": @@ -11343,9 +12042,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys959) - } // end switch yys959 - } // end for yyj959 + z.DecStructFieldNotFound(-1, yys1031) + } // end switch yys1031 + } // end for yyj1031 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11353,16 +12052,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj968 int - var yyb968 bool - var yyhl968 bool = l >= 0 - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + var yyj1040 int + var yyb1040 bool + var yyhl1040 bool = l >= 0 + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb968 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb968 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11372,13 +12071,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb968 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb968 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11388,13 +12087,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb968 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb968 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11402,26 +12101,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv971 := &x.LastProbeTime - yym972 := z.DecBinary() - _ = yym972 + yyv1043 := &x.LastProbeTime + yym1044 := z.DecBinary() + _ = yym1044 if false { - } else if z.HasExtensions() && z.DecExt(yyv971) { - } else if yym972 { - z.DecBinaryUnmarshal(yyv971) - } else if !yym972 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv971) + } else if z.HasExtensions() && z.DecExt(yyv1043) { + } else if yym1044 { + z.DecBinaryUnmarshal(yyv1043) + } else if !yym1044 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1043) } else { - z.DecFallback(yyv971, false) + z.DecFallback(yyv1043, false) } } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb968 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb968 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11429,26 +12128,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv973 := &x.LastTransitionTime - yym974 := z.DecBinary() - _ = yym974 + yyv1045 := &x.LastTransitionTime + yym1046 := z.DecBinary() + _ = yym1046 if false { - } else if z.HasExtensions() && z.DecExt(yyv973) { - } else if yym974 { - z.DecBinaryUnmarshal(yyv973) - } else if !yym974 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv973) + } else if z.HasExtensions() && z.DecExt(yyv1045) { + } else if yym1046 { + z.DecBinaryUnmarshal(yyv1045) + } else if !yym1046 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1045) } else { - z.DecFallback(yyv973, false) + z.DecFallback(yyv1045, false) } } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb968 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb968 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11458,13 +12157,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb968 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb968 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11475,17 +12174,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb968 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb968 { + if yyb1040 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj968-1, "") + z.DecStructFieldNotFound(yyj1040-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11497,39 +12196,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym977 := z.EncBinary() - _ = yym977 + yym1049 := z.EncBinary() + _ = yym1049 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep978 := !z.EncBinary() - yy2arr978 := z.EncBasicHandle().StructToArray - var yyq978 [5]bool - _, _, _ = yysep978, yyq978, yy2arr978 - const yyr978 bool = false - yyq978[0] = x.Kind != "" - yyq978[1] = x.APIVersion != "" - yyq978[2] = true - yyq978[3] = true - yyq978[4] = true - var yynn978 int - if yyr978 || yy2arr978 { + yysep1050 := !z.EncBinary() + yy2arr1050 := z.EncBasicHandle().StructToArray + var yyq1050 [5]bool + _, _, _ = yysep1050, yyq1050, yy2arr1050 + const yyr1050 bool = false + yyq1050[0] = x.Kind != "" + yyq1050[1] = x.APIVersion != "" + yyq1050[2] = true + yyq1050[3] = true + yyq1050[4] = true + var yynn1050 int + if yyr1050 || yy2arr1050 { r.EncodeArrayStart(5) } else { - yynn978 = 0 - for _, b := range yyq978 { + yynn1050 = 0 + for _, b := range yyq1050 { if b { - yynn978++ + yynn1050++ } } - r.EncodeMapStart(yynn978) - yynn978 = 0 + r.EncodeMapStart(yynn1050) + yynn1050 = 0 } - if yyr978 || yy2arr978 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[0] { - yym980 := z.EncBinary() - _ = yym980 + if yyq1050[0] { + yym1052 := z.EncBinary() + _ = yym1052 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11538,23 +12237,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq978[0] { + if yyq1050[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym981 := z.EncBinary() - _ = yym981 + yym1053 := z.EncBinary() + _ = yym1053 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr978 || yy2arr978 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[1] { - yym983 := z.EncBinary() - _ = yym983 + if yyq1050[1] { + yym1055 := z.EncBinary() + _ = yym1055 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11563,70 +12262,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq978[1] { + if yyq1050[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym984 := z.EncBinary() - _ = yym984 + yym1056 := z.EncBinary() + _ = yym1056 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr978 || yy2arr978 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[2] { - yy986 := &x.ObjectMeta - yy986.CodecEncodeSelf(e) + if yyq1050[2] { + yy1058 := &x.ObjectMeta + yy1058.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq978[2] { + if yyq1050[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy987 := &x.ObjectMeta - yy987.CodecEncodeSelf(e) + yy1059 := &x.ObjectMeta + yy1059.CodecEncodeSelf(e) } } - if yyr978 || yy2arr978 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[3] { - yy989 := &x.Spec - yy989.CodecEncodeSelf(e) + if yyq1050[3] { + yy1061 := &x.Spec + yy1061.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq978[3] { + if yyq1050[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy990 := &x.Spec - yy990.CodecEncodeSelf(e) + yy1062 := &x.Spec + yy1062.CodecEncodeSelf(e) } } - if yyr978 || yy2arr978 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[4] { - yy992 := &x.Status - yy992.CodecEncodeSelf(e) + if yyq1050[4] { + yy1064 := &x.Status + yy1064.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq978[4] { + if yyq1050[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy993 := &x.Status - yy993.CodecEncodeSelf(e) + yy1065 := &x.Status + yy1065.CodecEncodeSelf(e) } } - if yyr978 || yy2arr978 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11639,25 +12338,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym994 := z.DecBinary() - _ = yym994 + yym1066 := z.DecBinary() + _ = yym1066 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct995 := r.ContainerType() - if yyct995 == codecSelferValueTypeMap1234 { - yyl995 := r.ReadMapStart() - if yyl995 == 0 { + yyct1067 := r.ContainerType() + if yyct1067 == codecSelferValueTypeMap1234 { + yyl1067 := r.ReadMapStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl995, d) + x.codecDecodeSelfFromMap(yyl1067, d) } - } else if yyct995 == codecSelferValueTypeArray1234 { - yyl995 := r.ReadArrayStart() - if yyl995 == 0 { + } else if yyct1067 == codecSelferValueTypeArray1234 { + yyl1067 := r.ReadArrayStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl995, d) + x.codecDecodeSelfFromArray(yyl1067, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11669,12 +12368,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys996Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys996Slc - var yyhl996 bool = l >= 0 - for yyj996 := 0; ; yyj996++ { - if yyhl996 { - if yyj996 >= l { + var yys1068Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1068Slc + var yyhl1068 bool = l >= 0 + for yyj1068 := 0; ; yyj1068++ { + if yyhl1068 { + if yyj1068 >= l { break } } else { @@ -11683,10 +12382,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys996Slc = r.DecodeBytes(yys996Slc, true, true) - yys996 := string(yys996Slc) + yys1068Slc = r.DecodeBytes(yys1068Slc, true, true) + yys1068 := string(yys1068Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys996 { + switch yys1068 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11703,27 +12402,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv999 := &x.ObjectMeta - yyv999.CodecDecodeSelf(d) + yyv1071 := &x.ObjectMeta + yyv1071.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1000 := &x.Spec - yyv1000.CodecDecodeSelf(d) + yyv1072 := &x.Spec + yyv1072.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1001 := &x.Status - yyv1001.CodecDecodeSelf(d) + yyv1073 := &x.Status + yyv1073.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys996) - } // end switch yys996 - } // end for yyj996 + z.DecStructFieldNotFound(-1, yys1068) + } // end switch yys1068 + } // end for yyj1068 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11731,16 +12430,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1002 int - var yyb1002 bool - var yyhl1002 bool = l >= 0 - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + var yyj1074 int + var yyb1074 bool + var yyhl1074 bool = l >= 0 + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1002 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1002 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11750,13 +12449,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1002 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1002 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11766,13 +12465,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1002 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1002 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11780,16 +12479,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1005 := &x.ObjectMeta - yyv1005.CodecDecodeSelf(d) + yyv1077 := &x.ObjectMeta + yyv1077.CodecDecodeSelf(d) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1002 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1002 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11797,16 +12496,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1006 := &x.Spec - yyv1006.CodecDecodeSelf(d) + yyv1078 := &x.Spec + yyv1078.CodecDecodeSelf(d) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1002 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1002 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11814,21 +12513,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1007 := &x.Status - yyv1007.CodecDecodeSelf(d) + yyv1079 := &x.Status + yyv1079.CodecDecodeSelf(d) } for { - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1002 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1002 { + if yyb1074 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1002-1, "") + z.DecStructFieldNotFound(yyj1074-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11840,37 +12539,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1008 := z.EncBinary() - _ = yym1008 + yym1080 := z.EncBinary() + _ = yym1080 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1009 := !z.EncBinary() - yy2arr1009 := z.EncBasicHandle().StructToArray - var yyq1009 [4]bool - _, _, _ = yysep1009, yyq1009, yy2arr1009 - const yyr1009 bool = false - yyq1009[0] = x.Kind != "" - yyq1009[1] = x.APIVersion != "" - yyq1009[2] = true - var yynn1009 int - if yyr1009 || yy2arr1009 { + yysep1081 := !z.EncBinary() + yy2arr1081 := z.EncBasicHandle().StructToArray + var yyq1081 [4]bool + _, _, _ = yysep1081, yyq1081, yy2arr1081 + const yyr1081 bool = false + yyq1081[0] = x.Kind != "" + yyq1081[1] = x.APIVersion != "" + yyq1081[2] = true + var yynn1081 int + if yyr1081 || yy2arr1081 { r.EncodeArrayStart(4) } else { - yynn1009 = 1 - for _, b := range yyq1009 { + yynn1081 = 1 + for _, b := range yyq1081 { if b { - yynn1009++ + yynn1081++ } } - r.EncodeMapStart(yynn1009) - yynn1009 = 0 + r.EncodeMapStart(yynn1081) + yynn1081 = 0 } - if yyr1009 || yy2arr1009 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1009[0] { - yym1011 := z.EncBinary() - _ = yym1011 + if yyq1081[0] { + yym1083 := z.EncBinary() + _ = yym1083 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11879,23 +12578,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1009[0] { + if yyq1081[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1012 := z.EncBinary() - _ = yym1012 + yym1084 := z.EncBinary() + _ = yym1084 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1009 || yy2arr1009 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1009[1] { - yym1014 := z.EncBinary() - _ = yym1014 + if yyq1081[1] { + yym1086 := z.EncBinary() + _ = yym1086 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11904,54 +12603,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1009[1] { + if yyq1081[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1015 := z.EncBinary() - _ = yym1015 + yym1087 := z.EncBinary() + _ = yym1087 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1009 || yy2arr1009 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1009[2] { - yy1017 := &x.ListMeta - yym1018 := z.EncBinary() - _ = yym1018 + if yyq1081[2] { + yy1089 := &x.ListMeta + yym1090 := z.EncBinary() + _ = yym1090 if false { - } else if z.HasExtensions() && z.EncExt(yy1017) { + } else if z.HasExtensions() && z.EncExt(yy1089) { } else { - z.EncFallback(yy1017) + z.EncFallback(yy1089) } } else { r.EncodeNil() } } else { - if yyq1009[2] { + if yyq1081[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1019 := &x.ListMeta - yym1020 := z.EncBinary() - _ = yym1020 + yy1091 := &x.ListMeta + yym1092 := z.EncBinary() + _ = yym1092 if false { - } else if z.HasExtensions() && z.EncExt(yy1019) { + } else if z.HasExtensions() && z.EncExt(yy1091) { } else { - z.EncFallback(yy1019) + z.EncFallback(yy1091) } } } - if yyr1009 || yy2arr1009 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1022 := z.EncBinary() - _ = yym1022 + yym1094 := z.EncBinary() + _ = yym1094 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -11964,15 +12663,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1023 := z.EncBinary() - _ = yym1023 + yym1095 := z.EncBinary() + _ = yym1095 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr1009 || yy2arr1009 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11985,25 +12684,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1024 := z.DecBinary() - _ = yym1024 + yym1096 := z.DecBinary() + _ = yym1096 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1025 := r.ContainerType() - if yyct1025 == codecSelferValueTypeMap1234 { - yyl1025 := r.ReadMapStart() - if yyl1025 == 0 { + yyct1097 := r.ContainerType() + if yyct1097 == codecSelferValueTypeMap1234 { + yyl1097 := r.ReadMapStart() + if yyl1097 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1025, d) + x.codecDecodeSelfFromMap(yyl1097, d) } - } else if yyct1025 == codecSelferValueTypeArray1234 { - yyl1025 := r.ReadArrayStart() - if yyl1025 == 0 { + } else if yyct1097 == codecSelferValueTypeArray1234 { + yyl1097 := r.ReadArrayStart() + if yyl1097 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1025, d) + x.codecDecodeSelfFromArray(yyl1097, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12015,12 +12714,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1026Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1026Slc - var yyhl1026 bool = l >= 0 - for yyj1026 := 0; ; yyj1026++ { - if yyhl1026 { - if yyj1026 >= l { + var yys1098Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1098Slc + var yyhl1098 bool = l >= 0 + for yyj1098 := 0; ; yyj1098++ { + if yyhl1098 { + if yyj1098 >= l { break } } else { @@ -12029,10 +12728,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1026Slc = r.DecodeBytes(yys1026Slc, true, true) - yys1026 := string(yys1026Slc) + yys1098Slc = r.DecodeBytes(yys1098Slc, true, true) + yys1098 := string(yys1098Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1026 { + switch yys1098 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12049,31 +12748,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1029 := &x.ListMeta - yym1030 := z.DecBinary() - _ = yym1030 + yyv1101 := &x.ListMeta + yym1102 := z.DecBinary() + _ = yym1102 if false { - } else if z.HasExtensions() && z.DecExt(yyv1029) { + } else if z.HasExtensions() && z.DecExt(yyv1101) { } else { - z.DecFallback(yyv1029, false) + z.DecFallback(yyv1101, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1031 := &x.Items - yym1032 := z.DecBinary() - _ = yym1032 + yyv1103 := &x.Items + yym1104 := z.DecBinary() + _ = yym1104 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1031), d) + h.decSliceIngress((*[]Ingress)(yyv1103), d) } } default: - z.DecStructFieldNotFound(-1, yys1026) - } // end switch yys1026 - } // end for yyj1026 + z.DecStructFieldNotFound(-1, yys1098) + } // end switch yys1098 + } // end for yyj1098 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12081,16 +12780,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1033 int - var yyb1033 bool - var yyhl1033 bool = l >= 0 - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + var yyj1105 int + var yyb1105 bool + var yyhl1105 bool = l >= 0 + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1033 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1033 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12100,13 +12799,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1033 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1033 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12116,13 +12815,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1033 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1033 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12130,22 +12829,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1036 := &x.ListMeta - yym1037 := z.DecBinary() - _ = yym1037 + yyv1108 := &x.ListMeta + yym1109 := z.DecBinary() + _ = yym1109 if false { - } else if z.HasExtensions() && z.DecExt(yyv1036) { + } else if z.HasExtensions() && z.DecExt(yyv1108) { } else { - z.DecFallback(yyv1036, false) + z.DecFallback(yyv1108, false) } } - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1033 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1033 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12153,26 +12852,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1038 := &x.Items - yym1039 := z.DecBinary() - _ = yym1039 + yyv1110 := &x.Items + yym1111 := z.DecBinary() + _ = yym1111 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1038), d) + h.decSliceIngress((*[]Ingress)(yyv1110), d) } } for { - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1033 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1033 { + if yyb1105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1033-1, "") + z.DecStructFieldNotFound(yyj1105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12184,35 +12883,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1040 := z.EncBinary() - _ = yym1040 + yym1112 := z.EncBinary() + _ = yym1112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1041 := !z.EncBinary() - yy2arr1041 := z.EncBasicHandle().StructToArray - var yyq1041 [3]bool - _, _, _ = yysep1041, yyq1041, yy2arr1041 - const yyr1041 bool = false - yyq1041[0] = x.Backend != nil - yyq1041[1] = len(x.TLS) != 0 - yyq1041[2] = len(x.Rules) != 0 - var yynn1041 int - if yyr1041 || yy2arr1041 { + yysep1113 := !z.EncBinary() + yy2arr1113 := z.EncBasicHandle().StructToArray + var yyq1113 [3]bool + _, _, _ = yysep1113, yyq1113, yy2arr1113 + const yyr1113 bool = false + yyq1113[0] = x.Backend != nil + yyq1113[1] = len(x.TLS) != 0 + yyq1113[2] = len(x.Rules) != 0 + var yynn1113 int + if yyr1113 || yy2arr1113 { r.EncodeArrayStart(3) } else { - yynn1041 = 0 - for _, b := range yyq1041 { + yynn1113 = 0 + for _, b := range yyq1113 { if b { - yynn1041++ + yynn1113++ } } - r.EncodeMapStart(yynn1041) - yynn1041 = 0 + r.EncodeMapStart(yynn1113) + yynn1113 = 0 } - if yyr1041 || yy2arr1041 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[0] { + if yyq1113[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -12222,7 +12921,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1041[0] { + if yyq1113[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12233,14 +12932,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1041 || yy2arr1041 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[1] { + if yyq1113[1] { if x.TLS == nil { r.EncodeNil() } else { - yym1044 := z.EncBinary() - _ = yym1044 + yym1116 := z.EncBinary() + _ = yym1116 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12250,15 +12949,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1041[1] { + if yyq1113[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym1045 := z.EncBinary() - _ = yym1045 + yym1117 := z.EncBinary() + _ = yym1117 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12266,14 +12965,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1041 || yy2arr1041 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[2] { + if yyq1113[2] { if x.Rules == nil { r.EncodeNil() } else { - yym1047 := z.EncBinary() - _ = yym1047 + yym1119 := z.EncBinary() + _ = yym1119 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12283,15 +12982,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1041[2] { + if yyq1113[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym1048 := z.EncBinary() - _ = yym1048 + yym1120 := z.EncBinary() + _ = yym1120 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12299,7 +12998,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1041 || yy2arr1041 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12312,25 +13011,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1049 := z.DecBinary() - _ = yym1049 + yym1121 := z.DecBinary() + _ = yym1121 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1050 := r.ContainerType() - if yyct1050 == codecSelferValueTypeMap1234 { - yyl1050 := r.ReadMapStart() - if yyl1050 == 0 { + yyct1122 := r.ContainerType() + if yyct1122 == codecSelferValueTypeMap1234 { + yyl1122 := r.ReadMapStart() + if yyl1122 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1050, d) + x.codecDecodeSelfFromMap(yyl1122, d) } - } else if yyct1050 == codecSelferValueTypeArray1234 { - yyl1050 := r.ReadArrayStart() - if yyl1050 == 0 { + } else if yyct1122 == codecSelferValueTypeArray1234 { + yyl1122 := r.ReadArrayStart() + if yyl1122 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1050, d) + x.codecDecodeSelfFromArray(yyl1122, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12342,12 +13041,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1051Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1051Slc - var yyhl1051 bool = l >= 0 - for yyj1051 := 0; ; yyj1051++ { - if yyhl1051 { - if yyj1051 >= l { + var yys1123Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1123Slc + var yyhl1123 bool = l >= 0 + for yyj1123 := 0; ; yyj1123++ { + if yyhl1123 { + if yyj1123 >= l { break } } else { @@ -12356,10 +13055,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1051Slc = r.DecodeBytes(yys1051Slc, true, true) - yys1051 := string(yys1051Slc) + yys1123Slc = r.DecodeBytes(yys1123Slc, true, true) + yys1123 := string(yys1123Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1051 { + switch yys1123 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -12375,30 +13074,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1053 := &x.TLS - yym1054 := z.DecBinary() - _ = yym1054 + yyv1125 := &x.TLS + yym1126 := z.DecBinary() + _ = yym1126 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1053), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1125), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1055 := &x.Rules - yym1056 := z.DecBinary() - _ = yym1056 + yyv1127 := &x.Rules + yym1128 := z.DecBinary() + _ = yym1128 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1055), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1127), d) } } default: - z.DecStructFieldNotFound(-1, yys1051) - } // end switch yys1051 - } // end for yyj1051 + z.DecStructFieldNotFound(-1, yys1123) + } // end switch yys1123 + } // end for yyj1123 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12406,16 +13105,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1057 int - var yyb1057 bool - var yyhl1057 bool = l >= 0 - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + var yyj1129 int + var yyb1129 bool + var yyhl1129 bool = l >= 0 + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l } else { - yyb1057 = r.CheckBreak() + yyb1129 = r.CheckBreak() } - if yyb1057 { + if yyb1129 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12430,13 +13129,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l } else { - yyb1057 = r.CheckBreak() + yyb1129 = r.CheckBreak() } - if yyb1057 { + if yyb1129 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12444,21 +13143,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1059 := &x.TLS - yym1060 := z.DecBinary() - _ = yym1060 + yyv1131 := &x.TLS + yym1132 := z.DecBinary() + _ = yym1132 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1059), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1131), d) } } - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l } else { - yyb1057 = r.CheckBreak() + yyb1129 = r.CheckBreak() } - if yyb1057 { + if yyb1129 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12466,26 +13165,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1061 := &x.Rules - yym1062 := z.DecBinary() - _ = yym1062 + yyv1133 := &x.Rules + yym1134 := z.DecBinary() + _ = yym1134 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1061), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1133), d) } } for { - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l } else { - yyb1057 = r.CheckBreak() + yyb1129 = r.CheckBreak() } - if yyb1057 { + if yyb1129 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1057-1, "") + z.DecStructFieldNotFound(yyj1129-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12497,39 +13196,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1063 := z.EncBinary() - _ = yym1063 + yym1135 := z.EncBinary() + _ = yym1135 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1064 := !z.EncBinary() - yy2arr1064 := z.EncBasicHandle().StructToArray - var yyq1064 [2]bool - _, _, _ = yysep1064, yyq1064, yy2arr1064 - const yyr1064 bool = false - yyq1064[0] = len(x.Hosts) != 0 - yyq1064[1] = x.SecretName != "" - var yynn1064 int - if yyr1064 || yy2arr1064 { + yysep1136 := !z.EncBinary() + yy2arr1136 := z.EncBasicHandle().StructToArray + var yyq1136 [2]bool + _, _, _ = yysep1136, yyq1136, yy2arr1136 + const yyr1136 bool = false + yyq1136[0] = len(x.Hosts) != 0 + yyq1136[1] = x.SecretName != "" + var yynn1136 int + if yyr1136 || yy2arr1136 { r.EncodeArrayStart(2) } else { - yynn1064 = 0 - for _, b := range yyq1064 { + yynn1136 = 0 + for _, b := range yyq1136 { if b { - yynn1064++ + yynn1136++ } } - r.EncodeMapStart(yynn1064) - yynn1064 = 0 + r.EncodeMapStart(yynn1136) + yynn1136 = 0 } - if yyr1064 || yy2arr1064 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1064[0] { + if yyq1136[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym1066 := z.EncBinary() - _ = yym1066 + yym1138 := z.EncBinary() + _ = yym1138 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12539,15 +13238,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1064[0] { + if yyq1136[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym1067 := z.EncBinary() - _ = yym1067 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12555,11 +13254,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1064 || yy2arr1064 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1064[1] { - yym1069 := z.EncBinary() - _ = yym1069 + if yyq1136[1] { + yym1141 := z.EncBinary() + _ = yym1141 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -12568,19 +13267,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1064[1] { + if yyq1136[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1070 := z.EncBinary() - _ = yym1070 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr1064 || yy2arr1064 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12593,25 +13292,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1071 := z.DecBinary() - _ = yym1071 + yym1143 := z.DecBinary() + _ = yym1143 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1072 := r.ContainerType() - if yyct1072 == codecSelferValueTypeMap1234 { - yyl1072 := r.ReadMapStart() - if yyl1072 == 0 { + yyct1144 := r.ContainerType() + if yyct1144 == codecSelferValueTypeMap1234 { + yyl1144 := r.ReadMapStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1072, d) + x.codecDecodeSelfFromMap(yyl1144, d) } - } else if yyct1072 == codecSelferValueTypeArray1234 { - yyl1072 := r.ReadArrayStart() - if yyl1072 == 0 { + } else if yyct1144 == codecSelferValueTypeArray1234 { + yyl1144 := r.ReadArrayStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1072, d) + x.codecDecodeSelfFromArray(yyl1144, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12623,12 +13322,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1073Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1073Slc - var yyhl1073 bool = l >= 0 - for yyj1073 := 0; ; yyj1073++ { - if yyhl1073 { - if yyj1073 >= l { + var yys1145Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1145Slc + var yyhl1145 bool = l >= 0 + for yyj1145 := 0; ; yyj1145++ { + if yyhl1145 { + if yyj1145 >= l { break } } else { @@ -12637,20 +13336,20 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1073Slc = r.DecodeBytes(yys1073Slc, true, true) - yys1073 := string(yys1073Slc) + yys1145Slc = r.DecodeBytes(yys1145Slc, true, true) + yys1145 := string(yys1145Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1073 { + switch yys1145 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1074 := &x.Hosts - yym1075 := z.DecBinary() - _ = yym1075 + yyv1146 := &x.Hosts + yym1147 := z.DecBinary() + _ = yym1147 if false { } else { - z.F.DecSliceStringX(yyv1074, false, d) + z.F.DecSliceStringX(yyv1146, false, d) } } case "secretName": @@ -12660,9 +13359,9 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1073) - } // end switch yys1073 - } // end for yyj1073 + z.DecStructFieldNotFound(-1, yys1145) + } // end switch yys1145 + } // end for yyj1145 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12670,16 +13369,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1077 int - var yyb1077 bool - var yyhl1077 bool = l >= 0 - yyj1077++ - if yyhl1077 { - yyb1077 = yyj1077 > l + var yyj1149 int + var yyb1149 bool + var yyhl1149 bool = l >= 0 + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l } else { - yyb1077 = r.CheckBreak() + yyb1149 = r.CheckBreak() } - if yyb1077 { + if yyb1149 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12687,21 +13386,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1078 := &x.Hosts - yym1079 := z.DecBinary() - _ = yym1079 + yyv1150 := &x.Hosts + yym1151 := z.DecBinary() + _ = yym1151 if false { } else { - z.F.DecSliceStringX(yyv1078, false, d) + z.F.DecSliceStringX(yyv1150, false, d) } } - yyj1077++ - if yyhl1077 { - yyb1077 = yyj1077 > l + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l } else { - yyb1077 = r.CheckBreak() + yyb1149 = r.CheckBreak() } - if yyb1077 { + if yyb1149 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12712,17 +13411,17 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } for { - yyj1077++ - if yyhl1077 { - yyb1077 = yyj1077 > l + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l } else { - yyb1077 = r.CheckBreak() + yyb1149 = r.CheckBreak() } - if yyb1077 { + if yyb1149 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1077-1, "") + z.DecStructFieldNotFound(yyj1149-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12734,48 +13433,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1081 := z.EncBinary() - _ = yym1081 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1082 := !z.EncBinary() - yy2arr1082 := z.EncBasicHandle().StructToArray - var yyq1082 [1]bool - _, _, _ = yysep1082, yyq1082, yy2arr1082 - const yyr1082 bool = false - yyq1082[0] = true - var yynn1082 int - if yyr1082 || yy2arr1082 { + yysep1154 := !z.EncBinary() + yy2arr1154 := z.EncBasicHandle().StructToArray + var yyq1154 [1]bool + _, _, _ = yysep1154, yyq1154, yy2arr1154 + const yyr1154 bool = false + yyq1154[0] = true + var yynn1154 int + if yyr1154 || yy2arr1154 { r.EncodeArrayStart(1) } else { - yynn1082 = 0 - for _, b := range yyq1082 { + yynn1154 = 0 + for _, b := range yyq1154 { if b { - yynn1082++ + yynn1154++ } } - r.EncodeMapStart(yynn1082) - yynn1082 = 0 + r.EncodeMapStart(yynn1154) + yynn1154 = 0 } - if yyr1082 || yy2arr1082 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1082[0] { - yy1084 := &x.LoadBalancer - yy1084.CodecEncodeSelf(e) + if yyq1154[0] { + yy1156 := &x.LoadBalancer + yy1156.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1082[0] { + if yyq1154[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1085 := &x.LoadBalancer - yy1085.CodecEncodeSelf(e) + yy1157 := &x.LoadBalancer + yy1157.CodecEncodeSelf(e) } } - if yyr1082 || yy2arr1082 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12788,25 +13487,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1086 := z.DecBinary() - _ = yym1086 + yym1158 := z.DecBinary() + _ = yym1158 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1087 := r.ContainerType() - if yyct1087 == codecSelferValueTypeMap1234 { - yyl1087 := r.ReadMapStart() - if yyl1087 == 0 { + yyct1159 := r.ContainerType() + if yyct1159 == codecSelferValueTypeMap1234 { + yyl1159 := r.ReadMapStart() + if yyl1159 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1087, d) + x.codecDecodeSelfFromMap(yyl1159, d) } - } else if yyct1087 == codecSelferValueTypeArray1234 { - yyl1087 := r.ReadArrayStart() - if yyl1087 == 0 { + } else if yyct1159 == codecSelferValueTypeArray1234 { + yyl1159 := r.ReadArrayStart() + if yyl1159 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1087, d) + x.codecDecodeSelfFromArray(yyl1159, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12818,12 +13517,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1088Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1088Slc - var yyhl1088 bool = l >= 0 - for yyj1088 := 0; ; yyj1088++ { - if yyhl1088 { - if yyj1088 >= l { + var yys1160Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1160Slc + var yyhl1160 bool = l >= 0 + for yyj1160 := 0; ; yyj1160++ { + if yyhl1160 { + if yyj1160 >= l { break } } else { @@ -12832,21 +13531,21 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1088Slc = r.DecodeBytes(yys1088Slc, true, true) - yys1088 := string(yys1088Slc) + yys1160Slc = r.DecodeBytes(yys1160Slc, true, true) + yys1160 := string(yys1160Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1088 { + switch yys1160 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv1089 := &x.LoadBalancer - yyv1089.CodecDecodeSelf(d) + yyv1161 := &x.LoadBalancer + yyv1161.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1088) - } // end switch yys1088 - } // end for yyj1088 + z.DecStructFieldNotFound(-1, yys1160) + } // end switch yys1160 + } // end for yyj1160 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12854,16 +13553,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1090 int - var yyb1090 bool - var yyhl1090 bool = l >= 0 - yyj1090++ - if yyhl1090 { - yyb1090 = yyj1090 > l + var yyj1162 int + var yyb1162 bool + var yyhl1162 bool = l >= 0 + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l } else { - yyb1090 = r.CheckBreak() + yyb1162 = r.CheckBreak() } - if yyb1090 { + if yyb1162 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12871,21 +13570,21 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv1091 := &x.LoadBalancer - yyv1091.CodecDecodeSelf(d) + yyv1163 := &x.LoadBalancer + yyv1163.CodecDecodeSelf(d) } for { - yyj1090++ - if yyhl1090 { - yyb1090 = yyj1090 > l + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l } else { - yyb1090 = r.CheckBreak() + yyb1162 = r.CheckBreak() } - if yyb1090 { + if yyb1162 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1090-1, "") + z.DecStructFieldNotFound(yyj1162-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12897,36 +13596,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1092 := z.EncBinary() - _ = yym1092 + yym1164 := z.EncBinary() + _ = yym1164 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1093 := !z.EncBinary() - yy2arr1093 := z.EncBasicHandle().StructToArray - var yyq1093 [2]bool - _, _, _ = yysep1093, yyq1093, yy2arr1093 - const yyr1093 bool = false - yyq1093[0] = x.Host != "" - yyq1093[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn1093 int - if yyr1093 || yy2arr1093 { + yysep1165 := !z.EncBinary() + yy2arr1165 := z.EncBasicHandle().StructToArray + var yyq1165 [2]bool + _, _, _ = yysep1165, yyq1165, yy2arr1165 + const yyr1165 bool = false + yyq1165[0] = x.Host != "" + yyq1165[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn1165 int + if yyr1165 || yy2arr1165 { r.EncodeArrayStart(2) } else { - yynn1093 = 0 - for _, b := range yyq1093 { + yynn1165 = 0 + for _, b := range yyq1165 { if b { - yynn1093++ + yynn1165++ } } - r.EncodeMapStart(yynn1093) - yynn1093 = 0 + r.EncodeMapStart(yynn1165) + yynn1165 = 0 } - if yyr1093 || yy2arr1093 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1093[0] { - yym1095 := z.EncBinary() - _ = yym1095 + if yyq1165[0] { + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -12935,30 +13634,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1093[0] { + if yyq1165[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1096 := z.EncBinary() - _ = yym1096 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn1097 bool + var yyn1169 bool if x.IngressRuleValue.HTTP == nil { - yyn1097 = true - goto LABEL1097 + yyn1169 = true + goto LABEL1169 } - LABEL1097: - if yyr1093 || yy2arr1093 { - if yyn1097 { + LABEL1169: + if yyr1165 || yy2arr1165 { + if yyn1169 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1093[1] { + if yyq1165[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -12969,11 +13668,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1093[1] { + if yyq1165[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1097 { + if yyn1169 { r.EncodeNil() } else { if x.HTTP == nil { @@ -12984,7 +13683,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1093 || yy2arr1093 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12997,25 +13696,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1098 := z.DecBinary() - _ = yym1098 + yym1170 := z.DecBinary() + _ = yym1170 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1099 := r.ContainerType() - if yyct1099 == codecSelferValueTypeMap1234 { - yyl1099 := r.ReadMapStart() - if yyl1099 == 0 { + yyct1171 := r.ContainerType() + if yyct1171 == codecSelferValueTypeMap1234 { + yyl1171 := r.ReadMapStart() + if yyl1171 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1099, d) + x.codecDecodeSelfFromMap(yyl1171, d) } - } else if yyct1099 == codecSelferValueTypeArray1234 { - yyl1099 := r.ReadArrayStart() - if yyl1099 == 0 { + } else if yyct1171 == codecSelferValueTypeArray1234 { + yyl1171 := r.ReadArrayStart() + if yyl1171 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1099, d) + x.codecDecodeSelfFromArray(yyl1171, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13027,12 +13726,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1100Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1100Slc - var yyhl1100 bool = l >= 0 - for yyj1100 := 0; ; yyj1100++ { - if yyhl1100 { - if yyj1100 >= l { + var yys1172Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1172Slc + var yyhl1172 bool = l >= 0 + for yyj1172 := 0; ; yyj1172++ { + if yyhl1172 { + if yyj1172 >= l { break } } else { @@ -13041,10 +13740,10 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1100Slc = r.DecodeBytes(yys1100Slc, true, true) - yys1100 := string(yys1100Slc) + yys1172Slc = r.DecodeBytes(yys1172Slc, true, true) + yys1172 := string(yys1172Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1100 { + switch yys1172 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -13066,9 +13765,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1100) - } // end switch yys1100 - } // end for yyj1100 + z.DecStructFieldNotFound(-1, yys1172) + } // end switch yys1172 + } // end for yyj1172 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13076,16 +13775,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1103 int - var yyb1103 bool - var yyhl1103 bool = l >= 0 - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + var yyj1175 int + var yyb1175 bool + var yyhl1175 bool = l >= 0 + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1103 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1103 { + if yyb1175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13098,13 +13797,13 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1103 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1103 { + if yyb1175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13120,17 +13819,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1103 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1103 { + if yyb1175 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1103-1, "") + z.DecStructFieldNotFound(yyj1175-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13142,33 +13841,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1106 := z.EncBinary() - _ = yym1106 + yym1178 := z.EncBinary() + _ = yym1178 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1107 := !z.EncBinary() - yy2arr1107 := z.EncBasicHandle().StructToArray - var yyq1107 [1]bool - _, _, _ = yysep1107, yyq1107, yy2arr1107 - const yyr1107 bool = false - yyq1107[0] = x.HTTP != nil - var yynn1107 int - if yyr1107 || yy2arr1107 { + yysep1179 := !z.EncBinary() + yy2arr1179 := z.EncBasicHandle().StructToArray + var yyq1179 [1]bool + _, _, _ = yysep1179, yyq1179, yy2arr1179 + const yyr1179 bool = false + yyq1179[0] = x.HTTP != nil + var yynn1179 int + if yyr1179 || yy2arr1179 { r.EncodeArrayStart(1) } else { - yynn1107 = 0 - for _, b := range yyq1107 { + yynn1179 = 0 + for _, b := range yyq1179 { if b { - yynn1107++ + yynn1179++ } } - r.EncodeMapStart(yynn1107) - yynn1107 = 0 + r.EncodeMapStart(yynn1179) + yynn1179 = 0 } - if yyr1107 || yy2arr1107 { + if yyr1179 || yy2arr1179 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1107[0] { + if yyq1179[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -13178,7 +13877,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1107[0] { + if yyq1179[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13189,7 +13888,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1107 || yy2arr1107 { + if yyr1179 || yy2arr1179 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13202,25 +13901,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1109 := z.DecBinary() - _ = yym1109 + yym1181 := z.DecBinary() + _ = yym1181 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1110 := r.ContainerType() - if yyct1110 == codecSelferValueTypeMap1234 { - yyl1110 := r.ReadMapStart() - if yyl1110 == 0 { + yyct1182 := r.ContainerType() + if yyct1182 == codecSelferValueTypeMap1234 { + yyl1182 := r.ReadMapStart() + if yyl1182 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1110, d) + x.codecDecodeSelfFromMap(yyl1182, d) } - } else if yyct1110 == codecSelferValueTypeArray1234 { - yyl1110 := r.ReadArrayStart() - if yyl1110 == 0 { + } else if yyct1182 == codecSelferValueTypeArray1234 { + yyl1182 := r.ReadArrayStart() + if yyl1182 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1110, d) + x.codecDecodeSelfFromArray(yyl1182, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13232,12 +13931,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1111Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1111Slc - var yyhl1111 bool = l >= 0 - for yyj1111 := 0; ; yyj1111++ { - if yyhl1111 { - if yyj1111 >= l { + var yys1183Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1183Slc + var yyhl1183 bool = l >= 0 + for yyj1183 := 0; ; yyj1183++ { + if yyhl1183 { + if yyj1183 >= l { break } } else { @@ -13246,10 +13945,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1111Slc = r.DecodeBytes(yys1111Slc, true, true) - yys1111 := string(yys1111Slc) + yys1183Slc = r.DecodeBytes(yys1183Slc, true, true) + yys1183 := string(yys1183Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1111 { + switch yys1183 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -13262,884 +13961,13 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1111) - } // end switch yys1111 - } // end for yyj1111 + z.DecStructFieldNotFound(-1, yys1183) + } // end switch yys1183 + } // end for yyj1183 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1113 int - var yyb1113 bool - var yyhl1113 bool = l >= 0 - yyj1113++ - if yyhl1113 { - yyb1113 = yyj1113 > l - } else { - yyb1113 = r.CheckBreak() - } - if yyb1113 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj1113++ - if yyhl1113 { - yyb1113 = yyj1113 > l - } else { - yyb1113 = r.CheckBreak() - } - if yyb1113 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1113-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1115 := z.EncBinary() - _ = yym1115 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1116 := !z.EncBinary() - yy2arr1116 := z.EncBasicHandle().StructToArray - var yyq1116 [1]bool - _, _, _ = yysep1116, yyq1116, yy2arr1116 - const yyr1116 bool = false - var yynn1116 int - if yyr1116 || yy2arr1116 { - r.EncodeArrayStart(1) - } else { - yynn1116 = 1 - for _, b := range yyq1116 { - if b { - yynn1116++ - } - } - r.EncodeMapStart(yynn1116) - yynn1116 = 0 - } - if yyr1116 || yy2arr1116 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym1118 := z.EncBinary() - _ = yym1118 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("paths")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym1119 := z.EncBinary() - _ = yym1119 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } - if yyr1116 || yy2arr1116 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1120 := z.DecBinary() - _ = yym1120 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1121 := r.ContainerType() - if yyct1121 == codecSelferValueTypeMap1234 { - yyl1121 := r.ReadMapStart() - if yyl1121 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1121, d) - } - } else if yyct1121 == codecSelferValueTypeArray1234 { - yyl1121 := r.ReadArrayStart() - if yyl1121 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1121, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1122Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1122Slc - var yyhl1122 bool = l >= 0 - for yyj1122 := 0; ; yyj1122++ { - if yyhl1122 { - if yyj1122 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1122Slc = r.DecodeBytes(yys1122Slc, true, true) - yys1122 := string(yys1122Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1122 { - case "paths": - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv1123 := &x.Paths - yym1124 := z.DecBinary() - _ = yym1124 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1123), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1122) - } // end switch yys1122 - } // end for yyj1122 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1125 int - var yyb1125 bool - var yyhl1125 bool = l >= 0 - yyj1125++ - if yyhl1125 { - yyb1125 = yyj1125 > l - } else { - yyb1125 = r.CheckBreak() - } - if yyb1125 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv1126 := &x.Paths - yym1127 := z.DecBinary() - _ = yym1127 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1126), d) - } - } - for { - yyj1125++ - if yyhl1125 { - yyb1125 = yyj1125 > l - } else { - yyb1125 = r.CheckBreak() - } - if yyb1125 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1125-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1128 := z.EncBinary() - _ = yym1128 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1129 := !z.EncBinary() - yy2arr1129 := z.EncBasicHandle().StructToArray - var yyq1129 [2]bool - _, _, _ = yysep1129, yyq1129, yy2arr1129 - const yyr1129 bool = false - yyq1129[0] = x.Path != "" - var yynn1129 int - if yyr1129 || yy2arr1129 { - r.EncodeArrayStart(2) - } else { - yynn1129 = 1 - for _, b := range yyq1129 { - if b { - yynn1129++ - } - } - r.EncodeMapStart(yynn1129) - yynn1129 = 0 - } - if yyr1129 || yy2arr1129 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1129[0] { - yym1131 := z.EncBinary() - _ = yym1131 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1129[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1132 := z.EncBinary() - _ = yym1132 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - } - if yyr1129 || yy2arr1129 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1134 := &x.Backend - yy1134.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("backend")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1135 := &x.Backend - yy1135.CodecEncodeSelf(e) - } - if yyr1129 || yy2arr1129 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1136 := z.DecBinary() - _ = yym1136 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1137 := r.ContainerType() - if yyct1137 == codecSelferValueTypeMap1234 { - yyl1137 := r.ReadMapStart() - if yyl1137 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1137, d) - } - } else if yyct1137 == codecSelferValueTypeArray1234 { - yyl1137 := r.ReadArrayStart() - if yyl1137 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1137, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1138Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1138Slc - var yyhl1138 bool = l >= 0 - for yyj1138 := 0; ; yyj1138++ { - if yyhl1138 { - if yyj1138 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1138Slc = r.DecodeBytes(yys1138Slc, true, true) - yys1138 := string(yys1138Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1138 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - case "backend": - if r.TryDecodeAsNil() { - x.Backend = IngressBackend{} - } else { - yyv1140 := &x.Backend - yyv1140.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1138) - } // end switch yys1138 - } // end for yyj1138 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1141 int - var yyb1141 bool - var yyhl1141 bool = l >= 0 - yyj1141++ - if yyhl1141 { - yyb1141 = yyj1141 > l - } else { - yyb1141 = r.CheckBreak() - } - if yyb1141 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj1141++ - if yyhl1141 { - yyb1141 = yyj1141 > l - } else { - yyb1141 = r.CheckBreak() - } - if yyb1141 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Backend = IngressBackend{} - } else { - yyv1143 := &x.Backend - yyv1143.CodecDecodeSelf(d) - } - for { - yyj1141++ - if yyhl1141 { - yyb1141 = yyj1141 > l - } else { - yyb1141 = r.CheckBreak() - } - if yyb1141 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1141-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1144 := z.EncBinary() - _ = yym1144 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1145 := !z.EncBinary() - yy2arr1145 := z.EncBasicHandle().StructToArray - var yyq1145 [2]bool - _, _, _ = yysep1145, yyq1145, yy2arr1145 - const yyr1145 bool = false - var yynn1145 int - if yyr1145 || yy2arr1145 { - r.EncodeArrayStart(2) - } else { - yynn1145 = 2 - for _, b := range yyq1145 { - if b { - yynn1145++ - } - } - r.EncodeMapStart(yynn1145) - yynn1145 = 0 - } - if yyr1145 || yy2arr1145 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1147 := z.EncBinary() - _ = yym1147 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1148 := z.EncBinary() - _ = yym1148 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) - } - } - if yyr1145 || yy2arr1145 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1150 := &x.ServicePort - yym1151 := z.EncBinary() - _ = yym1151 - if false { - } else if z.HasExtensions() && z.EncExt(yy1150) { - } else if !yym1151 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1150) - } else { - z.EncFallback(yy1150) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("servicePort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1152 := &x.ServicePort - yym1153 := z.EncBinary() - _ = yym1153 - if false { - } else if z.HasExtensions() && z.EncExt(yy1152) { - } else if !yym1153 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1152) - } else { - z.EncFallback(yy1152) - } - } - if yyr1145 || yy2arr1145 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1154 := z.DecBinary() - _ = yym1154 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1155 := r.ContainerType() - if yyct1155 == codecSelferValueTypeMap1234 { - yyl1155 := r.ReadMapStart() - if yyl1155 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1155, d) - } - } else if yyct1155 == codecSelferValueTypeArray1234 { - yyl1155 := r.ReadArrayStart() - if yyl1155 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1155, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1156Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1156Slc - var yyhl1156 bool = l >= 0 - for yyj1156 := 0; ; yyj1156++ { - if yyhl1156 { - if yyj1156 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1156Slc = r.DecodeBytes(yys1156Slc, true, true) - yys1156 := string(yys1156Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1156 { - case "serviceName": - if r.TryDecodeAsNil() { - x.ServiceName = "" - } else { - x.ServiceName = string(r.DecodeString()) - } - case "servicePort": - if r.TryDecodeAsNil() { - x.ServicePort = pkg5_intstr.IntOrString{} - } else { - yyv1158 := &x.ServicePort - yym1159 := z.DecBinary() - _ = yym1159 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1158) { - } else if !yym1159 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1158) - } else { - z.DecFallback(yyv1158, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys1156) - } // end switch yys1156 - } // end for yyj1156 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1160 int - var yyb1160 bool - var yyhl1160 bool = l >= 0 - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l - } else { - yyb1160 = r.CheckBreak() - } - if yyb1160 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceName = "" - } else { - x.ServiceName = string(r.DecodeString()) - } - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l - } else { - yyb1160 = r.CheckBreak() - } - if yyb1160 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServicePort = pkg5_intstr.IntOrString{} - } else { - yyv1162 := &x.ServicePort - yym1163 := z.DecBinary() - _ = yym1163 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1162) { - } else if !yym1163 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1162) - } else { - z.DecFallback(yyv1162, false) - } - } - for { - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l - } else { - yyb1160 = r.CheckBreak() - } - if yyb1160 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1160-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1164 := z.EncBinary() - _ = yym1164 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1165 := !z.EncBinary() - yy2arr1165 := z.EncBasicHandle().StructToArray - var yyq1165 [4]bool - _, _, _ = yysep1165, yyq1165, yy2arr1165 - const yyr1165 bool = false - yyq1165[0] = x.Kind != "" - yyq1165[1] = x.APIVersion != "" - var yynn1165 int - if yyr1165 || yy2arr1165 { - r.EncodeArrayStart(4) - } else { - yynn1165 = 2 - for _, b := range yyq1165 { - if b { - yynn1165++ - } - } - r.EncodeMapStart(yynn1165) - yynn1165 = 0 - } - if yyr1165 || yy2arr1165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[0] { - yym1167 := z.EncBinary() - _ = yym1167 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1165[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1168 := z.EncBinary() - _ = yym1168 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1165 || yy2arr1165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[1] { - yym1170 := z.EncBinary() - _ = yym1170 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1165[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1171 := z.EncBinary() - _ = yym1171 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1165 || yy2arr1165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1173 := z.EncBinary() - _ = yym1173 - if false { - } else { - r.EncodeBool(bool(x.Export)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("export")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1174 := z.EncBinary() - _ = yym1174 - if false { - } else { - r.EncodeBool(bool(x.Export)) - } - } - if yyr1165 || yy2arr1165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1176 := z.EncBinary() - _ = yym1176 - if false { - } else { - r.EncodeBool(bool(x.Exact)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("exact")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1177 := z.EncBinary() - _ = yym1177 - if false { - } else { - r.EncodeBool(bool(x.Exact)) - } - } - if yyr1165 || yy2arr1165 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1178 := z.DecBinary() - _ = yym1178 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1179 := r.ContainerType() - if yyct1179 == codecSelferValueTypeMap1234 { - yyl1179 := r.ReadMapStart() - if yyl1179 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1179, d) - } - } else if yyct1179 == codecSelferValueTypeArray1234 { - yyl1179 := r.ReadArrayStart() - if yyl1179 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1179, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1180Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1180Slc - var yyhl1180 bool = l >= 0 - for yyj1180 := 0; ; yyj1180++ { - if yyhl1180 { - if yyj1180 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1180Slc = r.DecodeBytes(yys1180Slc, true, true) - yys1180 := string(yys1180Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1180 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "export": - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - case "exact": - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } - default: - z.DecStructFieldNotFound(-1, yys1180) - } // end switch yys1180 - } // end for yyj1180 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14158,57 +13986,14 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + if x.HTTP != nil { + x.HTTP = nil + } } else { - x.Kind = string(r.DecodeString()) - } - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l - } else { - yyb1185 = r.CheckBreak() - } - if yyb1185 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l - } else { - yyb1185 = r.CheckBreak() - } - if yyb1185 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l - } else { - yyb1185 = r.CheckBreak() - } - if yyb1185 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } for { yyj1185++ @@ -14226,687 +14011,742 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1190 := z.EncBinary() - _ = yym1190 + yym1187 := z.EncBinary() + _ = yym1187 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1191 := !z.EncBinary() - yy2arr1191 := z.EncBasicHandle().StructToArray - var yyq1191 [2]bool - _, _, _ = yysep1191, yyq1191, yy2arr1191 - const yyr1191 bool = false - yyq1191[0] = len(x.MatchLabels) != 0 - yyq1191[1] = len(x.MatchExpressions) != 0 - var yynn1191 int - if yyr1191 || yy2arr1191 { - r.EncodeArrayStart(2) + yysep1188 := !z.EncBinary() + yy2arr1188 := z.EncBasicHandle().StructToArray + var yyq1188 [1]bool + _, _, _ = yysep1188, yyq1188, yy2arr1188 + const yyr1188 bool = false + var yynn1188 int + if yyr1188 || yy2arr1188 { + r.EncodeArrayStart(1) } else { - yynn1191 = 0 - for _, b := range yyq1191 { + yynn1188 = 1 + for _, b := range yyq1188 { if b { - yynn1191++ + yynn1188++ } } - r.EncodeMapStart(yynn1191) - yynn1191 = 0 + r.EncodeMapStart(yynn1188) + yynn1188 = 0 } - if yyr1191 || yy2arr1191 { + if yyr1188 || yy2arr1188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1191[0] { - if x.MatchLabels == nil { - r.EncodeNil() - } else { - yym1193 := z.EncBinary() - _ = yym1193 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } - } - } else { + if x.Paths == nil { r.EncodeNil() - } - } else { - if yyq1191[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchLabels == nil { - r.EncodeNil() - } else { - yym1194 := z.EncBinary() - _ = yym1194 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } - } - } - } - if yyr1191 || yy2arr1191 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1191[1] { - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym1196 := z.EncBinary() - _ = yym1196 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } } else { - r.EncodeNil() - } - } else { - if yyq1191[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym1197 := z.EncBinary() - _ = yym1197 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } - } - } - if yyr1191 || yy2arr1191 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1198 := z.DecBinary() - _ = yym1198 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1199 := r.ContainerType() - if yyct1199 == codecSelferValueTypeMap1234 { - yyl1199 := r.ReadMapStart() - if yyl1199 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1199, d) - } - } else if yyct1199 == codecSelferValueTypeArray1234 { - yyl1199 := r.ReadArrayStart() - if yyl1199 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1199, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1200Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1200Slc - var yyhl1200 bool = l >= 0 - for yyj1200 := 0; ; yyj1200++ { - if yyhl1200 { - if yyj1200 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1200Slc = r.DecodeBytes(yys1200Slc, true, true) - yys1200 := string(yys1200Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1200 { - case "matchLabels": - if r.TryDecodeAsNil() { - x.MatchLabels = nil - } else { - yyv1201 := &x.MatchLabels - yym1202 := z.DecBinary() - _ = yym1202 - if false { - } else { - z.F.DecMapStringStringX(yyv1201, false, d) - } - } - case "matchExpressions": - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv1203 := &x.MatchExpressions - yym1204 := z.DecBinary() - _ = yym1204 - if false { - } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1203), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1200) - } // end switch yys1200 - } // end for yyj1200 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1205 int - var yyb1205 bool - var yyhl1205 bool = l >= 0 - yyj1205++ - if yyhl1205 { - yyb1205 = yyj1205 > l - } else { - yyb1205 = r.CheckBreak() - } - if yyb1205 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchLabels = nil - } else { - yyv1206 := &x.MatchLabels - yym1207 := z.DecBinary() - _ = yym1207 - if false { - } else { - z.F.DecMapStringStringX(yyv1206, false, d) - } - } - yyj1205++ - if yyhl1205 { - yyb1205 = yyj1205 > l - } else { - yyb1205 = r.CheckBreak() - } - if yyb1205 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv1208 := &x.MatchExpressions - yym1209 := z.DecBinary() - _ = yym1209 - if false { - } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1208), d) - } - } - for { - yyj1205++ - if yyhl1205 { - yyb1205 = yyj1205 > l - } else { - yyb1205 = r.CheckBreak() - } - if yyb1205 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1205-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1210 := z.EncBinary() - _ = yym1210 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1211 := !z.EncBinary() - yy2arr1211 := z.EncBasicHandle().StructToArray - var yyq1211 [3]bool - _, _, _ = yysep1211, yyq1211, yy2arr1211 - const yyr1211 bool = false - yyq1211[2] = len(x.Values) != 0 - var yynn1211 int - if yyr1211 || yy2arr1211 { - r.EncodeArrayStart(3) - } else { - yynn1211 = 2 - for _, b := range yyq1211 { - if b { - yynn1211++ - } - } - r.EncodeMapStart(yynn1211) - yynn1211 = 0 - } - if yyr1211 || yy2arr1211 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1213 := z.EncBinary() - _ = yym1213 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("key")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1214 := z.EncBinary() - _ = yym1214 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr1211 || yy2arr1211 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Operator.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("operator")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Operator.CodecEncodeSelf(e) - } - if yyr1211 || yy2arr1211 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1211[2] { - if x.Values == nil { - r.EncodeNil() - } else { - yym1217 := z.EncBinary() - _ = yym1217 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1211[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("values")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Values == nil { - r.EncodeNil() - } else { - yym1218 := z.EncBinary() - _ = yym1218 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } - } - if yyr1211 || yy2arr1211 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1219 := z.DecBinary() - _ = yym1219 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1220 := r.ContainerType() - if yyct1220 == codecSelferValueTypeMap1234 { - yyl1220 := r.ReadMapStart() - if yyl1220 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1220, d) - } - } else if yyct1220 == codecSelferValueTypeArray1234 { - yyl1220 := r.ReadArrayStart() - if yyl1220 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1220, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1221Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1221Slc - var yyhl1221 bool = l >= 0 - for yyj1221 := 0; ; yyj1221++ { - if yyhl1221 { - if yyj1221 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1221Slc = r.DecodeBytes(yys1221Slc, true, true) - yys1221 := string(yys1221Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1221 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - case "operator": - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) - } - case "values": - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv1224 := &x.Values - yym1225 := z.DecBinary() - _ = yym1225 - if false { - } else { - z.F.DecSliceStringX(yyv1224, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1221) - } // end switch yys1221 - } // end for yyj1221 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1226 int - var yyb1226 bool - var yyhl1226 bool = l >= 0 - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l - } else { - yyb1226 = r.CheckBreak() - } - if yyb1226 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l - } else { - yyb1226 = r.CheckBreak() - } - if yyb1226 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) - } - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l - } else { - yyb1226 = r.CheckBreak() - } - if yyb1226 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv1229 := &x.Values - yym1230 := z.DecBinary() - _ = yym1230 - if false { - } else { - z.F.DecSliceStringX(yyv1229, false, d) - } - } - for { - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l - } else { - yyb1226 = r.CheckBreak() - } - if yyb1226 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1226-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1231 := z.EncBinary() - _ = yym1231 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1232 := z.DecBinary() - _ = yym1232 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1233 := z.EncBinary() - _ = yym1233 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1234 := !z.EncBinary() - yy2arr1234 := z.EncBasicHandle().StructToArray - var yyq1234 [5]bool - _, _, _ = yysep1234, yyq1234, yy2arr1234 - const yyr1234 bool = false - yyq1234[0] = x.Kind != "" - yyq1234[1] = x.APIVersion != "" - yyq1234[2] = true - yyq1234[3] = true - yyq1234[4] = true - var yynn1234 int - if yyr1234 || yy2arr1234 { - r.EncodeArrayStart(5) - } else { - yynn1234 = 0 - for _, b := range yyq1234 { - if b { - yynn1234++ - } - } - r.EncodeMapStart(yynn1234) - yynn1234 = 0 - } - if yyr1234 || yy2arr1234 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[0] { - yym1236 := z.EncBinary() - _ = yym1236 + yym1190 := z.EncBinary() + _ = yym1190 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("paths")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Paths == nil { + r.EncodeNil() + } else { + yym1191 := z.EncBinary() + _ = yym1191 + if false { + } else { + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) + } + } + } + if yyr1188 || yy2arr1188 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1192 := z.DecBinary() + _ = yym1192 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1193 := r.ContainerType() + if yyct1193 == codecSelferValueTypeMap1234 { + yyl1193 := r.ReadMapStart() + if yyl1193 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1193, d) + } + } else if yyct1193 == codecSelferValueTypeArray1234 { + yyl1193 := r.ReadArrayStart() + if yyl1193 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1193, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1194Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1194Slc + var yyhl1194 bool = l >= 0 + for yyj1194 := 0; ; yyj1194++ { + if yyhl1194 { + if yyj1194 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1194Slc = r.DecodeBytes(yys1194Slc, true, true) + yys1194 := string(yys1194Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1194 { + case "paths": + if r.TryDecodeAsNil() { + x.Paths = nil + } else { + yyv1195 := &x.Paths + yym1196 := z.DecBinary() + _ = yym1196 + if false { + } else { + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1195), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1194) + } // end switch yys1194 + } // end for yyj1194 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1197 int + var yyb1197 bool + var yyhl1197 bool = l >= 0 + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l + } else { + yyb1197 = r.CheckBreak() + } + if yyb1197 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Paths = nil + } else { + yyv1198 := &x.Paths + yym1199 := z.DecBinary() + _ = yym1199 + if false { + } else { + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1198), d) + } + } + for { + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l + } else { + yyb1197 = r.CheckBreak() + } + if yyb1197 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1197-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1200 := z.EncBinary() + _ = yym1200 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1201 := !z.EncBinary() + yy2arr1201 := z.EncBasicHandle().StructToArray + var yyq1201 [2]bool + _, _, _ = yysep1201, yyq1201, yy2arr1201 + const yyr1201 bool = false + yyq1201[0] = x.Path != "" + var yynn1201 int + if yyr1201 || yy2arr1201 { + r.EncodeArrayStart(2) + } else { + yynn1201 = 1 + for _, b := range yyq1201 { + if b { + yynn1201++ + } + } + r.EncodeMapStart(yynn1201) + yynn1201 = 0 + } + if yyr1201 || yy2arr1201 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1201[0] { + yym1203 := z.EncBinary() + _ = yym1203 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1234[0] { + if yyq1201[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1237 := z.EncBinary() - _ = yym1237 + yym1204 := z.EncBinary() + _ = yym1204 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1234 || yy2arr1234 { + if yyr1201 || yy2arr1201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[1] { + yy1206 := &x.Backend + yy1206.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("backend")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1207 := &x.Backend + yy1207.CodecEncodeSelf(e) + } + if yyr1201 || yy2arr1201 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1208 := z.DecBinary() + _ = yym1208 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1209 := r.ContainerType() + if yyct1209 == codecSelferValueTypeMap1234 { + yyl1209 := r.ReadMapStart() + if yyl1209 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1209, d) + } + } else if yyct1209 == codecSelferValueTypeArray1234 { + yyl1209 := r.ReadArrayStart() + if yyl1209 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1209, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1210Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1210Slc + var yyhl1210 bool = l >= 0 + for yyj1210 := 0; ; yyj1210++ { + if yyhl1210 { + if yyj1210 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1210Slc = r.DecodeBytes(yys1210Slc, true, true) + yys1210 := string(yys1210Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1210 { + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + case "backend": + if r.TryDecodeAsNil() { + x.Backend = IngressBackend{} + } else { + yyv1212 := &x.Backend + yyv1212.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1210) + } // end switch yys1210 + } // end for yyj1210 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1213 int + var yyb1213 bool + var yyhl1213 bool = l >= 0 + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l + } else { + yyb1213 = r.CheckBreak() + } + if yyb1213 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l + } else { + yyb1213 = r.CheckBreak() + } + if yyb1213 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Backend = IngressBackend{} + } else { + yyv1215 := &x.Backend + yyv1215.CodecDecodeSelf(d) + } + for { + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l + } else { + yyb1213 = r.CheckBreak() + } + if yyb1213 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1213-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1216 := z.EncBinary() + _ = yym1216 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1217 := !z.EncBinary() + yy2arr1217 := z.EncBasicHandle().StructToArray + var yyq1217 [2]bool + _, _, _ = yysep1217, yyq1217, yy2arr1217 + const yyr1217 bool = false + var yynn1217 int + if yyr1217 || yy2arr1217 { + r.EncodeArrayStart(2) + } else { + yynn1217 = 2 + for _, b := range yyq1217 { + if b { + yynn1217++ + } + } + r.EncodeMapStart(yynn1217) + yynn1217 = 0 + } + if yyr1217 || yy2arr1217 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1219 := z.EncBinary() + _ = yym1219 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("serviceName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1220 := z.EncBinary() + _ = yym1220 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) + } + } + if yyr1217 || yy2arr1217 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1222 := &x.ServicePort + yym1223 := z.EncBinary() + _ = yym1223 + if false { + } else if z.HasExtensions() && z.EncExt(yy1222) { + } else if !yym1223 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1222) + } else { + z.EncFallback(yy1222) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("servicePort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1224 := &x.ServicePort + yym1225 := z.EncBinary() + _ = yym1225 + if false { + } else if z.HasExtensions() && z.EncExt(yy1224) { + } else if !yym1225 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1224) + } else { + z.EncFallback(yy1224) + } + } + if yyr1217 || yy2arr1217 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1226 := z.DecBinary() + _ = yym1226 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1227 := r.ContainerType() + if yyct1227 == codecSelferValueTypeMap1234 { + yyl1227 := r.ReadMapStart() + if yyl1227 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1227, d) + } + } else if yyct1227 == codecSelferValueTypeArray1234 { + yyl1227 := r.ReadArrayStart() + if yyl1227 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1227, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1228Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1228Slc + var yyhl1228 bool = l >= 0 + for yyj1228 := 0; ; yyj1228++ { + if yyhl1228 { + if yyj1228 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1228Slc = r.DecodeBytes(yys1228Slc, true, true) + yys1228 := string(yys1228Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1228 { + case "serviceName": + if r.TryDecodeAsNil() { + x.ServiceName = "" + } else { + x.ServiceName = string(r.DecodeString()) + } + case "servicePort": + if r.TryDecodeAsNil() { + x.ServicePort = pkg5_intstr.IntOrString{} + } else { + yyv1230 := &x.ServicePort + yym1231 := z.DecBinary() + _ = yym1231 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1230) { + } else if !yym1231 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1230) + } else { + z.DecFallback(yyv1230, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1228) + } // end switch yys1228 + } // end for yyj1228 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1232 int + var yyb1232 bool + var yyhl1232 bool = l >= 0 + yyj1232++ + if yyhl1232 { + yyb1232 = yyj1232 > l + } else { + yyb1232 = r.CheckBreak() + } + if yyb1232 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServiceName = "" + } else { + x.ServiceName = string(r.DecodeString()) + } + yyj1232++ + if yyhl1232 { + yyb1232 = yyj1232 > l + } else { + yyb1232 = r.CheckBreak() + } + if yyb1232 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServicePort = pkg5_intstr.IntOrString{} + } else { + yyv1234 := &x.ServicePort + yym1235 := z.DecBinary() + _ = yym1235 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1234) { + } else if !yym1235 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1234) + } else { + z.DecFallback(yyv1234, false) + } + } + for { + yyj1232++ + if yyhl1232 { + yyb1232 = yyj1232 > l + } else { + yyb1232 = r.CheckBreak() + } + if yyb1232 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1232-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1236 := z.EncBinary() + _ = yym1236 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1237 := !z.EncBinary() + yy2arr1237 := z.EncBasicHandle().StructToArray + var yyq1237 [4]bool + _, _, _ = yysep1237, yyq1237, yy2arr1237 + const yyr1237 bool = false + yyq1237[0] = x.Kind != "" + yyq1237[1] = x.APIVersion != "" + var yynn1237 int + if yyr1237 || yy2arr1237 { + r.EncodeArrayStart(4) + } else { + yynn1237 = 2 + for _, b := range yyq1237 { + if b { + yynn1237++ + } + } + r.EncodeMapStart(yynn1237) + yynn1237 = 0 + } + if yyr1237 || yy2arr1237 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1237[0] { yym1239 := z.EncBinary() _ = yym1239 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1234[1] { + if yyq1237[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym1240 := z.EncBinary() _ = yym1240 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1237 || yy2arr1237 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1237[1] { + yym1242 := z.EncBinary() + _ = yym1242 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1237[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1243 := z.EncBinary() + _ = yym1243 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1234 || yy2arr1234 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[2] { - yy1242 := &x.ObjectMeta - yy1242.CodecEncodeSelf(e) + yym1245 := z.EncBinary() + _ = yym1245 + if false { } else { - r.EncodeNil() + r.EncodeBool(bool(x.Export)) } } else { - if yyq1234[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1243 := &x.ObjectMeta - yy1243.CodecEncodeSelf(e) + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("export")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1246 := z.EncBinary() + _ = yym1246 + if false { + } else { + r.EncodeBool(bool(x.Export)) } } - if yyr1234 || yy2arr1234 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[3] { - yy1245 := &x.Spec - yy1245.CodecEncodeSelf(e) + yym1248 := z.EncBinary() + _ = yym1248 + if false { } else { - r.EncodeNil() + r.EncodeBool(bool(x.Exact)) } } else { - if yyq1234[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1246 := &x.Spec - yy1246.CodecEncodeSelf(e) - } - } - if yyr1234 || yy2arr1234 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[4] { - yy1248 := &x.Status - yy1248.CodecEncodeSelf(e) + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("exact")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1249 := z.EncBinary() + _ = yym1249 + if false { } else { - r.EncodeNil() - } - } else { - if yyq1234[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1249 := &x.Status - yy1249.CodecEncodeSelf(e) + r.EncodeBool(bool(x.Exact)) } } - if yyr1234 || yy2arr1234 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14915,7 +14755,7 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14945,7 +14785,7 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14979,26 +14819,17 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - case "metadata": + case "export": if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} + x.Export = false } else { - yyv1255 := &x.ObjectMeta - yyv1255.CodecDecodeSelf(d) + x.Export = bool(r.DecodeBool()) } - case "spec": + case "exact": if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} + x.Exact = false } else { - yyv1256 := &x.Spec - yyv1256.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv1257 := &x.Status - yyv1257.CodecDecodeSelf(d) + x.Exact = bool(r.DecodeBool()) } default: z.DecStructFieldNotFound(-1, yys1252) @@ -15007,20 +14838,20 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1258 int - var yyb1258 bool - var yyhl1258 bool = l >= 0 - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + var yyj1257 int + var yyb1257 bool + var yyhl1257 bool = l >= 0 + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1258 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1258 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15030,13 +14861,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1258 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1258 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15046,13 +14877,337 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1258 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1258 { + if yyb1257 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l + } else { + yyb1257 = r.CheckBreak() + } + if yyb1257 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } + for { + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l + } else { + yyb1257 = r.CheckBreak() + } + if yyb1257 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1257-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1262 := z.EncBinary() + _ = yym1262 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1263 := !z.EncBinary() + yy2arr1263 := z.EncBasicHandle().StructToArray + var yyq1263 [5]bool + _, _, _ = yysep1263, yyq1263, yy2arr1263 + const yyr1263 bool = false + yyq1263[0] = x.Kind != "" + yyq1263[1] = x.APIVersion != "" + yyq1263[2] = true + yyq1263[3] = true + yyq1263[4] = true + var yynn1263 int + if yyr1263 || yy2arr1263 { + r.EncodeArrayStart(5) + } else { + yynn1263 = 0 + for _, b := range yyq1263 { + if b { + yynn1263++ + } + } + r.EncodeMapStart(yynn1263) + yynn1263 = 0 + } + if yyr1263 || yy2arr1263 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1263[0] { + yym1265 := z.EncBinary() + _ = yym1265 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1263[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1266 := z.EncBinary() + _ = yym1266 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1263 || yy2arr1263 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1263[1] { + yym1268 := z.EncBinary() + _ = yym1268 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1263[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1269 := z.EncBinary() + _ = yym1269 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1263 || yy2arr1263 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1263[2] { + yy1271 := &x.ObjectMeta + yy1271.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1263[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1272 := &x.ObjectMeta + yy1272.CodecEncodeSelf(e) + } + } + if yyr1263 || yy2arr1263 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1263[3] { + yy1274 := &x.Spec + yy1274.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1263[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1275 := &x.Spec + yy1275.CodecEncodeSelf(e) + } + } + if yyr1263 || yy2arr1263 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1263[4] { + yy1277 := &x.Status + yy1277.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1263[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1278 := &x.Status + yy1278.CodecEncodeSelf(e) + } + } + if yyr1263 || yy2arr1263 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1279 := z.DecBinary() + _ = yym1279 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1280 := r.ContainerType() + if yyct1280 == codecSelferValueTypeMap1234 { + yyl1280 := r.ReadMapStart() + if yyl1280 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1280, d) + } + } else if yyct1280 == codecSelferValueTypeArray1234 { + yyl1280 := r.ReadArrayStart() + if yyl1280 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1280, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1281Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1281Slc + var yyhl1281 bool = l >= 0 + for yyj1281 := 0; ; yyj1281++ { + if yyhl1281 { + if yyj1281 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1281Slc = r.DecodeBytes(yys1281Slc, true, true) + yys1281 := string(yys1281Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1281 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1284 := &x.ObjectMeta + yyv1284.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv1285 := &x.Spec + yyv1285.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv1286 := &x.Status + yyv1286.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1281) + } // end switch yys1281 + } // end for yyj1281 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1287 int + var yyb1287 bool + var yyhl1287 bool = l >= 0 + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l + } else { + yyb1287 = r.CheckBreak() + } + if yyb1287 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l + } else { + yyb1287 = r.CheckBreak() + } + if yyb1287 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l + } else { + yyb1287 = r.CheckBreak() + } + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15060,16 +15215,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1261 := &x.ObjectMeta - yyv1261.CodecDecodeSelf(d) + yyv1290 := &x.ObjectMeta + yyv1290.CodecDecodeSelf(d) } - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1258 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1258 { + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15077,16 +15232,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1262 := &x.Spec - yyv1262.CodecDecodeSelf(d) + yyv1291 := &x.Spec + yyv1291.CodecDecodeSelf(d) } - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1258 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1258 { + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15094,21 +15249,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1263 := &x.Status - yyv1263.CodecDecodeSelf(d) + yyv1292 := &x.Status + yyv1292.CodecDecodeSelf(d) } for { - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1258 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1258 { + if yyb1287 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1258-1, "") + z.DecStructFieldNotFound(yyj1287-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15120,37 +15275,37 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1264 := z.EncBinary() - _ = yym1264 + yym1293 := z.EncBinary() + _ = yym1293 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1265 := !z.EncBinary() - yy2arr1265 := z.EncBasicHandle().StructToArray - var yyq1265 [4]bool - _, _, _ = yysep1265, yyq1265, yy2arr1265 - const yyr1265 bool = false - yyq1265[0] = x.Kind != "" - yyq1265[1] = x.APIVersion != "" - yyq1265[2] = true - var yynn1265 int - if yyr1265 || yy2arr1265 { + yysep1294 := !z.EncBinary() + yy2arr1294 := z.EncBasicHandle().StructToArray + var yyq1294 [4]bool + _, _, _ = yysep1294, yyq1294, yy2arr1294 + const yyr1294 bool = false + yyq1294[0] = x.Kind != "" + yyq1294[1] = x.APIVersion != "" + yyq1294[2] = true + var yynn1294 int + if yyr1294 || yy2arr1294 { r.EncodeArrayStart(4) } else { - yynn1265 = 1 - for _, b := range yyq1265 { + yynn1294 = 1 + for _, b := range yyq1294 { if b { - yynn1265++ + yynn1294++ } } - r.EncodeMapStart(yynn1265) - yynn1265 = 0 + r.EncodeMapStart(yynn1294) + yynn1294 = 0 } - if yyr1265 || yy2arr1265 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1265[0] { - yym1267 := z.EncBinary() - _ = yym1267 + if yyq1294[0] { + yym1296 := z.EncBinary() + _ = yym1296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -15159,23 +15314,23 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1265[0] { + if yyq1294[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1268 := z.EncBinary() - _ = yym1268 + yym1297 := z.EncBinary() + _ = yym1297 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1265 || yy2arr1265 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1265[1] { - yym1270 := z.EncBinary() - _ = yym1270 + if yyq1294[1] { + yym1299 := z.EncBinary() + _ = yym1299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15184,54 +15339,54 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1265[1] { + if yyq1294[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1271 := z.EncBinary() - _ = yym1271 + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1265 || yy2arr1265 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1265[2] { - yy1273 := &x.ListMeta - yym1274 := z.EncBinary() - _ = yym1274 + if yyq1294[2] { + yy1302 := &x.ListMeta + yym1303 := z.EncBinary() + _ = yym1303 if false { - } else if z.HasExtensions() && z.EncExt(yy1273) { + } else if z.HasExtensions() && z.EncExt(yy1302) { } else { - z.EncFallback(yy1273) + z.EncFallback(yy1302) } } else { r.EncodeNil() } } else { - if yyq1265[2] { + if yyq1294[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1275 := &x.ListMeta - yym1276 := z.EncBinary() - _ = yym1276 + yy1304 := &x.ListMeta + yym1305 := z.EncBinary() + _ = yym1305 if false { - } else if z.HasExtensions() && z.EncExt(yy1275) { + } else if z.HasExtensions() && z.EncExt(yy1304) { } else { - z.EncFallback(yy1275) + z.EncFallback(yy1304) } } } - if yyr1265 || yy2arr1265 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1278 := z.EncBinary() - _ = yym1278 + yym1307 := z.EncBinary() + _ = yym1307 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -15244,15 +15399,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1279 := z.EncBinary() - _ = yym1279 + yym1308 := z.EncBinary() + _ = yym1308 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr1265 || yy2arr1265 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15265,25 +15420,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1280 := z.DecBinary() - _ = yym1280 + yym1309 := z.DecBinary() + _ = yym1309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1281 := r.ContainerType() - if yyct1281 == codecSelferValueTypeMap1234 { - yyl1281 := r.ReadMapStart() - if yyl1281 == 0 { + yyct1310 := r.ContainerType() + if yyct1310 == codecSelferValueTypeMap1234 { + yyl1310 := r.ReadMapStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1281, d) + x.codecDecodeSelfFromMap(yyl1310, d) } - } else if yyct1281 == codecSelferValueTypeArray1234 { - yyl1281 := r.ReadArrayStart() - if yyl1281 == 0 { + } else if yyct1310 == codecSelferValueTypeArray1234 { + yyl1310 := r.ReadArrayStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1281, d) + x.codecDecodeSelfFromArray(yyl1310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15295,12 +15450,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1282Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1282Slc - var yyhl1282 bool = l >= 0 - for yyj1282 := 0; ; yyj1282++ { - if yyhl1282 { - if yyj1282 >= l { + var yys1311Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1311Slc + var yyhl1311 bool = l >= 0 + for yyj1311 := 0; ; yyj1311++ { + if yyhl1311 { + if yyj1311 >= l { break } } else { @@ -15309,10 +15464,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1282Slc = r.DecodeBytes(yys1282Slc, true, true) - yys1282 := string(yys1282Slc) + yys1311Slc = r.DecodeBytes(yys1311Slc, true, true) + yys1311 := string(yys1311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1282 { + switch yys1311 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15329,377 +15484,35 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1285 := &x.ListMeta - yym1286 := z.DecBinary() - _ = yym1286 + yyv1314 := &x.ListMeta + yym1315 := z.DecBinary() + _ = yym1315 if false { - } else if z.HasExtensions() && z.DecExt(yyv1285) { + } else if z.HasExtensions() && z.DecExt(yyv1314) { } else { - z.DecFallback(yyv1285, false) + z.DecFallback(yyv1314, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1287 := &x.Items - yym1288 := z.DecBinary() - _ = yym1288 + yyv1316 := &x.Items + yym1317 := z.DecBinary() + _ = yym1317 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1287), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1316), d) } } default: - z.DecStructFieldNotFound(-1, yys1282) - } // end switch yys1282 - } // end for yyj1282 + z.DecStructFieldNotFound(-1, yys1311) + } // end switch yys1311 + } // end for yyj1311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1289 int - var yyb1289 bool - var yyhl1289 bool = l >= 0 - yyj1289++ - if yyhl1289 { - yyb1289 = yyj1289 > l - } else { - yyb1289 = r.CheckBreak() - } - if yyb1289 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1289++ - if yyhl1289 { - yyb1289 = yyj1289 > l - } else { - yyb1289 = r.CheckBreak() - } - if yyb1289 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1289++ - if yyhl1289 { - yyb1289 = yyj1289 > l - } else { - yyb1289 = r.CheckBreak() - } - if yyb1289 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1292 := &x.ListMeta - yym1293 := z.DecBinary() - _ = yym1293 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1292) { - } else { - z.DecFallback(yyv1292, false) - } - } - yyj1289++ - if yyhl1289 { - yyb1289 = yyj1289 > l - } else { - yyb1289 = r.CheckBreak() - } - if yyb1289 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1294 := &x.Items - yym1295 := z.DecBinary() - _ = yym1295 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1294), d) - } - } - for { - yyj1289++ - if yyhl1289 { - yyb1289 = yyj1289 > l - } else { - yyb1289 = r.CheckBreak() - } - if yyb1289 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1289-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1296 := z.EncBinary() - _ = yym1296 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1297 := !z.EncBinary() - yy2arr1297 := z.EncBasicHandle().StructToArray - var yyq1297 [4]bool - _, _, _ = yysep1297, yyq1297, yy2arr1297 - const yyr1297 bool = false - yyq1297[0] = x.Replicas != nil - yyq1297[1] = x.MinReadySeconds != 0 - yyq1297[2] = x.Selector != nil - yyq1297[3] = true - var yynn1297 int - if yyr1297 || yy2arr1297 { - r.EncodeArrayStart(4) - } else { - yynn1297 = 0 - for _, b := range yyq1297 { - if b { - yynn1297++ - } - } - r.EncodeMapStart(yynn1297) - yynn1297 = 0 - } - if yyr1297 || yy2arr1297 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[0] { - if x.Replicas == nil { - r.EncodeNil() - } else { - yy1299 := *x.Replicas - yym1300 := z.EncBinary() - _ = yym1300 - if false { - } else { - r.EncodeInt(int64(yy1299)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1297[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Replicas == nil { - r.EncodeNil() - } else { - yy1301 := *x.Replicas - yym1302 := z.EncBinary() - _ = yym1302 - if false { - } else { - r.EncodeInt(int64(yy1301)) - } - } - } - } - if yyr1297 || yy2arr1297 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[1] { - yym1304 := z.EncBinary() - _ = yym1304 - if false { - } else { - r.EncodeInt(int64(x.MinReadySeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq1297[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1305 := z.EncBinary() - _ = yym1305 - if false { - } else { - r.EncodeInt(int64(x.MinReadySeconds)) - } - } - } - if yyr1297 || yy2arr1297 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[2] { - if x.Selector == nil { - r.EncodeNil() - } else { - x.Selector.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq1297[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() - } else { - x.Selector.CodecEncodeSelf(e) - } - } - } - if yyr1297 || yy2arr1297 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[3] { - yy1308 := &x.Template - yy1308.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1297[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1309 := &x.Template - yy1309.CodecEncodeSelf(e) - } - } - if yyr1297 || yy2arr1297 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1310 := z.DecBinary() - _ = yym1310 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1311 := r.ContainerType() - if yyct1311 == codecSelferValueTypeMap1234 { - yyl1311 := r.ReadMapStart() - if yyl1311 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1311, d) - } - } else if yyct1311 == codecSelferValueTypeArray1234 { - yyl1311 := r.ReadArrayStart() - if yyl1311 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1311, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1312Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1312Slc - var yyhl1312 bool = l >= 0 - for yyj1312 := 0; ; yyj1312++ { - if yyhl1312 { - if yyj1312 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1312Slc = r.DecodeBytes(yys1312Slc, true, true) - yys1312 := string(yys1312Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1312 { - case "replicas": - if r.TryDecodeAsNil() { - if x.Replicas != nil { - x.Replicas = nil - } - } else { - if x.Replicas == nil { - x.Replicas = new(int32) - } - yym1314 := z.DecBinary() - _ = yym1314 - if false { - } else { - *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) - } - } - case "minReadySeconds": - if r.TryDecodeAsNil() { - x.MinReadySeconds = 0 - } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) - } - case "selector": - if r.TryDecodeAsNil() { - if x.Selector != nil { - x.Selector = nil - } - } else { - if x.Selector == nil { - x.Selector = new(LabelSelector) - } - x.Selector.CodecDecodeSelf(d) - } - case "template": - if r.TryDecodeAsNil() { - x.Template = pkg2_v1.PodTemplateSpec{} - } else { - yyv1317 := &x.Template - yyv1317.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1312) - } // end switch yys1312 - } // end for yyj1312 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -15718,74 +15531,71 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.Replicas != nil { - x.Replicas = nil - } + x.Kind = "" } else { - if x.Replicas == nil { - x.Replicas = new(int32) + x.Kind = string(r.DecodeString()) + } + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l + } else { + yyb1318 = r.CheckBreak() + } + if yyb1318 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l + } else { + yyb1318 = r.CheckBreak() + } + if yyb1318 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1321 := &x.ListMeta + yym1322 := z.DecBinary() + _ = yym1322 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1321) { + } else { + z.DecFallback(yyv1321, false) } - yym1320 := z.DecBinary() - _ = yym1320 + } + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l + } else { + yyb1318 = r.CheckBreak() + } + if yyb1318 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1323 := &x.Items + yym1324 := z.DecBinary() + _ = yym1324 if false { } else { - *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1323), d) } } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinReadySeconds = 0 - } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) - } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Selector != nil { - x.Selector = nil - } - } else { - if x.Selector == nil { - x.Selector = new(LabelSelector) - } - x.Selector.CodecDecodeSelf(d) - } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Template = pkg2_v1.PodTemplateSpec{} - } else { - yyv1323 := &x.Template - yyv1323.CodecDecodeSelf(d) - } for { yyj1318++ if yyhl1318 { @@ -15802,6 +15612,375 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1325 := z.EncBinary() + _ = yym1325 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1326 := !z.EncBinary() + yy2arr1326 := z.EncBasicHandle().StructToArray + var yyq1326 [4]bool + _, _, _ = yysep1326, yyq1326, yy2arr1326 + const yyr1326 bool = false + yyq1326[0] = x.Replicas != nil + yyq1326[1] = x.MinReadySeconds != 0 + yyq1326[2] = x.Selector != nil + yyq1326[3] = true + var yynn1326 int + if yyr1326 || yy2arr1326 { + r.EncodeArrayStart(4) + } else { + yynn1326 = 0 + for _, b := range yyq1326 { + if b { + yynn1326++ + } + } + r.EncodeMapStart(yynn1326) + yynn1326 = 0 + } + if yyr1326 || yy2arr1326 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1326[0] { + if x.Replicas == nil { + r.EncodeNil() + } else { + yy1328 := *x.Replicas + yym1329 := z.EncBinary() + _ = yym1329 + if false { + } else { + r.EncodeInt(int64(yy1328)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1326[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Replicas == nil { + r.EncodeNil() + } else { + yy1330 := *x.Replicas + yym1331 := z.EncBinary() + _ = yym1331 + if false { + } else { + r.EncodeInt(int64(yy1330)) + } + } + } + } + if yyr1326 || yy2arr1326 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1326[1] { + yym1333 := z.EncBinary() + _ = yym1333 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1326[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1334 := z.EncBinary() + _ = yym1334 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } + } + if yyr1326 || yy2arr1326 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1326[2] { + if x.Selector == nil { + r.EncodeNil() + } else { + yym1336 := z.EncBinary() + _ = yym1336 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1326[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym1337 := z.EncBinary() + _ = yym1337 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } + } + if yyr1326 || yy2arr1326 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1326[3] { + yy1339 := &x.Template + yy1339.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1326[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1340 := &x.Template + yy1340.CodecEncodeSelf(e) + } + } + if yyr1326 || yy2arr1326 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1341 := z.DecBinary() + _ = yym1341 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1342 := r.ContainerType() + if yyct1342 == codecSelferValueTypeMap1234 { + yyl1342 := r.ReadMapStart() + if yyl1342 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1342, d) + } + } else if yyct1342 == codecSelferValueTypeArray1234 { + yyl1342 := r.ReadArrayStart() + if yyl1342 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1342, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1343Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1343Slc + var yyhl1343 bool = l >= 0 + for yyj1343 := 0; ; yyj1343++ { + if yyhl1343 { + if yyj1343 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1343Slc = r.DecodeBytes(yys1343Slc, true, true) + yys1343 := string(yys1343Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1343 { + case "replicas": + if r.TryDecodeAsNil() { + if x.Replicas != nil { + x.Replicas = nil + } + } else { + if x.Replicas == nil { + x.Replicas = new(int32) + } + yym1345 := z.DecBinary() + _ = yym1345 + if false { + } else { + *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) + } + } + case "minReadySeconds": + if r.TryDecodeAsNil() { + x.MinReadySeconds = 0 + } else { + x.MinReadySeconds = int32(r.DecodeInt(32)) + } + case "selector": + if r.TryDecodeAsNil() { + if x.Selector != nil { + x.Selector = nil + } + } else { + if x.Selector == nil { + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym1348 := z.DecBinary() + _ = yym1348 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) + } + } + case "template": + if r.TryDecodeAsNil() { + x.Template = pkg2_v1.PodTemplateSpec{} + } else { + yyv1349 := &x.Template + yyv1349.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1343) + } // end switch yys1343 + } // end for yyj1343 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1350 int + var yyb1350 bool + var yyhl1350 bool = l >= 0 + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l + } else { + yyb1350 = r.CheckBreak() + } + if yyb1350 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Replicas != nil { + x.Replicas = nil + } + } else { + if x.Replicas == nil { + x.Replicas = new(int32) + } + yym1352 := z.DecBinary() + _ = yym1352 + if false { + } else { + *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) + } + } + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l + } else { + yyb1350 = r.CheckBreak() + } + if yyb1350 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinReadySeconds = 0 + } else { + x.MinReadySeconds = int32(r.DecodeInt(32)) + } + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l + } else { + yyb1350 = r.CheckBreak() + } + if yyb1350 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Selector != nil { + x.Selector = nil + } + } else { + if x.Selector == nil { + x.Selector = new(pkg1_unversioned.LabelSelector) + } + yym1355 := z.DecBinary() + _ = yym1355 + if false { + } else if z.HasExtensions() && z.DecExt(x.Selector) { + } else { + z.DecFallback(x.Selector, false) + } + } + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l + } else { + yyb1350 = r.CheckBreak() + } + if yyb1350 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Template = pkg2_v1.PodTemplateSpec{} + } else { + yyv1356 := &x.Template + yyv1356.CodecDecodeSelf(d) + } + for { + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l + } else { + yyb1350 = r.CheckBreak() + } + if yyb1350 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1350-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -15809,38 +15988,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1324 := z.EncBinary() - _ = yym1324 + yym1357 := z.EncBinary() + _ = yym1357 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1325 := !z.EncBinary() - yy2arr1325 := z.EncBasicHandle().StructToArray - var yyq1325 [6]bool - _, _, _ = yysep1325, yyq1325, yy2arr1325 - const yyr1325 bool = false - yyq1325[1] = x.FullyLabeledReplicas != 0 - yyq1325[2] = x.ReadyReplicas != 0 - yyq1325[3] = x.AvailableReplicas != 0 - yyq1325[4] = x.ObservedGeneration != 0 - yyq1325[5] = len(x.Conditions) != 0 - var yynn1325 int - if yyr1325 || yy2arr1325 { + yysep1358 := !z.EncBinary() + yy2arr1358 := z.EncBasicHandle().StructToArray + var yyq1358 [6]bool + _, _, _ = yysep1358, yyq1358, yy2arr1358 + const yyr1358 bool = false + yyq1358[1] = x.FullyLabeledReplicas != 0 + yyq1358[2] = x.ReadyReplicas != 0 + yyq1358[3] = x.AvailableReplicas != 0 + yyq1358[4] = x.ObservedGeneration != 0 + yyq1358[5] = len(x.Conditions) != 0 + var yynn1358 int + if yyr1358 || yy2arr1358 { r.EncodeArrayStart(6) } else { - yynn1325 = 1 - for _, b := range yyq1325 { + yynn1358 = 1 + for _, b := range yyq1358 { if b { - yynn1325++ + yynn1358++ } } - r.EncodeMapStart(yynn1325) - yynn1325 = 0 + r.EncodeMapStart(yynn1358) + yynn1358 = 0 } - if yyr1325 || yy2arr1325 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1327 := z.EncBinary() - _ = yym1327 + yym1360 := z.EncBinary() + _ = yym1360 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -15849,18 +16028,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1328 := z.EncBinary() - _ = yym1328 + yym1361 := z.EncBinary() + _ = yym1361 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1325 || yy2arr1325 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[1] { - yym1330 := z.EncBinary() - _ = yym1330 + if yyq1358[1] { + yym1363 := z.EncBinary() + _ = yym1363 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -15869,23 +16048,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[1] { + if yyq1358[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1331 := z.EncBinary() - _ = yym1331 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr1325 || yy2arr1325 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[2] { - yym1333 := z.EncBinary() - _ = yym1333 + if yyq1358[2] { + yym1366 := z.EncBinary() + _ = yym1366 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -15894,23 +16073,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[2] { + if yyq1358[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1334 := z.EncBinary() - _ = yym1334 + yym1367 := z.EncBinary() + _ = yym1367 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr1325 || yy2arr1325 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[3] { - yym1336 := z.EncBinary() - _ = yym1336 + if yyq1358[3] { + yym1369 := z.EncBinary() + _ = yym1369 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -15919,23 +16098,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[3] { + if yyq1358[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1337 := z.EncBinary() - _ = yym1337 + yym1370 := z.EncBinary() + _ = yym1370 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr1325 || yy2arr1325 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[4] { - yym1339 := z.EncBinary() - _ = yym1339 + if yyq1358[4] { + yym1372 := z.EncBinary() + _ = yym1372 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -15944,26 +16123,26 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[4] { + if yyq1358[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1340 := z.EncBinary() - _ = yym1340 + yym1373 := z.EncBinary() + _ = yym1373 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1325 || yy2arr1325 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[5] { + if yyq1358[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym1342 := z.EncBinary() - _ = yym1342 + yym1375 := z.EncBinary() + _ = yym1375 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15973,15 +16152,15 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1325[5] { + if yyq1358[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1343 := z.EncBinary() - _ = yym1343 + yym1376 := z.EncBinary() + _ = yym1376 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15989,7 +16168,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1325 || yy2arr1325 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16002,25 +16181,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1344 := z.DecBinary() - _ = yym1344 + yym1377 := z.DecBinary() + _ = yym1377 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1345 := r.ContainerType() - if yyct1345 == codecSelferValueTypeMap1234 { - yyl1345 := r.ReadMapStart() - if yyl1345 == 0 { + yyct1378 := r.ContainerType() + if yyct1378 == codecSelferValueTypeMap1234 { + yyl1378 := r.ReadMapStart() + if yyl1378 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1345, d) + x.codecDecodeSelfFromMap(yyl1378, d) } - } else if yyct1345 == codecSelferValueTypeArray1234 { - yyl1345 := r.ReadArrayStart() - if yyl1345 == 0 { + } else if yyct1378 == codecSelferValueTypeArray1234 { + yyl1378 := r.ReadArrayStart() + if yyl1378 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1345, d) + x.codecDecodeSelfFromArray(yyl1378, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16032,12 +16211,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1346Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1346Slc - var yyhl1346 bool = l >= 0 - for yyj1346 := 0; ; yyj1346++ { - if yyhl1346 { - if yyj1346 >= l { + var yys1379Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1379Slc + var yyhl1379 bool = l >= 0 + for yyj1379 := 0; ; yyj1379++ { + if yyhl1379 { + if yyj1379 >= l { break } } else { @@ -16046,10 +16225,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1346Slc = r.DecodeBytes(yys1346Slc, true, true) - yys1346 := string(yys1346Slc) + yys1379Slc = r.DecodeBytes(yys1379Slc, true, true) + yys1379 := string(yys1379Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1346 { + switch yys1379 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -16084,18 +16263,18 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1352 := &x.Conditions - yym1353 := z.DecBinary() - _ = yym1353 + yyv1385 := &x.Conditions + yym1386 := z.DecBinary() + _ = yym1386 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1352), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1385), d) } } default: - z.DecStructFieldNotFound(-1, yys1346) - } // end switch yys1346 - } // end for yyj1346 + z.DecStructFieldNotFound(-1, yys1379) + } // end switch yys1379 + } // end for yyj1379 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16103,16 +16282,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1354 int - var yyb1354 bool - var yyhl1354 bool = l >= 0 - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + var yyj1387 int + var yyb1387 bool + var yyhl1387 bool = l >= 0 + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1354 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1354 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16122,13 +16301,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1354 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1354 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16138,13 +16317,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1354 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1354 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16154,13 +16333,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1354 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1354 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16170,13 +16349,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1354 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1354 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16186,13 +16365,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1354 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1354 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16200,26 +16379,26 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1360 := &x.Conditions - yym1361 := z.DecBinary() - _ = yym1361 + yyv1393 := &x.Conditions + yym1394 := z.DecBinary() + _ = yym1394 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1360), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1393), d) } } for { - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1354 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1354 { + if yyb1387 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1354-1, "") + z.DecStructFieldNotFound(yyj1387-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16228,8 +16407,8 @@ func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1362 := z.EncBinary() - _ = yym1362 + yym1395 := z.EncBinary() + _ = yym1395 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16241,8 +16420,8 @@ func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1363 := z.DecBinary() - _ = yym1363 + yym1396 := z.DecBinary() + _ = yym1396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16257,34 +16436,33 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1364 := z.EncBinary() - _ = yym1364 + yym1397 := z.EncBinary() + _ = yym1397 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1365 := !z.EncBinary() - yy2arr1365 := z.EncBasicHandle().StructToArray - var yyq1365 [6]bool - _, _, _ = yysep1365, yyq1365, yy2arr1365 - const yyr1365 bool = false - yyq1365[2] = true - yyq1365[3] = true - yyq1365[4] = x.Reason != "" - yyq1365[5] = x.Message != "" - var yynn1365 int - if yyr1365 || yy2arr1365 { - r.EncodeArrayStart(6) + yysep1398 := !z.EncBinary() + yy2arr1398 := z.EncBasicHandle().StructToArray + var yyq1398 [5]bool + _, _, _ = yysep1398, yyq1398, yy2arr1398 + const yyr1398 bool = false + yyq1398[2] = true + yyq1398[3] = x.Reason != "" + yyq1398[4] = x.Message != "" + var yynn1398 int + if yyr1398 || yy2arr1398 { + r.EncodeArrayStart(5) } else { - yynn1365 = 2 - for _, b := range yyq1365 { + yynn1398 = 2 + for _, b := range yyq1398 { if b { - yynn1365++ + yynn1398++ } } - r.EncodeMapStart(yynn1365) - yynn1365 = 0 + r.EncodeMapStart(yynn1398) + yynn1398 = 0 } - if yyr1365 || yy2arr1365 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -16293,10 +16471,10 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1365 || yy2arr1365 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1368 := z.EncBinary() - _ = yym1368 + yym1401 := z.EncBinary() + _ = yym1401 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -16306,93 +16484,56 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1369 := z.EncBinary() - _ = yym1369 + yym1402 := z.EncBinary() + _ = yym1402 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr1365 || yy2arr1365 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[2] { - yy1371 := &x.LastProbeTime - yym1372 := z.EncBinary() - _ = yym1372 + if yyq1398[2] { + yy1404 := &x.LastTransitionTime + yym1405 := z.EncBinary() + _ = yym1405 if false { - } else if z.HasExtensions() && z.EncExt(yy1371) { - } else if yym1372 { - z.EncBinaryMarshal(yy1371) - } else if !yym1372 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1371) + } else if z.HasExtensions() && z.EncExt(yy1404) { + } else if yym1405 { + z.EncBinaryMarshal(yy1404) + } else if !yym1405 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1404) } else { - z.EncFallback(yy1371) + z.EncFallback(yy1404) } } else { r.EncodeNil() } } else { - if yyq1365[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1373 := &x.LastProbeTime - yym1374 := z.EncBinary() - _ = yym1374 - if false { - } else if z.HasExtensions() && z.EncExt(yy1373) { - } else if yym1374 { - z.EncBinaryMarshal(yy1373) - } else if !yym1374 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1373) - } else { - z.EncFallback(yy1373) - } - } - } - if yyr1365 || yy2arr1365 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[3] { - yy1376 := &x.LastTransitionTime - yym1377 := z.EncBinary() - _ = yym1377 - if false { - } else if z.HasExtensions() && z.EncExt(yy1376) { - } else if yym1377 { - z.EncBinaryMarshal(yy1376) - } else if !yym1377 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1376) - } else { - z.EncFallback(yy1376) - } - } else { - r.EncodeNil() - } - } else { - if yyq1365[3] { + if yyq1398[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1378 := &x.LastTransitionTime - yym1379 := z.EncBinary() - _ = yym1379 + yy1406 := &x.LastTransitionTime + yym1407 := z.EncBinary() + _ = yym1407 if false { - } else if z.HasExtensions() && z.EncExt(yy1378) { - } else if yym1379 { - z.EncBinaryMarshal(yy1378) - } else if !yym1379 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1378) + } else if z.HasExtensions() && z.EncExt(yy1406) { + } else if yym1407 { + z.EncBinaryMarshal(yy1406) + } else if !yym1407 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1406) } else { - z.EncFallback(yy1378) + z.EncFallback(yy1406) } } } - if yyr1365 || yy2arr1365 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[4] { - yym1381 := z.EncBinary() - _ = yym1381 + if yyq1398[3] { + yym1409 := z.EncBinary() + _ = yym1409 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -16401,23 +16542,23 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1365[4] { + if yyq1398[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1382 := z.EncBinary() - _ = yym1382 + yym1410 := z.EncBinary() + _ = yym1410 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1365 || yy2arr1365 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[5] { - yym1384 := z.EncBinary() - _ = yym1384 + if yyq1398[4] { + yym1412 := z.EncBinary() + _ = yym1412 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -16426,19 +16567,19 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1365[5] { + if yyq1398[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1385 := z.EncBinary() - _ = yym1385 + yym1413 := z.EncBinary() + _ = yym1413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1365 || yy2arr1365 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16451,25 +16592,25 @@ func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1386 := z.DecBinary() - _ = yym1386 + yym1414 := z.DecBinary() + _ = yym1414 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1387 := r.ContainerType() - if yyct1387 == codecSelferValueTypeMap1234 { - yyl1387 := r.ReadMapStart() - if yyl1387 == 0 { + yyct1415 := r.ContainerType() + if yyct1415 == codecSelferValueTypeMap1234 { + yyl1415 := r.ReadMapStart() + if yyl1415 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1387, d) + x.codecDecodeSelfFromMap(yyl1415, d) } - } else if yyct1387 == codecSelferValueTypeArray1234 { - yyl1387 := r.ReadArrayStart() - if yyl1387 == 0 { + } else if yyct1415 == codecSelferValueTypeArray1234 { + yyl1415 := r.ReadArrayStart() + if yyl1415 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1387, d) + x.codecDecodeSelfFromArray(yyl1415, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16481,12 +16622,12 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1388Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1388Slc - var yyhl1388 bool = l >= 0 - for yyj1388 := 0; ; yyj1388++ { - if yyhl1388 { - if yyj1388 >= l { + var yys1416Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1416Slc + var yyhl1416 bool = l >= 0 + for yyj1416 := 0; ; yyj1416++ { + if yyhl1416 { + if yyj1416 >= l { break } } else { @@ -16495,10 +16636,10 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1388Slc = r.DecodeBytes(yys1388Slc, true, true) - yys1388 := string(yys1388Slc) + yys1416Slc = r.DecodeBytes(yys1416Slc, true, true) + yys1416 := string(yys1416Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1388 { + switch yys1416 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -16511,38 +16652,21 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - case "lastProbeTime": - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg1_unversioned.Time{} - } else { - yyv1391 := &x.LastProbeTime - yym1392 := z.DecBinary() - _ = yym1392 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1391) { - } else if yym1392 { - z.DecBinaryUnmarshal(yyv1391) - } else if !yym1392 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1391) - } else { - z.DecFallback(yyv1391, false) - } - } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1393 := &x.LastTransitionTime - yym1394 := z.DecBinary() - _ = yym1394 + yyv1419 := &x.LastTransitionTime + yym1420 := z.DecBinary() + _ = yym1420 if false { - } else if z.HasExtensions() && z.DecExt(yyv1393) { - } else if yym1394 { - z.DecBinaryUnmarshal(yyv1393) - } else if !yym1394 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1393) + } else if z.HasExtensions() && z.DecExt(yyv1419) { + } else if yym1420 { + z.DecBinaryUnmarshal(yyv1419) + } else if !yym1420 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1419) } else { - z.DecFallback(yyv1393, false) + z.DecFallback(yyv1419, false) } } case "reason": @@ -16558,9 +16682,9 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1388) - } // end switch yys1388 - } // end for yyj1388 + z.DecStructFieldNotFound(-1, yys1416) + } // end switch yys1416 + } // end for yyj1416 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16568,16 +16692,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1397 int - var yyb1397 bool - var yyhl1397 bool = l >= 0 - yyj1397++ - if yyhl1397 { - yyb1397 = yyj1397 > l + var yyj1423 int + var yyb1423 bool + var yyhl1423 bool = l >= 0 + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1397 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1397 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16587,13 +16711,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Type = ReplicaSetConditionType(r.DecodeString()) } - yyj1397++ - if yyhl1397 { - yyb1397 = yyj1397 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1397 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1397 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16603,40 +16727,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj1397++ - if yyhl1397 { - yyb1397 = yyj1397 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1397 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1397 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg1_unversioned.Time{} - } else { - yyv1400 := &x.LastProbeTime - yym1401 := z.DecBinary() - _ = yym1401 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1400) { - } else if yym1401 { - z.DecBinaryUnmarshal(yyv1400) - } else if !yym1401 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1400) - } else { - z.DecFallback(yyv1400, false) - } - } - yyj1397++ - if yyhl1397 { - yyb1397 = yyj1397 > l - } else { - yyb1397 = r.CheckBreak() - } - if yyb1397 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16644,26 +16741,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1402 := &x.LastTransitionTime - yym1403 := z.DecBinary() - _ = yym1403 + yyv1426 := &x.LastTransitionTime + yym1427 := z.DecBinary() + _ = yym1427 if false { - } else if z.HasExtensions() && z.DecExt(yyv1402) { - } else if yym1403 { - z.DecBinaryUnmarshal(yyv1402) - } else if !yym1403 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1402) + } else if z.HasExtensions() && z.DecExt(yyv1426) { + } else if yym1427 { + z.DecBinaryUnmarshal(yyv1426) + } else if !yym1427 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1426) } else { - z.DecFallback(yyv1402, false) + z.DecFallback(yyv1426, false) } } - yyj1397++ - if yyhl1397 { - yyb1397 = yyj1397 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1397 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1397 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16673,13 +16770,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Reason = string(r.DecodeString()) } - yyj1397++ - if yyhl1397 { - yyb1397 = yyj1397 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1397 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1397 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16690,17 +16787,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } for { - yyj1397++ - if yyhl1397 { - yyb1397 = yyj1397 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1397 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1397 { + if yyb1423 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1397-1, "") + z.DecStructFieldNotFound(yyj1423-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16712,38 +16809,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1406 := z.EncBinary() - _ = yym1406 + yym1430 := z.EncBinary() + _ = yym1430 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1407 := !z.EncBinary() - yy2arr1407 := z.EncBasicHandle().StructToArray - var yyq1407 [4]bool - _, _, _ = yysep1407, yyq1407, yy2arr1407 - const yyr1407 bool = false - yyq1407[0] = x.Kind != "" - yyq1407[1] = x.APIVersion != "" - yyq1407[2] = true - yyq1407[3] = true - var yynn1407 int - if yyr1407 || yy2arr1407 { + yysep1431 := !z.EncBinary() + yy2arr1431 := z.EncBasicHandle().StructToArray + var yyq1431 [4]bool + _, _, _ = yysep1431, yyq1431, yy2arr1431 + const yyr1431 bool = false + yyq1431[0] = x.Kind != "" + yyq1431[1] = x.APIVersion != "" + yyq1431[2] = true + yyq1431[3] = true + var yynn1431 int + if yyr1431 || yy2arr1431 { r.EncodeArrayStart(4) } else { - yynn1407 = 0 - for _, b := range yyq1407 { + yynn1431 = 0 + for _, b := range yyq1431 { if b { - yynn1407++ + yynn1431++ } } - r.EncodeMapStart(yynn1407) - yynn1407 = 0 + r.EncodeMapStart(yynn1431) + yynn1431 = 0 } - if yyr1407 || yy2arr1407 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1407[0] { - yym1409 := z.EncBinary() - _ = yym1409 + if yyq1431[0] { + yym1433 := z.EncBinary() + _ = yym1433 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16752,23 +16849,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1407[0] { + if yyq1431[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1410 := z.EncBinary() - _ = yym1410 + yym1434 := z.EncBinary() + _ = yym1434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1407 || yy2arr1407 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1407[1] { - yym1412 := z.EncBinary() - _ = yym1412 + if yyq1431[1] { + yym1436 := z.EncBinary() + _ = yym1436 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16777,53 +16874,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1407[1] { + if yyq1431[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1413 := z.EncBinary() - _ = yym1413 + yym1437 := z.EncBinary() + _ = yym1437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1407 || yy2arr1407 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1407[2] { - yy1415 := &x.ObjectMeta - yy1415.CodecEncodeSelf(e) + if yyq1431[2] { + yy1439 := &x.ObjectMeta + yy1439.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1407[2] { + if yyq1431[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1416 := &x.ObjectMeta - yy1416.CodecEncodeSelf(e) + yy1440 := &x.ObjectMeta + yy1440.CodecEncodeSelf(e) } } - if yyr1407 || yy2arr1407 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1407[3] { - yy1418 := &x.Spec - yy1418.CodecEncodeSelf(e) + if yyq1431[3] { + yy1442 := &x.Spec + yy1442.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1407[3] { + if yyq1431[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1419 := &x.Spec - yy1419.CodecEncodeSelf(e) + yy1443 := &x.Spec + yy1443.CodecEncodeSelf(e) } } - if yyr1407 || yy2arr1407 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16836,25 +16933,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1420 := z.DecBinary() - _ = yym1420 + yym1444 := z.DecBinary() + _ = yym1444 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1421 := r.ContainerType() - if yyct1421 == codecSelferValueTypeMap1234 { - yyl1421 := r.ReadMapStart() - if yyl1421 == 0 { + yyct1445 := r.ContainerType() + if yyct1445 == codecSelferValueTypeMap1234 { + yyl1445 := r.ReadMapStart() + if yyl1445 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1421, d) + x.codecDecodeSelfFromMap(yyl1445, d) } - } else if yyct1421 == codecSelferValueTypeArray1234 { - yyl1421 := r.ReadArrayStart() - if yyl1421 == 0 { + } else if yyct1445 == codecSelferValueTypeArray1234 { + yyl1445 := r.ReadArrayStart() + if yyl1445 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1421, d) + x.codecDecodeSelfFromArray(yyl1445, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16866,12 +16963,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1422Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1422Slc - var yyhl1422 bool = l >= 0 - for yyj1422 := 0; ; yyj1422++ { - if yyhl1422 { - if yyj1422 >= l { + var yys1446Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1446Slc + var yyhl1446 bool = l >= 0 + for yyj1446 := 0; ; yyj1446++ { + if yyhl1446 { + if yyj1446 >= l { break } } else { @@ -16880,10 +16977,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1422Slc = r.DecodeBytes(yys1422Slc, true, true) - yys1422 := string(yys1422Slc) + yys1446Slc = r.DecodeBytes(yys1446Slc, true, true) + yys1446 := string(yys1446Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1422 { + switch yys1446 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16900,20 +16997,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1425 := &x.ObjectMeta - yyv1425.CodecDecodeSelf(d) + yyv1449 := &x.ObjectMeta + yyv1449.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1426 := &x.Spec - yyv1426.CodecDecodeSelf(d) + yyv1450 := &x.Spec + yyv1450.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1422) - } // end switch yys1422 - } // end for yyj1422 + z.DecStructFieldNotFound(-1, yys1446) + } // end switch yys1446 + } // end for yyj1446 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16921,16 +17018,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1427 int - var yyb1427 bool - var yyhl1427 bool = l >= 0 - yyj1427++ - if yyhl1427 { - yyb1427 = yyj1427 > l + var yyj1451 int + var yyb1451 bool + var yyhl1451 bool = l >= 0 + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1427 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1427 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16940,13 +17037,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1427++ - if yyhl1427 { - yyb1427 = yyj1427 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1427 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1427 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16956,13 +17053,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1427++ - if yyhl1427 { - yyb1427 = yyj1427 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1427 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1427 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16970,16 +17067,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1430 := &x.ObjectMeta - yyv1430.CodecDecodeSelf(d) + yyv1454 := &x.ObjectMeta + yyv1454.CodecDecodeSelf(d) } - yyj1427++ - if yyhl1427 { - yyb1427 = yyj1427 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1427 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1427 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16987,21 +17084,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1431 := &x.Spec - yyv1431.CodecDecodeSelf(d) + yyv1455 := &x.Spec + yyv1455.CodecDecodeSelf(d) } for { - yyj1427++ - if yyhl1427 { - yyb1427 = yyj1427 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1427 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1427 { + if yyb1451 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1427-1, "") + z.DecStructFieldNotFound(yyj1451-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17013,44 +17110,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1432 := z.EncBinary() - _ = yym1432 + yym1456 := z.EncBinary() + _ = yym1456 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1433 := !z.EncBinary() - yy2arr1433 := z.EncBasicHandle().StructToArray - var yyq1433 [14]bool - _, _, _ = yysep1433, yyq1433, yy2arr1433 - const yyr1433 bool = false - yyq1433[0] = x.Privileged != false - yyq1433[1] = len(x.DefaultAddCapabilities) != 0 - yyq1433[2] = len(x.RequiredDropCapabilities) != 0 - yyq1433[3] = len(x.AllowedCapabilities) != 0 - yyq1433[4] = len(x.Volumes) != 0 - yyq1433[5] = x.HostNetwork != false - yyq1433[6] = len(x.HostPorts) != 0 - yyq1433[7] = x.HostPID != false - yyq1433[8] = x.HostIPC != false - yyq1433[13] = x.ReadOnlyRootFilesystem != false - var yynn1433 int - if yyr1433 || yy2arr1433 { + yysep1457 := !z.EncBinary() + yy2arr1457 := z.EncBasicHandle().StructToArray + var yyq1457 [14]bool + _, _, _ = yysep1457, yyq1457, yy2arr1457 + const yyr1457 bool = false + yyq1457[0] = x.Privileged != false + yyq1457[1] = len(x.DefaultAddCapabilities) != 0 + yyq1457[2] = len(x.RequiredDropCapabilities) != 0 + yyq1457[3] = len(x.AllowedCapabilities) != 0 + yyq1457[4] = len(x.Volumes) != 0 + yyq1457[5] = x.HostNetwork != false + yyq1457[6] = len(x.HostPorts) != 0 + yyq1457[7] = x.HostPID != false + yyq1457[8] = x.HostIPC != false + yyq1457[13] = x.ReadOnlyRootFilesystem != false + var yynn1457 int + if yyr1457 || yy2arr1457 { r.EncodeArrayStart(14) } else { - yynn1433 = 4 - for _, b := range yyq1433 { + yynn1457 = 4 + for _, b := range yyq1457 { if b { - yynn1433++ + yynn1457++ } } - r.EncodeMapStart(yynn1433) - yynn1433 = 0 + r.EncodeMapStart(yynn1457) + yynn1457 = 0 } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[0] { - yym1435 := z.EncBinary() - _ = yym1435 + if yyq1457[0] { + yym1459 := z.EncBinary() + _ = yym1459 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -17059,26 +17156,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1433[0] { + if yyq1457[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1436 := z.EncBinary() - _ = yym1436 + yym1460 := z.EncBinary() + _ = yym1460 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[1] { + if yyq1457[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1438 := z.EncBinary() - _ = yym1438 + yym1462 := z.EncBinary() + _ = yym1462 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -17088,15 +17185,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1433[1] { + if yyq1457[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1439 := z.EncBinary() - _ = yym1439 + yym1463 := z.EncBinary() + _ = yym1463 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -17104,14 +17201,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[2] { + if yyq1457[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1441 := z.EncBinary() - _ = yym1441 + yym1465 := z.EncBinary() + _ = yym1465 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -17121,15 +17218,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1433[2] { + if yyq1457[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1442 := z.EncBinary() - _ = yym1442 + yym1466 := z.EncBinary() + _ = yym1466 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -17137,14 +17234,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[3] { + if yyq1457[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1444 := z.EncBinary() - _ = yym1444 + yym1468 := z.EncBinary() + _ = yym1468 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -17154,15 +17251,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1433[3] { + if yyq1457[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1445 := z.EncBinary() - _ = yym1445 + yym1469 := z.EncBinary() + _ = yym1469 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -17170,14 +17267,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[4] { + if yyq1457[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1447 := z.EncBinary() - _ = yym1447 + yym1471 := z.EncBinary() + _ = yym1471 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -17187,15 +17284,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1433[4] { + if yyq1457[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1448 := z.EncBinary() - _ = yym1448 + yym1472 := z.EncBinary() + _ = yym1472 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -17203,11 +17300,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[5] { - yym1450 := z.EncBinary() - _ = yym1450 + if yyq1457[5] { + yym1474 := z.EncBinary() + _ = yym1474 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -17216,26 +17313,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1433[5] { + if yyq1457[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1451 := z.EncBinary() - _ = yym1451 + yym1475 := z.EncBinary() + _ = yym1475 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[6] { + if yyq1457[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1453 := z.EncBinary() - _ = yym1453 + yym1477 := z.EncBinary() + _ = yym1477 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -17245,15 +17342,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1433[6] { + if yyq1457[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1454 := z.EncBinary() - _ = yym1454 + yym1478 := z.EncBinary() + _ = yym1478 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -17261,11 +17358,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[7] { - yym1456 := z.EncBinary() - _ = yym1456 + if yyq1457[7] { + yym1480 := z.EncBinary() + _ = yym1480 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -17274,23 +17371,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1433[7] { + if yyq1457[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1457 := z.EncBinary() - _ = yym1457 + yym1481 := z.EncBinary() + _ = yym1481 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[8] { - yym1459 := z.EncBinary() - _ = yym1459 + if yyq1457[8] { + yym1483 := z.EncBinary() + _ = yym1483 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -17299,67 +17396,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1433[8] { + if yyq1457[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1460 := z.EncBinary() - _ = yym1460 + yym1484 := z.EncBinary() + _ = yym1484 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1462 := &x.SELinux - yy1462.CodecEncodeSelf(e) + yy1486 := &x.SELinux + yy1486.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1463 := &x.SELinux - yy1463.CodecEncodeSelf(e) + yy1487 := &x.SELinux + yy1487.CodecEncodeSelf(e) } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1465 := &x.RunAsUser - yy1465.CodecEncodeSelf(e) + yy1489 := &x.RunAsUser + yy1489.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1466 := &x.RunAsUser - yy1466.CodecEncodeSelf(e) + yy1490 := &x.RunAsUser + yy1490.CodecEncodeSelf(e) } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1468 := &x.SupplementalGroups - yy1468.CodecEncodeSelf(e) + yy1492 := &x.SupplementalGroups + yy1492.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1469 := &x.SupplementalGroups - yy1469.CodecEncodeSelf(e) + yy1493 := &x.SupplementalGroups + yy1493.CodecEncodeSelf(e) } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1471 := &x.FSGroup - yy1471.CodecEncodeSelf(e) + yy1495 := &x.FSGroup + yy1495.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1472 := &x.FSGroup - yy1472.CodecEncodeSelf(e) + yy1496 := &x.FSGroup + yy1496.CodecEncodeSelf(e) } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1433[13] { - yym1474 := z.EncBinary() - _ = yym1474 + if yyq1457[13] { + yym1498 := z.EncBinary() + _ = yym1498 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -17368,19 +17465,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1433[13] { + if yyq1457[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1475 := z.EncBinary() - _ = yym1475 + yym1499 := z.EncBinary() + _ = yym1499 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr1433 || yy2arr1433 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17393,25 +17490,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1476 := z.DecBinary() - _ = yym1476 + yym1500 := z.DecBinary() + _ = yym1500 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1477 := r.ContainerType() - if yyct1477 == codecSelferValueTypeMap1234 { - yyl1477 := r.ReadMapStart() - if yyl1477 == 0 { + yyct1501 := r.ContainerType() + if yyct1501 == codecSelferValueTypeMap1234 { + yyl1501 := r.ReadMapStart() + if yyl1501 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1477, d) + x.codecDecodeSelfFromMap(yyl1501, d) } - } else if yyct1477 == codecSelferValueTypeArray1234 { - yyl1477 := r.ReadArrayStart() - if yyl1477 == 0 { + } else if yyct1501 == codecSelferValueTypeArray1234 { + yyl1501 := r.ReadArrayStart() + if yyl1501 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1477, d) + x.codecDecodeSelfFromArray(yyl1501, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17423,12 +17520,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1478Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1478Slc - var yyhl1478 bool = l >= 0 - for yyj1478 := 0; ; yyj1478++ { - if yyhl1478 { - if yyj1478 >= l { + var yys1502Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1502Slc + var yyhl1502 bool = l >= 0 + for yyj1502 := 0; ; yyj1502++ { + if yyhl1502 { + if yyj1502 >= l { break } } else { @@ -17437,10 +17534,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1478Slc = r.DecodeBytes(yys1478Slc, true, true) - yys1478 := string(yys1478Slc) + yys1502Slc = r.DecodeBytes(yys1502Slc, true, true) + yys1502 := string(yys1502Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1478 { + switch yys1502 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -17451,48 +17548,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1480 := &x.DefaultAddCapabilities - yym1481 := z.DecBinary() - _ = yym1481 + yyv1504 := &x.DefaultAddCapabilities + yym1505 := z.DecBinary() + _ = yym1505 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1480), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1504), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1482 := &x.RequiredDropCapabilities - yym1483 := z.DecBinary() - _ = yym1483 + yyv1506 := &x.RequiredDropCapabilities + yym1507 := z.DecBinary() + _ = yym1507 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1482), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1506), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1484 := &x.AllowedCapabilities - yym1485 := z.DecBinary() - _ = yym1485 + yyv1508 := &x.AllowedCapabilities + yym1509 := z.DecBinary() + _ = yym1509 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1484), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1508), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1486 := &x.Volumes - yym1487 := z.DecBinary() - _ = yym1487 + yyv1510 := &x.Volumes + yym1511 := z.DecBinary() + _ = yym1511 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1486), d) + h.decSliceFSType((*[]FSType)(yyv1510), d) } } case "hostNetwork": @@ -17505,12 +17602,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1489 := &x.HostPorts - yym1490 := z.DecBinary() - _ = yym1490 + yyv1513 := &x.HostPorts + yym1514 := z.DecBinary() + _ = yym1514 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1489), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1513), d) } } case "hostPID": @@ -17529,29 +17626,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1493 := &x.SELinux - yyv1493.CodecDecodeSelf(d) + yyv1517 := &x.SELinux + yyv1517.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1494 := &x.RunAsUser - yyv1494.CodecDecodeSelf(d) + yyv1518 := &x.RunAsUser + yyv1518.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1495 := &x.SupplementalGroups - yyv1495.CodecDecodeSelf(d) + yyv1519 := &x.SupplementalGroups + yyv1519.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1496 := &x.FSGroup - yyv1496.CodecDecodeSelf(d) + yyv1520 := &x.FSGroup + yyv1520.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -17560,9 +17657,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1478) - } // end switch yys1478 - } // end for yyj1478 + z.DecStructFieldNotFound(-1, yys1502) + } // end switch yys1502 + } // end for yyj1502 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17570,16 +17667,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1498 int - var yyb1498 bool - var yyhl1498 bool = l >= 0 - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + var yyj1522 int + var yyb1522 bool + var yyhl1522 bool = l >= 0 + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17589,13 +17686,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17603,21 +17700,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1500 := &x.DefaultAddCapabilities - yym1501 := z.DecBinary() - _ = yym1501 + yyv1524 := &x.DefaultAddCapabilities + yym1525 := z.DecBinary() + _ = yym1525 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1500), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1524), d) } } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17625,21 +17722,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1502 := &x.RequiredDropCapabilities - yym1503 := z.DecBinary() - _ = yym1503 + yyv1526 := &x.RequiredDropCapabilities + yym1527 := z.DecBinary() + _ = yym1527 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1502), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1526), d) } } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17647,21 +17744,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1504 := &x.AllowedCapabilities - yym1505 := z.DecBinary() - _ = yym1505 + yyv1528 := &x.AllowedCapabilities + yym1529 := z.DecBinary() + _ = yym1529 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1504), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1528), d) } } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17669,21 +17766,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1506 := &x.Volumes - yym1507 := z.DecBinary() - _ = yym1507 + yyv1530 := &x.Volumes + yym1531 := z.DecBinary() + _ = yym1531 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1506), d) + h.decSliceFSType((*[]FSType)(yyv1530), d) } } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17693,13 +17790,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17707,21 +17804,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1509 := &x.HostPorts - yym1510 := z.DecBinary() - _ = yym1510 + yyv1533 := &x.HostPorts + yym1534 := z.DecBinary() + _ = yym1534 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1509), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1533), d) } } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17731,13 +17828,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17747,13 +17844,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17761,16 +17858,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1513 := &x.SELinux - yyv1513.CodecDecodeSelf(d) + yyv1537 := &x.SELinux + yyv1537.CodecDecodeSelf(d) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17778,16 +17875,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1514 := &x.RunAsUser - yyv1514.CodecDecodeSelf(d) + yyv1538 := &x.RunAsUser + yyv1538.CodecDecodeSelf(d) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17795,16 +17892,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1515 := &x.SupplementalGroups - yyv1515.CodecDecodeSelf(d) + yyv1539 := &x.SupplementalGroups + yyv1539.CodecDecodeSelf(d) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17812,16 +17909,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1516 := &x.FSGroup - yyv1516.CodecDecodeSelf(d) + yyv1540 := &x.FSGroup + yyv1540.CodecDecodeSelf(d) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17832,17 +17929,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1498 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1498 { + if yyb1522 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1498-1, "") + z.DecStructFieldNotFound(yyj1522-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17851,8 +17948,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1518 := z.EncBinary() - _ = yym1518 + yym1542 := z.EncBinary() + _ = yym1542 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17864,8 +17961,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1519 := z.DecBinary() - _ = yym1519 + yym1543 := z.DecBinary() + _ = yym1543 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17880,33 +17977,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1520 := z.EncBinary() - _ = yym1520 + yym1544 := z.EncBinary() + _ = yym1544 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1521 := !z.EncBinary() - yy2arr1521 := z.EncBasicHandle().StructToArray - var yyq1521 [2]bool - _, _, _ = yysep1521, yyq1521, yy2arr1521 - const yyr1521 bool = false - var yynn1521 int - if yyr1521 || yy2arr1521 { + yysep1545 := !z.EncBinary() + yy2arr1545 := z.EncBasicHandle().StructToArray + var yyq1545 [2]bool + _, _, _ = yysep1545, yyq1545, yy2arr1545 + const yyr1545 bool = false + var yynn1545 int + if yyr1545 || yy2arr1545 { r.EncodeArrayStart(2) } else { - yynn1521 = 2 - for _, b := range yyq1521 { + yynn1545 = 2 + for _, b := range yyq1545 { if b { - yynn1521++ + yynn1545++ } } - r.EncodeMapStart(yynn1521) - yynn1521 = 0 + r.EncodeMapStart(yynn1545) + yynn1545 = 0 } - if yyr1521 || yy2arr1521 { + if yyr1545 || yy2arr1545 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1523 := z.EncBinary() - _ = yym1523 + yym1547 := z.EncBinary() + _ = yym1547 if false { } else { r.EncodeInt(int64(x.Min)) @@ -17915,17 +18012,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1524 := z.EncBinary() - _ = yym1524 + yym1548 := z.EncBinary() + _ = yym1548 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1521 || yy2arr1521 { + if yyr1545 || yy2arr1545 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1526 := z.EncBinary() - _ = yym1526 + yym1550 := z.EncBinary() + _ = yym1550 if false { } else { r.EncodeInt(int64(x.Max)) @@ -17934,14 +18031,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1527 := z.EncBinary() - _ = yym1527 + yym1551 := z.EncBinary() + _ = yym1551 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1521 || yy2arr1521 { + if yyr1545 || yy2arr1545 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17954,25 +18051,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1528 := z.DecBinary() - _ = yym1528 + yym1552 := z.DecBinary() + _ = yym1552 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1529 := r.ContainerType() - if yyct1529 == codecSelferValueTypeMap1234 { - yyl1529 := r.ReadMapStart() - if yyl1529 == 0 { + yyct1553 := r.ContainerType() + if yyct1553 == codecSelferValueTypeMap1234 { + yyl1553 := r.ReadMapStart() + if yyl1553 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1529, d) + x.codecDecodeSelfFromMap(yyl1553, d) } - } else if yyct1529 == codecSelferValueTypeArray1234 { - yyl1529 := r.ReadArrayStart() - if yyl1529 == 0 { + } else if yyct1553 == codecSelferValueTypeArray1234 { + yyl1553 := r.ReadArrayStart() + if yyl1553 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1529, d) + x.codecDecodeSelfFromArray(yyl1553, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17984,12 +18081,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1530Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1530Slc - var yyhl1530 bool = l >= 0 - for yyj1530 := 0; ; yyj1530++ { - if yyhl1530 { - if yyj1530 >= l { + var yys1554Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1554Slc + var yyhl1554 bool = l >= 0 + for yyj1554 := 0; ; yyj1554++ { + if yyhl1554 { + if yyj1554 >= l { break } } else { @@ -17998,10 +18095,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1530Slc = r.DecodeBytes(yys1530Slc, true, true) - yys1530 := string(yys1530Slc) + yys1554Slc = r.DecodeBytes(yys1554Slc, true, true) + yys1554 := string(yys1554Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1530 { + switch yys1554 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -18015,9 +18112,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1530) - } // end switch yys1530 - } // end for yyj1530 + z.DecStructFieldNotFound(-1, yys1554) + } // end switch yys1554 + } // end for yyj1554 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18025,16 +18122,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1533 int - var yyb1533 bool - var yyhl1533 bool = l >= 0 - yyj1533++ - if yyhl1533 { - yyb1533 = yyj1533 > l + var yyj1557 int + var yyb1557 bool + var yyhl1557 bool = l >= 0 + yyj1557++ + if yyhl1557 { + yyb1557 = yyj1557 > l } else { - yyb1533 = r.CheckBreak() + yyb1557 = r.CheckBreak() } - if yyb1533 { + if yyb1557 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18044,13 +18141,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int32(r.DecodeInt(32)) } - yyj1533++ - if yyhl1533 { - yyb1533 = yyj1533 > l + yyj1557++ + if yyhl1557 { + yyb1557 = yyj1557 > l } else { - yyb1533 = r.CheckBreak() + yyb1557 = r.CheckBreak() } - if yyb1533 { + if yyb1557 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18061,17 +18158,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } for { - yyj1533++ - if yyhl1533 { - yyb1533 = yyj1533 > l + yyj1557++ + if yyhl1557 { + yyb1557 = yyj1557 > l } else { - yyb1533 = r.CheckBreak() + yyb1557 = r.CheckBreak() } - if yyb1533 { + if yyb1557 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1533-1, "") + z.DecStructFieldNotFound(yyj1557-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18083,31 +18180,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1536 := z.EncBinary() - _ = yym1536 + yym1560 := z.EncBinary() + _ = yym1560 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1537 := !z.EncBinary() - yy2arr1537 := z.EncBasicHandle().StructToArray - var yyq1537 [2]bool - _, _, _ = yysep1537, yyq1537, yy2arr1537 - const yyr1537 bool = false - yyq1537[1] = x.SELinuxOptions != nil - var yynn1537 int - if yyr1537 || yy2arr1537 { + yysep1561 := !z.EncBinary() + yy2arr1561 := z.EncBasicHandle().StructToArray + var yyq1561 [2]bool + _, _, _ = yysep1561, yyq1561, yy2arr1561 + const yyr1561 bool = false + yyq1561[1] = x.SELinuxOptions != nil + var yynn1561 int + if yyr1561 || yy2arr1561 { r.EncodeArrayStart(2) } else { - yynn1537 = 1 - for _, b := range yyq1537 { + yynn1561 = 1 + for _, b := range yyq1561 { if b { - yynn1537++ + yynn1561++ } } - r.EncodeMapStart(yynn1537) - yynn1537 = 0 + r.EncodeMapStart(yynn1561) + yynn1561 = 0 } - if yyr1537 || yy2arr1537 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -18116,9 +18213,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1537 || yy2arr1537 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1537[1] { + if yyq1561[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -18128,7 +18225,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1537[1] { + if yyq1561[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18139,7 +18236,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1537 || yy2arr1537 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18152,25 +18249,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1540 := z.DecBinary() - _ = yym1540 + yym1564 := z.DecBinary() + _ = yym1564 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1541 := r.ContainerType() - if yyct1541 == codecSelferValueTypeMap1234 { - yyl1541 := r.ReadMapStart() - if yyl1541 == 0 { + yyct1565 := r.ContainerType() + if yyct1565 == codecSelferValueTypeMap1234 { + yyl1565 := r.ReadMapStart() + if yyl1565 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1541, d) + x.codecDecodeSelfFromMap(yyl1565, d) } - } else if yyct1541 == codecSelferValueTypeArray1234 { - yyl1541 := r.ReadArrayStart() - if yyl1541 == 0 { + } else if yyct1565 == codecSelferValueTypeArray1234 { + yyl1565 := r.ReadArrayStart() + if yyl1565 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1541, d) + x.codecDecodeSelfFromArray(yyl1565, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18182,12 +18279,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1542Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1542Slc - var yyhl1542 bool = l >= 0 - for yyj1542 := 0; ; yyj1542++ { - if yyhl1542 { - if yyj1542 >= l { + var yys1566Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1566Slc + var yyhl1566 bool = l >= 0 + for yyj1566 := 0; ; yyj1566++ { + if yyhl1566 { + if yyj1566 >= l { break } } else { @@ -18196,10 +18293,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1542Slc = r.DecodeBytes(yys1542Slc, true, true) - yys1542 := string(yys1542Slc) + yys1566Slc = r.DecodeBytes(yys1566Slc, true, true) + yys1566 := string(yys1566Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1542 { + switch yys1566 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18218,9 +18315,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1542) - } // end switch yys1542 - } // end for yyj1542 + z.DecStructFieldNotFound(-1, yys1566) + } // end switch yys1566 + } // end for yyj1566 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18228,16 +18325,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1545 int - var yyb1545 bool - var yyhl1545 bool = l >= 0 - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + var yyj1569 int + var yyb1569 bool + var yyhl1569 bool = l >= 0 + yyj1569++ + if yyhl1569 { + yyb1569 = yyj1569 > l } else { - yyb1545 = r.CheckBreak() + yyb1569 = r.CheckBreak() } - if yyb1545 { + if yyb1569 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18247,13 +18344,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1569++ + if yyhl1569 { + yyb1569 = yyj1569 > l } else { - yyb1545 = r.CheckBreak() + yyb1569 = r.CheckBreak() } - if yyb1545 { + if yyb1569 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18269,17 +18366,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1569++ + if yyhl1569 { + yyb1569 = yyj1569 > l } else { - yyb1545 = r.CheckBreak() + yyb1569 = r.CheckBreak() } - if yyb1545 { + if yyb1569 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1545-1, "") + z.DecStructFieldNotFound(yyj1569-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18288,8 +18385,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1548 := z.EncBinary() - _ = yym1548 + yym1572 := z.EncBinary() + _ = yym1572 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18301,8 +18398,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1549 := z.DecBinary() - _ = yym1549 + yym1573 := z.DecBinary() + _ = yym1573 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18317,31 +18414,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1550 := z.EncBinary() - _ = yym1550 + yym1574 := z.EncBinary() + _ = yym1574 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1551 := !z.EncBinary() - yy2arr1551 := z.EncBasicHandle().StructToArray - var yyq1551 [2]bool - _, _, _ = yysep1551, yyq1551, yy2arr1551 - const yyr1551 bool = false - yyq1551[1] = len(x.Ranges) != 0 - var yynn1551 int - if yyr1551 || yy2arr1551 { + yysep1575 := !z.EncBinary() + yy2arr1575 := z.EncBasicHandle().StructToArray + var yyq1575 [2]bool + _, _, _ = yysep1575, yyq1575, yy2arr1575 + const yyr1575 bool = false + yyq1575[1] = len(x.Ranges) != 0 + var yynn1575 int + if yyr1575 || yy2arr1575 { r.EncodeArrayStart(2) } else { - yynn1551 = 1 - for _, b := range yyq1551 { + yynn1575 = 1 + for _, b := range yyq1575 { if b { - yynn1551++ + yynn1575++ } } - r.EncodeMapStart(yynn1551) - yynn1551 = 0 + r.EncodeMapStart(yynn1575) + yynn1575 = 0 } - if yyr1551 || yy2arr1551 { + if yyr1575 || yy2arr1575 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -18350,14 +18447,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1551 || yy2arr1551 { + if yyr1575 || yy2arr1575 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1551[1] { + if yyq1575[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1554 := z.EncBinary() - _ = yym1554 + yym1578 := z.EncBinary() + _ = yym1578 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18367,15 +18464,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1551[1] { + if yyq1575[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1555 := z.EncBinary() - _ = yym1555 + yym1579 := z.EncBinary() + _ = yym1579 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18383,7 +18480,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1551 || yy2arr1551 { + if yyr1575 || yy2arr1575 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18396,25 +18493,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1556 := z.DecBinary() - _ = yym1556 + yym1580 := z.DecBinary() + _ = yym1580 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1557 := r.ContainerType() - if yyct1557 == codecSelferValueTypeMap1234 { - yyl1557 := r.ReadMapStart() - if yyl1557 == 0 { + yyct1581 := r.ContainerType() + if yyct1581 == codecSelferValueTypeMap1234 { + yyl1581 := r.ReadMapStart() + if yyl1581 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1557, d) + x.codecDecodeSelfFromMap(yyl1581, d) } - } else if yyct1557 == codecSelferValueTypeArray1234 { - yyl1557 := r.ReadArrayStart() - if yyl1557 == 0 { + } else if yyct1581 == codecSelferValueTypeArray1234 { + yyl1581 := r.ReadArrayStart() + if yyl1581 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1557, d) + x.codecDecodeSelfFromArray(yyl1581, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18426,12 +18523,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1558Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1558Slc - var yyhl1558 bool = l >= 0 - for yyj1558 := 0; ; yyj1558++ { - if yyhl1558 { - if yyj1558 >= l { + var yys1582Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1582Slc + var yyhl1582 bool = l >= 0 + for yyj1582 := 0; ; yyj1582++ { + if yyhl1582 { + if yyj1582 >= l { break } } else { @@ -18440,10 +18537,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1558Slc = r.DecodeBytes(yys1558Slc, true, true) - yys1558 := string(yys1558Slc) + yys1582Slc = r.DecodeBytes(yys1582Slc, true, true) + yys1582 := string(yys1582Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1558 { + switch yys1582 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18454,18 +18551,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1560 := &x.Ranges - yym1561 := z.DecBinary() - _ = yym1561 + yyv1584 := &x.Ranges + yym1585 := z.DecBinary() + _ = yym1585 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1560), d) + h.decSliceIDRange((*[]IDRange)(yyv1584), d) } } default: - z.DecStructFieldNotFound(-1, yys1558) - } // end switch yys1558 - } // end for yyj1558 + z.DecStructFieldNotFound(-1, yys1582) + } // end switch yys1582 + } // end for yyj1582 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18473,16 +18570,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1562 int - var yyb1562 bool - var yyhl1562 bool = l >= 0 - yyj1562++ - if yyhl1562 { - yyb1562 = yyj1562 > l + var yyj1586 int + var yyb1586 bool + var yyhl1586 bool = l >= 0 + yyj1586++ + if yyhl1586 { + yyb1586 = yyj1586 > l } else { - yyb1562 = r.CheckBreak() + yyb1586 = r.CheckBreak() } - if yyb1562 { + if yyb1586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18492,13 +18589,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj1562++ - if yyhl1562 { - yyb1562 = yyj1562 > l + yyj1586++ + if yyhl1586 { + yyb1586 = yyj1586 > l } else { - yyb1562 = r.CheckBreak() + yyb1586 = r.CheckBreak() } - if yyb1562 { + if yyb1586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18506,26 +18603,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1564 := &x.Ranges - yym1565 := z.DecBinary() - _ = yym1565 + yyv1588 := &x.Ranges + yym1589 := z.DecBinary() + _ = yym1589 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1564), d) + h.decSliceIDRange((*[]IDRange)(yyv1588), d) } } for { - yyj1562++ - if yyhl1562 { - yyb1562 = yyj1562 > l + yyj1586++ + if yyhl1586 { + yyb1586 = yyj1586 > l } else { - yyb1562 = r.CheckBreak() + yyb1586 = r.CheckBreak() } - if yyb1562 { + if yyb1586 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1562-1, "") + z.DecStructFieldNotFound(yyj1586-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18537,33 +18634,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1566 := z.EncBinary() - _ = yym1566 + yym1590 := z.EncBinary() + _ = yym1590 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1567 := !z.EncBinary() - yy2arr1567 := z.EncBasicHandle().StructToArray - var yyq1567 [2]bool - _, _, _ = yysep1567, yyq1567, yy2arr1567 - const yyr1567 bool = false - var yynn1567 int - if yyr1567 || yy2arr1567 { + yysep1591 := !z.EncBinary() + yy2arr1591 := z.EncBasicHandle().StructToArray + var yyq1591 [2]bool + _, _, _ = yysep1591, yyq1591, yy2arr1591 + const yyr1591 bool = false + var yynn1591 int + if yyr1591 || yy2arr1591 { r.EncodeArrayStart(2) } else { - yynn1567 = 2 - for _, b := range yyq1567 { + yynn1591 = 2 + for _, b := range yyq1591 { if b { - yynn1567++ + yynn1591++ } } - r.EncodeMapStart(yynn1567) - yynn1567 = 0 + r.EncodeMapStart(yynn1591) + yynn1591 = 0 } - if yyr1567 || yy2arr1567 { + if yyr1591 || yy2arr1591 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1569 := z.EncBinary() - _ = yym1569 + yym1593 := z.EncBinary() + _ = yym1593 if false { } else { r.EncodeInt(int64(x.Min)) @@ -18572,17 +18669,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1570 := z.EncBinary() - _ = yym1570 + yym1594 := z.EncBinary() + _ = yym1594 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1567 || yy2arr1567 { + if yyr1591 || yy2arr1591 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1572 := z.EncBinary() - _ = yym1572 + yym1596 := z.EncBinary() + _ = yym1596 if false { } else { r.EncodeInt(int64(x.Max)) @@ -18591,14 +18688,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1573 := z.EncBinary() - _ = yym1573 + yym1597 := z.EncBinary() + _ = yym1597 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1567 || yy2arr1567 { + if yyr1591 || yy2arr1591 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18611,25 +18708,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1574 := z.DecBinary() - _ = yym1574 + yym1598 := z.DecBinary() + _ = yym1598 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1575 := r.ContainerType() - if yyct1575 == codecSelferValueTypeMap1234 { - yyl1575 := r.ReadMapStart() - if yyl1575 == 0 { + yyct1599 := r.ContainerType() + if yyct1599 == codecSelferValueTypeMap1234 { + yyl1599 := r.ReadMapStart() + if yyl1599 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1575, d) + x.codecDecodeSelfFromMap(yyl1599, d) } - } else if yyct1575 == codecSelferValueTypeArray1234 { - yyl1575 := r.ReadArrayStart() - if yyl1575 == 0 { + } else if yyct1599 == codecSelferValueTypeArray1234 { + yyl1599 := r.ReadArrayStart() + if yyl1599 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1575, d) + x.codecDecodeSelfFromArray(yyl1599, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18641,12 +18738,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1576Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1576Slc - var yyhl1576 bool = l >= 0 - for yyj1576 := 0; ; yyj1576++ { - if yyhl1576 { - if yyj1576 >= l { + var yys1600Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1600Slc + var yyhl1600 bool = l >= 0 + for yyj1600 := 0; ; yyj1600++ { + if yyhl1600 { + if yyj1600 >= l { break } } else { @@ -18655,10 +18752,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1576Slc = r.DecodeBytes(yys1576Slc, true, true) - yys1576 := string(yys1576Slc) + yys1600Slc = r.DecodeBytes(yys1600Slc, true, true) + yys1600 := string(yys1600Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1576 { + switch yys1600 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -18672,9 +18769,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1576) - } // end switch yys1576 - } // end for yyj1576 + z.DecStructFieldNotFound(-1, yys1600) + } // end switch yys1600 + } // end for yyj1600 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18682,16 +18779,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1579 int - var yyb1579 bool - var yyhl1579 bool = l >= 0 - yyj1579++ - if yyhl1579 { - yyb1579 = yyj1579 > l + var yyj1603 int + var yyb1603 bool + var yyhl1603 bool = l >= 0 + yyj1603++ + if yyhl1603 { + yyb1603 = yyj1603 > l } else { - yyb1579 = r.CheckBreak() + yyb1603 = r.CheckBreak() } - if yyb1579 { + if yyb1603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18701,13 +18798,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj1579++ - if yyhl1579 { - yyb1579 = yyj1579 > l + yyj1603++ + if yyhl1603 { + yyb1603 = yyj1603 > l } else { - yyb1579 = r.CheckBreak() + yyb1603 = r.CheckBreak() } - if yyb1579 { + if yyb1603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18718,17 +18815,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj1579++ - if yyhl1579 { - yyb1579 = yyj1579 > l + yyj1603++ + if yyhl1603 { + yyb1603 = yyj1603 > l } else { - yyb1579 = r.CheckBreak() + yyb1603 = r.CheckBreak() } - if yyb1579 { + if yyb1603 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1579-1, "") + z.DecStructFieldNotFound(yyj1603-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18737,8 +18834,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1582 := z.EncBinary() - _ = yym1582 + yym1606 := z.EncBinary() + _ = yym1606 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18750,8 +18847,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1583 := z.DecBinary() - _ = yym1583 + yym1607 := z.DecBinary() + _ = yym1607 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18766,54 +18863,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1584 := z.EncBinary() - _ = yym1584 + yym1608 := z.EncBinary() + _ = yym1608 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1585 := !z.EncBinary() - yy2arr1585 := z.EncBasicHandle().StructToArray - var yyq1585 [2]bool - _, _, _ = yysep1585, yyq1585, yy2arr1585 - const yyr1585 bool = false - yyq1585[0] = x.Rule != "" - yyq1585[1] = len(x.Ranges) != 0 - var yynn1585 int - if yyr1585 || yy2arr1585 { + yysep1609 := !z.EncBinary() + yy2arr1609 := z.EncBasicHandle().StructToArray + var yyq1609 [2]bool + _, _, _ = yysep1609, yyq1609, yy2arr1609 + const yyr1609 bool = false + yyq1609[0] = x.Rule != "" + yyq1609[1] = len(x.Ranges) != 0 + var yynn1609 int + if yyr1609 || yy2arr1609 { r.EncodeArrayStart(2) } else { - yynn1585 = 0 - for _, b := range yyq1585 { + yynn1609 = 0 + for _, b := range yyq1609 { if b { - yynn1585++ + yynn1609++ } } - r.EncodeMapStart(yynn1585) - yynn1585 = 0 + r.EncodeMapStart(yynn1609) + yynn1609 = 0 } - if yyr1585 || yy2arr1585 { + if yyr1609 || yy2arr1609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[0] { + if yyq1609[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1585[0] { + if yyq1609[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1585 || yy2arr1585 { + if yyr1609 || yy2arr1609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[1] { + if yyq1609[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1588 := z.EncBinary() - _ = yym1588 + yym1612 := z.EncBinary() + _ = yym1612 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18823,15 +18920,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1585[1] { + if yyq1609[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1589 := z.EncBinary() - _ = yym1589 + yym1613 := z.EncBinary() + _ = yym1613 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18839,7 +18936,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1585 || yy2arr1585 { + if yyr1609 || yy2arr1609 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18852,25 +18949,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1590 := z.DecBinary() - _ = yym1590 + yym1614 := z.DecBinary() + _ = yym1614 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1591 := r.ContainerType() - if yyct1591 == codecSelferValueTypeMap1234 { - yyl1591 := r.ReadMapStart() - if yyl1591 == 0 { + yyct1615 := r.ContainerType() + if yyct1615 == codecSelferValueTypeMap1234 { + yyl1615 := r.ReadMapStart() + if yyl1615 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1591, d) + x.codecDecodeSelfFromMap(yyl1615, d) } - } else if yyct1591 == codecSelferValueTypeArray1234 { - yyl1591 := r.ReadArrayStart() - if yyl1591 == 0 { + } else if yyct1615 == codecSelferValueTypeArray1234 { + yyl1615 := r.ReadArrayStart() + if yyl1615 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1591, d) + x.codecDecodeSelfFromArray(yyl1615, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18882,12 +18979,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1592Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1592Slc - var yyhl1592 bool = l >= 0 - for yyj1592 := 0; ; yyj1592++ { - if yyhl1592 { - if yyj1592 >= l { + var yys1616Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1616Slc + var yyhl1616 bool = l >= 0 + for yyj1616 := 0; ; yyj1616++ { + if yyhl1616 { + if yyj1616 >= l { break } } else { @@ -18896,10 +18993,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1592Slc = r.DecodeBytes(yys1592Slc, true, true) - yys1592 := string(yys1592Slc) + yys1616Slc = r.DecodeBytes(yys1616Slc, true, true) + yys1616 := string(yys1616Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1592 { + switch yys1616 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18910,18 +19007,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1594 := &x.Ranges - yym1595 := z.DecBinary() - _ = yym1595 + yyv1618 := &x.Ranges + yym1619 := z.DecBinary() + _ = yym1619 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1594), d) + h.decSliceIDRange((*[]IDRange)(yyv1618), d) } } default: - z.DecStructFieldNotFound(-1, yys1592) - } // end switch yys1592 - } // end for yyj1592 + z.DecStructFieldNotFound(-1, yys1616) + } // end switch yys1616 + } // end for yyj1616 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18929,16 +19026,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1596 int - var yyb1596 bool - var yyhl1596 bool = l >= 0 - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + var yyj1620 int + var yyb1620 bool + var yyhl1620 bool = l >= 0 + yyj1620++ + if yyhl1620 { + yyb1620 = yyj1620 > l } else { - yyb1596 = r.CheckBreak() + yyb1620 = r.CheckBreak() } - if yyb1596 { + if yyb1620 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18948,13 +19045,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1620++ + if yyhl1620 { + yyb1620 = yyj1620 > l } else { - yyb1596 = r.CheckBreak() + yyb1620 = r.CheckBreak() } - if yyb1596 { + if yyb1620 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18962,26 +19059,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1598 := &x.Ranges - yym1599 := z.DecBinary() - _ = yym1599 + yyv1622 := &x.Ranges + yym1623 := z.DecBinary() + _ = yym1623 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1598), d) + h.decSliceIDRange((*[]IDRange)(yyv1622), d) } } for { - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1620++ + if yyhl1620 { + yyb1620 = yyj1620 > l } else { - yyb1596 = r.CheckBreak() + yyb1620 = r.CheckBreak() } - if yyb1596 { + if yyb1620 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1596-1, "") + z.DecStructFieldNotFound(yyj1620-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18990,8 +19087,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1600 := z.EncBinary() - _ = yym1600 + yym1624 := z.EncBinary() + _ = yym1624 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19003,8 +19100,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1601 := z.DecBinary() - _ = yym1601 + yym1625 := z.DecBinary() + _ = yym1625 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19019,54 +19116,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1602 := z.EncBinary() - _ = yym1602 + yym1626 := z.EncBinary() + _ = yym1626 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1603 := !z.EncBinary() - yy2arr1603 := z.EncBasicHandle().StructToArray - var yyq1603 [2]bool - _, _, _ = yysep1603, yyq1603, yy2arr1603 - const yyr1603 bool = false - yyq1603[0] = x.Rule != "" - yyq1603[1] = len(x.Ranges) != 0 - var yynn1603 int - if yyr1603 || yy2arr1603 { + yysep1627 := !z.EncBinary() + yy2arr1627 := z.EncBasicHandle().StructToArray + var yyq1627 [2]bool + _, _, _ = yysep1627, yyq1627, yy2arr1627 + const yyr1627 bool = false + yyq1627[0] = x.Rule != "" + yyq1627[1] = len(x.Ranges) != 0 + var yynn1627 int + if yyr1627 || yy2arr1627 { r.EncodeArrayStart(2) } else { - yynn1603 = 0 - for _, b := range yyq1603 { + yynn1627 = 0 + for _, b := range yyq1627 { if b { - yynn1603++ + yynn1627++ } } - r.EncodeMapStart(yynn1603) - yynn1603 = 0 + r.EncodeMapStart(yynn1627) + yynn1627 = 0 } - if yyr1603 || yy2arr1603 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1603[0] { + if yyq1627[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1603[0] { + if yyq1627[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1603 || yy2arr1603 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1603[1] { + if yyq1627[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1606 := z.EncBinary() - _ = yym1606 + yym1630 := z.EncBinary() + _ = yym1630 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -19076,15 +19173,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1603[1] { + if yyq1627[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1607 := z.EncBinary() - _ = yym1607 + yym1631 := z.EncBinary() + _ = yym1631 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -19092,7 +19189,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1603 || yy2arr1603 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19105,25 +19202,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1608 := z.DecBinary() - _ = yym1608 + yym1632 := z.DecBinary() + _ = yym1632 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1609 := r.ContainerType() - if yyct1609 == codecSelferValueTypeMap1234 { - yyl1609 := r.ReadMapStart() - if yyl1609 == 0 { + yyct1633 := r.ContainerType() + if yyct1633 == codecSelferValueTypeMap1234 { + yyl1633 := r.ReadMapStart() + if yyl1633 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1609, d) + x.codecDecodeSelfFromMap(yyl1633, d) } - } else if yyct1609 == codecSelferValueTypeArray1234 { - yyl1609 := r.ReadArrayStart() - if yyl1609 == 0 { + } else if yyct1633 == codecSelferValueTypeArray1234 { + yyl1633 := r.ReadArrayStart() + if yyl1633 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1609, d) + x.codecDecodeSelfFromArray(yyl1633, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19135,12 +19232,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1610Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1610Slc - var yyhl1610 bool = l >= 0 - for yyj1610 := 0; ; yyj1610++ { - if yyhl1610 { - if yyj1610 >= l { + var yys1634Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1634Slc + var yyhl1634 bool = l >= 0 + for yyj1634 := 0; ; yyj1634++ { + if yyhl1634 { + if yyj1634 >= l { break } } else { @@ -19149,10 +19246,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1610Slc = r.DecodeBytes(yys1610Slc, true, true) - yys1610 := string(yys1610Slc) + yys1634Slc = r.DecodeBytes(yys1634Slc, true, true) + yys1634 := string(yys1634Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1610 { + switch yys1634 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -19163,18 +19260,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1612 := &x.Ranges - yym1613 := z.DecBinary() - _ = yym1613 + yyv1636 := &x.Ranges + yym1637 := z.DecBinary() + _ = yym1637 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1612), d) + h.decSliceIDRange((*[]IDRange)(yyv1636), d) } } default: - z.DecStructFieldNotFound(-1, yys1610) - } // end switch yys1610 - } // end for yyj1610 + z.DecStructFieldNotFound(-1, yys1634) + } // end switch yys1634 + } // end for yyj1634 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19182,16 +19279,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1614 int - var yyb1614 bool - var yyhl1614 bool = l >= 0 - yyj1614++ - if yyhl1614 { - yyb1614 = yyj1614 > l + var yyj1638 int + var yyb1638 bool + var yyhl1638 bool = l >= 0 + yyj1638++ + if yyhl1638 { + yyb1638 = yyj1638 > l } else { - yyb1614 = r.CheckBreak() + yyb1638 = r.CheckBreak() } - if yyb1614 { + if yyb1638 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19201,13 +19298,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj1614++ - if yyhl1614 { - yyb1614 = yyj1614 > l + yyj1638++ + if yyhl1638 { + yyb1638 = yyj1638 > l } else { - yyb1614 = r.CheckBreak() + yyb1638 = r.CheckBreak() } - if yyb1614 { + if yyb1638 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19215,26 +19312,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1616 := &x.Ranges - yym1617 := z.DecBinary() - _ = yym1617 + yyv1640 := &x.Ranges + yym1641 := z.DecBinary() + _ = yym1641 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1616), d) + h.decSliceIDRange((*[]IDRange)(yyv1640), d) } } for { - yyj1614++ - if yyhl1614 { - yyb1614 = yyj1614 > l + yyj1638++ + if yyhl1638 { + yyb1638 = yyj1638 > l } else { - yyb1614 = r.CheckBreak() + yyb1638 = r.CheckBreak() } - if yyb1614 { + if yyb1638 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1614-1, "") + z.DecStructFieldNotFound(yyj1638-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19243,8 +19340,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1618 := z.EncBinary() - _ = yym1618 + yym1642 := z.EncBinary() + _ = yym1642 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19256,8 +19353,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1619 := z.DecBinary() - _ = yym1619 + yym1643 := z.DecBinary() + _ = yym1643 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19272,37 +19369,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1620 := z.EncBinary() - _ = yym1620 + yym1644 := z.EncBinary() + _ = yym1644 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1621 := !z.EncBinary() - yy2arr1621 := z.EncBasicHandle().StructToArray - var yyq1621 [4]bool - _, _, _ = yysep1621, yyq1621, yy2arr1621 - const yyr1621 bool = false - yyq1621[0] = x.Kind != "" - yyq1621[1] = x.APIVersion != "" - yyq1621[2] = true - var yynn1621 int - if yyr1621 || yy2arr1621 { + yysep1645 := !z.EncBinary() + yy2arr1645 := z.EncBasicHandle().StructToArray + var yyq1645 [4]bool + _, _, _ = yysep1645, yyq1645, yy2arr1645 + const yyr1645 bool = false + yyq1645[0] = x.Kind != "" + yyq1645[1] = x.APIVersion != "" + yyq1645[2] = true + var yynn1645 int + if yyr1645 || yy2arr1645 { r.EncodeArrayStart(4) } else { - yynn1621 = 1 - for _, b := range yyq1621 { + yynn1645 = 1 + for _, b := range yyq1645 { if b { - yynn1621++ + yynn1645++ } } - r.EncodeMapStart(yynn1621) - yynn1621 = 0 + r.EncodeMapStart(yynn1645) + yynn1645 = 0 } - if yyr1621 || yy2arr1621 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1621[0] { - yym1623 := z.EncBinary() - _ = yym1623 + if yyq1645[0] { + yym1647 := z.EncBinary() + _ = yym1647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19311,23 +19408,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1621[0] { + if yyq1645[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1624 := z.EncBinary() - _ = yym1624 + yym1648 := z.EncBinary() + _ = yym1648 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1621 || yy2arr1621 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1621[1] { - yym1626 := z.EncBinary() - _ = yym1626 + if yyq1645[1] { + yym1650 := z.EncBinary() + _ = yym1650 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19336,54 +19433,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1621[1] { + if yyq1645[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1627 := z.EncBinary() - _ = yym1627 + yym1651 := z.EncBinary() + _ = yym1651 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1621 || yy2arr1621 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1621[2] { - yy1629 := &x.ListMeta - yym1630 := z.EncBinary() - _ = yym1630 + if yyq1645[2] { + yy1653 := &x.ListMeta + yym1654 := z.EncBinary() + _ = yym1654 if false { - } else if z.HasExtensions() && z.EncExt(yy1629) { + } else if z.HasExtensions() && z.EncExt(yy1653) { } else { - z.EncFallback(yy1629) + z.EncFallback(yy1653) } } else { r.EncodeNil() } } else { - if yyq1621[2] { + if yyq1645[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1631 := &x.ListMeta - yym1632 := z.EncBinary() - _ = yym1632 + yy1655 := &x.ListMeta + yym1656 := z.EncBinary() + _ = yym1656 if false { - } else if z.HasExtensions() && z.EncExt(yy1631) { + } else if z.HasExtensions() && z.EncExt(yy1655) { } else { - z.EncFallback(yy1631) + z.EncFallback(yy1655) } } } - if yyr1621 || yy2arr1621 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1634 := z.EncBinary() - _ = yym1634 + yym1658 := z.EncBinary() + _ = yym1658 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -19396,15 +19493,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1635 := z.EncBinary() - _ = yym1635 + yym1659 := z.EncBinary() + _ = yym1659 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1621 || yy2arr1621 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19417,25 +19514,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1636 := z.DecBinary() - _ = yym1636 + yym1660 := z.DecBinary() + _ = yym1660 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1637 := r.ContainerType() - if yyct1637 == codecSelferValueTypeMap1234 { - yyl1637 := r.ReadMapStart() - if yyl1637 == 0 { + yyct1661 := r.ContainerType() + if yyct1661 == codecSelferValueTypeMap1234 { + yyl1661 := r.ReadMapStart() + if yyl1661 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1637, d) + x.codecDecodeSelfFromMap(yyl1661, d) } - } else if yyct1637 == codecSelferValueTypeArray1234 { - yyl1637 := r.ReadArrayStart() - if yyl1637 == 0 { + } else if yyct1661 == codecSelferValueTypeArray1234 { + yyl1661 := r.ReadArrayStart() + if yyl1661 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1637, d) + x.codecDecodeSelfFromArray(yyl1661, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19447,12 +19544,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1638Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1638Slc - var yyhl1638 bool = l >= 0 - for yyj1638 := 0; ; yyj1638++ { - if yyhl1638 { - if yyj1638 >= l { + var yys1662Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1662Slc + var yyhl1662 bool = l >= 0 + for yyj1662 := 0; ; yyj1662++ { + if yyhl1662 { + if yyj1662 >= l { break } } else { @@ -19461,10 +19558,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1638Slc = r.DecodeBytes(yys1638Slc, true, true) - yys1638 := string(yys1638Slc) + yys1662Slc = r.DecodeBytes(yys1662Slc, true, true) + yys1662 := string(yys1662Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1638 { + switch yys1662 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19481,31 +19578,31 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1641 := &x.ListMeta - yym1642 := z.DecBinary() - _ = yym1642 + yyv1665 := &x.ListMeta + yym1666 := z.DecBinary() + _ = yym1666 if false { - } else if z.HasExtensions() && z.DecExt(yyv1641) { + } else if z.HasExtensions() && z.DecExt(yyv1665) { } else { - z.DecFallback(yyv1641, false) + z.DecFallback(yyv1665, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1643 := &x.Items - yym1644 := z.DecBinary() - _ = yym1644 + yyv1667 := &x.Items + yym1668 := z.DecBinary() + _ = yym1668 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1643), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1667), d) } } default: - z.DecStructFieldNotFound(-1, yys1638) - } // end switch yys1638 - } // end for yyj1638 + z.DecStructFieldNotFound(-1, yys1662) + } // end switch yys1662 + } // end for yyj1662 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19513,16 +19610,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1645 int - var yyb1645 bool - var yyhl1645 bool = l >= 0 - yyj1645++ - if yyhl1645 { - yyb1645 = yyj1645 > l + var yyj1669 int + var yyb1669 bool + var yyhl1669 bool = l >= 0 + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1645 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1645 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19532,13 +19629,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1645++ - if yyhl1645 { - yyb1645 = yyj1645 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1645 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1645 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19548,13 +19645,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1645++ - if yyhl1645 { - yyb1645 = yyj1645 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1645 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1645 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19562,22 +19659,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1648 := &x.ListMeta - yym1649 := z.DecBinary() - _ = yym1649 + yyv1672 := &x.ListMeta + yym1673 := z.DecBinary() + _ = yym1673 if false { - } else if z.HasExtensions() && z.DecExt(yyv1648) { + } else if z.HasExtensions() && z.DecExt(yyv1672) { } else { - z.DecFallback(yyv1648, false) + z.DecFallback(yyv1672, false) } } - yyj1645++ - if yyhl1645 { - yyb1645 = yyj1645 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1645 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1645 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19585,26 +19682,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1650 := &x.Items - yym1651 := z.DecBinary() - _ = yym1651 + yyv1674 := &x.Items + yym1675 := z.DecBinary() + _ = yym1675 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1650), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1674), d) } } for { - yyj1645++ - if yyhl1645 { - yyb1645 = yyj1645 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1645 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1645 { + if yyb1669 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1645-1, "") + z.DecStructFieldNotFound(yyj1669-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19616,38 +19713,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1652 := z.EncBinary() - _ = yym1652 + yym1676 := z.EncBinary() + _ = yym1676 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1653 := !z.EncBinary() - yy2arr1653 := z.EncBasicHandle().StructToArray - var yyq1653 [4]bool - _, _, _ = yysep1653, yyq1653, yy2arr1653 - const yyr1653 bool = false - yyq1653[0] = x.Kind != "" - yyq1653[1] = x.APIVersion != "" - yyq1653[2] = true - yyq1653[3] = true - var yynn1653 int - if yyr1653 || yy2arr1653 { + yysep1677 := !z.EncBinary() + yy2arr1677 := z.EncBasicHandle().StructToArray + var yyq1677 [4]bool + _, _, _ = yysep1677, yyq1677, yy2arr1677 + const yyr1677 bool = false + yyq1677[0] = x.Kind != "" + yyq1677[1] = x.APIVersion != "" + yyq1677[2] = true + yyq1677[3] = true + var yynn1677 int + if yyr1677 || yy2arr1677 { r.EncodeArrayStart(4) } else { - yynn1653 = 0 - for _, b := range yyq1653 { + yynn1677 = 0 + for _, b := range yyq1677 { if b { - yynn1653++ + yynn1677++ } } - r.EncodeMapStart(yynn1653) - yynn1653 = 0 + r.EncodeMapStart(yynn1677) + yynn1677 = 0 } - if yyr1653 || yy2arr1653 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1653[0] { - yym1655 := z.EncBinary() - _ = yym1655 + if yyq1677[0] { + yym1679 := z.EncBinary() + _ = yym1679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19656,23 +19753,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1653[0] { + if yyq1677[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1656 := z.EncBinary() - _ = yym1656 + yym1680 := z.EncBinary() + _ = yym1680 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1653 || yy2arr1653 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1653[1] { - yym1658 := z.EncBinary() - _ = yym1658 + if yyq1677[1] { + yym1682 := z.EncBinary() + _ = yym1682 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19681,53 +19778,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1653[1] { + if yyq1677[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1659 := z.EncBinary() - _ = yym1659 + yym1683 := z.EncBinary() + _ = yym1683 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1653 || yy2arr1653 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1653[2] { - yy1661 := &x.ObjectMeta - yy1661.CodecEncodeSelf(e) + if yyq1677[2] { + yy1685 := &x.ObjectMeta + yy1685.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1653[2] { + if yyq1677[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1662 := &x.ObjectMeta - yy1662.CodecEncodeSelf(e) + yy1686 := &x.ObjectMeta + yy1686.CodecEncodeSelf(e) } } - if yyr1653 || yy2arr1653 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1653[3] { - yy1664 := &x.Spec - yy1664.CodecEncodeSelf(e) + if yyq1677[3] { + yy1688 := &x.Spec + yy1688.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1653[3] { + if yyq1677[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1665 := &x.Spec - yy1665.CodecEncodeSelf(e) + yy1689 := &x.Spec + yy1689.CodecEncodeSelf(e) } } - if yyr1653 || yy2arr1653 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19740,25 +19837,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1666 := z.DecBinary() - _ = yym1666 + yym1690 := z.DecBinary() + _ = yym1690 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1667 := r.ContainerType() - if yyct1667 == codecSelferValueTypeMap1234 { - yyl1667 := r.ReadMapStart() - if yyl1667 == 0 { + yyct1691 := r.ContainerType() + if yyct1691 == codecSelferValueTypeMap1234 { + yyl1691 := r.ReadMapStart() + if yyl1691 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1667, d) + x.codecDecodeSelfFromMap(yyl1691, d) } - } else if yyct1667 == codecSelferValueTypeArray1234 { - yyl1667 := r.ReadArrayStart() - if yyl1667 == 0 { + } else if yyct1691 == codecSelferValueTypeArray1234 { + yyl1691 := r.ReadArrayStart() + if yyl1691 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1667, d) + x.codecDecodeSelfFromArray(yyl1691, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19770,12 +19867,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1668Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1668Slc - var yyhl1668 bool = l >= 0 - for yyj1668 := 0; ; yyj1668++ { - if yyhl1668 { - if yyj1668 >= l { + var yys1692Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1692Slc + var yyhl1692 bool = l >= 0 + for yyj1692 := 0; ; yyj1692++ { + if yyhl1692 { + if yyj1692 >= l { break } } else { @@ -19784,10 +19881,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1668Slc = r.DecodeBytes(yys1668Slc, true, true) - yys1668 := string(yys1668Slc) + yys1692Slc = r.DecodeBytes(yys1692Slc, true, true) + yys1692 := string(yys1692Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1668 { + switch yys1692 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19804,20 +19901,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1671 := &x.ObjectMeta - yyv1671.CodecDecodeSelf(d) + yyv1695 := &x.ObjectMeta + yyv1695.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1672 := &x.Spec - yyv1672.CodecDecodeSelf(d) + yyv1696 := &x.Spec + yyv1696.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1668) - } // end switch yys1668 - } // end for yyj1668 + z.DecStructFieldNotFound(-1, yys1692) + } // end switch yys1692 + } // end for yyj1692 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19825,16 +19922,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1673 int - var yyb1673 bool - var yyhl1673 bool = l >= 0 - yyj1673++ - if yyhl1673 { - yyb1673 = yyj1673 > l + var yyj1697 int + var yyb1697 bool + var yyhl1697 bool = l >= 0 + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1673 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1673 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19844,13 +19941,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1673++ - if yyhl1673 { - yyb1673 = yyj1673 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1673 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1673 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19860,13 +19957,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1673++ - if yyhl1673 { - yyb1673 = yyj1673 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1673 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1673 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19874,16 +19971,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1676 := &x.ObjectMeta - yyv1676.CodecDecodeSelf(d) + yyv1700 := &x.ObjectMeta + yyv1700.CodecDecodeSelf(d) } - yyj1673++ - if yyhl1673 { - yyb1673 = yyj1673 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1673 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1673 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19891,21 +19988,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1677 := &x.Spec - yyv1677.CodecDecodeSelf(d) + yyv1701 := &x.Spec + yyv1701.CodecDecodeSelf(d) } for { - yyj1673++ - if yyhl1673 { - yyb1673 = yyj1673 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1673 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1673 { + if yyb1697 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1673-1, "") + z.DecStructFieldNotFound(yyj1697-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19917,49 +20014,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1678 := z.EncBinary() - _ = yym1678 + yym1702 := z.EncBinary() + _ = yym1702 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1679 := !z.EncBinary() - yy2arr1679 := z.EncBasicHandle().StructToArray - var yyq1679 [2]bool - _, _, _ = yysep1679, yyq1679, yy2arr1679 - const yyr1679 bool = false - yyq1679[1] = len(x.Ingress) != 0 - var yynn1679 int - if yyr1679 || yy2arr1679 { + yysep1703 := !z.EncBinary() + yy2arr1703 := z.EncBasicHandle().StructToArray + var yyq1703 [2]bool + _, _, _ = yysep1703, yyq1703, yy2arr1703 + const yyr1703 bool = false + yyq1703[1] = len(x.Ingress) != 0 + var yynn1703 int + if yyr1703 || yy2arr1703 { r.EncodeArrayStart(2) } else { - yynn1679 = 1 - for _, b := range yyq1679 { + yynn1703 = 1 + for _, b := range yyq1703 { if b { - yynn1679++ + yynn1703++ } } - r.EncodeMapStart(yynn1679) - yynn1679 = 0 + r.EncodeMapStart(yynn1703) + yynn1703 = 0 } - if yyr1679 || yy2arr1679 { + if yyr1703 || yy2arr1703 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1681 := &x.PodSelector - yy1681.CodecEncodeSelf(e) + yy1705 := &x.PodSelector + yym1706 := z.EncBinary() + _ = yym1706 + if false { + } else if z.HasExtensions() && z.EncExt(yy1705) { + } else { + z.EncFallback(yy1705) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1682 := &x.PodSelector - yy1682.CodecEncodeSelf(e) + yy1707 := &x.PodSelector + yym1708 := z.EncBinary() + _ = yym1708 + if false { + } else if z.HasExtensions() && z.EncExt(yy1707) { + } else { + z.EncFallback(yy1707) + } } - if yyr1679 || yy2arr1679 { + if yyr1703 || yy2arr1703 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1679[1] { + if yyq1703[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1684 := z.EncBinary() - _ = yym1684 + yym1710 := z.EncBinary() + _ = yym1710 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19969,15 +20078,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1679[1] { + if yyq1703[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1685 := z.EncBinary() - _ = yym1685 + yym1711 := z.EncBinary() + _ = yym1711 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19985,7 +20094,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1679 || yy2arr1679 { + if yyr1703 || yy2arr1703 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19998,25 +20107,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1686 := z.DecBinary() - _ = yym1686 + yym1712 := z.DecBinary() + _ = yym1712 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1687 := r.ContainerType() - if yyct1687 == codecSelferValueTypeMap1234 { - yyl1687 := r.ReadMapStart() - if yyl1687 == 0 { + yyct1713 := r.ContainerType() + if yyct1713 == codecSelferValueTypeMap1234 { + yyl1713 := r.ReadMapStart() + if yyl1713 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1687, d) + x.codecDecodeSelfFromMap(yyl1713, d) } - } else if yyct1687 == codecSelferValueTypeArray1234 { - yyl1687 := r.ReadArrayStart() - if yyl1687 == 0 { + } else if yyct1713 == codecSelferValueTypeArray1234 { + yyl1713 := r.ReadArrayStart() + if yyl1713 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1687, d) + x.codecDecodeSelfFromArray(yyl1713, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20028,12 +20137,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1688Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1688Slc - var yyhl1688 bool = l >= 0 - for yyj1688 := 0; ; yyj1688++ { - if yyhl1688 { - if yyj1688 >= l { + var yys1714Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1714Slc + var yyhl1714 bool = l >= 0 + for yyj1714 := 0; ; yyj1714++ { + if yyhl1714 { + if yyj1714 >= l { break } } else { @@ -20042,33 +20151,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1688Slc = r.DecodeBytes(yys1688Slc, true, true) - yys1688 := string(yys1688Slc) + yys1714Slc = r.DecodeBytes(yys1714Slc, true, true) + yys1714 := string(yys1714Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1688 { + switch yys1714 { case "podSelector": if r.TryDecodeAsNil() { - x.PodSelector = LabelSelector{} + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1689 := &x.PodSelector - yyv1689.CodecDecodeSelf(d) + yyv1715 := &x.PodSelector + yym1716 := z.DecBinary() + _ = yym1716 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1715) { + } else { + z.DecFallback(yyv1715, false) + } } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1690 := &x.Ingress - yym1691 := z.DecBinary() - _ = yym1691 + yyv1717 := &x.Ingress + yym1718 := z.DecBinary() + _ = yym1718 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1690), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1717), d) } } default: - z.DecStructFieldNotFound(-1, yys1688) - } // end switch yys1688 - } // end for yyj1688 + z.DecStructFieldNotFound(-1, yys1714) + } // end switch yys1714 + } // end for yyj1714 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20076,33 +20191,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1692 int - var yyb1692 bool - var yyhl1692 bool = l >= 0 - yyj1692++ - if yyhl1692 { - yyb1692 = yyj1692 > l + var yyj1719 int + var yyb1719 bool + var yyhl1719 bool = l >= 0 + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb1692 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb1692 { + if yyb1719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.PodSelector = LabelSelector{} + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1693 := &x.PodSelector - yyv1693.CodecDecodeSelf(d) + yyv1720 := &x.PodSelector + yym1721 := z.DecBinary() + _ = yym1721 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1720) { + } else { + z.DecFallback(yyv1720, false) + } } - yyj1692++ - if yyhl1692 { - yyb1692 = yyj1692 > l + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb1692 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb1692 { + if yyb1719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20110,26 +20231,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1694 := &x.Ingress - yym1695 := z.DecBinary() - _ = yym1695 + yyv1722 := &x.Ingress + yym1723 := z.DecBinary() + _ = yym1723 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1694), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1722), d) } } for { - yyj1692++ - if yyhl1692 { - yyb1692 = yyj1692 > l + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb1692 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb1692 { + if yyb1719 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1692-1, "") + z.DecStructFieldNotFound(yyj1719-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20141,39 +20262,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1696 := z.EncBinary() - _ = yym1696 + yym1724 := z.EncBinary() + _ = yym1724 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1697 := !z.EncBinary() - yy2arr1697 := z.EncBasicHandle().StructToArray - var yyq1697 [2]bool - _, _, _ = yysep1697, yyq1697, yy2arr1697 - const yyr1697 bool = false - yyq1697[0] = len(x.Ports) != 0 - yyq1697[1] = len(x.From) != 0 - var yynn1697 int - if yyr1697 || yy2arr1697 { + yysep1725 := !z.EncBinary() + yy2arr1725 := z.EncBasicHandle().StructToArray + var yyq1725 [2]bool + _, _, _ = yysep1725, yyq1725, yy2arr1725 + const yyr1725 bool = false + yyq1725[0] = len(x.Ports) != 0 + yyq1725[1] = len(x.From) != 0 + var yynn1725 int + if yyr1725 || yy2arr1725 { r.EncodeArrayStart(2) } else { - yynn1697 = 0 - for _, b := range yyq1697 { + yynn1725 = 0 + for _, b := range yyq1725 { if b { - yynn1697++ + yynn1725++ } } - r.EncodeMapStart(yynn1697) - yynn1697 = 0 + r.EncodeMapStart(yynn1725) + yynn1725 = 0 } - if yyr1697 || yy2arr1697 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1697[0] { + if yyq1725[0] { if x.Ports == nil { r.EncodeNil() } else { - yym1699 := z.EncBinary() - _ = yym1699 + yym1727 := z.EncBinary() + _ = yym1727 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -20183,15 +20304,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1697[0] { + if yyq1725[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1700 := z.EncBinary() - _ = yym1700 + yym1728 := z.EncBinary() + _ = yym1728 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -20199,14 +20320,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1697 || yy2arr1697 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1697[1] { + if yyq1725[1] { if x.From == nil { r.EncodeNil() } else { - yym1702 := z.EncBinary() - _ = yym1702 + yym1730 := z.EncBinary() + _ = yym1730 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -20216,15 +20337,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1697[1] { + if yyq1725[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym1703 := z.EncBinary() - _ = yym1703 + yym1731 := z.EncBinary() + _ = yym1731 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -20232,7 +20353,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1697 || yy2arr1697 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20245,25 +20366,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1704 := z.DecBinary() - _ = yym1704 + yym1732 := z.DecBinary() + _ = yym1732 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1705 := r.ContainerType() - if yyct1705 == codecSelferValueTypeMap1234 { - yyl1705 := r.ReadMapStart() - if yyl1705 == 0 { + yyct1733 := r.ContainerType() + if yyct1733 == codecSelferValueTypeMap1234 { + yyl1733 := r.ReadMapStart() + if yyl1733 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1705, d) + x.codecDecodeSelfFromMap(yyl1733, d) } - } else if yyct1705 == codecSelferValueTypeArray1234 { - yyl1705 := r.ReadArrayStart() - if yyl1705 == 0 { + } else if yyct1733 == codecSelferValueTypeArray1234 { + yyl1733 := r.ReadArrayStart() + if yyl1733 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1705, d) + x.codecDecodeSelfFromArray(yyl1733, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20275,12 +20396,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1706Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1706Slc - var yyhl1706 bool = l >= 0 - for yyj1706 := 0; ; yyj1706++ { - if yyhl1706 { - if yyj1706 >= l { + var yys1734Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1734Slc + var yyhl1734 bool = l >= 0 + for yyj1734 := 0; ; yyj1734++ { + if yyhl1734 { + if yyj1734 >= l { break } } else { @@ -20289,38 +20410,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1706Slc = r.DecodeBytes(yys1706Slc, true, true) - yys1706 := string(yys1706Slc) + yys1734Slc = r.DecodeBytes(yys1734Slc, true, true) + yys1734 := string(yys1734Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1706 { + switch yys1734 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1707 := &x.Ports - yym1708 := z.DecBinary() - _ = yym1708 + yyv1735 := &x.Ports + yym1736 := z.DecBinary() + _ = yym1736 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1707), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1735), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv1709 := &x.From - yym1710 := z.DecBinary() - _ = yym1710 + yyv1737 := &x.From + yym1738 := z.DecBinary() + _ = yym1738 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1709), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1737), d) } } default: - z.DecStructFieldNotFound(-1, yys1706) - } // end switch yys1706 - } // end for yyj1706 + z.DecStructFieldNotFound(-1, yys1734) + } // end switch yys1734 + } // end for yyj1734 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20328,16 +20449,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1711 int - var yyb1711 bool - var yyhl1711 bool = l >= 0 - yyj1711++ - if yyhl1711 { - yyb1711 = yyj1711 > l + var yyj1739 int + var yyb1739 bool + var yyhl1739 bool = l >= 0 + yyj1739++ + if yyhl1739 { + yyb1739 = yyj1739 > l } else { - yyb1711 = r.CheckBreak() + yyb1739 = r.CheckBreak() } - if yyb1711 { + if yyb1739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20345,21 +20466,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1712 := &x.Ports - yym1713 := z.DecBinary() - _ = yym1713 + yyv1740 := &x.Ports + yym1741 := z.DecBinary() + _ = yym1741 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1712), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1740), d) } } - yyj1711++ - if yyhl1711 { - yyb1711 = yyj1711 > l + yyj1739++ + if yyhl1739 { + yyb1739 = yyj1739 > l } else { - yyb1711 = r.CheckBreak() + yyb1739 = r.CheckBreak() } - if yyb1711 { + if yyb1739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20367,26 +20488,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv1714 := &x.From - yym1715 := z.DecBinary() - _ = yym1715 + yyv1742 := &x.From + yym1743 := z.DecBinary() + _ = yym1743 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1714), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1742), d) } } for { - yyj1711++ - if yyhl1711 { - yyb1711 = yyj1711 > l + yyj1739++ + if yyhl1739 { + yyb1739 = yyj1739 > l } else { - yyb1711 = r.CheckBreak() + yyb1739 = r.CheckBreak() } - if yyb1711 { + if yyb1739 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1711-1, "") + z.DecStructFieldNotFound(yyj1739-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20398,79 +20519,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1716 := z.EncBinary() - _ = yym1716 + yym1744 := z.EncBinary() + _ = yym1744 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1717 := !z.EncBinary() - yy2arr1717 := z.EncBasicHandle().StructToArray - var yyq1717 [2]bool - _, _, _ = yysep1717, yyq1717, yy2arr1717 - const yyr1717 bool = false - yyq1717[0] = x.Protocol != nil - yyq1717[1] = x.Port != nil - var yynn1717 int - if yyr1717 || yy2arr1717 { + yysep1745 := !z.EncBinary() + yy2arr1745 := z.EncBasicHandle().StructToArray + var yyq1745 [2]bool + _, _, _ = yysep1745, yyq1745, yy2arr1745 + const yyr1745 bool = false + yyq1745[0] = x.Protocol != nil + yyq1745[1] = x.Port != nil + var yynn1745 int + if yyr1745 || yy2arr1745 { r.EncodeArrayStart(2) } else { - yynn1717 = 0 - for _, b := range yyq1717 { + yynn1745 = 0 + for _, b := range yyq1745 { if b { - yynn1717++ + yynn1745++ } } - r.EncodeMapStart(yynn1717) - yynn1717 = 0 + r.EncodeMapStart(yynn1745) + yynn1745 = 0 } - if yyr1717 || yy2arr1717 { + if yyr1745 || yy2arr1745 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1717[0] { + if yyq1745[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy1719 := *x.Protocol - yym1720 := z.EncBinary() - _ = yym1720 + yy1747 := *x.Protocol + yym1748 := z.EncBinary() + _ = yym1748 if false { - } else if z.HasExtensions() && z.EncExt(yy1719) { + } else if z.HasExtensions() && z.EncExt(yy1747) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1719)) + r.EncodeString(codecSelferC_UTF81234, string(yy1747)) } } } else { r.EncodeNil() } } else { - if yyq1717[0] { + if yyq1745[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy1721 := *x.Protocol - yym1722 := z.EncBinary() - _ = yym1722 + yy1749 := *x.Protocol + yym1750 := z.EncBinary() + _ = yym1750 if false { - } else if z.HasExtensions() && z.EncExt(yy1721) { + } else if z.HasExtensions() && z.EncExt(yy1749) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1721)) + r.EncodeString(codecSelferC_UTF81234, string(yy1749)) } } } } - if yyr1717 || yy2arr1717 { + if yyr1745 || yy2arr1745 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1717[1] { + if yyq1745[1] { if x.Port == nil { r.EncodeNil() } else { - yym1724 := z.EncBinary() - _ = yym1724 + yym1752 := z.EncBinary() + _ = yym1752 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1724 && z.IsJSONHandle() { + } else if !yym1752 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20480,18 +20601,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1717[1] { + if yyq1745[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym1725 := z.EncBinary() - _ = yym1725 + yym1753 := z.EncBinary() + _ = yym1753 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1725 && z.IsJSONHandle() { + } else if !yym1753 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20499,7 +20620,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1717 || yy2arr1717 { + if yyr1745 || yy2arr1745 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20512,25 +20633,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1726 := z.DecBinary() - _ = yym1726 + yym1754 := z.DecBinary() + _ = yym1754 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1727 := r.ContainerType() - if yyct1727 == codecSelferValueTypeMap1234 { - yyl1727 := r.ReadMapStart() - if yyl1727 == 0 { + yyct1755 := r.ContainerType() + if yyct1755 == codecSelferValueTypeMap1234 { + yyl1755 := r.ReadMapStart() + if yyl1755 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1727, d) + x.codecDecodeSelfFromMap(yyl1755, d) } - } else if yyct1727 == codecSelferValueTypeArray1234 { - yyl1727 := r.ReadArrayStart() - if yyl1727 == 0 { + } else if yyct1755 == codecSelferValueTypeArray1234 { + yyl1755 := r.ReadArrayStart() + if yyl1755 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1727, d) + x.codecDecodeSelfFromArray(yyl1755, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20542,12 +20663,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1728Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1728Slc - var yyhl1728 bool = l >= 0 - for yyj1728 := 0; ; yyj1728++ { - if yyhl1728 { - if yyj1728 >= l { + var yys1756Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1756Slc + var yyhl1756 bool = l >= 0 + for yyj1756 := 0; ; yyj1756++ { + if yyhl1756 { + if yyj1756 >= l { break } } else { @@ -20556,10 +20677,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1728Slc = r.DecodeBytes(yys1728Slc, true, true) - yys1728 := string(yys1728Slc) + yys1756Slc = r.DecodeBytes(yys1756Slc, true, true) + yys1756 := string(yys1756Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1728 { + switch yys1756 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -20580,20 +20701,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1731 := z.DecBinary() - _ = yym1731 + yym1759 := z.DecBinary() + _ = yym1759 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1731 && z.IsJSONHandle() { + } else if !yym1759 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys1728) - } // end switch yys1728 - } // end for yyj1728 + z.DecStructFieldNotFound(-1, yys1756) + } // end switch yys1756 + } // end for yyj1756 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20601,16 +20722,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1732 int - var yyb1732 bool - var yyhl1732 bool = l >= 0 - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l + var yyj1760 int + var yyb1760 bool + var yyhl1760 bool = l >= 0 + yyj1760++ + if yyhl1760 { + yyb1760 = yyj1760 > l } else { - yyb1732 = r.CheckBreak() + yyb1760 = r.CheckBreak() } - if yyb1732 { + if yyb1760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20625,13 +20746,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l + yyj1760++ + if yyhl1760 { + yyb1760 = yyj1760 > l } else { - yyb1732 = r.CheckBreak() + yyb1760 = r.CheckBreak() } - if yyb1732 { + if yyb1760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20644,28 +20765,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1735 := z.DecBinary() - _ = yym1735 + yym1763 := z.DecBinary() + _ = yym1763 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1735 && z.IsJSONHandle() { + } else if !yym1763 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l + yyj1760++ + if yyhl1760 { + yyb1760 = yyj1760 > l } else { - yyb1732 = r.CheckBreak() + yyb1760 = r.CheckBreak() } - if yyb1732 { + if yyb1760 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1732-1, "") + z.DecStructFieldNotFound(yyj1760-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20677,78 +20798,102 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1736 := z.EncBinary() - _ = yym1736 + yym1764 := z.EncBinary() + _ = yym1764 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1737 := !z.EncBinary() - yy2arr1737 := z.EncBasicHandle().StructToArray - var yyq1737 [2]bool - _, _, _ = yysep1737, yyq1737, yy2arr1737 - const yyr1737 bool = false - yyq1737[0] = x.PodSelector != nil - yyq1737[1] = x.NamespaceSelector != nil - var yynn1737 int - if yyr1737 || yy2arr1737 { + yysep1765 := !z.EncBinary() + yy2arr1765 := z.EncBasicHandle().StructToArray + var yyq1765 [2]bool + _, _, _ = yysep1765, yyq1765, yy2arr1765 + const yyr1765 bool = false + yyq1765[0] = x.PodSelector != nil + yyq1765[1] = x.NamespaceSelector != nil + var yynn1765 int + if yyr1765 || yy2arr1765 { r.EncodeArrayStart(2) } else { - yynn1737 = 0 - for _, b := range yyq1737 { + yynn1765 = 0 + for _, b := range yyq1765 { if b { - yynn1737++ + yynn1765++ } } - r.EncodeMapStart(yynn1737) - yynn1737 = 0 + r.EncodeMapStart(yynn1765) + yynn1765 = 0 } - if yyr1737 || yy2arr1737 { + if yyr1765 || yy2arr1765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1737[0] { + if yyq1765[0] { if x.PodSelector == nil { r.EncodeNil() } else { - x.PodSelector.CodecEncodeSelf(e) + yym1767 := z.EncBinary() + _ = yym1767 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } } } else { r.EncodeNil() } } else { - if yyq1737[0] { + if yyq1765[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodSelector == nil { r.EncodeNil() } else { - x.PodSelector.CodecEncodeSelf(e) + yym1768 := z.EncBinary() + _ = yym1768 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } } } } - if yyr1737 || yy2arr1737 { + if yyr1765 || yy2arr1765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1737[1] { + if yyq1765[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { - x.NamespaceSelector.CodecEncodeSelf(e) + yym1770 := z.EncBinary() + _ = yym1770 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } } } else { r.EncodeNil() } } else { - if yyq1737[1] { + if yyq1765[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NamespaceSelector == nil { r.EncodeNil() } else { - x.NamespaceSelector.CodecEncodeSelf(e) + yym1771 := z.EncBinary() + _ = yym1771 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } } } } - if yyr1737 || yy2arr1737 { + if yyr1765 || yy2arr1765 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20761,25 +20906,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1740 := z.DecBinary() - _ = yym1740 + yym1772 := z.DecBinary() + _ = yym1772 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1741 := r.ContainerType() - if yyct1741 == codecSelferValueTypeMap1234 { - yyl1741 := r.ReadMapStart() - if yyl1741 == 0 { + yyct1773 := r.ContainerType() + if yyct1773 == codecSelferValueTypeMap1234 { + yyl1773 := r.ReadMapStart() + if yyl1773 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1741, d) + x.codecDecodeSelfFromMap(yyl1773, d) } - } else if yyct1741 == codecSelferValueTypeArray1234 { - yyl1741 := r.ReadArrayStart() - if yyl1741 == 0 { + } else if yyct1773 == codecSelferValueTypeArray1234 { + yyl1773 := r.ReadArrayStart() + if yyl1773 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1741, d) + x.codecDecodeSelfFromArray(yyl1773, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20791,12 +20936,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1742Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1742Slc - var yyhl1742 bool = l >= 0 - for yyj1742 := 0; ; yyj1742++ { - if yyhl1742 { - if yyj1742 >= l { + var yys1774Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1774Slc + var yyhl1774 bool = l >= 0 + for yyj1774 := 0; ; yyj1774++ { + if yyhl1774 { + if yyj1774 >= l { break } } else { @@ -20805,10 +20950,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1742Slc = r.DecodeBytes(yys1742Slc, true, true) - yys1742 := string(yys1742Slc) + yys1774Slc = r.DecodeBytes(yys1774Slc, true, true) + yys1774 := string(yys1774Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1742 { + switch yys1774 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -20816,9 +20961,15 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } else { if x.PodSelector == nil { - x.PodSelector = new(LabelSelector) + x.PodSelector = new(pkg1_unversioned.LabelSelector) + } + yym1776 := z.DecBinary() + _ = yym1776 + if false { + } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else { + z.DecFallback(x.PodSelector, false) } - x.PodSelector.CodecDecodeSelf(d) } case "namespaceSelector": if r.TryDecodeAsNil() { @@ -20827,14 +20978,20 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } else { if x.NamespaceSelector == nil { - x.NamespaceSelector = new(LabelSelector) + x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) + } + yym1778 := z.DecBinary() + _ = yym1778 + if false { + } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { + } else { + z.DecFallback(x.NamespaceSelector, false) } - x.NamespaceSelector.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1742) - } // end switch yys1742 - } // end for yyj1742 + z.DecStructFieldNotFound(-1, yys1774) + } // end switch yys1774 + } // end for yyj1774 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20842,16 +20999,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1745 int - var yyb1745 bool - var yyhl1745 bool = l >= 0 - yyj1745++ - if yyhl1745 { - yyb1745 = yyj1745 > l + var yyj1779 int + var yyb1779 bool + var yyhl1779 bool = l >= 0 + yyj1779++ + if yyhl1779 { + yyb1779 = yyj1779 > l } else { - yyb1745 = r.CheckBreak() + yyb1779 = r.CheckBreak() } - if yyb1745 { + if yyb1779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20862,17 +21019,23 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } else { if x.PodSelector == nil { - x.PodSelector = new(LabelSelector) + x.PodSelector = new(pkg1_unversioned.LabelSelector) + } + yym1781 := z.DecBinary() + _ = yym1781 + if false { + } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else { + z.DecFallback(x.PodSelector, false) } - x.PodSelector.CodecDecodeSelf(d) } - yyj1745++ - if yyhl1745 { - yyb1745 = yyj1745 > l + yyj1779++ + if yyhl1779 { + yyb1779 = yyj1779 > l } else { - yyb1745 = r.CheckBreak() + yyb1779 = r.CheckBreak() } - if yyb1745 { + if yyb1779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20883,22 +21046,28 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } else { if x.NamespaceSelector == nil { - x.NamespaceSelector = new(LabelSelector) + x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) + } + yym1783 := z.DecBinary() + _ = yym1783 + if false { + } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { + } else { + z.DecFallback(x.NamespaceSelector, false) } - x.NamespaceSelector.CodecDecodeSelf(d) } for { - yyj1745++ - if yyhl1745 { - yyb1745 = yyj1745 > l + yyj1779++ + if yyhl1779 { + yyb1779 = yyj1779 > l } else { - yyb1745 = r.CheckBreak() + yyb1779 = r.CheckBreak() } - if yyb1745 { + if yyb1779 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1745-1, "") + z.DecStructFieldNotFound(yyj1779-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20910,37 +21079,37 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1748 := z.EncBinary() - _ = yym1748 + yym1784 := z.EncBinary() + _ = yym1784 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1749 := !z.EncBinary() - yy2arr1749 := z.EncBasicHandle().StructToArray - var yyq1749 [4]bool - _, _, _ = yysep1749, yyq1749, yy2arr1749 - const yyr1749 bool = false - yyq1749[0] = x.Kind != "" - yyq1749[1] = x.APIVersion != "" - yyq1749[2] = true - var yynn1749 int - if yyr1749 || yy2arr1749 { + yysep1785 := !z.EncBinary() + yy2arr1785 := z.EncBasicHandle().StructToArray + var yyq1785 [4]bool + _, _, _ = yysep1785, yyq1785, yy2arr1785 + const yyr1785 bool = false + yyq1785[0] = x.Kind != "" + yyq1785[1] = x.APIVersion != "" + yyq1785[2] = true + var yynn1785 int + if yyr1785 || yy2arr1785 { r.EncodeArrayStart(4) } else { - yynn1749 = 1 - for _, b := range yyq1749 { + yynn1785 = 1 + for _, b := range yyq1785 { if b { - yynn1749++ + yynn1785++ } } - r.EncodeMapStart(yynn1749) - yynn1749 = 0 + r.EncodeMapStart(yynn1785) + yynn1785 = 0 } - if yyr1749 || yy2arr1749 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1749[0] { - yym1751 := z.EncBinary() - _ = yym1751 + if yyq1785[0] { + yym1787 := z.EncBinary() + _ = yym1787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -20949,23 +21118,23 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1749[0] { + if yyq1785[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1752 := z.EncBinary() - _ = yym1752 + yym1788 := z.EncBinary() + _ = yym1788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1749 || yy2arr1749 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1749[1] { - yym1754 := z.EncBinary() - _ = yym1754 + if yyq1785[1] { + yym1790 := z.EncBinary() + _ = yym1790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -20974,54 +21143,54 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1749[1] { + if yyq1785[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1755 := z.EncBinary() - _ = yym1755 + yym1791 := z.EncBinary() + _ = yym1791 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1749 || yy2arr1749 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1749[2] { - yy1757 := &x.ListMeta - yym1758 := z.EncBinary() - _ = yym1758 + if yyq1785[2] { + yy1793 := &x.ListMeta + yym1794 := z.EncBinary() + _ = yym1794 if false { - } else if z.HasExtensions() && z.EncExt(yy1757) { + } else if z.HasExtensions() && z.EncExt(yy1793) { } else { - z.EncFallback(yy1757) + z.EncFallback(yy1793) } } else { r.EncodeNil() } } else { - if yyq1749[2] { + if yyq1785[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1759 := &x.ListMeta - yym1760 := z.EncBinary() - _ = yym1760 + yy1795 := &x.ListMeta + yym1796 := z.EncBinary() + _ = yym1796 if false { - } else if z.HasExtensions() && z.EncExt(yy1759) { + } else if z.HasExtensions() && z.EncExt(yy1795) { } else { - z.EncFallback(yy1759) + z.EncFallback(yy1795) } } } - if yyr1749 || yy2arr1749 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1762 := z.EncBinary() - _ = yym1762 + yym1798 := z.EncBinary() + _ = yym1798 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -21034,15 +21203,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1763 := z.EncBinary() - _ = yym1763 + yym1799 := z.EncBinary() + _ = yym1799 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr1749 || yy2arr1749 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21055,25 +21224,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1764 := z.DecBinary() - _ = yym1764 + yym1800 := z.DecBinary() + _ = yym1800 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1765 := r.ContainerType() - if yyct1765 == codecSelferValueTypeMap1234 { - yyl1765 := r.ReadMapStart() - if yyl1765 == 0 { + yyct1801 := r.ContainerType() + if yyct1801 == codecSelferValueTypeMap1234 { + yyl1801 := r.ReadMapStart() + if yyl1801 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1765, d) + x.codecDecodeSelfFromMap(yyl1801, d) } - } else if yyct1765 == codecSelferValueTypeArray1234 { - yyl1765 := r.ReadArrayStart() - if yyl1765 == 0 { + } else if yyct1801 == codecSelferValueTypeArray1234 { + yyl1801 := r.ReadArrayStart() + if yyl1801 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1765, d) + x.codecDecodeSelfFromArray(yyl1801, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21085,12 +21254,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1766Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1766Slc - var yyhl1766 bool = l >= 0 - for yyj1766 := 0; ; yyj1766++ { - if yyhl1766 { - if yyj1766 >= l { + var yys1802Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1802Slc + var yyhl1802 bool = l >= 0 + for yyj1802 := 0; ; yyj1802++ { + if yyhl1802 { + if yyj1802 >= l { break } } else { @@ -21099,10 +21268,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1766Slc = r.DecodeBytes(yys1766Slc, true, true) - yys1766 := string(yys1766Slc) + yys1802Slc = r.DecodeBytes(yys1802Slc, true, true) + yys1802 := string(yys1802Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1766 { + switch yys1802 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21119,31 +21288,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1769 := &x.ListMeta - yym1770 := z.DecBinary() - _ = yym1770 + yyv1805 := &x.ListMeta + yym1806 := z.DecBinary() + _ = yym1806 if false { - } else if z.HasExtensions() && z.DecExt(yyv1769) { + } else if z.HasExtensions() && z.DecExt(yyv1805) { } else { - z.DecFallback(yyv1769, false) + z.DecFallback(yyv1805, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1771 := &x.Items - yym1772 := z.DecBinary() - _ = yym1772 + yyv1807 := &x.Items + yym1808 := z.DecBinary() + _ = yym1808 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1771), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1807), d) } } default: - z.DecStructFieldNotFound(-1, yys1766) - } // end switch yys1766 - } // end for yyj1766 + z.DecStructFieldNotFound(-1, yys1802) + } // end switch yys1802 + } // end for yyj1802 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21151,16 +21320,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1773 int - var yyb1773 bool - var yyhl1773 bool = l >= 0 - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l + var yyj1809 int + var yyb1809 bool + var yyhl1809 bool = l >= 0 + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1773 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1773 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21170,13 +21339,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1773 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1773 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21186,13 +21355,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1773 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1773 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21200,22 +21369,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1776 := &x.ListMeta - yym1777 := z.DecBinary() - _ = yym1777 + yyv1812 := &x.ListMeta + yym1813 := z.DecBinary() + _ = yym1813 if false { - } else if z.HasExtensions() && z.DecExt(yyv1776) { + } else if z.HasExtensions() && z.DecExt(yyv1812) { } else { - z.DecFallback(yyv1776, false) + z.DecFallback(yyv1812, false) } } - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1773 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1773 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21223,727 +21392,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1778 := &x.Items - yym1779 := z.DecBinary() - _ = yym1779 + yyv1814 := &x.Items + yym1815 := z.DecBinary() + _ = yym1815 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1778), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1814), d) } } for { - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1773 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1773 { + if yyb1809 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1773-1, "") + z.DecStructFieldNotFound(yyj1809-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1780 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1781 := &yyv1780 - yy1781.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1782 := *v - yyh1782, yyl1782 := z.DecSliceHelperStart() - var yyc1782 bool - if yyl1782 == 0 { - if yyv1782 == nil { - yyv1782 = []CustomMetricTarget{} - yyc1782 = true - } else if len(yyv1782) != 0 { - yyv1782 = yyv1782[:0] - yyc1782 = true - } - } else if yyl1782 > 0 { - var yyrr1782, yyrl1782 int - var yyrt1782 bool - if yyl1782 > cap(yyv1782) { - - yyrg1782 := len(yyv1782) > 0 - yyv21782 := yyv1782 - yyrl1782, yyrt1782 = z.DecInferLen(yyl1782, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1782 { - if yyrl1782 <= cap(yyv1782) { - yyv1782 = yyv1782[:yyrl1782] - } else { - yyv1782 = make([]CustomMetricTarget, yyrl1782) - } - } else { - yyv1782 = make([]CustomMetricTarget, yyrl1782) - } - yyc1782 = true - yyrr1782 = len(yyv1782) - if yyrg1782 { - copy(yyv1782, yyv21782) - } - } else if yyl1782 != len(yyv1782) { - yyv1782 = yyv1782[:yyl1782] - yyc1782 = true - } - yyj1782 := 0 - for ; yyj1782 < yyrr1782; yyj1782++ { - yyh1782.ElemContainerState(yyj1782) - if r.TryDecodeAsNil() { - yyv1782[yyj1782] = CustomMetricTarget{} - } else { - yyv1783 := &yyv1782[yyj1782] - yyv1783.CodecDecodeSelf(d) - } - - } - if yyrt1782 { - for ; yyj1782 < yyl1782; yyj1782++ { - yyv1782 = append(yyv1782, CustomMetricTarget{}) - yyh1782.ElemContainerState(yyj1782) - if r.TryDecodeAsNil() { - yyv1782[yyj1782] = CustomMetricTarget{} - } else { - yyv1784 := &yyv1782[yyj1782] - yyv1784.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1782 := 0 - for ; !r.CheckBreak(); yyj1782++ { - - if yyj1782 >= len(yyv1782) { - yyv1782 = append(yyv1782, CustomMetricTarget{}) // var yyz1782 CustomMetricTarget - yyc1782 = true - } - yyh1782.ElemContainerState(yyj1782) - if yyj1782 < len(yyv1782) { - if r.TryDecodeAsNil() { - yyv1782[yyj1782] = CustomMetricTarget{} - } else { - yyv1785 := &yyv1782[yyj1782] - yyv1785.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1782 < len(yyv1782) { - yyv1782 = yyv1782[:yyj1782] - yyc1782 = true - } else if yyj1782 == 0 && yyv1782 == nil { - yyv1782 = []CustomMetricTarget{} - yyc1782 = true - } - } - yyh1782.End() - if yyc1782 { - *v = yyv1782 - } -} - -func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurrentStatus, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1786 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1787 := &yyv1786 - yy1787.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurrentStatus, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1788 := *v - yyh1788, yyl1788 := z.DecSliceHelperStart() - var yyc1788 bool - if yyl1788 == 0 { - if yyv1788 == nil { - yyv1788 = []CustomMetricCurrentStatus{} - yyc1788 = true - } else if len(yyv1788) != 0 { - yyv1788 = yyv1788[:0] - yyc1788 = true - } - } else if yyl1788 > 0 { - var yyrr1788, yyrl1788 int - var yyrt1788 bool - if yyl1788 > cap(yyv1788) { - - yyrg1788 := len(yyv1788) > 0 - yyv21788 := yyv1788 - yyrl1788, yyrt1788 = z.DecInferLen(yyl1788, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1788 { - if yyrl1788 <= cap(yyv1788) { - yyv1788 = yyv1788[:yyrl1788] - } else { - yyv1788 = make([]CustomMetricCurrentStatus, yyrl1788) - } - } else { - yyv1788 = make([]CustomMetricCurrentStatus, yyrl1788) - } - yyc1788 = true - yyrr1788 = len(yyv1788) - if yyrg1788 { - copy(yyv1788, yyv21788) - } - } else if yyl1788 != len(yyv1788) { - yyv1788 = yyv1788[:yyl1788] - yyc1788 = true - } - yyj1788 := 0 - for ; yyj1788 < yyrr1788; yyj1788++ { - yyh1788.ElemContainerState(yyj1788) - if r.TryDecodeAsNil() { - yyv1788[yyj1788] = CustomMetricCurrentStatus{} - } else { - yyv1789 := &yyv1788[yyj1788] - yyv1789.CodecDecodeSelf(d) - } - - } - if yyrt1788 { - for ; yyj1788 < yyl1788; yyj1788++ { - yyv1788 = append(yyv1788, CustomMetricCurrentStatus{}) - yyh1788.ElemContainerState(yyj1788) - if r.TryDecodeAsNil() { - yyv1788[yyj1788] = CustomMetricCurrentStatus{} - } else { - yyv1790 := &yyv1788[yyj1788] - yyv1790.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1788 := 0 - for ; !r.CheckBreak(); yyj1788++ { - - if yyj1788 >= len(yyv1788) { - yyv1788 = append(yyv1788, CustomMetricCurrentStatus{}) // var yyz1788 CustomMetricCurrentStatus - yyc1788 = true - } - yyh1788.ElemContainerState(yyj1788) - if yyj1788 < len(yyv1788) { - if r.TryDecodeAsNil() { - yyv1788[yyj1788] = CustomMetricCurrentStatus{} - } else { - yyv1791 := &yyv1788[yyj1788] - yyv1791.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1788 < len(yyv1788) { - yyv1788 = yyv1788[:yyj1788] - yyc1788 = true - } else if yyj1788 == 0 && yyv1788 == nil { - yyv1788 = []CustomMetricCurrentStatus{} - yyc1788 = true - } - } - yyh1788.End() - if yyc1788 { - *v = yyv1788 - } -} - -func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutoscaler, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1792 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1793 := &yyv1792 - yy1793.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1794 := *v - yyh1794, yyl1794 := z.DecSliceHelperStart() - var yyc1794 bool - if yyl1794 == 0 { - if yyv1794 == nil { - yyv1794 = []HorizontalPodAutoscaler{} - yyc1794 = true - } else if len(yyv1794) != 0 { - yyv1794 = yyv1794[:0] - yyc1794 = true - } - } else if yyl1794 > 0 { - var yyrr1794, yyrl1794 int - var yyrt1794 bool - if yyl1794 > cap(yyv1794) { - - yyrg1794 := len(yyv1794) > 0 - yyv21794 := yyv1794 - yyrl1794, yyrt1794 = z.DecInferLen(yyl1794, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1794 { - if yyrl1794 <= cap(yyv1794) { - yyv1794 = yyv1794[:yyrl1794] - } else { - yyv1794 = make([]HorizontalPodAutoscaler, yyrl1794) - } - } else { - yyv1794 = make([]HorizontalPodAutoscaler, yyrl1794) - } - yyc1794 = true - yyrr1794 = len(yyv1794) - if yyrg1794 { - copy(yyv1794, yyv21794) - } - } else if yyl1794 != len(yyv1794) { - yyv1794 = yyv1794[:yyl1794] - yyc1794 = true - } - yyj1794 := 0 - for ; yyj1794 < yyrr1794; yyj1794++ { - yyh1794.ElemContainerState(yyj1794) - if r.TryDecodeAsNil() { - yyv1794[yyj1794] = HorizontalPodAutoscaler{} - } else { - yyv1795 := &yyv1794[yyj1794] - yyv1795.CodecDecodeSelf(d) - } - - } - if yyrt1794 { - for ; yyj1794 < yyl1794; yyj1794++ { - yyv1794 = append(yyv1794, HorizontalPodAutoscaler{}) - yyh1794.ElemContainerState(yyj1794) - if r.TryDecodeAsNil() { - yyv1794[yyj1794] = HorizontalPodAutoscaler{} - } else { - yyv1796 := &yyv1794[yyj1794] - yyv1796.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1794 := 0 - for ; !r.CheckBreak(); yyj1794++ { - - if yyj1794 >= len(yyv1794) { - yyv1794 = append(yyv1794, HorizontalPodAutoscaler{}) // var yyz1794 HorizontalPodAutoscaler - yyc1794 = true - } - yyh1794.ElemContainerState(yyj1794) - if yyj1794 < len(yyv1794) { - if r.TryDecodeAsNil() { - yyv1794[yyj1794] = HorizontalPodAutoscaler{} - } else { - yyv1797 := &yyv1794[yyj1794] - yyv1797.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1794 < len(yyv1794) { - yyv1794 = yyv1794[:yyj1794] - yyc1794 = true - } else if yyj1794 == 0 && yyv1794 == nil { - yyv1794 = []HorizontalPodAutoscaler{} - yyc1794 = true - } - } - yyh1794.End() - if yyc1794 { - *v = yyv1794 - } -} - -func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1798 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1799 := &yyv1798 - yy1799.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1800 := *v - yyh1800, yyl1800 := z.DecSliceHelperStart() - var yyc1800 bool - if yyl1800 == 0 { - if yyv1800 == nil { - yyv1800 = []APIVersion{} - yyc1800 = true - } else if len(yyv1800) != 0 { - yyv1800 = yyv1800[:0] - yyc1800 = true - } - } else if yyl1800 > 0 { - var yyrr1800, yyrl1800 int - var yyrt1800 bool - if yyl1800 > cap(yyv1800) { - - yyrg1800 := len(yyv1800) > 0 - yyv21800 := yyv1800 - yyrl1800, yyrt1800 = z.DecInferLen(yyl1800, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1800 { - if yyrl1800 <= cap(yyv1800) { - yyv1800 = yyv1800[:yyrl1800] - } else { - yyv1800 = make([]APIVersion, yyrl1800) - } - } else { - yyv1800 = make([]APIVersion, yyrl1800) - } - yyc1800 = true - yyrr1800 = len(yyv1800) - if yyrg1800 { - copy(yyv1800, yyv21800) - } - } else if yyl1800 != len(yyv1800) { - yyv1800 = yyv1800[:yyl1800] - yyc1800 = true - } - yyj1800 := 0 - for ; yyj1800 < yyrr1800; yyj1800++ { - yyh1800.ElemContainerState(yyj1800) - if r.TryDecodeAsNil() { - yyv1800[yyj1800] = APIVersion{} - } else { - yyv1801 := &yyv1800[yyj1800] - yyv1801.CodecDecodeSelf(d) - } - - } - if yyrt1800 { - for ; yyj1800 < yyl1800; yyj1800++ { - yyv1800 = append(yyv1800, APIVersion{}) - yyh1800.ElemContainerState(yyj1800) - if r.TryDecodeAsNil() { - yyv1800[yyj1800] = APIVersion{} - } else { - yyv1802 := &yyv1800[yyj1800] - yyv1802.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1800 := 0 - for ; !r.CheckBreak(); yyj1800++ { - - if yyj1800 >= len(yyv1800) { - yyv1800 = append(yyv1800, APIVersion{}) // var yyz1800 APIVersion - yyc1800 = true - } - yyh1800.ElemContainerState(yyj1800) - if yyj1800 < len(yyv1800) { - if r.TryDecodeAsNil() { - yyv1800[yyj1800] = APIVersion{} - } else { - yyv1803 := &yyv1800[yyj1800] - yyv1803.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1800 < len(yyv1800) { - yyv1800 = yyv1800[:yyj1800] - yyc1800 = true - } else if yyj1800 == 0 && yyv1800 == nil { - yyv1800 = []APIVersion{} - yyc1800 = true - } - } - yyh1800.End() - if yyc1800 { - *v = yyv1800 - } -} - -func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1804 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1805 := &yyv1804 - yy1805.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1806 := *v - yyh1806, yyl1806 := z.DecSliceHelperStart() - var yyc1806 bool - if yyl1806 == 0 { - if yyv1806 == nil { - yyv1806 = []ThirdPartyResource{} - yyc1806 = true - } else if len(yyv1806) != 0 { - yyv1806 = yyv1806[:0] - yyc1806 = true - } - } else if yyl1806 > 0 { - var yyrr1806, yyrl1806 int - var yyrt1806 bool - if yyl1806 > cap(yyv1806) { - - yyrg1806 := len(yyv1806) > 0 - yyv21806 := yyv1806 - yyrl1806, yyrt1806 = z.DecInferLen(yyl1806, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1806 { - if yyrl1806 <= cap(yyv1806) { - yyv1806 = yyv1806[:yyrl1806] - } else { - yyv1806 = make([]ThirdPartyResource, yyrl1806) - } - } else { - yyv1806 = make([]ThirdPartyResource, yyrl1806) - } - yyc1806 = true - yyrr1806 = len(yyv1806) - if yyrg1806 { - copy(yyv1806, yyv21806) - } - } else if yyl1806 != len(yyv1806) { - yyv1806 = yyv1806[:yyl1806] - yyc1806 = true - } - yyj1806 := 0 - for ; yyj1806 < yyrr1806; yyj1806++ { - yyh1806.ElemContainerState(yyj1806) - if r.TryDecodeAsNil() { - yyv1806[yyj1806] = ThirdPartyResource{} - } else { - yyv1807 := &yyv1806[yyj1806] - yyv1807.CodecDecodeSelf(d) - } - - } - if yyrt1806 { - for ; yyj1806 < yyl1806; yyj1806++ { - yyv1806 = append(yyv1806, ThirdPartyResource{}) - yyh1806.ElemContainerState(yyj1806) - if r.TryDecodeAsNil() { - yyv1806[yyj1806] = ThirdPartyResource{} - } else { - yyv1808 := &yyv1806[yyj1806] - yyv1808.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1806 := 0 - for ; !r.CheckBreak(); yyj1806++ { - - if yyj1806 >= len(yyv1806) { - yyv1806 = append(yyv1806, ThirdPartyResource{}) // var yyz1806 ThirdPartyResource - yyc1806 = true - } - yyh1806.ElemContainerState(yyj1806) - if yyj1806 < len(yyv1806) { - if r.TryDecodeAsNil() { - yyv1806[yyj1806] = ThirdPartyResource{} - } else { - yyv1809 := &yyv1806[yyj1806] - yyv1809.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1806 < len(yyv1806) { - yyv1806 = yyv1806[:yyj1806] - yyc1806 = true - } else if yyj1806 == 0 && yyv1806 == nil { - yyv1806 = []ThirdPartyResource{} - yyc1806 = true - } - } - yyh1806.End() - if yyc1806 { - *v = yyv1806 - } -} - -func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1810 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1811 := &yyv1810 - yy1811.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1812 := *v - yyh1812, yyl1812 := z.DecSliceHelperStart() - var yyc1812 bool - if yyl1812 == 0 { - if yyv1812 == nil { - yyv1812 = []Deployment{} - yyc1812 = true - } else if len(yyv1812) != 0 { - yyv1812 = yyv1812[:0] - yyc1812 = true - } - } else if yyl1812 > 0 { - var yyrr1812, yyrl1812 int - var yyrt1812 bool - if yyl1812 > cap(yyv1812) { - - yyrg1812 := len(yyv1812) > 0 - yyv21812 := yyv1812 - yyrl1812, yyrt1812 = z.DecInferLen(yyl1812, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1812 { - if yyrl1812 <= cap(yyv1812) { - yyv1812 = yyv1812[:yyrl1812] - } else { - yyv1812 = make([]Deployment, yyrl1812) - } - } else { - yyv1812 = make([]Deployment, yyrl1812) - } - yyc1812 = true - yyrr1812 = len(yyv1812) - if yyrg1812 { - copy(yyv1812, yyv21812) - } - } else if yyl1812 != len(yyv1812) { - yyv1812 = yyv1812[:yyl1812] - yyc1812 = true - } - yyj1812 := 0 - for ; yyj1812 < yyrr1812; yyj1812++ { - yyh1812.ElemContainerState(yyj1812) - if r.TryDecodeAsNil() { - yyv1812[yyj1812] = Deployment{} - } else { - yyv1813 := &yyv1812[yyj1812] - yyv1813.CodecDecodeSelf(d) - } - - } - if yyrt1812 { - for ; yyj1812 < yyl1812; yyj1812++ { - yyv1812 = append(yyv1812, Deployment{}) - yyh1812.ElemContainerState(yyj1812) - if r.TryDecodeAsNil() { - yyv1812[yyj1812] = Deployment{} - } else { - yyv1814 := &yyv1812[yyj1812] - yyv1814.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1812 := 0 - for ; !r.CheckBreak(); yyj1812++ { - - if yyj1812 >= len(yyv1812) { - yyv1812 = append(yyv1812, Deployment{}) // var yyz1812 Deployment - yyc1812 = true - } - yyh1812.ElemContainerState(yyj1812) - if yyj1812 < len(yyv1812) { - if r.TryDecodeAsNil() { - yyv1812[yyj1812] = Deployment{} - } else { - yyv1815 := &yyv1812[yyj1812] - yyv1815.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1812 < len(yyv1812) { - yyv1812 = yyv1812[:yyj1812] - yyc1812 = true - } else if yyj1812 == 0 && yyv1812 == nil { - yyv1812 = []Deployment{} - yyc1812 = true - } - } - yyh1812.End() - if yyc1812 { - *v = yyv1812 - } -} - -func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -21956,7 +21429,7 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -21966,7 +21439,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) var yyc1818 bool if yyl1818 == 0 { if yyv1818 == nil { - yyv1818 = []DaemonSet{} + yyv1818 = []CustomMetricTarget{} yyc1818 = true } else if len(yyv1818) != 0 { yyv1818 = yyv1818[:0] @@ -21979,15 +21452,15 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyrg1818 := len(yyv1818) > 0 yyv21818 := yyv1818 - yyrl1818, yyrt1818 = z.DecInferLen(yyl1818, z.DecBasicHandle().MaxInitLen, 752) + yyrl1818, yyrt1818 = z.DecInferLen(yyl1818, z.DecBasicHandle().MaxInitLen, 72) if yyrt1818 { if yyrl1818 <= cap(yyv1818) { yyv1818 = yyv1818[:yyrl1818] } else { - yyv1818 = make([]DaemonSet, yyrl1818) + yyv1818 = make([]CustomMetricTarget, yyrl1818) } } else { - yyv1818 = make([]DaemonSet, yyrl1818) + yyv1818 = make([]CustomMetricTarget, yyrl1818) } yyc1818 = true yyrr1818 = len(yyv1818) @@ -22002,7 +21475,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; yyj1818 < yyrr1818; yyj1818++ { yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1818[yyj1818] = DaemonSet{} + yyv1818[yyj1818] = CustomMetricTarget{} } else { yyv1819 := &yyv1818[yyj1818] yyv1819.CodecDecodeSelf(d) @@ -22011,10 +21484,10 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } if yyrt1818 { for ; yyj1818 < yyl1818; yyj1818++ { - yyv1818 = append(yyv1818, DaemonSet{}) + yyv1818 = append(yyv1818, CustomMetricTarget{}) yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1818[yyj1818] = DaemonSet{} + yyv1818[yyj1818] = CustomMetricTarget{} } else { yyv1820 := &yyv1818[yyj1818] yyv1820.CodecDecodeSelf(d) @@ -22028,13 +21501,13 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj1818++ { if yyj1818 >= len(yyv1818) { - yyv1818 = append(yyv1818, DaemonSet{}) // var yyz1818 DaemonSet + yyv1818 = append(yyv1818, CustomMetricTarget{}) // var yyz1818 CustomMetricTarget yyc1818 = true } yyh1818.ElemContainerState(yyj1818) if yyj1818 < len(yyv1818) { if r.TryDecodeAsNil() { - yyv1818[yyj1818] = DaemonSet{} + yyv1818[yyj1818] = CustomMetricTarget{} } else { yyv1821 := &yyv1818[yyj1818] yyv1821.CodecDecodeSelf(d) @@ -22049,7 +21522,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyv1818 = yyv1818[:yyj1818] yyc1818 = true } else if yyj1818 == 0 && yyv1818 == nil { - yyv1818 = []DaemonSet{} + yyv1818 = []CustomMetricTarget{} yyc1818 = true } } @@ -22059,7 +21532,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } -func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurrentStatus, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22072,7 +21545,7 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurrentStatus, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22082,7 +21555,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD var yyc1824 bool if yyl1824 == 0 { if yyv1824 == nil { - yyv1824 = []ThirdPartyResourceData{} + yyv1824 = []CustomMetricCurrentStatus{} yyc1824 = true } else if len(yyv1824) != 0 { yyv1824 = yyv1824[:0] @@ -22095,15 +21568,15 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD yyrg1824 := len(yyv1824) > 0 yyv21824 := yyv1824 - yyrl1824, yyrt1824 = z.DecInferLen(yyl1824, z.DecBasicHandle().MaxInitLen, 280) + yyrl1824, yyrt1824 = z.DecInferLen(yyl1824, z.DecBasicHandle().MaxInitLen, 72) if yyrt1824 { if yyrl1824 <= cap(yyv1824) { yyv1824 = yyv1824[:yyrl1824] } else { - yyv1824 = make([]ThirdPartyResourceData, yyrl1824) + yyv1824 = make([]CustomMetricCurrentStatus, yyrl1824) } } else { - yyv1824 = make([]ThirdPartyResourceData, yyrl1824) + yyv1824 = make([]CustomMetricCurrentStatus, yyrl1824) } yyc1824 = true yyrr1824 = len(yyv1824) @@ -22118,7 +21591,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD for ; yyj1824 < yyrr1824; yyj1824++ { yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1824[yyj1824] = ThirdPartyResourceData{} + yyv1824[yyj1824] = CustomMetricCurrentStatus{} } else { yyv1825 := &yyv1824[yyj1824] yyv1825.CodecDecodeSelf(d) @@ -22127,10 +21600,10 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } if yyrt1824 { for ; yyj1824 < yyl1824; yyj1824++ { - yyv1824 = append(yyv1824, ThirdPartyResourceData{}) + yyv1824 = append(yyv1824, CustomMetricCurrentStatus{}) yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1824[yyj1824] = ThirdPartyResourceData{} + yyv1824[yyj1824] = CustomMetricCurrentStatus{} } else { yyv1826 := &yyv1824[yyj1824] yyv1826.CodecDecodeSelf(d) @@ -22144,13 +21617,13 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD for ; !r.CheckBreak(); yyj1824++ { if yyj1824 >= len(yyv1824) { - yyv1824 = append(yyv1824, ThirdPartyResourceData{}) // var yyz1824 ThirdPartyResourceData + yyv1824 = append(yyv1824, CustomMetricCurrentStatus{}) // var yyz1824 CustomMetricCurrentStatus yyc1824 = true } yyh1824.ElemContainerState(yyj1824) if yyj1824 < len(yyv1824) { if r.TryDecodeAsNil() { - yyv1824[yyj1824] = ThirdPartyResourceData{} + yyv1824[yyj1824] = CustomMetricCurrentStatus{} } else { yyv1827 := &yyv1824[yyj1824] yyv1827.CodecDecodeSelf(d) @@ -22165,7 +21638,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD yyv1824 = yyv1824[:yyj1824] yyc1824 = true } else if yyj1824 == 0 && yyv1824 == nil { - yyv1824 = []ThirdPartyResourceData{} + yyv1824 = []CustomMetricCurrentStatus{} yyc1824 = true } } @@ -22175,7 +21648,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } -func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutoscaler, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22188,7 +21661,7 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22198,7 +21671,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { var yyc1830 bool if yyl1830 == 0 { if yyv1830 == nil { - yyv1830 = []Job{} + yyv1830 = []HorizontalPodAutoscaler{} yyc1830 = true } else if len(yyv1830) != 0 { yyv1830 = yyv1830[:0] @@ -22211,15 +21684,15 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { yyrg1830 := len(yyv1830) > 0 yyv21830 := yyv1830 - yyrl1830, yyrt1830 = z.DecInferLen(yyl1830, z.DecBasicHandle().MaxInitLen, 824) + yyrl1830, yyrt1830 = z.DecInferLen(yyl1830, z.DecBasicHandle().MaxInitLen, 376) if yyrt1830 { if yyrl1830 <= cap(yyv1830) { yyv1830 = yyv1830[:yyrl1830] } else { - yyv1830 = make([]Job, yyrl1830) + yyv1830 = make([]HorizontalPodAutoscaler, yyrl1830) } } else { - yyv1830 = make([]Job, yyrl1830) + yyv1830 = make([]HorizontalPodAutoscaler, yyrl1830) } yyc1830 = true yyrr1830 = len(yyv1830) @@ -22234,7 +21707,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { for ; yyj1830 < yyrr1830; yyj1830++ { yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1830[yyj1830] = Job{} + yyv1830[yyj1830] = HorizontalPodAutoscaler{} } else { yyv1831 := &yyv1830[yyj1830] yyv1831.CodecDecodeSelf(d) @@ -22243,10 +21716,10 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } if yyrt1830 { for ; yyj1830 < yyl1830; yyj1830++ { - yyv1830 = append(yyv1830, Job{}) + yyv1830 = append(yyv1830, HorizontalPodAutoscaler{}) yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1830[yyj1830] = Job{} + yyv1830[yyj1830] = HorizontalPodAutoscaler{} } else { yyv1832 := &yyv1830[yyj1830] yyv1832.CodecDecodeSelf(d) @@ -22260,13 +21733,13 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj1830++ { if yyj1830 >= len(yyv1830) { - yyv1830 = append(yyv1830, Job{}) // var yyz1830 Job + yyv1830 = append(yyv1830, HorizontalPodAutoscaler{}) // var yyz1830 HorizontalPodAutoscaler yyc1830 = true } yyh1830.ElemContainerState(yyj1830) if yyj1830 < len(yyv1830) { if r.TryDecodeAsNil() { - yyv1830[yyj1830] = Job{} + yyv1830[yyj1830] = HorizontalPodAutoscaler{} } else { yyv1833 := &yyv1830[yyj1830] yyv1833.CodecDecodeSelf(d) @@ -22281,7 +21754,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { yyv1830 = yyv1830[:yyj1830] yyc1830 = true } else if yyj1830 == 0 && yyv1830 == nil { - yyv1830 = []Job{} + yyv1830 = []HorizontalPodAutoscaler{} yyc1830 = true } } @@ -22291,7 +21764,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22304,7 +21777,7 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22314,7 +21787,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De var yyc1836 bool if yyl1836 == 0 { if yyv1836 == nil { - yyv1836 = []JobCondition{} + yyv1836 = []APIVersion{} yyc1836 = true } else if len(yyv1836) != 0 { yyv1836 = yyv1836[:0] @@ -22327,15 +21800,15 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De yyrg1836 := len(yyv1836) > 0 yyv21836 := yyv1836 - yyrl1836, yyrt1836 = z.DecInferLen(yyl1836, z.DecBasicHandle().MaxInitLen, 112) + yyrl1836, yyrt1836 = z.DecInferLen(yyl1836, z.DecBasicHandle().MaxInitLen, 16) if yyrt1836 { if yyrl1836 <= cap(yyv1836) { yyv1836 = yyv1836[:yyrl1836] } else { - yyv1836 = make([]JobCondition, yyrl1836) + yyv1836 = make([]APIVersion, yyrl1836) } } else { - yyv1836 = make([]JobCondition, yyrl1836) + yyv1836 = make([]APIVersion, yyrl1836) } yyc1836 = true yyrr1836 = len(yyv1836) @@ -22350,7 +21823,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De for ; yyj1836 < yyrr1836; yyj1836++ { yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1836[yyj1836] = JobCondition{} + yyv1836[yyj1836] = APIVersion{} } else { yyv1837 := &yyv1836[yyj1836] yyv1837.CodecDecodeSelf(d) @@ -22359,10 +21832,10 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } if yyrt1836 { for ; yyj1836 < yyl1836; yyj1836++ { - yyv1836 = append(yyv1836, JobCondition{}) + yyv1836 = append(yyv1836, APIVersion{}) yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1836[yyj1836] = JobCondition{} + yyv1836[yyj1836] = APIVersion{} } else { yyv1838 := &yyv1836[yyj1836] yyv1838.CodecDecodeSelf(d) @@ -22376,13 +21849,13 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De for ; !r.CheckBreak(); yyj1836++ { if yyj1836 >= len(yyv1836) { - yyv1836 = append(yyv1836, JobCondition{}) // var yyz1836 JobCondition + yyv1836 = append(yyv1836, APIVersion{}) // var yyz1836 APIVersion yyc1836 = true } yyh1836.ElemContainerState(yyj1836) if yyj1836 < len(yyv1836) { if r.TryDecodeAsNil() { - yyv1836[yyj1836] = JobCondition{} + yyv1836[yyj1836] = APIVersion{} } else { yyv1839 := &yyv1836[yyj1836] yyv1839.CodecDecodeSelf(d) @@ -22397,7 +21870,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De yyv1836 = yyv1836[:yyj1836] yyc1836 = true } else if yyj1836 == 0 && yyv1836 == nil { - yyv1836 = []JobCondition{} + yyv1836 = []APIVersion{} yyc1836 = true } } @@ -22407,7 +21880,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } -func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22420,7 +21893,7 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22430,7 +21903,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { var yyc1842 bool if yyl1842 == 0 { if yyv1842 == nil { - yyv1842 = []Ingress{} + yyv1842 = []ThirdPartyResource{} yyc1842 = true } else if len(yyv1842) != 0 { yyv1842 = yyv1842[:0] @@ -22443,15 +21916,15 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyrg1842 := len(yyv1842) > 0 yyv21842 := yyv1842 - yyrl1842, yyrt1842 = z.DecInferLen(yyl1842, z.DecBasicHandle().MaxInitLen, 336) + yyrl1842, yyrt1842 = z.DecInferLen(yyl1842, z.DecBasicHandle().MaxInitLen, 296) if yyrt1842 { if yyrl1842 <= cap(yyv1842) { yyv1842 = yyv1842[:yyrl1842] } else { - yyv1842 = make([]Ingress, yyrl1842) + yyv1842 = make([]ThirdPartyResource, yyrl1842) } } else { - yyv1842 = make([]Ingress, yyrl1842) + yyv1842 = make([]ThirdPartyResource, yyrl1842) } yyc1842 = true yyrr1842 = len(yyv1842) @@ -22466,7 +21939,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; yyj1842 < yyrr1842; yyj1842++ { yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1842[yyj1842] = Ingress{} + yyv1842[yyj1842] = ThirdPartyResource{} } else { yyv1843 := &yyv1842[yyj1842] yyv1843.CodecDecodeSelf(d) @@ -22475,10 +21948,10 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } if yyrt1842 { for ; yyj1842 < yyl1842; yyj1842++ { - yyv1842 = append(yyv1842, Ingress{}) + yyv1842 = append(yyv1842, ThirdPartyResource{}) yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1842[yyj1842] = Ingress{} + yyv1842[yyj1842] = ThirdPartyResource{} } else { yyv1844 := &yyv1842[yyj1842] yyv1844.CodecDecodeSelf(d) @@ -22492,13 +21965,13 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj1842++ { if yyj1842 >= len(yyv1842) { - yyv1842 = append(yyv1842, Ingress{}) // var yyz1842 Ingress + yyv1842 = append(yyv1842, ThirdPartyResource{}) // var yyz1842 ThirdPartyResource yyc1842 = true } yyh1842.ElemContainerState(yyj1842) if yyj1842 < len(yyv1842) { if r.TryDecodeAsNil() { - yyv1842[yyj1842] = Ingress{} + yyv1842[yyj1842] = ThirdPartyResource{} } else { yyv1845 := &yyv1842[yyj1842] yyv1845.CodecDecodeSelf(d) @@ -22513,7 +21986,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyv1842 = yyv1842[:yyj1842] yyc1842 = true } else if yyj1842 == 0 && yyv1842 == nil { - yyv1842 = []Ingress{} + yyv1842 = []ThirdPartyResource{} yyc1842 = true } } @@ -22523,7 +21996,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceDeploymentCondition(v []DeploymentCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22536,7 +22009,7 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceDeploymentCondition(v *[]DeploymentCondition, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22546,7 +22019,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode var yyc1848 bool if yyl1848 == 0 { if yyv1848 == nil { - yyv1848 = []IngressTLS{} + yyv1848 = []DeploymentCondition{} yyc1848 = true } else if len(yyv1848) != 0 { yyv1848 = yyv1848[:0] @@ -22559,15 +22032,15 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyrg1848 := len(yyv1848) > 0 yyv21848 := yyv1848 - yyrl1848, yyrt1848 = z.DecInferLen(yyl1848, z.DecBasicHandle().MaxInitLen, 40) + yyrl1848, yyrt1848 = z.DecInferLen(yyl1848, z.DecBasicHandle().MaxInitLen, 112) if yyrt1848 { if yyrl1848 <= cap(yyv1848) { yyv1848 = yyv1848[:yyrl1848] } else { - yyv1848 = make([]IngressTLS, yyrl1848) + yyv1848 = make([]DeploymentCondition, yyrl1848) } } else { - yyv1848 = make([]IngressTLS, yyrl1848) + yyv1848 = make([]DeploymentCondition, yyrl1848) } yyc1848 = true yyrr1848 = len(yyv1848) @@ -22582,7 +22055,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; yyj1848 < yyrr1848; yyj1848++ { yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1848[yyj1848] = IngressTLS{} + yyv1848[yyj1848] = DeploymentCondition{} } else { yyv1849 := &yyv1848[yyj1848] yyv1849.CodecDecodeSelf(d) @@ -22591,10 +22064,10 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } if yyrt1848 { for ; yyj1848 < yyl1848; yyj1848++ { - yyv1848 = append(yyv1848, IngressTLS{}) + yyv1848 = append(yyv1848, DeploymentCondition{}) yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1848[yyj1848] = IngressTLS{} + yyv1848[yyj1848] = DeploymentCondition{} } else { yyv1850 := &yyv1848[yyj1848] yyv1850.CodecDecodeSelf(d) @@ -22608,13 +22081,13 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; !r.CheckBreak(); yyj1848++ { if yyj1848 >= len(yyv1848) { - yyv1848 = append(yyv1848, IngressTLS{}) // var yyz1848 IngressTLS + yyv1848 = append(yyv1848, DeploymentCondition{}) // var yyz1848 DeploymentCondition yyc1848 = true } yyh1848.ElemContainerState(yyj1848) if yyj1848 < len(yyv1848) { if r.TryDecodeAsNil() { - yyv1848[yyj1848] = IngressTLS{} + yyv1848[yyj1848] = DeploymentCondition{} } else { yyv1851 := &yyv1848[yyj1848] yyv1851.CodecDecodeSelf(d) @@ -22629,7 +22102,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyv1848 = yyv1848[:yyj1848] yyc1848 = true } else if yyj1848 == 0 && yyv1848 == nil { - yyv1848 = []IngressTLS{} + yyv1848 = []DeploymentCondition{} yyc1848 = true } } @@ -22639,7 +22112,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22652,7 +22125,7 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22662,7 +22135,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco var yyc1854 bool if yyl1854 == 0 { if yyv1854 == nil { - yyv1854 = []IngressRule{} + yyv1854 = []Deployment{} yyc1854 = true } else if len(yyv1854) != 0 { yyv1854 = yyv1854[:0] @@ -22675,15 +22148,15 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyrg1854 := len(yyv1854) > 0 yyv21854 := yyv1854 - yyrl1854, yyrt1854 = z.DecInferLen(yyl1854, z.DecBasicHandle().MaxInitLen, 24) + yyrl1854, yyrt1854 = z.DecInferLen(yyl1854, z.DecBasicHandle().MaxInitLen, 856) if yyrt1854 { if yyrl1854 <= cap(yyv1854) { yyv1854 = yyv1854[:yyrl1854] } else { - yyv1854 = make([]IngressRule, yyrl1854) + yyv1854 = make([]Deployment, yyrl1854) } } else { - yyv1854 = make([]IngressRule, yyrl1854) + yyv1854 = make([]Deployment, yyrl1854) } yyc1854 = true yyrr1854 = len(yyv1854) @@ -22698,7 +22171,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; yyj1854 < yyrr1854; yyj1854++ { yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1854[yyj1854] = IngressRule{} + yyv1854[yyj1854] = Deployment{} } else { yyv1855 := &yyv1854[yyj1854] yyv1855.CodecDecodeSelf(d) @@ -22707,10 +22180,10 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } if yyrt1854 { for ; yyj1854 < yyl1854; yyj1854++ { - yyv1854 = append(yyv1854, IngressRule{}) + yyv1854 = append(yyv1854, Deployment{}) yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1854[yyj1854] = IngressRule{} + yyv1854[yyj1854] = Deployment{} } else { yyv1856 := &yyv1854[yyj1854] yyv1856.CodecDecodeSelf(d) @@ -22724,13 +22197,13 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; !r.CheckBreak(); yyj1854++ { if yyj1854 >= len(yyv1854) { - yyv1854 = append(yyv1854, IngressRule{}) // var yyz1854 IngressRule + yyv1854 = append(yyv1854, Deployment{}) // var yyz1854 Deployment yyc1854 = true } yyh1854.ElemContainerState(yyj1854) if yyj1854 < len(yyv1854) { if r.TryDecodeAsNil() { - yyv1854[yyj1854] = IngressRule{} + yyv1854[yyj1854] = Deployment{} } else { yyv1857 := &yyv1854[yyj1854] yyv1857.CodecDecodeSelf(d) @@ -22745,7 +22218,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyv1854 = yyv1854[:yyj1854] yyc1854 = true } else if yyj1854 == 0 && yyv1854 == nil { - yyv1854 = []IngressRule{} + yyv1854 = []Deployment{} yyc1854 = true } } @@ -22755,7 +22228,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22768,7 +22241,7 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22778,7 +22251,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 var yyc1860 bool if yyl1860 == 0 { if yyv1860 == nil { - yyv1860 = []HTTPIngressPath{} + yyv1860 = []DaemonSet{} yyc1860 = true } else if len(yyv1860) != 0 { yyv1860 = yyv1860[:0] @@ -22791,15 +22264,15 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyrg1860 := len(yyv1860) > 0 yyv21860 := yyv1860 - yyrl1860, yyrt1860 = z.DecInferLen(yyl1860, z.DecBasicHandle().MaxInitLen, 64) + yyrl1860, yyrt1860 = z.DecInferLen(yyl1860, z.DecBasicHandle().MaxInitLen, 752) if yyrt1860 { if yyrl1860 <= cap(yyv1860) { yyv1860 = yyv1860[:yyrl1860] } else { - yyv1860 = make([]HTTPIngressPath, yyrl1860) + yyv1860 = make([]DaemonSet, yyrl1860) } } else { - yyv1860 = make([]HTTPIngressPath, yyrl1860) + yyv1860 = make([]DaemonSet, yyrl1860) } yyc1860 = true yyrr1860 = len(yyv1860) @@ -22814,7 +22287,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; yyj1860 < yyrr1860; yyj1860++ { yyh1860.ElemContainerState(yyj1860) if r.TryDecodeAsNil() { - yyv1860[yyj1860] = HTTPIngressPath{} + yyv1860[yyj1860] = DaemonSet{} } else { yyv1861 := &yyv1860[yyj1860] yyv1861.CodecDecodeSelf(d) @@ -22823,10 +22296,10 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } if yyrt1860 { for ; yyj1860 < yyl1860; yyj1860++ { - yyv1860 = append(yyv1860, HTTPIngressPath{}) + yyv1860 = append(yyv1860, DaemonSet{}) yyh1860.ElemContainerState(yyj1860) if r.TryDecodeAsNil() { - yyv1860[yyj1860] = HTTPIngressPath{} + yyv1860[yyj1860] = DaemonSet{} } else { yyv1862 := &yyv1860[yyj1860] yyv1862.CodecDecodeSelf(d) @@ -22840,13 +22313,13 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; !r.CheckBreak(); yyj1860++ { if yyj1860 >= len(yyv1860) { - yyv1860 = append(yyv1860, HTTPIngressPath{}) // var yyz1860 HTTPIngressPath + yyv1860 = append(yyv1860, DaemonSet{}) // var yyz1860 DaemonSet yyc1860 = true } yyh1860.ElemContainerState(yyj1860) if yyj1860 < len(yyv1860) { if r.TryDecodeAsNil() { - yyv1860[yyj1860] = HTTPIngressPath{} + yyv1860[yyj1860] = DaemonSet{} } else { yyv1863 := &yyv1860[yyj1860] yyv1863.CodecDecodeSelf(d) @@ -22861,7 +22334,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyv1860 = yyv1860[:yyj1860] yyc1860 = true } else if yyj1860 == 0 && yyv1860 == nil { - yyv1860 = []HTTPIngressPath{} + yyv1860 = []DaemonSet{} yyc1860 = true } } @@ -22871,7 +22344,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } -func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequirement, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22884,7 +22357,7 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequirement, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22894,7 +22367,7 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ var yyc1866 bool if yyl1866 == 0 { if yyv1866 == nil { - yyv1866 = []LabelSelectorRequirement{} + yyv1866 = []ThirdPartyResourceData{} yyc1866 = true } else if len(yyv1866) != 0 { yyv1866 = yyv1866[:0] @@ -22907,15 +22380,15 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ yyrg1866 := len(yyv1866) > 0 yyv21866 := yyv1866 - yyrl1866, yyrt1866 = z.DecInferLen(yyl1866, z.DecBasicHandle().MaxInitLen, 56) + yyrl1866, yyrt1866 = z.DecInferLen(yyl1866, z.DecBasicHandle().MaxInitLen, 280) if yyrt1866 { if yyrl1866 <= cap(yyv1866) { yyv1866 = yyv1866[:yyrl1866] } else { - yyv1866 = make([]LabelSelectorRequirement, yyrl1866) + yyv1866 = make([]ThirdPartyResourceData, yyrl1866) } } else { - yyv1866 = make([]LabelSelectorRequirement, yyrl1866) + yyv1866 = make([]ThirdPartyResourceData, yyrl1866) } yyc1866 = true yyrr1866 = len(yyv1866) @@ -22930,7 +22403,7 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ for ; yyj1866 < yyrr1866; yyj1866++ { yyh1866.ElemContainerState(yyj1866) if r.TryDecodeAsNil() { - yyv1866[yyj1866] = LabelSelectorRequirement{} + yyv1866[yyj1866] = ThirdPartyResourceData{} } else { yyv1867 := &yyv1866[yyj1866] yyv1867.CodecDecodeSelf(d) @@ -22939,10 +22412,10 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } if yyrt1866 { for ; yyj1866 < yyl1866; yyj1866++ { - yyv1866 = append(yyv1866, LabelSelectorRequirement{}) + yyv1866 = append(yyv1866, ThirdPartyResourceData{}) yyh1866.ElemContainerState(yyj1866) if r.TryDecodeAsNil() { - yyv1866[yyj1866] = LabelSelectorRequirement{} + yyv1866[yyj1866] = ThirdPartyResourceData{} } else { yyv1868 := &yyv1866[yyj1866] yyv1868.CodecDecodeSelf(d) @@ -22956,13 +22429,13 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ for ; !r.CheckBreak(); yyj1866++ { if yyj1866 >= len(yyv1866) { - yyv1866 = append(yyv1866, LabelSelectorRequirement{}) // var yyz1866 LabelSelectorRequirement + yyv1866 = append(yyv1866, ThirdPartyResourceData{}) // var yyz1866 ThirdPartyResourceData yyc1866 = true } yyh1866.ElemContainerState(yyj1866) if yyj1866 < len(yyv1866) { if r.TryDecodeAsNil() { - yyv1866[yyj1866] = LabelSelectorRequirement{} + yyv1866[yyj1866] = ThirdPartyResourceData{} } else { yyv1869 := &yyv1866[yyj1866] yyv1869.CodecDecodeSelf(d) @@ -22977,7 +22450,7 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ yyv1866 = yyv1866[:yyj1866] yyc1866 = true } else if yyj1866 == 0 && yyv1866 == nil { - yyv1866 = []LabelSelectorRequirement{} + yyv1866 = []ThirdPartyResourceData{} yyc1866 = true } } @@ -22987,7 +22460,7 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } -func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -23000,7 +22473,7 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -23010,7 +22483,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode var yyc1872 bool if yyl1872 == 0 { if yyv1872 == nil { - yyv1872 = []ReplicaSet{} + yyv1872 = []Job{} yyc1872 = true } else if len(yyv1872) != 0 { yyv1872 = yyv1872[:0] @@ -23023,15 +22496,15 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyrg1872 := len(yyv1872) > 0 yyv21872 := yyv1872 - yyrl1872, yyrt1872 = z.DecInferLen(yyl1872, z.DecBasicHandle().MaxInitLen, 800) + yyrl1872, yyrt1872 = z.DecInferLen(yyl1872, z.DecBasicHandle().MaxInitLen, 824) if yyrt1872 { if yyrl1872 <= cap(yyv1872) { yyv1872 = yyv1872[:yyrl1872] } else { - yyv1872 = make([]ReplicaSet, yyrl1872) + yyv1872 = make([]Job, yyrl1872) } } else { - yyv1872 = make([]ReplicaSet, yyrl1872) + yyv1872 = make([]Job, yyrl1872) } yyc1872 = true yyrr1872 = len(yyv1872) @@ -23046,7 +22519,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; yyj1872 < yyrr1872; yyj1872++ { yyh1872.ElemContainerState(yyj1872) if r.TryDecodeAsNil() { - yyv1872[yyj1872] = ReplicaSet{} + yyv1872[yyj1872] = Job{} } else { yyv1873 := &yyv1872[yyj1872] yyv1873.CodecDecodeSelf(d) @@ -23055,10 +22528,10 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } if yyrt1872 { for ; yyj1872 < yyl1872; yyj1872++ { - yyv1872 = append(yyv1872, ReplicaSet{}) + yyv1872 = append(yyv1872, Job{}) yyh1872.ElemContainerState(yyj1872) if r.TryDecodeAsNil() { - yyv1872[yyj1872] = ReplicaSet{} + yyv1872[yyj1872] = Job{} } else { yyv1874 := &yyv1872[yyj1872] yyv1874.CodecDecodeSelf(d) @@ -23072,13 +22545,13 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; !r.CheckBreak(); yyj1872++ { if yyj1872 >= len(yyv1872) { - yyv1872 = append(yyv1872, ReplicaSet{}) // var yyz1872 ReplicaSet + yyv1872 = append(yyv1872, Job{}) // var yyz1872 Job yyc1872 = true } yyh1872.ElemContainerState(yyj1872) if yyj1872 < len(yyv1872) { if r.TryDecodeAsNil() { - yyv1872[yyj1872] = ReplicaSet{} + yyv1872[yyj1872] = Job{} } else { yyv1875 := &yyv1872[yyj1872] yyv1875.CodecDecodeSelf(d) @@ -23093,7 +22566,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyv1872 = yyv1872[:yyj1872] yyc1872 = true } else if yyj1872 == 0 && yyv1872 == nil { - yyv1872 = []ReplicaSet{} + yyv1872 = []Job{} yyc1872 = true } } @@ -23103,7 +22576,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -23116,7 +22589,7 @@ func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -23126,7 +22599,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d var yyc1878 bool if yyl1878 == 0 { if yyv1878 == nil { - yyv1878 = []ReplicaSetCondition{} + yyv1878 = []JobCondition{} yyc1878 = true } else if len(yyv1878) != 0 { yyv1878 = yyv1878[:0] @@ -23144,10 +22617,10 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d if yyrl1878 <= cap(yyv1878) { yyv1878 = yyv1878[:yyrl1878] } else { - yyv1878 = make([]ReplicaSetCondition, yyrl1878) + yyv1878 = make([]JobCondition, yyrl1878) } } else { - yyv1878 = make([]ReplicaSetCondition, yyrl1878) + yyv1878 = make([]JobCondition, yyrl1878) } yyc1878 = true yyrr1878 = len(yyv1878) @@ -23162,7 +22635,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d for ; yyj1878 < yyrr1878; yyj1878++ { yyh1878.ElemContainerState(yyj1878) if r.TryDecodeAsNil() { - yyv1878[yyj1878] = ReplicaSetCondition{} + yyv1878[yyj1878] = JobCondition{} } else { yyv1879 := &yyv1878[yyj1878] yyv1879.CodecDecodeSelf(d) @@ -23171,10 +22644,10 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } if yyrt1878 { for ; yyj1878 < yyl1878; yyj1878++ { - yyv1878 = append(yyv1878, ReplicaSetCondition{}) + yyv1878 = append(yyv1878, JobCondition{}) yyh1878.ElemContainerState(yyj1878) if r.TryDecodeAsNil() { - yyv1878[yyj1878] = ReplicaSetCondition{} + yyv1878[yyj1878] = JobCondition{} } else { yyv1880 := &yyv1878[yyj1878] yyv1880.CodecDecodeSelf(d) @@ -23188,13 +22661,13 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d for ; !r.CheckBreak(); yyj1878++ { if yyj1878 >= len(yyv1878) { - yyv1878 = append(yyv1878, ReplicaSetCondition{}) // var yyz1878 ReplicaSetCondition + yyv1878 = append(yyv1878, JobCondition{}) // var yyz1878 JobCondition yyc1878 = true } yyh1878.ElemContainerState(yyj1878) if yyj1878 < len(yyv1878) { if r.TryDecodeAsNil() { - yyv1878[yyj1878] = ReplicaSetCondition{} + yyv1878[yyj1878] = JobCondition{} } else { yyv1881 := &yyv1878[yyj1878] yyv1881.CodecDecodeSelf(d) @@ -23209,7 +22682,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d yyv1878 = yyv1878[:yyj1878] yyc1878 = true } else if yyj1878 == 0 && yyv1878 == nil { - yyv1878 = []ReplicaSetCondition{} + yyv1878 = []JobCondition{} yyc1878 = true } } @@ -23219,25 +22692,20 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } } -func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv1882 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1883 := z.EncBinary() - _ = yym1883 - if false { - } else if z.HasExtensions() && z.EncExt(yyv1882) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1882)) - } + yy1883 := &yyv1882 + yy1883.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -23247,7 +22715,7 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec var yyc1884 bool if yyl1884 == 0 { if yyv1884 == nil { - yyv1884 = []pkg2_v1.Capability{} + yyv1884 = []Ingress{} yyc1884 = true } else if len(yyv1884) != 0 { yyv1884 = yyv1884[:0] @@ -23258,18 +22726,23 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec var yyrt1884 bool if yyl1884 > cap(yyv1884) { - yyrl1884, yyrt1884 = z.DecInferLen(yyl1884, z.DecBasicHandle().MaxInitLen, 16) + yyrg1884 := len(yyv1884) > 0 + yyv21884 := yyv1884 + yyrl1884, yyrt1884 = z.DecInferLen(yyl1884, z.DecBasicHandle().MaxInitLen, 336) if yyrt1884 { if yyrl1884 <= cap(yyv1884) { yyv1884 = yyv1884[:yyrl1884] } else { - yyv1884 = make([]pkg2_v1.Capability, yyrl1884) + yyv1884 = make([]Ingress, yyrl1884) } } else { - yyv1884 = make([]pkg2_v1.Capability, yyrl1884) + yyv1884 = make([]Ingress, yyrl1884) } yyc1884 = true yyrr1884 = len(yyv1884) + if yyrg1884 { + copy(yyv1884, yyv21884) + } } else if yyl1884 != len(yyv1884) { yyv1884 = yyv1884[:yyl1884] yyc1884 = true @@ -23278,20 +22751,22 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec for ; yyj1884 < yyrr1884; yyj1884++ { yyh1884.ElemContainerState(yyj1884) if r.TryDecodeAsNil() { - yyv1884[yyj1884] = "" + yyv1884[yyj1884] = Ingress{} } else { - yyv1884[yyj1884] = pkg2_v1.Capability(r.DecodeString()) + yyv1885 := &yyv1884[yyj1884] + yyv1885.CodecDecodeSelf(d) } } if yyrt1884 { for ; yyj1884 < yyl1884; yyj1884++ { - yyv1884 = append(yyv1884, "") + yyv1884 = append(yyv1884, Ingress{}) yyh1884.ElemContainerState(yyj1884) if r.TryDecodeAsNil() { - yyv1884[yyj1884] = "" + yyv1884[yyj1884] = Ingress{} } else { - yyv1884[yyj1884] = pkg2_v1.Capability(r.DecodeString()) + yyv1886 := &yyv1884[yyj1884] + yyv1886.CodecDecodeSelf(d) } } @@ -23302,15 +22777,16 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec for ; !r.CheckBreak(); yyj1884++ { if yyj1884 >= len(yyv1884) { - yyv1884 = append(yyv1884, "") // var yyz1884 pkg2_v1.Capability + yyv1884 = append(yyv1884, Ingress{}) // var yyz1884 Ingress yyc1884 = true } yyh1884.ElemContainerState(yyj1884) if yyj1884 < len(yyv1884) { if r.TryDecodeAsNil() { - yyv1884[yyj1884] = "" + yyv1884[yyj1884] = Ingress{} } else { - yyv1884[yyj1884] = pkg2_v1.Capability(r.DecodeString()) + yyv1887 := &yyv1884[yyj1884] + yyv1887.CodecDecodeSelf(d) } } else { @@ -23322,7 +22798,7 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec yyv1884 = yyv1884[:yyj1884] yyc1884 = true } else if yyj1884 == 0 && yyv1884 == nil { - yyv1884 = []pkg2_v1.Capability{} + yyv1884 = []Ingress{} yyc1884 = true } } @@ -23332,14 +22808,707 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec } } -func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv1888 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1888.CodecEncodeSelf(e) + yy1889 := &yyv1888 + yy1889.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1890 := *v + yyh1890, yyl1890 := z.DecSliceHelperStart() + var yyc1890 bool + if yyl1890 == 0 { + if yyv1890 == nil { + yyv1890 = []IngressTLS{} + yyc1890 = true + } else if len(yyv1890) != 0 { + yyv1890 = yyv1890[:0] + yyc1890 = true + } + } else if yyl1890 > 0 { + var yyrr1890, yyrl1890 int + var yyrt1890 bool + if yyl1890 > cap(yyv1890) { + + yyrg1890 := len(yyv1890) > 0 + yyv21890 := yyv1890 + yyrl1890, yyrt1890 = z.DecInferLen(yyl1890, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1890 { + if yyrl1890 <= cap(yyv1890) { + yyv1890 = yyv1890[:yyrl1890] + } else { + yyv1890 = make([]IngressTLS, yyrl1890) + } + } else { + yyv1890 = make([]IngressTLS, yyrl1890) + } + yyc1890 = true + yyrr1890 = len(yyv1890) + if yyrg1890 { + copy(yyv1890, yyv21890) + } + } else if yyl1890 != len(yyv1890) { + yyv1890 = yyv1890[:yyl1890] + yyc1890 = true + } + yyj1890 := 0 + for ; yyj1890 < yyrr1890; yyj1890++ { + yyh1890.ElemContainerState(yyj1890) + if r.TryDecodeAsNil() { + yyv1890[yyj1890] = IngressTLS{} + } else { + yyv1891 := &yyv1890[yyj1890] + yyv1891.CodecDecodeSelf(d) + } + + } + if yyrt1890 { + for ; yyj1890 < yyl1890; yyj1890++ { + yyv1890 = append(yyv1890, IngressTLS{}) + yyh1890.ElemContainerState(yyj1890) + if r.TryDecodeAsNil() { + yyv1890[yyj1890] = IngressTLS{} + } else { + yyv1892 := &yyv1890[yyj1890] + yyv1892.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1890 := 0 + for ; !r.CheckBreak(); yyj1890++ { + + if yyj1890 >= len(yyv1890) { + yyv1890 = append(yyv1890, IngressTLS{}) // var yyz1890 IngressTLS + yyc1890 = true + } + yyh1890.ElemContainerState(yyj1890) + if yyj1890 < len(yyv1890) { + if r.TryDecodeAsNil() { + yyv1890[yyj1890] = IngressTLS{} + } else { + yyv1893 := &yyv1890[yyj1890] + yyv1893.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1890 < len(yyv1890) { + yyv1890 = yyv1890[:yyj1890] + yyc1890 = true + } else if yyj1890 == 0 && yyv1890 == nil { + yyv1890 = []IngressTLS{} + yyc1890 = true + } + } + yyh1890.End() + if yyc1890 { + *v = yyv1890 + } +} + +func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1894 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1895 := &yyv1894 + yy1895.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1896 := *v + yyh1896, yyl1896 := z.DecSliceHelperStart() + var yyc1896 bool + if yyl1896 == 0 { + if yyv1896 == nil { + yyv1896 = []IngressRule{} + yyc1896 = true + } else if len(yyv1896) != 0 { + yyv1896 = yyv1896[:0] + yyc1896 = true + } + } else if yyl1896 > 0 { + var yyrr1896, yyrl1896 int + var yyrt1896 bool + if yyl1896 > cap(yyv1896) { + + yyrg1896 := len(yyv1896) > 0 + yyv21896 := yyv1896 + yyrl1896, yyrt1896 = z.DecInferLen(yyl1896, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1896 { + if yyrl1896 <= cap(yyv1896) { + yyv1896 = yyv1896[:yyrl1896] + } else { + yyv1896 = make([]IngressRule, yyrl1896) + } + } else { + yyv1896 = make([]IngressRule, yyrl1896) + } + yyc1896 = true + yyrr1896 = len(yyv1896) + if yyrg1896 { + copy(yyv1896, yyv21896) + } + } else if yyl1896 != len(yyv1896) { + yyv1896 = yyv1896[:yyl1896] + yyc1896 = true + } + yyj1896 := 0 + for ; yyj1896 < yyrr1896; yyj1896++ { + yyh1896.ElemContainerState(yyj1896) + if r.TryDecodeAsNil() { + yyv1896[yyj1896] = IngressRule{} + } else { + yyv1897 := &yyv1896[yyj1896] + yyv1897.CodecDecodeSelf(d) + } + + } + if yyrt1896 { + for ; yyj1896 < yyl1896; yyj1896++ { + yyv1896 = append(yyv1896, IngressRule{}) + yyh1896.ElemContainerState(yyj1896) + if r.TryDecodeAsNil() { + yyv1896[yyj1896] = IngressRule{} + } else { + yyv1898 := &yyv1896[yyj1896] + yyv1898.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1896 := 0 + for ; !r.CheckBreak(); yyj1896++ { + + if yyj1896 >= len(yyv1896) { + yyv1896 = append(yyv1896, IngressRule{}) // var yyz1896 IngressRule + yyc1896 = true + } + yyh1896.ElemContainerState(yyj1896) + if yyj1896 < len(yyv1896) { + if r.TryDecodeAsNil() { + yyv1896[yyj1896] = IngressRule{} + } else { + yyv1899 := &yyv1896[yyj1896] + yyv1899.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1896 < len(yyv1896) { + yyv1896 = yyv1896[:yyj1896] + yyc1896 = true + } else if yyj1896 == 0 && yyv1896 == nil { + yyv1896 = []IngressRule{} + yyc1896 = true + } + } + yyh1896.End() + if yyc1896 { + *v = yyv1896 + } +} + +func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1900 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1901 := &yyv1900 + yy1901.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1902 := *v + yyh1902, yyl1902 := z.DecSliceHelperStart() + var yyc1902 bool + if yyl1902 == 0 { + if yyv1902 == nil { + yyv1902 = []HTTPIngressPath{} + yyc1902 = true + } else if len(yyv1902) != 0 { + yyv1902 = yyv1902[:0] + yyc1902 = true + } + } else if yyl1902 > 0 { + var yyrr1902, yyrl1902 int + var yyrt1902 bool + if yyl1902 > cap(yyv1902) { + + yyrg1902 := len(yyv1902) > 0 + yyv21902 := yyv1902 + yyrl1902, yyrt1902 = z.DecInferLen(yyl1902, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1902 { + if yyrl1902 <= cap(yyv1902) { + yyv1902 = yyv1902[:yyrl1902] + } else { + yyv1902 = make([]HTTPIngressPath, yyrl1902) + } + } else { + yyv1902 = make([]HTTPIngressPath, yyrl1902) + } + yyc1902 = true + yyrr1902 = len(yyv1902) + if yyrg1902 { + copy(yyv1902, yyv21902) + } + } else if yyl1902 != len(yyv1902) { + yyv1902 = yyv1902[:yyl1902] + yyc1902 = true + } + yyj1902 := 0 + for ; yyj1902 < yyrr1902; yyj1902++ { + yyh1902.ElemContainerState(yyj1902) + if r.TryDecodeAsNil() { + yyv1902[yyj1902] = HTTPIngressPath{} + } else { + yyv1903 := &yyv1902[yyj1902] + yyv1903.CodecDecodeSelf(d) + } + + } + if yyrt1902 { + for ; yyj1902 < yyl1902; yyj1902++ { + yyv1902 = append(yyv1902, HTTPIngressPath{}) + yyh1902.ElemContainerState(yyj1902) + if r.TryDecodeAsNil() { + yyv1902[yyj1902] = HTTPIngressPath{} + } else { + yyv1904 := &yyv1902[yyj1902] + yyv1904.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1902 := 0 + for ; !r.CheckBreak(); yyj1902++ { + + if yyj1902 >= len(yyv1902) { + yyv1902 = append(yyv1902, HTTPIngressPath{}) // var yyz1902 HTTPIngressPath + yyc1902 = true + } + yyh1902.ElemContainerState(yyj1902) + if yyj1902 < len(yyv1902) { + if r.TryDecodeAsNil() { + yyv1902[yyj1902] = HTTPIngressPath{} + } else { + yyv1905 := &yyv1902[yyj1902] + yyv1905.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1902 < len(yyv1902) { + yyv1902 = yyv1902[:yyj1902] + yyc1902 = true + } else if yyj1902 == 0 && yyv1902 == nil { + yyv1902 = []HTTPIngressPath{} + yyc1902 = true + } + } + yyh1902.End() + if yyc1902 { + *v = yyv1902 + } +} + +func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1906 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1907 := &yyv1906 + yy1907.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1908 := *v + yyh1908, yyl1908 := z.DecSliceHelperStart() + var yyc1908 bool + if yyl1908 == 0 { + if yyv1908 == nil { + yyv1908 = []ReplicaSet{} + yyc1908 = true + } else if len(yyv1908) != 0 { + yyv1908 = yyv1908[:0] + yyc1908 = true + } + } else if yyl1908 > 0 { + var yyrr1908, yyrl1908 int + var yyrt1908 bool + if yyl1908 > cap(yyv1908) { + + yyrg1908 := len(yyv1908) > 0 + yyv21908 := yyv1908 + yyrl1908, yyrt1908 = z.DecInferLen(yyl1908, z.DecBasicHandle().MaxInitLen, 800) + if yyrt1908 { + if yyrl1908 <= cap(yyv1908) { + yyv1908 = yyv1908[:yyrl1908] + } else { + yyv1908 = make([]ReplicaSet, yyrl1908) + } + } else { + yyv1908 = make([]ReplicaSet, yyrl1908) + } + yyc1908 = true + yyrr1908 = len(yyv1908) + if yyrg1908 { + copy(yyv1908, yyv21908) + } + } else if yyl1908 != len(yyv1908) { + yyv1908 = yyv1908[:yyl1908] + yyc1908 = true + } + yyj1908 := 0 + for ; yyj1908 < yyrr1908; yyj1908++ { + yyh1908.ElemContainerState(yyj1908) + if r.TryDecodeAsNil() { + yyv1908[yyj1908] = ReplicaSet{} + } else { + yyv1909 := &yyv1908[yyj1908] + yyv1909.CodecDecodeSelf(d) + } + + } + if yyrt1908 { + for ; yyj1908 < yyl1908; yyj1908++ { + yyv1908 = append(yyv1908, ReplicaSet{}) + yyh1908.ElemContainerState(yyj1908) + if r.TryDecodeAsNil() { + yyv1908[yyj1908] = ReplicaSet{} + } else { + yyv1910 := &yyv1908[yyj1908] + yyv1910.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1908 := 0 + for ; !r.CheckBreak(); yyj1908++ { + + if yyj1908 >= len(yyv1908) { + yyv1908 = append(yyv1908, ReplicaSet{}) // var yyz1908 ReplicaSet + yyc1908 = true + } + yyh1908.ElemContainerState(yyj1908) + if yyj1908 < len(yyv1908) { + if r.TryDecodeAsNil() { + yyv1908[yyj1908] = ReplicaSet{} + } else { + yyv1911 := &yyv1908[yyj1908] + yyv1911.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1908 < len(yyv1908) { + yyv1908 = yyv1908[:yyj1908] + yyc1908 = true + } else if yyj1908 == 0 && yyv1908 == nil { + yyv1908 = []ReplicaSet{} + yyc1908 = true + } + } + yyh1908.End() + if yyc1908 { + *v = yyv1908 + } +} + +func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1912 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1913 := &yyv1912 + yy1913.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1914 := *v + yyh1914, yyl1914 := z.DecSliceHelperStart() + var yyc1914 bool + if yyl1914 == 0 { + if yyv1914 == nil { + yyv1914 = []ReplicaSetCondition{} + yyc1914 = true + } else if len(yyv1914) != 0 { + yyv1914 = yyv1914[:0] + yyc1914 = true + } + } else if yyl1914 > 0 { + var yyrr1914, yyrl1914 int + var yyrt1914 bool + if yyl1914 > cap(yyv1914) { + + yyrg1914 := len(yyv1914) > 0 + yyv21914 := yyv1914 + yyrl1914, yyrt1914 = z.DecInferLen(yyl1914, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1914 { + if yyrl1914 <= cap(yyv1914) { + yyv1914 = yyv1914[:yyrl1914] + } else { + yyv1914 = make([]ReplicaSetCondition, yyrl1914) + } + } else { + yyv1914 = make([]ReplicaSetCondition, yyrl1914) + } + yyc1914 = true + yyrr1914 = len(yyv1914) + if yyrg1914 { + copy(yyv1914, yyv21914) + } + } else if yyl1914 != len(yyv1914) { + yyv1914 = yyv1914[:yyl1914] + yyc1914 = true + } + yyj1914 := 0 + for ; yyj1914 < yyrr1914; yyj1914++ { + yyh1914.ElemContainerState(yyj1914) + if r.TryDecodeAsNil() { + yyv1914[yyj1914] = ReplicaSetCondition{} + } else { + yyv1915 := &yyv1914[yyj1914] + yyv1915.CodecDecodeSelf(d) + } + + } + if yyrt1914 { + for ; yyj1914 < yyl1914; yyj1914++ { + yyv1914 = append(yyv1914, ReplicaSetCondition{}) + yyh1914.ElemContainerState(yyj1914) + if r.TryDecodeAsNil() { + yyv1914[yyj1914] = ReplicaSetCondition{} + } else { + yyv1916 := &yyv1914[yyj1914] + yyv1916.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1914 := 0 + for ; !r.CheckBreak(); yyj1914++ { + + if yyj1914 >= len(yyv1914) { + yyv1914 = append(yyv1914, ReplicaSetCondition{}) // var yyz1914 ReplicaSetCondition + yyc1914 = true + } + yyh1914.ElemContainerState(yyj1914) + if yyj1914 < len(yyv1914) { + if r.TryDecodeAsNil() { + yyv1914[yyj1914] = ReplicaSetCondition{} + } else { + yyv1917 := &yyv1914[yyj1914] + yyv1917.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1914 < len(yyv1914) { + yyv1914 = yyv1914[:yyj1914] + yyc1914 = true + } else if yyj1914 == 0 && yyv1914 == nil { + yyv1914 = []ReplicaSetCondition{} + yyc1914 = true + } + } + yyh1914.End() + if yyc1914 { + *v = yyv1914 + } +} + +func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1918 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1919 := z.EncBinary() + _ = yym1919 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1918) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1918)) + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1920 := *v + yyh1920, yyl1920 := z.DecSliceHelperStart() + var yyc1920 bool + if yyl1920 == 0 { + if yyv1920 == nil { + yyv1920 = []pkg2_v1.Capability{} + yyc1920 = true + } else if len(yyv1920) != 0 { + yyv1920 = yyv1920[:0] + yyc1920 = true + } + } else if yyl1920 > 0 { + var yyrr1920, yyrl1920 int + var yyrt1920 bool + if yyl1920 > cap(yyv1920) { + + yyrl1920, yyrt1920 = z.DecInferLen(yyl1920, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1920 { + if yyrl1920 <= cap(yyv1920) { + yyv1920 = yyv1920[:yyrl1920] + } else { + yyv1920 = make([]pkg2_v1.Capability, yyrl1920) + } + } else { + yyv1920 = make([]pkg2_v1.Capability, yyrl1920) + } + yyc1920 = true + yyrr1920 = len(yyv1920) + } else if yyl1920 != len(yyv1920) { + yyv1920 = yyv1920[:yyl1920] + yyc1920 = true + } + yyj1920 := 0 + for ; yyj1920 < yyrr1920; yyj1920++ { + yyh1920.ElemContainerState(yyj1920) + if r.TryDecodeAsNil() { + yyv1920[yyj1920] = "" + } else { + yyv1920[yyj1920] = pkg2_v1.Capability(r.DecodeString()) + } + + } + if yyrt1920 { + for ; yyj1920 < yyl1920; yyj1920++ { + yyv1920 = append(yyv1920, "") + yyh1920.ElemContainerState(yyj1920) + if r.TryDecodeAsNil() { + yyv1920[yyj1920] = "" + } else { + yyv1920[yyj1920] = pkg2_v1.Capability(r.DecodeString()) + } + + } + } + + } else { + yyj1920 := 0 + for ; !r.CheckBreak(); yyj1920++ { + + if yyj1920 >= len(yyv1920) { + yyv1920 = append(yyv1920, "") // var yyz1920 pkg2_v1.Capability + yyc1920 = true + } + yyh1920.ElemContainerState(yyj1920) + if yyj1920 < len(yyv1920) { + if r.TryDecodeAsNil() { + yyv1920[yyj1920] = "" + } else { + yyv1920[yyj1920] = pkg2_v1.Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj1920 < len(yyv1920) { + yyv1920 = yyv1920[:yyj1920] + yyc1920 = true + } else if yyj1920 == 0 && yyv1920 == nil { + yyv1920 = []pkg2_v1.Capability{} + yyc1920 = true + } + } + yyh1920.End() + if yyc1920 { + *v = yyv1920 + } +} + +func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1924 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv1924.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23349,700 +23518,12 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1889 := *v - yyh1889, yyl1889 := z.DecSliceHelperStart() - var yyc1889 bool - if yyl1889 == 0 { - if yyv1889 == nil { - yyv1889 = []FSType{} - yyc1889 = true - } else if len(yyv1889) != 0 { - yyv1889 = yyv1889[:0] - yyc1889 = true - } - } else if yyl1889 > 0 { - var yyrr1889, yyrl1889 int - var yyrt1889 bool - if yyl1889 > cap(yyv1889) { - - yyrl1889, yyrt1889 = z.DecInferLen(yyl1889, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1889 { - if yyrl1889 <= cap(yyv1889) { - yyv1889 = yyv1889[:yyrl1889] - } else { - yyv1889 = make([]FSType, yyrl1889) - } - } else { - yyv1889 = make([]FSType, yyrl1889) - } - yyc1889 = true - yyrr1889 = len(yyv1889) - } else if yyl1889 != len(yyv1889) { - yyv1889 = yyv1889[:yyl1889] - yyc1889 = true - } - yyj1889 := 0 - for ; yyj1889 < yyrr1889; yyj1889++ { - yyh1889.ElemContainerState(yyj1889) - if r.TryDecodeAsNil() { - yyv1889[yyj1889] = "" - } else { - yyv1889[yyj1889] = FSType(r.DecodeString()) - } - - } - if yyrt1889 { - for ; yyj1889 < yyl1889; yyj1889++ { - yyv1889 = append(yyv1889, "") - yyh1889.ElemContainerState(yyj1889) - if r.TryDecodeAsNil() { - yyv1889[yyj1889] = "" - } else { - yyv1889[yyj1889] = FSType(r.DecodeString()) - } - - } - } - - } else { - yyj1889 := 0 - for ; !r.CheckBreak(); yyj1889++ { - - if yyj1889 >= len(yyv1889) { - yyv1889 = append(yyv1889, "") // var yyz1889 FSType - yyc1889 = true - } - yyh1889.ElemContainerState(yyj1889) - if yyj1889 < len(yyv1889) { - if r.TryDecodeAsNil() { - yyv1889[yyj1889] = "" - } else { - yyv1889[yyj1889] = FSType(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj1889 < len(yyv1889) { - yyv1889 = yyv1889[:yyj1889] - yyc1889 = true - } else if yyj1889 == 0 && yyv1889 == nil { - yyv1889 = []FSType{} - yyc1889 = true - } - } - yyh1889.End() - if yyc1889 { - *v = yyv1889 - } -} - -func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1893 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1894 := &yyv1893 - yy1894.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1895 := *v - yyh1895, yyl1895 := z.DecSliceHelperStart() - var yyc1895 bool - if yyl1895 == 0 { - if yyv1895 == nil { - yyv1895 = []HostPortRange{} - yyc1895 = true - } else if len(yyv1895) != 0 { - yyv1895 = yyv1895[:0] - yyc1895 = true - } - } else if yyl1895 > 0 { - var yyrr1895, yyrl1895 int - var yyrt1895 bool - if yyl1895 > cap(yyv1895) { - - yyrg1895 := len(yyv1895) > 0 - yyv21895 := yyv1895 - yyrl1895, yyrt1895 = z.DecInferLen(yyl1895, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1895 { - if yyrl1895 <= cap(yyv1895) { - yyv1895 = yyv1895[:yyrl1895] - } else { - yyv1895 = make([]HostPortRange, yyrl1895) - } - } else { - yyv1895 = make([]HostPortRange, yyrl1895) - } - yyc1895 = true - yyrr1895 = len(yyv1895) - if yyrg1895 { - copy(yyv1895, yyv21895) - } - } else if yyl1895 != len(yyv1895) { - yyv1895 = yyv1895[:yyl1895] - yyc1895 = true - } - yyj1895 := 0 - for ; yyj1895 < yyrr1895; yyj1895++ { - yyh1895.ElemContainerState(yyj1895) - if r.TryDecodeAsNil() { - yyv1895[yyj1895] = HostPortRange{} - } else { - yyv1896 := &yyv1895[yyj1895] - yyv1896.CodecDecodeSelf(d) - } - - } - if yyrt1895 { - for ; yyj1895 < yyl1895; yyj1895++ { - yyv1895 = append(yyv1895, HostPortRange{}) - yyh1895.ElemContainerState(yyj1895) - if r.TryDecodeAsNil() { - yyv1895[yyj1895] = HostPortRange{} - } else { - yyv1897 := &yyv1895[yyj1895] - yyv1897.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1895 := 0 - for ; !r.CheckBreak(); yyj1895++ { - - if yyj1895 >= len(yyv1895) { - yyv1895 = append(yyv1895, HostPortRange{}) // var yyz1895 HostPortRange - yyc1895 = true - } - yyh1895.ElemContainerState(yyj1895) - if yyj1895 < len(yyv1895) { - if r.TryDecodeAsNil() { - yyv1895[yyj1895] = HostPortRange{} - } else { - yyv1898 := &yyv1895[yyj1895] - yyv1898.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1895 < len(yyv1895) { - yyv1895 = yyv1895[:yyj1895] - yyc1895 = true - } else if yyj1895 == 0 && yyv1895 == nil { - yyv1895 = []HostPortRange{} - yyc1895 = true - } - } - yyh1895.End() - if yyc1895 { - *v = yyv1895 - } -} - -func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1899 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1900 := &yyv1899 - yy1900.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1901 := *v - yyh1901, yyl1901 := z.DecSliceHelperStart() - var yyc1901 bool - if yyl1901 == 0 { - if yyv1901 == nil { - yyv1901 = []IDRange{} - yyc1901 = true - } else if len(yyv1901) != 0 { - yyv1901 = yyv1901[:0] - yyc1901 = true - } - } else if yyl1901 > 0 { - var yyrr1901, yyrl1901 int - var yyrt1901 bool - if yyl1901 > cap(yyv1901) { - - yyrg1901 := len(yyv1901) > 0 - yyv21901 := yyv1901 - yyrl1901, yyrt1901 = z.DecInferLen(yyl1901, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1901 { - if yyrl1901 <= cap(yyv1901) { - yyv1901 = yyv1901[:yyrl1901] - } else { - yyv1901 = make([]IDRange, yyrl1901) - } - } else { - yyv1901 = make([]IDRange, yyrl1901) - } - yyc1901 = true - yyrr1901 = len(yyv1901) - if yyrg1901 { - copy(yyv1901, yyv21901) - } - } else if yyl1901 != len(yyv1901) { - yyv1901 = yyv1901[:yyl1901] - yyc1901 = true - } - yyj1901 := 0 - for ; yyj1901 < yyrr1901; yyj1901++ { - yyh1901.ElemContainerState(yyj1901) - if r.TryDecodeAsNil() { - yyv1901[yyj1901] = IDRange{} - } else { - yyv1902 := &yyv1901[yyj1901] - yyv1902.CodecDecodeSelf(d) - } - - } - if yyrt1901 { - for ; yyj1901 < yyl1901; yyj1901++ { - yyv1901 = append(yyv1901, IDRange{}) - yyh1901.ElemContainerState(yyj1901) - if r.TryDecodeAsNil() { - yyv1901[yyj1901] = IDRange{} - } else { - yyv1903 := &yyv1901[yyj1901] - yyv1903.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1901 := 0 - for ; !r.CheckBreak(); yyj1901++ { - - if yyj1901 >= len(yyv1901) { - yyv1901 = append(yyv1901, IDRange{}) // var yyz1901 IDRange - yyc1901 = true - } - yyh1901.ElemContainerState(yyj1901) - if yyj1901 < len(yyv1901) { - if r.TryDecodeAsNil() { - yyv1901[yyj1901] = IDRange{} - } else { - yyv1904 := &yyv1901[yyj1901] - yyv1904.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1901 < len(yyv1901) { - yyv1901 = yyv1901[:yyj1901] - yyc1901 = true - } else if yyj1901 == 0 && yyv1901 == nil { - yyv1901 = []IDRange{} - yyc1901 = true - } - } - yyh1901.End() - if yyc1901 { - *v = yyv1901 - } -} - -func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1905 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1906 := &yyv1905 - yy1906.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1907 := *v - yyh1907, yyl1907 := z.DecSliceHelperStart() - var yyc1907 bool - if yyl1907 == 0 { - if yyv1907 == nil { - yyv1907 = []PodSecurityPolicy{} - yyc1907 = true - } else if len(yyv1907) != 0 { - yyv1907 = yyv1907[:0] - yyc1907 = true - } - } else if yyl1907 > 0 { - var yyrr1907, yyrl1907 int - var yyrt1907 bool - if yyl1907 > cap(yyv1907) { - - yyrg1907 := len(yyv1907) > 0 - yyv21907 := yyv1907 - yyrl1907, yyrt1907 = z.DecInferLen(yyl1907, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1907 { - if yyrl1907 <= cap(yyv1907) { - yyv1907 = yyv1907[:yyrl1907] - } else { - yyv1907 = make([]PodSecurityPolicy, yyrl1907) - } - } else { - yyv1907 = make([]PodSecurityPolicy, yyrl1907) - } - yyc1907 = true - yyrr1907 = len(yyv1907) - if yyrg1907 { - copy(yyv1907, yyv21907) - } - } else if yyl1907 != len(yyv1907) { - yyv1907 = yyv1907[:yyl1907] - yyc1907 = true - } - yyj1907 := 0 - for ; yyj1907 < yyrr1907; yyj1907++ { - yyh1907.ElemContainerState(yyj1907) - if r.TryDecodeAsNil() { - yyv1907[yyj1907] = PodSecurityPolicy{} - } else { - yyv1908 := &yyv1907[yyj1907] - yyv1908.CodecDecodeSelf(d) - } - - } - if yyrt1907 { - for ; yyj1907 < yyl1907; yyj1907++ { - yyv1907 = append(yyv1907, PodSecurityPolicy{}) - yyh1907.ElemContainerState(yyj1907) - if r.TryDecodeAsNil() { - yyv1907[yyj1907] = PodSecurityPolicy{} - } else { - yyv1909 := &yyv1907[yyj1907] - yyv1909.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1907 := 0 - for ; !r.CheckBreak(); yyj1907++ { - - if yyj1907 >= len(yyv1907) { - yyv1907 = append(yyv1907, PodSecurityPolicy{}) // var yyz1907 PodSecurityPolicy - yyc1907 = true - } - yyh1907.ElemContainerState(yyj1907) - if yyj1907 < len(yyv1907) { - if r.TryDecodeAsNil() { - yyv1907[yyj1907] = PodSecurityPolicy{} - } else { - yyv1910 := &yyv1907[yyj1907] - yyv1910.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1907 < len(yyv1907) { - yyv1907 = yyv1907[:yyj1907] - yyc1907 = true - } else if yyj1907 == 0 && yyv1907 == nil { - yyv1907 = []PodSecurityPolicy{} - yyc1907 = true - } - } - yyh1907.End() - if yyc1907 { - *v = yyv1907 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngressRule, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1911 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1912 := &yyv1911 - yy1912.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngressRule, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1913 := *v - yyh1913, yyl1913 := z.DecSliceHelperStart() - var yyc1913 bool - if yyl1913 == 0 { - if yyv1913 == nil { - yyv1913 = []NetworkPolicyIngressRule{} - yyc1913 = true - } else if len(yyv1913) != 0 { - yyv1913 = yyv1913[:0] - yyc1913 = true - } - } else if yyl1913 > 0 { - var yyrr1913, yyrl1913 int - var yyrt1913 bool - if yyl1913 > cap(yyv1913) { - - yyrg1913 := len(yyv1913) > 0 - yyv21913 := yyv1913 - yyrl1913, yyrt1913 = z.DecInferLen(yyl1913, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1913 { - if yyrl1913 <= cap(yyv1913) { - yyv1913 = yyv1913[:yyrl1913] - } else { - yyv1913 = make([]NetworkPolicyIngressRule, yyrl1913) - } - } else { - yyv1913 = make([]NetworkPolicyIngressRule, yyrl1913) - } - yyc1913 = true - yyrr1913 = len(yyv1913) - if yyrg1913 { - copy(yyv1913, yyv21913) - } - } else if yyl1913 != len(yyv1913) { - yyv1913 = yyv1913[:yyl1913] - yyc1913 = true - } - yyj1913 := 0 - for ; yyj1913 < yyrr1913; yyj1913++ { - yyh1913.ElemContainerState(yyj1913) - if r.TryDecodeAsNil() { - yyv1913[yyj1913] = NetworkPolicyIngressRule{} - } else { - yyv1914 := &yyv1913[yyj1913] - yyv1914.CodecDecodeSelf(d) - } - - } - if yyrt1913 { - for ; yyj1913 < yyl1913; yyj1913++ { - yyv1913 = append(yyv1913, NetworkPolicyIngressRule{}) - yyh1913.ElemContainerState(yyj1913) - if r.TryDecodeAsNil() { - yyv1913[yyj1913] = NetworkPolicyIngressRule{} - } else { - yyv1915 := &yyv1913[yyj1913] - yyv1915.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1913 := 0 - for ; !r.CheckBreak(); yyj1913++ { - - if yyj1913 >= len(yyv1913) { - yyv1913 = append(yyv1913, NetworkPolicyIngressRule{}) // var yyz1913 NetworkPolicyIngressRule - yyc1913 = true - } - yyh1913.ElemContainerState(yyj1913) - if yyj1913 < len(yyv1913) { - if r.TryDecodeAsNil() { - yyv1913[yyj1913] = NetworkPolicyIngressRule{} - } else { - yyv1916 := &yyv1913[yyj1913] - yyv1916.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1913 < len(yyv1913) { - yyv1913 = yyv1913[:yyj1913] - yyc1913 = true - } else if yyj1913 == 0 && yyv1913 == nil { - yyv1913 = []NetworkPolicyIngressRule{} - yyc1913 = true - } - } - yyh1913.End() - if yyc1913 { - *v = yyv1913 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1917 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1918 := &yyv1917 - yy1918.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1919 := *v - yyh1919, yyl1919 := z.DecSliceHelperStart() - var yyc1919 bool - if yyl1919 == 0 { - if yyv1919 == nil { - yyv1919 = []NetworkPolicyPort{} - yyc1919 = true - } else if len(yyv1919) != 0 { - yyv1919 = yyv1919[:0] - yyc1919 = true - } - } else if yyl1919 > 0 { - var yyrr1919, yyrl1919 int - var yyrt1919 bool - if yyl1919 > cap(yyv1919) { - - yyrg1919 := len(yyv1919) > 0 - yyv21919 := yyv1919 - yyrl1919, yyrt1919 = z.DecInferLen(yyl1919, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1919 { - if yyrl1919 <= cap(yyv1919) { - yyv1919 = yyv1919[:yyrl1919] - } else { - yyv1919 = make([]NetworkPolicyPort, yyrl1919) - } - } else { - yyv1919 = make([]NetworkPolicyPort, yyrl1919) - } - yyc1919 = true - yyrr1919 = len(yyv1919) - if yyrg1919 { - copy(yyv1919, yyv21919) - } - } else if yyl1919 != len(yyv1919) { - yyv1919 = yyv1919[:yyl1919] - yyc1919 = true - } - yyj1919 := 0 - for ; yyj1919 < yyrr1919; yyj1919++ { - yyh1919.ElemContainerState(yyj1919) - if r.TryDecodeAsNil() { - yyv1919[yyj1919] = NetworkPolicyPort{} - } else { - yyv1920 := &yyv1919[yyj1919] - yyv1920.CodecDecodeSelf(d) - } - - } - if yyrt1919 { - for ; yyj1919 < yyl1919; yyj1919++ { - yyv1919 = append(yyv1919, NetworkPolicyPort{}) - yyh1919.ElemContainerState(yyj1919) - if r.TryDecodeAsNil() { - yyv1919[yyj1919] = NetworkPolicyPort{} - } else { - yyv1921 := &yyv1919[yyj1919] - yyv1921.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1919 := 0 - for ; !r.CheckBreak(); yyj1919++ { - - if yyj1919 >= len(yyv1919) { - yyv1919 = append(yyv1919, NetworkPolicyPort{}) // var yyz1919 NetworkPolicyPort - yyc1919 = true - } - yyh1919.ElemContainerState(yyj1919) - if yyj1919 < len(yyv1919) { - if r.TryDecodeAsNil() { - yyv1919[yyj1919] = NetworkPolicyPort{} - } else { - yyv1922 := &yyv1919[yyj1919] - yyv1922.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1919 < len(yyv1919) { - yyv1919 = yyv1919[:yyj1919] - yyc1919 = true - } else if yyj1919 == 0 && yyv1919 == nil { - yyv1919 = []NetworkPolicyPort{} - yyc1919 = true - } - } - yyh1919.End() - if yyc1919 { - *v = yyv1919 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1923 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1924 := &yyv1923 - yy1924.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yyv1925 := *v yyh1925, yyl1925 := z.DecSliceHelperStart() var yyc1925 bool if yyl1925 == 0 { if yyv1925 == nil { - yyv1925 = []NetworkPolicyPeer{} + yyv1925 = []FSType{} yyc1925 = true } else if len(yyv1925) != 0 { yyv1925 = yyv1925[:0] @@ -24053,23 +23534,18 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co var yyrt1925 bool if yyl1925 > cap(yyv1925) { - yyrg1925 := len(yyv1925) > 0 - yyv21925 := yyv1925 yyrl1925, yyrt1925 = z.DecInferLen(yyl1925, z.DecBasicHandle().MaxInitLen, 16) if yyrt1925 { if yyrl1925 <= cap(yyv1925) { yyv1925 = yyv1925[:yyrl1925] } else { - yyv1925 = make([]NetworkPolicyPeer, yyrl1925) + yyv1925 = make([]FSType, yyrl1925) } } else { - yyv1925 = make([]NetworkPolicyPeer, yyrl1925) + yyv1925 = make([]FSType, yyrl1925) } yyc1925 = true yyrr1925 = len(yyv1925) - if yyrg1925 { - copy(yyv1925, yyv21925) - } } else if yyl1925 != len(yyv1925) { yyv1925 = yyv1925[:yyl1925] yyc1925 = true @@ -24078,22 +23554,20 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co for ; yyj1925 < yyrr1925; yyj1925++ { yyh1925.ElemContainerState(yyj1925) if r.TryDecodeAsNil() { - yyv1925[yyj1925] = NetworkPolicyPeer{} + yyv1925[yyj1925] = "" } else { - yyv1926 := &yyv1925[yyj1925] - yyv1926.CodecDecodeSelf(d) + yyv1925[yyj1925] = FSType(r.DecodeString()) } } if yyrt1925 { for ; yyj1925 < yyl1925; yyj1925++ { - yyv1925 = append(yyv1925, NetworkPolicyPeer{}) + yyv1925 = append(yyv1925, "") yyh1925.ElemContainerState(yyj1925) if r.TryDecodeAsNil() { - yyv1925[yyj1925] = NetworkPolicyPeer{} + yyv1925[yyj1925] = "" } else { - yyv1927 := &yyv1925[yyj1925] - yyv1927.CodecDecodeSelf(d) + yyv1925[yyj1925] = FSType(r.DecodeString()) } } @@ -24104,16 +23578,15 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co for ; !r.CheckBreak(); yyj1925++ { if yyj1925 >= len(yyv1925) { - yyv1925 = append(yyv1925, NetworkPolicyPeer{}) // var yyz1925 NetworkPolicyPeer + yyv1925 = append(yyv1925, "") // var yyz1925 FSType yyc1925 = true } yyh1925.ElemContainerState(yyj1925) if yyj1925 < len(yyv1925) { if r.TryDecodeAsNil() { - yyv1925[yyj1925] = NetworkPolicyPeer{} + yyv1925[yyj1925] = "" } else { - yyv1928 := &yyv1925[yyj1925] - yyv1928.CodecDecodeSelf(d) + yyv1925[yyj1925] = FSType(r.DecodeString()) } } else { @@ -24125,7 +23598,7 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co yyv1925 = yyv1925[:yyj1925] yyc1925 = true } else if yyj1925 == 0 && yyv1925 == nil { - yyv1925 = []NetworkPolicyPeer{} + yyv1925 = []FSType{} yyc1925 = true } } @@ -24135,7 +23608,7 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } -func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -24148,7 +23621,7 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -24158,7 +23631,7 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. var yyc1931 bool if yyl1931 == 0 { if yyv1931 == nil { - yyv1931 = []NetworkPolicy{} + yyv1931 = []HostPortRange{} yyc1931 = true } else if len(yyv1931) != 0 { yyv1931 = yyv1931[:0] @@ -24171,15 +23644,15 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. yyrg1931 := len(yyv1931) > 0 yyv21931 := yyv1931 - yyrl1931, yyrt1931 = z.DecInferLen(yyl1931, z.DecBasicHandle().MaxInitLen, 312) + yyrl1931, yyrt1931 = z.DecInferLen(yyl1931, z.DecBasicHandle().MaxInitLen, 8) if yyrt1931 { if yyrl1931 <= cap(yyv1931) { yyv1931 = yyv1931[:yyrl1931] } else { - yyv1931 = make([]NetworkPolicy, yyrl1931) + yyv1931 = make([]HostPortRange, yyrl1931) } } else { - yyv1931 = make([]NetworkPolicy, yyrl1931) + yyv1931 = make([]HostPortRange, yyrl1931) } yyc1931 = true yyrr1931 = len(yyv1931) @@ -24194,7 +23667,7 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. for ; yyj1931 < yyrr1931; yyj1931++ { yyh1931.ElemContainerState(yyj1931) if r.TryDecodeAsNil() { - yyv1931[yyj1931] = NetworkPolicy{} + yyv1931[yyj1931] = HostPortRange{} } else { yyv1932 := &yyv1931[yyj1931] yyv1932.CodecDecodeSelf(d) @@ -24203,10 +23676,10 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } if yyrt1931 { for ; yyj1931 < yyl1931; yyj1931++ { - yyv1931 = append(yyv1931, NetworkPolicy{}) + yyv1931 = append(yyv1931, HostPortRange{}) yyh1931.ElemContainerState(yyj1931) if r.TryDecodeAsNil() { - yyv1931[yyj1931] = NetworkPolicy{} + yyv1931[yyj1931] = HostPortRange{} } else { yyv1933 := &yyv1931[yyj1931] yyv1933.CodecDecodeSelf(d) @@ -24220,13 +23693,13 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. for ; !r.CheckBreak(); yyj1931++ { if yyj1931 >= len(yyv1931) { - yyv1931 = append(yyv1931, NetworkPolicy{}) // var yyz1931 NetworkPolicy + yyv1931 = append(yyv1931, HostPortRange{}) // var yyz1931 HostPortRange yyc1931 = true } yyh1931.ElemContainerState(yyj1931) if yyj1931 < len(yyv1931) { if r.TryDecodeAsNil() { - yyv1931[yyj1931] = NetworkPolicy{} + yyv1931[yyj1931] = HostPortRange{} } else { yyv1934 := &yyv1931[yyj1931] yyv1934.CodecDecodeSelf(d) @@ -24241,7 +23714,7 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. yyv1931 = yyv1931[:yyj1931] yyc1931 = true } else if yyj1931 == 0 && yyv1931 == nil { - yyv1931 = []NetworkPolicy{} + yyv1931 = []HostPortRange{} yyc1931 = true } } @@ -24250,3 +23723,699 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. *v = yyv1931 } } + +func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1935 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1936 := &yyv1935 + yy1936.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1937 := *v + yyh1937, yyl1937 := z.DecSliceHelperStart() + var yyc1937 bool + if yyl1937 == 0 { + if yyv1937 == nil { + yyv1937 = []IDRange{} + yyc1937 = true + } else if len(yyv1937) != 0 { + yyv1937 = yyv1937[:0] + yyc1937 = true + } + } else if yyl1937 > 0 { + var yyrr1937, yyrl1937 int + var yyrt1937 bool + if yyl1937 > cap(yyv1937) { + + yyrg1937 := len(yyv1937) > 0 + yyv21937 := yyv1937 + yyrl1937, yyrt1937 = z.DecInferLen(yyl1937, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1937 { + if yyrl1937 <= cap(yyv1937) { + yyv1937 = yyv1937[:yyrl1937] + } else { + yyv1937 = make([]IDRange, yyrl1937) + } + } else { + yyv1937 = make([]IDRange, yyrl1937) + } + yyc1937 = true + yyrr1937 = len(yyv1937) + if yyrg1937 { + copy(yyv1937, yyv21937) + } + } else if yyl1937 != len(yyv1937) { + yyv1937 = yyv1937[:yyl1937] + yyc1937 = true + } + yyj1937 := 0 + for ; yyj1937 < yyrr1937; yyj1937++ { + yyh1937.ElemContainerState(yyj1937) + if r.TryDecodeAsNil() { + yyv1937[yyj1937] = IDRange{} + } else { + yyv1938 := &yyv1937[yyj1937] + yyv1938.CodecDecodeSelf(d) + } + + } + if yyrt1937 { + for ; yyj1937 < yyl1937; yyj1937++ { + yyv1937 = append(yyv1937, IDRange{}) + yyh1937.ElemContainerState(yyj1937) + if r.TryDecodeAsNil() { + yyv1937[yyj1937] = IDRange{} + } else { + yyv1939 := &yyv1937[yyj1937] + yyv1939.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1937 := 0 + for ; !r.CheckBreak(); yyj1937++ { + + if yyj1937 >= len(yyv1937) { + yyv1937 = append(yyv1937, IDRange{}) // var yyz1937 IDRange + yyc1937 = true + } + yyh1937.ElemContainerState(yyj1937) + if yyj1937 < len(yyv1937) { + if r.TryDecodeAsNil() { + yyv1937[yyj1937] = IDRange{} + } else { + yyv1940 := &yyv1937[yyj1937] + yyv1940.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1937 < len(yyv1937) { + yyv1937 = yyv1937[:yyj1937] + yyc1937 = true + } else if yyj1937 == 0 && yyv1937 == nil { + yyv1937 = []IDRange{} + yyc1937 = true + } + } + yyh1937.End() + if yyc1937 { + *v = yyv1937 + } +} + +func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1941 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1942 := &yyv1941 + yy1942.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1943 := *v + yyh1943, yyl1943 := z.DecSliceHelperStart() + var yyc1943 bool + if yyl1943 == 0 { + if yyv1943 == nil { + yyv1943 = []PodSecurityPolicy{} + yyc1943 = true + } else if len(yyv1943) != 0 { + yyv1943 = yyv1943[:0] + yyc1943 = true + } + } else if yyl1943 > 0 { + var yyrr1943, yyrl1943 int + var yyrt1943 bool + if yyl1943 > cap(yyv1943) { + + yyrg1943 := len(yyv1943) > 0 + yyv21943 := yyv1943 + yyrl1943, yyrt1943 = z.DecInferLen(yyl1943, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1943 { + if yyrl1943 <= cap(yyv1943) { + yyv1943 = yyv1943[:yyrl1943] + } else { + yyv1943 = make([]PodSecurityPolicy, yyrl1943) + } + } else { + yyv1943 = make([]PodSecurityPolicy, yyrl1943) + } + yyc1943 = true + yyrr1943 = len(yyv1943) + if yyrg1943 { + copy(yyv1943, yyv21943) + } + } else if yyl1943 != len(yyv1943) { + yyv1943 = yyv1943[:yyl1943] + yyc1943 = true + } + yyj1943 := 0 + for ; yyj1943 < yyrr1943; yyj1943++ { + yyh1943.ElemContainerState(yyj1943) + if r.TryDecodeAsNil() { + yyv1943[yyj1943] = PodSecurityPolicy{} + } else { + yyv1944 := &yyv1943[yyj1943] + yyv1944.CodecDecodeSelf(d) + } + + } + if yyrt1943 { + for ; yyj1943 < yyl1943; yyj1943++ { + yyv1943 = append(yyv1943, PodSecurityPolicy{}) + yyh1943.ElemContainerState(yyj1943) + if r.TryDecodeAsNil() { + yyv1943[yyj1943] = PodSecurityPolicy{} + } else { + yyv1945 := &yyv1943[yyj1943] + yyv1945.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1943 := 0 + for ; !r.CheckBreak(); yyj1943++ { + + if yyj1943 >= len(yyv1943) { + yyv1943 = append(yyv1943, PodSecurityPolicy{}) // var yyz1943 PodSecurityPolicy + yyc1943 = true + } + yyh1943.ElemContainerState(yyj1943) + if yyj1943 < len(yyv1943) { + if r.TryDecodeAsNil() { + yyv1943[yyj1943] = PodSecurityPolicy{} + } else { + yyv1946 := &yyv1943[yyj1943] + yyv1946.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1943 < len(yyv1943) { + yyv1943 = yyv1943[:yyj1943] + yyc1943 = true + } else if yyj1943 == 0 && yyv1943 == nil { + yyv1943 = []PodSecurityPolicy{} + yyc1943 = true + } + } + yyh1943.End() + if yyc1943 { + *v = yyv1943 + } +} + +func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngressRule, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1947 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1948 := &yyv1947 + yy1948.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngressRule, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1949 := *v + yyh1949, yyl1949 := z.DecSliceHelperStart() + var yyc1949 bool + if yyl1949 == 0 { + if yyv1949 == nil { + yyv1949 = []NetworkPolicyIngressRule{} + yyc1949 = true + } else if len(yyv1949) != 0 { + yyv1949 = yyv1949[:0] + yyc1949 = true + } + } else if yyl1949 > 0 { + var yyrr1949, yyrl1949 int + var yyrt1949 bool + if yyl1949 > cap(yyv1949) { + + yyrg1949 := len(yyv1949) > 0 + yyv21949 := yyv1949 + yyrl1949, yyrt1949 = z.DecInferLen(yyl1949, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1949 { + if yyrl1949 <= cap(yyv1949) { + yyv1949 = yyv1949[:yyrl1949] + } else { + yyv1949 = make([]NetworkPolicyIngressRule, yyrl1949) + } + } else { + yyv1949 = make([]NetworkPolicyIngressRule, yyrl1949) + } + yyc1949 = true + yyrr1949 = len(yyv1949) + if yyrg1949 { + copy(yyv1949, yyv21949) + } + } else if yyl1949 != len(yyv1949) { + yyv1949 = yyv1949[:yyl1949] + yyc1949 = true + } + yyj1949 := 0 + for ; yyj1949 < yyrr1949; yyj1949++ { + yyh1949.ElemContainerState(yyj1949) + if r.TryDecodeAsNil() { + yyv1949[yyj1949] = NetworkPolicyIngressRule{} + } else { + yyv1950 := &yyv1949[yyj1949] + yyv1950.CodecDecodeSelf(d) + } + + } + if yyrt1949 { + for ; yyj1949 < yyl1949; yyj1949++ { + yyv1949 = append(yyv1949, NetworkPolicyIngressRule{}) + yyh1949.ElemContainerState(yyj1949) + if r.TryDecodeAsNil() { + yyv1949[yyj1949] = NetworkPolicyIngressRule{} + } else { + yyv1951 := &yyv1949[yyj1949] + yyv1951.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1949 := 0 + for ; !r.CheckBreak(); yyj1949++ { + + if yyj1949 >= len(yyv1949) { + yyv1949 = append(yyv1949, NetworkPolicyIngressRule{}) // var yyz1949 NetworkPolicyIngressRule + yyc1949 = true + } + yyh1949.ElemContainerState(yyj1949) + if yyj1949 < len(yyv1949) { + if r.TryDecodeAsNil() { + yyv1949[yyj1949] = NetworkPolicyIngressRule{} + } else { + yyv1952 := &yyv1949[yyj1949] + yyv1952.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1949 < len(yyv1949) { + yyv1949 = yyv1949[:yyj1949] + yyc1949 = true + } else if yyj1949 == 0 && yyv1949 == nil { + yyv1949 = []NetworkPolicyIngressRule{} + yyc1949 = true + } + } + yyh1949.End() + if yyc1949 { + *v = yyv1949 + } +} + +func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1953 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1954 := &yyv1953 + yy1954.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1955 := *v + yyh1955, yyl1955 := z.DecSliceHelperStart() + var yyc1955 bool + if yyl1955 == 0 { + if yyv1955 == nil { + yyv1955 = []NetworkPolicyPort{} + yyc1955 = true + } else if len(yyv1955) != 0 { + yyv1955 = yyv1955[:0] + yyc1955 = true + } + } else if yyl1955 > 0 { + var yyrr1955, yyrl1955 int + var yyrt1955 bool + if yyl1955 > cap(yyv1955) { + + yyrg1955 := len(yyv1955) > 0 + yyv21955 := yyv1955 + yyrl1955, yyrt1955 = z.DecInferLen(yyl1955, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1955 { + if yyrl1955 <= cap(yyv1955) { + yyv1955 = yyv1955[:yyrl1955] + } else { + yyv1955 = make([]NetworkPolicyPort, yyrl1955) + } + } else { + yyv1955 = make([]NetworkPolicyPort, yyrl1955) + } + yyc1955 = true + yyrr1955 = len(yyv1955) + if yyrg1955 { + copy(yyv1955, yyv21955) + } + } else if yyl1955 != len(yyv1955) { + yyv1955 = yyv1955[:yyl1955] + yyc1955 = true + } + yyj1955 := 0 + for ; yyj1955 < yyrr1955; yyj1955++ { + yyh1955.ElemContainerState(yyj1955) + if r.TryDecodeAsNil() { + yyv1955[yyj1955] = NetworkPolicyPort{} + } else { + yyv1956 := &yyv1955[yyj1955] + yyv1956.CodecDecodeSelf(d) + } + + } + if yyrt1955 { + for ; yyj1955 < yyl1955; yyj1955++ { + yyv1955 = append(yyv1955, NetworkPolicyPort{}) + yyh1955.ElemContainerState(yyj1955) + if r.TryDecodeAsNil() { + yyv1955[yyj1955] = NetworkPolicyPort{} + } else { + yyv1957 := &yyv1955[yyj1955] + yyv1957.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1955 := 0 + for ; !r.CheckBreak(); yyj1955++ { + + if yyj1955 >= len(yyv1955) { + yyv1955 = append(yyv1955, NetworkPolicyPort{}) // var yyz1955 NetworkPolicyPort + yyc1955 = true + } + yyh1955.ElemContainerState(yyj1955) + if yyj1955 < len(yyv1955) { + if r.TryDecodeAsNil() { + yyv1955[yyj1955] = NetworkPolicyPort{} + } else { + yyv1958 := &yyv1955[yyj1955] + yyv1958.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1955 < len(yyv1955) { + yyv1955 = yyv1955[:yyj1955] + yyc1955 = true + } else if yyj1955 == 0 && yyv1955 == nil { + yyv1955 = []NetworkPolicyPort{} + yyc1955 = true + } + } + yyh1955.End() + if yyc1955 { + *v = yyv1955 + } +} + +func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1959 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1960 := &yyv1959 + yy1960.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1961 := *v + yyh1961, yyl1961 := z.DecSliceHelperStart() + var yyc1961 bool + if yyl1961 == 0 { + if yyv1961 == nil { + yyv1961 = []NetworkPolicyPeer{} + yyc1961 = true + } else if len(yyv1961) != 0 { + yyv1961 = yyv1961[:0] + yyc1961 = true + } + } else if yyl1961 > 0 { + var yyrr1961, yyrl1961 int + var yyrt1961 bool + if yyl1961 > cap(yyv1961) { + + yyrg1961 := len(yyv1961) > 0 + yyv21961 := yyv1961 + yyrl1961, yyrt1961 = z.DecInferLen(yyl1961, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1961 { + if yyrl1961 <= cap(yyv1961) { + yyv1961 = yyv1961[:yyrl1961] + } else { + yyv1961 = make([]NetworkPolicyPeer, yyrl1961) + } + } else { + yyv1961 = make([]NetworkPolicyPeer, yyrl1961) + } + yyc1961 = true + yyrr1961 = len(yyv1961) + if yyrg1961 { + copy(yyv1961, yyv21961) + } + } else if yyl1961 != len(yyv1961) { + yyv1961 = yyv1961[:yyl1961] + yyc1961 = true + } + yyj1961 := 0 + for ; yyj1961 < yyrr1961; yyj1961++ { + yyh1961.ElemContainerState(yyj1961) + if r.TryDecodeAsNil() { + yyv1961[yyj1961] = NetworkPolicyPeer{} + } else { + yyv1962 := &yyv1961[yyj1961] + yyv1962.CodecDecodeSelf(d) + } + + } + if yyrt1961 { + for ; yyj1961 < yyl1961; yyj1961++ { + yyv1961 = append(yyv1961, NetworkPolicyPeer{}) + yyh1961.ElemContainerState(yyj1961) + if r.TryDecodeAsNil() { + yyv1961[yyj1961] = NetworkPolicyPeer{} + } else { + yyv1963 := &yyv1961[yyj1961] + yyv1963.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1961 := 0 + for ; !r.CheckBreak(); yyj1961++ { + + if yyj1961 >= len(yyv1961) { + yyv1961 = append(yyv1961, NetworkPolicyPeer{}) // var yyz1961 NetworkPolicyPeer + yyc1961 = true + } + yyh1961.ElemContainerState(yyj1961) + if yyj1961 < len(yyv1961) { + if r.TryDecodeAsNil() { + yyv1961[yyj1961] = NetworkPolicyPeer{} + } else { + yyv1964 := &yyv1961[yyj1961] + yyv1964.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1961 < len(yyv1961) { + yyv1961 = yyv1961[:yyj1961] + yyc1961 = true + } else if yyj1961 == 0 && yyv1961 == nil { + yyv1961 = []NetworkPolicyPeer{} + yyc1961 = true + } + } + yyh1961.End() + if yyc1961 { + *v = yyv1961 + } +} + +func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1965 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1966 := &yyv1965 + yy1966.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1967 := *v + yyh1967, yyl1967 := z.DecSliceHelperStart() + var yyc1967 bool + if yyl1967 == 0 { + if yyv1967 == nil { + yyv1967 = []NetworkPolicy{} + yyc1967 = true + } else if len(yyv1967) != 0 { + yyv1967 = yyv1967[:0] + yyc1967 = true + } + } else if yyl1967 > 0 { + var yyrr1967, yyrl1967 int + var yyrt1967 bool + if yyl1967 > cap(yyv1967) { + + yyrg1967 := len(yyv1967) > 0 + yyv21967 := yyv1967 + yyrl1967, yyrt1967 = z.DecInferLen(yyl1967, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1967 { + if yyrl1967 <= cap(yyv1967) { + yyv1967 = yyv1967[:yyrl1967] + } else { + yyv1967 = make([]NetworkPolicy, yyrl1967) + } + } else { + yyv1967 = make([]NetworkPolicy, yyrl1967) + } + yyc1967 = true + yyrr1967 = len(yyv1967) + if yyrg1967 { + copy(yyv1967, yyv21967) + } + } else if yyl1967 != len(yyv1967) { + yyv1967 = yyv1967[:yyl1967] + yyc1967 = true + } + yyj1967 := 0 + for ; yyj1967 < yyrr1967; yyj1967++ { + yyh1967.ElemContainerState(yyj1967) + if r.TryDecodeAsNil() { + yyv1967[yyj1967] = NetworkPolicy{} + } else { + yyv1968 := &yyv1967[yyj1967] + yyv1968.CodecDecodeSelf(d) + } + + } + if yyrt1967 { + for ; yyj1967 < yyl1967; yyj1967++ { + yyv1967 = append(yyv1967, NetworkPolicy{}) + yyh1967.ElemContainerState(yyj1967) + if r.TryDecodeAsNil() { + yyv1967[yyj1967] = NetworkPolicy{} + } else { + yyv1969 := &yyv1967[yyj1967] + yyv1969.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1967 := 0 + for ; !r.CheckBreak(); yyj1967++ { + + if yyj1967 >= len(yyv1967) { + yyv1967 = append(yyv1967, NetworkPolicy{}) // var yyz1967 NetworkPolicy + yyc1967 = true + } + yyh1967.ElemContainerState(yyj1967) + if yyj1967 < len(yyv1967) { + if r.TryDecodeAsNil() { + yyv1967[yyj1967] = NetworkPolicy{} + } else { + yyv1970 := &yyv1967[yyj1967] + yyv1970.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1967 < len(yyv1967) { + yyv1967 = yyv1967[:yyj1967] + yyc1967 = true + } else if yyj1967 == 0 && yyv1967 == nil { + yyv1967 = []NetworkPolicy{} + yyc1967 = true + } + } + yyh1967.End() + if yyc1967 { + *v = yyv1967 + } +} diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index 8c4462ee..5bf73da9 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -26,6 +26,7 @@ import ( // describes the attributes of a scale subresource type ScaleSpec struct { // desired number of instances for the scaled object. + // +optional Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` } @@ -35,6 +36,7 @@ type ScaleStatus struct { Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"` // label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,2,rep,name=selector"` // label selector for pods that should match the replicas count. This is a serializated @@ -43,6 +45,7 @@ type ScaleStatus struct { // query-param syntax. If the target type only supports map-based selectors, both this // field and map-based selector field are populated. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + // +optional TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"` } @@ -53,12 +56,15 @@ type ScaleStatus struct { type Scale struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional Spec ScaleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + // +optional Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -70,12 +76,16 @@ type ReplicationControllerDummy struct { // SubresourceReference contains enough information to let you inspect or modify the referred subresource. type SubresourceReference struct { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names + // +optional Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"` // API version of the referent + // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"` // Subresource name of the referent + // +optional Subresource string `json:"subresource,omitempty" protobuf:"bytes,4,opt,name=subresource"` } @@ -114,21 +124,25 @@ type HorizontalPodAutoscalerSpec struct { // and will set the desired number of pods by modifying its spec. ScaleRef SubresourceReference `json:"scaleRef" protobuf:"bytes,1,opt,name=scaleRef"` // lower limit for the number of pods that can be set by the autoscaler, default 1. + // +optional MinReplicas *int32 `json:"minReplicas,omitempty" protobuf:"varint,2,opt,name=minReplicas"` // upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. MaxReplicas int32 `json:"maxReplicas" protobuf:"varint,3,opt,name=maxReplicas"` // target average CPU utilization (represented as a percentage of requested CPU) over all the pods; // if not specified it defaults to the target CPU utilization at 80% of the requested resources. + // +optional CPUUtilization *CPUTargetUtilization `json:"cpuUtilization,omitempty" protobuf:"bytes,4,opt,name=cpuUtilization"` } // current status of a horizontal pod autoscaler type HorizontalPodAutoscalerStatus struct { // most recent generation observed by this autoscaler. + // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` // last time the HorizontalPodAutoscaler scaled the number of pods; // used by the autoscaler to control how often the number of pods is changed. + // +optional LastScaleTime *unversioned.Time `json:"lastScaleTime,omitempty" protobuf:"bytes,2,opt,name=lastScaleTime"` // current number of replicas of pods managed by this autoscaler. @@ -139,6 +153,7 @@ type HorizontalPodAutoscalerStatus struct { // current average CPU utilization over all pods, represented as a percentage of requested CPU, // e.g. 70 means that an average pod is using now 70% of its requested CPU. + // +optional CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage,omitempty" protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage"` } @@ -146,12 +161,15 @@ type HorizontalPodAutoscalerStatus struct { type HorizontalPodAutoscaler struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + // +optional Spec HorizontalPodAutoscalerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // current information about the autoscaler. + // +optional Status HorizontalPodAutoscalerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -159,6 +177,7 @@ type HorizontalPodAutoscaler struct { type HorizontalPodAutoscalerList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // list of horizontal pod autoscaler objects. @@ -174,12 +193,15 @@ type ThirdPartyResource struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Description is the description of this object. + // +optional Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"` // Versions are versions for this third party object + // +optional Versions []APIVersion `json:"versions,omitempty" protobuf:"bytes,3,rep,name=versions"` } @@ -188,6 +210,7 @@ type ThirdPartyResourceList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of ThirdPartyResources. @@ -197,6 +220,7 @@ type ThirdPartyResourceList struct { // An APIVersion represents a single concrete version of an object model. type APIVersion struct { // Name of this version (e.g. 'v1'). + // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` } @@ -204,9 +228,11 @@ type APIVersion struct { type ThirdPartyResourceData struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Data is the raw JSON data for this data. + // +optional Data []byte `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"` } @@ -216,12 +242,15 @@ type ThirdPartyResourceData struct { type Deployment struct { unversioned.TypeMeta `json:",inline"` // Standard object metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Specification of the desired behavior of the Deployment. + // +optional Spec DeploymentSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Most recently observed status of the Deployment. + // +optional Status DeploymentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -229,32 +258,49 @@ type Deployment struct { type DeploymentSpec struct { // Number of desired pods. This is a pointer to distinguish between explicit // zero and not specified. Defaults to 1. + // +optional Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. - Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` + // +optional + Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` // Template describes the pods that will be created. Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"` // The deployment strategy to use to replace existing pods with new ones. + // +optional Strategy DeploymentStrategy `json:"strategy,omitempty" protobuf:"bytes,4,opt,name=strategy"` // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,5,opt,name=minReadySeconds"` // The number of old ReplicaSets to retain to allow rollback. // This is a pointer to distinguish between explicit zero and not specified. + // +optional RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,6,opt,name=revisionHistoryLimit"` // Indicates that the deployment is paused and will not be processed by the // deployment controller. + // +optional Paused bool `json:"paused,omitempty" protobuf:"varint,7,opt,name=paused"` + // The config this deployment is rolling back to. Will be cleared after rollback is done. + // +optional RollbackTo *RollbackConfig `json:"rollbackTo,omitempty" protobuf:"bytes,8,opt,name=rollbackTo"` + + // The maximum time in seconds for a deployment to make progress before it + // is considered to be failed. The deployment controller will continue to + // process failed deployments and a condition with a ProgressDeadlineExceeded + // reason will be surfaced in the deployment status. Once autoRollback is + // implemented, the deployment controller will automatically rollback failed + // deployments. Note that progress will not be estimated during the time a + // deployment is paused. This is not set by default. + ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty"` } // DeploymentRollback stores the information required to rollback a deployment. @@ -263,6 +309,7 @@ type DeploymentRollback struct { // Required: This must match the Name of a deployment. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // The annotations to be updated to a deployment + // +optional UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty" protobuf:"bytes,2,rep,name=updatedAnnotations"` // The config of this deployment rollback. RollbackTo RollbackConfig `json:"rollbackTo" protobuf:"bytes,3,opt,name=rollbackTo"` @@ -270,6 +317,7 @@ type DeploymentRollback struct { type RollbackConfig struct { // The revision to rollback to. If set to 0, rollbck to the last revision. + // +optional Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"` } @@ -283,6 +331,7 @@ const ( // DeploymentStrategy describes how to replace existing pods with new ones. type DeploymentStrategy struct { // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. + // +optional Type DeploymentStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentStrategyType"` // Rolling update config params. Present only if DeploymentStrategyType = @@ -290,6 +339,7 @@ type DeploymentStrategy struct { //--- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. + // +optional RollingUpdate *RollingUpdateDeployment `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"` } @@ -315,6 +365,7 @@ type RollingUpdateDeployment struct { // can be scaled down further, followed by scaling up the new RC, ensuring // that the total number of pods available at all times during the update is at // least 70% of desired pods. + // +optional MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"` // The maximum number of pods that can be scheduled above the desired number of @@ -328,31 +379,74 @@ type RollingUpdateDeployment struct { // 130% of desired pods. Once old pods have been killed, // new RC can be scaled up further, ensuring that total number of pods running // at any time during the update is atmost 130% of desired pods. + // +optional MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"` } // DeploymentStatus is the most recently observed status of the Deployment. type DeploymentStatus struct { // The generation observed by the deployment controller. + // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` // Total number of non-terminated pods targeted by this deployment (their labels match the selector). + // +optional Replicas int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"` // Total number of non-terminated pods targeted by this deployment that have the desired template spec. + // +optional UpdatedReplicas int32 `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"` // 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"` // Total number of unavailable pods targeted by this deployment. + // +optional UnavailableReplicas int32 `json:"unavailableReplicas,omitempty" protobuf:"varint,5,opt,name=unavailableReplicas"` + + // Represents the latest available observations of a deployment's current state. + Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` +} + +type DeploymentConditionType string + +// These are valid conditions of a deployment. +const ( + // Available means the deployment is available, ie. at least the minimum available + // replicas required are up and running for at least minReadySeconds. + DeploymentAvailable DeploymentConditionType = "Available" + // Progressing means the deployment is progressing. Progress for a deployment is + // considered when a new replica set is created or adopted, and when new pods scale + // up or old pods scale down. Progress is not estimated for paused deployments or + // when progressDeadlineSeconds is not specified. + DeploymentProgressing DeploymentConditionType = "Progressing" + // ReplicaFailure is added in a deployment when one of its pods fails to be created + // or deleted. + DeploymentReplicaFailure DeploymentConditionType = "ReplicaFailure" +) + +// DeploymentCondition describes the state of a deployment at a certain point. +type DeploymentCondition struct { + // Type of deployment condition. + Type DeploymentConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DeploymentConditionType"` + // Status of the condition, one of True, False, Unknown. + Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"` + // The last time this condition was updated. + LastUpdateTime unversioned.Time `json:"lastUpdateTime,omitempty"` + // Last time the condition transitioned from one status to another. + LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` + // The reason for the condition's last transition. + Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` + // A human readable message indicating details about the transition. + Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` } // DeploymentList is a list of Deployments. type DeploymentList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of Deployments. @@ -363,6 +457,7 @@ type DeploymentList struct { /* Commenting out for v1.2. We are planning to bring these types back with a more robust DaemonSet update implementation in v1.3, hence not deleting but just commenting the types out. type DaemonSetUpdateStrategy struct { // Type of daemon set update. Only "RollingUpdate" is supported at this time. Default is RollingUpdate. +// +optional Type DaemonSetUpdateStrategyType `json:"type,omitempty"` // Rolling update config params. Present only if DaemonSetUpdateStrategy = @@ -370,6 +465,7 @@ type DaemonSetUpdateStrategy struct { //--- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. Same as DeploymentStrategy.RollingUpdate. +// +optional RollingUpdate *RollingUpdateDaemonSet `json:"rollingUpdate,omitempty"` } @@ -395,12 +491,14 @@ type RollingUpdateDaemonSet struct { // it then proceeds onto other DaemonSet pods, thus ensuring that at least // 70% of original number of DaemonSet pods are available at all times // during the update. +// +optional MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"` // Minimum number of seconds for which a newly created DaemonSet pod should // be ready without any of its container crashing, for it to be considered // available. Defaults to 0 (pod will be considered available as soon as it // is ready). +// +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty"` } */ @@ -411,7 +509,8 @@ type DaemonSetSpec struct { // Must match in order to be controlled. // If empty, defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"` + // +optional + Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"` // 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 @@ -422,17 +521,19 @@ type DaemonSetSpec struct { // TODO(madhusudancs): Uncomment while implementing DaemonSet updates. /* Commenting out for v1.2. We are planning to bring these fields back with a more robust DaemonSet update implementation in v1.3, hence not deleting but just commenting these fields out. - // Update strategy to replace existing DaemonSet pods with new pods. - UpdateStrategy DaemonSetUpdateStrategy `json:"updateStrategy,omitempty"` + // Update strategy to replace existing DaemonSet pods with new pods. + // +optional + UpdateStrategy DaemonSetUpdateStrategy `json:"updateStrategy,omitempty"` - // Label key that is added to DaemonSet pods to distinguish between old and - // new pod templates during DaemonSet update. - // Users can set this to an empty string to indicate that the system should - // not add any label. If unspecified, system uses - // DefaultDaemonSetUniqueLabelKey("daemonset.kubernetes.io/podTemplateHash"). - // Value of this key is hash of DaemonSetSpec.PodTemplateSpec. - // No label is added if this is set to empty string. - UniqueLabelKey *string `json:"uniqueLabelKey,omitempty"` + // Label key that is added to DaemonSet pods to distinguish between old and + // new pod templates during DaemonSet update. + // Users can set this to an empty string to indicate that the system should + // not add any label. If unspecified, system uses + // DefaultDaemonSetUniqueLabelKey("daemonset.kubernetes.io/podTemplateHash"). + // Value of this key is hash of DaemonSetSpec.PodTemplateSpec. + // No label is added if this is set to empty string. + // +optional + UniqueLabelKey *string `json:"uniqueLabelKey,omitempty"` */ } @@ -472,10 +573,12 @@ type DaemonSet struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the desired behavior of this daemon set. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec DaemonSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is the current status of this daemon set. This data may be @@ -483,6 +586,7 @@ type DaemonSet struct { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status DaemonSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -491,6 +595,7 @@ type DaemonSetList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of daemon sets. @@ -502,6 +607,7 @@ type ThirdPartyResourceDataList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of ThirdpartyResourceData. @@ -515,14 +621,17 @@ type Job struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is a structure defining the expected behavior of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is a structure describing current status of a job. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status JobStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -531,6 +640,7 @@ type JobList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of Job. @@ -545,6 +655,7 @@ type JobSpec struct { // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Parallelism *int32 `json:"parallelism,omitempty" protobuf:"varint,1,opt,name=parallelism"` // Completions specifies the desired number of successfully finished pods the @@ -553,22 +664,26 @@ type JobSpec struct { // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Completions *int32 `json:"completions,omitempty" protobuf:"varint,2,opt,name=completions"` // Optional duration in seconds relative to the startTime that the job may be active // before the system tries to terminate it; value must be positive integer + // +optional ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,3,opt,name=activeDeadlineSeconds"` // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors - Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + // +optional + Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // AutoSelector controls generation of pod labels and pod selectors. // It was not present in the original extensions/v1beta1 Job definition, but exists // to allow conversion from batch/v1 Jobs, where it corresponds to, but has the opposite // meaning as, ManualSelector. // More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md + // +optional AutoSelector *bool `json:"autoSelector,omitempty" protobuf:"varint,5,opt,name=autoSelector"` // Template is the object that describes the pod that will be created when @@ -582,25 +697,31 @@ type JobStatus struct { // Conditions represent the latest available observations of an object's current state. // More info: http://kubernetes.io/docs/user-guide/jobs + // +optional Conditions []JobCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // StartTime represents time when the job was acknowledged by the Job Manager. // 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 StartTime *unversioned.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"` // 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 CompletionTime *unversioned.Time `json:"completionTime,omitempty" protobuf:"bytes,3,opt,name=completionTime"` // Active is the number of actively running pods. + // +optional Active int32 `json:"active,omitempty" protobuf:"varint,4,opt,name=active"` // Succeeded is the number of pods which reached Phase Succeeded. + // +optional Succeeded int32 `json:"succeeded,omitempty" protobuf:"varint,5,opt,name=succeeded"` // Failed is the number of pods which reached Phase Failed. + // +optional Failed int32 `json:"failed,omitempty" protobuf:"varint,6,opt,name=failed"` } @@ -621,12 +742,16 @@ type JobCondition struct { // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"` // Last time the condition was checked. + // +optional LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transit from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. + // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } @@ -640,14 +765,17 @@ type Ingress struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is the desired state of the Ingress. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec IngressSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is the current state of the Ingress. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status IngressStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -656,6 +784,7 @@ type IngressList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of Ingress. @@ -668,6 +797,7 @@ type IngressSpec struct { // rule. At least one of 'backend' or 'rules' must be specified. This field // is optional to allow the loadbalancer controller or defaulting logic to // specify a global default. + // +optional Backend *IngressBackend `json:"backend,omitempty" protobuf:"bytes,1,opt,name=backend"` // TLS configuration. Currently the Ingress only supports a single TLS @@ -675,10 +805,12 @@ type IngressSpec struct { // will be multiplexed on the same port according to the hostname specified // through the SNI TLS extension, if the ingress controller fulfilling the // ingress supports SNI. + // +optional TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"` // A list of host rules used to configure the Ingress. If unspecified, or // no rule matches, all traffic is sent to the default backend. + // +optional Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"` // TODO: Add the ability to specify load-balancer IP through claims } @@ -689,12 +821,14 @@ type IngressTLS struct { // this list must match the name/s used in the tlsSecret. Defaults to the // wildcard host setting for the loadbalancer controller fulfilling this // Ingress, if left unspecified. + // +optional Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"` // SecretName is the name of the secret used to terminate SSL traffic on 443. // Field is left optional to allow SSL routing based on SNI hostname alone. // If the SNI host in a listener conflicts with the "Host" header field used // by an IngressRule, the SNI host is used for termination and value of the // Host header is used for routing. + // +optional SecretName string `json:"secretName,omitempty" protobuf:"bytes,2,opt,name=secretName"` // TODO: Consider specifying different modes of termination, protocols etc. } @@ -702,6 +836,7 @@ type IngressTLS struct { // IngressStatus describe the current state of the Ingress. type IngressStatus struct { // LoadBalancer contains the current status of the load-balancer. + // +optional LoadBalancer v1.LoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"` } @@ -721,12 +856,14 @@ type IngressRule struct { // Incoming requests are matched against the host before the IngressRuleValue. // If the host is unspecified, the Ingress routes all traffic based on the // specified IngressRuleValue. + // +optional Host string `json:"host,omitempty" protobuf:"bytes,1,opt,name=host"` // IngressRuleValue represents a rule to route requests for this IngressRule. // If unspecified, the rule defaults to a http catch-all. Whether that sends // just traffic matching the host to the default backend or all traffic to the // default backend, is left to the controller fulfilling the Ingress. Http is // currently the only supported IngressRuleValue. + // +optional IngressRuleValue `json:",inline,omitempty" protobuf:"bytes,2,opt,name=ingressRuleValue"` } @@ -741,6 +878,7 @@ type IngressRuleValue struct { // 2. Consider adding fields for ingress-type specific global options // usable by a loadbalancer, like http keep-alive. + // +optional HTTP *HTTPIngressRuleValue `json:"http,omitempty" protobuf:"bytes,1,opt,name=http"` } @@ -766,6 +904,7 @@ type HTTPIngressPath struct { // part of a URL as defined by RFC 3986. Paths must begin with // a '/'. If unspecified, the path defaults to a catch all sending // traffic to the backend. + // +optional Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` // Backend defines the referenced service endpoint to which the traffic @@ -791,43 +930,6 @@ type ExportOptions struct { Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"` } -// A label selector is a label query over a set of resources. The result of matchLabels and -// matchExpressions are ANDed. An empty label selector matches all objects. A null -// label selector matches no objects. -type LabelSelector struct { - // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels - // map is equivalent to an element of matchExpressions, whose key field is "key", the - // operator is "In", and the values array contains only "value". The requirements are ANDed. - MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` - // matchExpressions is a list of label selector requirements. The requirements are ANDed. - MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` -} - -// A label selector requirement is a selector that contains values, a key, and an operator that -// relates the key and values. -type LabelSelectorRequirement struct { - // key is the label key that the selector applies to. - Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` - // operator represents a key's relationship to a set of values. - // Valid operators ard In, NotIn, Exists and DoesNotExist. - Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"` - // values is an array of string values. If the operator is In or NotIn, - // the values array must be non-empty. If the operator is Exists or DoesNotExist, - // the values array must be empty. This array is replaced during a strategic - // merge patch. - Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` -} - -// A label selector operator is the set of operators that can be used in a selector requirement. -type LabelSelectorOperator string - -const ( - LabelSelectorOpIn LabelSelectorOperator = "In" - LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" - LabelSelectorOpExists LabelSelectorOperator = "Exists" - LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" -) - // +genclient=true // ReplicaSet represents the configuration of a ReplicaSet. @@ -837,10 +939,12 @@ type ReplicaSet struct { // 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 + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the specification of the desired behavior of the ReplicaSet. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Spec ReplicaSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status is the most recently observed status of the ReplicaSet. @@ -848,6 +952,7 @@ type ReplicaSet struct { // Populated by the system. // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + // +optional Status ReplicaSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -856,6 +961,7 @@ type ReplicaSetList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of ReplicaSets. @@ -869,22 +975,26 @@ type ReplicaSetSpec struct { // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + // +optional Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,4,opt,name=minReadySeconds"` // Selector is a label query over pods that should match the replica count. // If the selector is empty, it is defaulted to the labels present on the pod template. // 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 - Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` + // +optional + Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` // Template is the object that describes the pod that will be created if // insufficient replicas are detected. // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template + // +optional Template v1.PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"` } @@ -895,18 +1005,23 @@ type ReplicaSetStatus struct { Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"` // The number of pods that have labels matching the labels of the pod template of the replicaset. + // +optional FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty" protobuf:"varint,2,opt,name=fullyLabeledReplicas"` // The number of ready replicas for this replica set. + // +optional ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,4,opt,name=readyReplicas"` // The number of available replicas (ready for at least minReadySeconds) for this replica set. + // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,5,opt,name=availableReplicas"` // ObservedGeneration reflects the generation of the most recently observed ReplicaSet. + // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` // Represents the latest available observations of a replica set's current state. + // +optional Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` } @@ -926,13 +1041,14 @@ type ReplicaSetCondition struct { Type ReplicaSetConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` - // Last time we probed the condition. - LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` // The last time the condition transitioned from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. + // +optional Message string `json:"message,omitempty"` } @@ -945,37 +1061,48 @@ type PodSecurityPolicy struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // spec defines the policy enforced. + // +optional Spec PodSecurityPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` } // Pod Security Policy Spec defines the policy enforced. type PodSecurityPolicySpec struct { // privileged determines if a pod can request to be run as privileged. + // +optional Privileged bool `json:"privileged,omitempty" protobuf:"varint,1,opt,name=privileged"` // DefaultAddCapabilities is the default set of capabilities that will be added to the container // unless the pod spec specifically drops the capability. You may not list a capabiility in both // DefaultAddCapabilities and RequiredDropCapabilities. + // +optional DefaultAddCapabilities []v1.Capability `json:"defaultAddCapabilities,omitempty" protobuf:"bytes,2,rep,name=defaultAddCapabilities,casttype=k8s.io/kubernetes/pkg/api/v1.Capability"` // RequiredDropCapabilities are the capabilities that will be dropped from the container. These // are required to be dropped and cannot be added. + // +optional RequiredDropCapabilities []v1.Capability `json:"requiredDropCapabilities,omitempty" protobuf:"bytes,3,rep,name=requiredDropCapabilities,casttype=k8s.io/kubernetes/pkg/api/v1.Capability"` // AllowedCapabilities is a list of capabilities that can be requested to add to the container. // Capabilities in this field may be added at the pod author's discretion. // You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + // +optional AllowedCapabilities []v1.Capability `json:"allowedCapabilities,omitempty" protobuf:"bytes,4,rep,name=allowedCapabilities,casttype=k8s.io/kubernetes/pkg/api/v1.Capability"` // volumes is a white list of allowed volume plugins. Empty indicates that all plugins // may be used. + // +optional Volumes []FSType `json:"volumes,omitempty" protobuf:"bytes,5,rep,name=volumes,casttype=FSType"` // hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. + // +optional HostNetwork bool `json:"hostNetwork,omitempty" protobuf:"varint,6,opt,name=hostNetwork"` // hostPorts determines which host port ranges are allowed to be exposed. + // +optional HostPorts []HostPortRange `json:"hostPorts,omitempty" protobuf:"bytes,7,rep,name=hostPorts"` // hostPID determines if the policy allows the use of HostPID in the pod spec. + // +optional HostPID bool `json:"hostPID,omitempty" protobuf:"varint,8,opt,name=hostPID"` // hostIPC determines if the policy allows the use of HostIPC in the pod spec. + // +optional HostIPC bool `json:"hostIPC,omitempty" protobuf:"varint,9,opt,name=hostIPC"` // seLinux is the strategy that will dictate the allowable labels that may be set. SELinux SELinuxStrategyOptions `json:"seLinux" protobuf:"bytes,10,opt,name=seLinux"` @@ -990,6 +1117,7 @@ type PodSecurityPolicySpec struct { // the PSP should deny the pod. // If set to false the container may run with a read only root file system if it wishes but it // will not be forced to. + // +optional ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty" protobuf:"varint,14,opt,name=readOnlyRootFilesystem"` } @@ -1036,6 +1164,7 @@ type SELinuxStrategyOptions struct { Rule SELinuxStrategy `json:"rule" protobuf:"bytes,1,opt,name=rule,casttype=SELinuxStrategy"` // seLinuxOptions required to run as; required for MustRunAs // More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context + // +optional SELinuxOptions *v1.SELinuxOptions `json:"seLinuxOptions,omitempty" protobuf:"bytes,2,opt,name=seLinuxOptions"` } @@ -1055,6 +1184,7 @@ type RunAsUserStrategyOptions struct { // Rule is the strategy that will dictate the allowable RunAsUser values that may be set. Rule RunAsUserStrategy `json:"rule" protobuf:"bytes,1,opt,name=rule,casttype=RunAsUserStrategy"` // Ranges are the allowed ranges of uids that may be used. + // +optional Ranges []IDRange `json:"ranges,omitempty" protobuf:"bytes,2,rep,name=ranges"` } @@ -1082,9 +1212,11 @@ const ( // FSGroupStrategyOptions defines the strategy type and options used to create the strategy. type FSGroupStrategyOptions struct { // Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + // +optional Rule FSGroupStrategyType `json:"rule,omitempty" protobuf:"bytes,1,opt,name=rule,casttype=FSGroupStrategyType"` // Ranges are the allowed ranges of fs groups. If you would like to force a single // fs group then supply a single range with the same start and end. + // +optional Ranges []IDRange `json:"ranges,omitempty" protobuf:"bytes,2,rep,name=ranges"` } @@ -1102,9 +1234,11 @@ const ( // SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. type SupplementalGroupsStrategyOptions struct { // Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + // +optional Rule SupplementalGroupsStrategyType `json:"rule,omitempty" protobuf:"bytes,1,opt,name=rule,casttype=SupplementalGroupsStrategyType"` // Ranges are the allowed ranges of supplemental groups. If you would like to force a single // supplemental group then supply a single range with the same start and end. + // +optional Ranges []IDRange `json:"ranges,omitempty" protobuf:"bytes,2,rep,name=ranges"` } @@ -1124,6 +1258,7 @@ type PodSecurityPolicyList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of schema objects. @@ -1134,9 +1269,11 @@ type NetworkPolicy struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Specification of the desired behavior for this NetworkPolicy. + // +optional Spec NetworkPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` } @@ -1146,7 +1283,7 @@ type NetworkPolicySpec struct { // 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. - PodSelector LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"` + PodSelector unversioned.LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"` // 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, @@ -1156,6 +1293,7 @@ type NetworkPolicySpec struct { // If this field is empty then this NetworkPolicy does not affect ingress isolation. // If this field is present and contains at least one rule, this policy allows any traffic // which matches at least one of the ingress rules in this list. + // +optional Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"` } @@ -1168,6 +1306,7 @@ type NetworkPolicyIngressRule struct { // If this field is present and contains at least one item, then this rule allows traffic // only if the traffic matches at least one port in the list. // TODO: Update this to be a pointer to slice as soon as auto-generation supports it. + // +optional Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"` // List of sources which should be able to access the pods selected for this rule. @@ -1177,12 +1316,14 @@ type NetworkPolicyIngressRule struct { // If this field is present and contains at least on item, this rule allows traffic only if the // traffic matches at least one item in the from list. // TODO: Update this to be a pointer to slice as soon as auto-generation supports it. + // +optional From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"` } type NetworkPolicyPort struct { // Optional. The protocol (TCP or UDP) which traffic must match. // If not specified, this field defaults to TCP. + // +optional Protocol *v1.Protocol `json:"protocol,omitempty" protobuf:"bytes,1,opt,name=protocol,casttype=k8s.io/kubernetes/pkg/api/v1.Protocol"` // If specified, the port on the given protocol. This can @@ -1190,6 +1331,7 @@ type NetworkPolicyPort struct { // this matches all port names and numbers. // If present, only traffic on the specified protocol AND port // will be matched. + // +optional Port *intstr.IntOrString `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"` } @@ -1200,14 +1342,16 @@ type NetworkPolicyPeer struct { // This field follows standard label selector semantics. // If not provided, this selector selects no pods. // If present but empty, this selector selects all pods in this namespace. - PodSelector *LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"` + // +optional + PodSelector *unversioned.LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"` // Selects Namespaces using cluster scoped-labels. This // matches all pods in all namespaces selected by this label selector. // This field follows standard label selector semantics. // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. - NamespaceSelector *LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"` + // +optional + NamespaceSelector *unversioned.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"` } // Network Policy List is a list of NetworkPolicy objects. @@ -1215,6 +1359,7 @@ type NetworkPolicyList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of schema objects. diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index d0d1d86d..67b16cc0 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -117,6 +117,20 @@ func (Deployment) SwaggerDoc() map[string]string { return map_Deployment } +var map_DeploymentCondition = map[string]string{ + "": "DeploymentCondition describes the state of a deployment at a certain point.", + "type": "Type of deployment condition.", + "status": "Status of the condition, one of True, False, Unknown.", + "lastUpdateTime": "The last time this condition was updated.", + "lastTransitionTime": "Last time the condition transitioned from one status to another.", + "reason": "The reason for the condition's last transition.", + "message": "A human readable message indicating details about the transition.", +} + +func (DeploymentCondition) SwaggerDoc() map[string]string { + return map_DeploymentCondition +} + var map_DeploymentList = map[string]string{ "": "DeploymentList is a list of Deployments.", "metadata": "Standard list metadata.", @@ -139,15 +153,16 @@ func (DeploymentRollback) SwaggerDoc() map[string]string { } var map_DeploymentSpec = map[string]string{ - "": "DeploymentSpec is the specification of the desired behavior of the Deployment.", - "replicas": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "selector": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "template": "Template describes the pods that will be created.", - "strategy": "The deployment strategy to use to replace existing pods with new ones.", - "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "revisionHistoryLimit": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "paused": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "rollbackTo": "The config this deployment is rolling back to. Will be cleared after rollback is done.", + "": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "replicas": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "selector": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "template": "Template describes the pods that will be created.", + "strategy": "The deployment strategy to use to replace existing pods with new ones.", + "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "revisionHistoryLimit": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", + "paused": "Indicates that the deployment is paused and will not be processed by the deployment controller.", + "rollbackTo": "The config this deployment is rolling back to. Will be cleared after rollback is done.", + "progressDeadlineSeconds": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", } func (DeploymentSpec) SwaggerDoc() map[string]string { @@ -161,6 +176,7 @@ var map_DeploymentStatus = map[string]string{ "updatedReplicas": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", "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.", } func (DeploymentStatus) SwaggerDoc() map[string]string { @@ -423,27 +439,6 @@ func (JobStatus) SwaggerDoc() map[string]string { return map_JobStatus } -var map_LabelSelector = map[string]string{ - "": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "matchLabels": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "matchExpressions": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", -} - -func (LabelSelector) SwaggerDoc() map[string]string { - return map_LabelSelector -} - -var map_LabelSelectorRequirement = map[string]string{ - "": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "key": "key is the label key that the selector applies to.", - "operator": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", - "values": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", -} - -func (LabelSelectorRequirement) SwaggerDoc() map[string]string { - return map_LabelSelectorRequirement -} - var map_NetworkPolicy = map[string]string{ "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "spec": "Specification of the desired behavior for this NetworkPolicy.", @@ -557,7 +552,6 @@ var map_ReplicaSetCondition = map[string]string{ "": "ReplicaSetCondition describes the state of a replica set at a certain point.", "type": "Type of replica set condition.", "status": "Status of the condition, one of True, False, Unknown.", - "lastProbeTime": "Last time we probed the condition.", "lastTransitionTime": "The last time the condition transitioned from one status to another.", "reason": "The reason for the condition's last transition.", "message": "A human readable message indicating details about the transition.", diff --git a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index 9f728b45..aab73f08 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -22,7 +22,6 @@ package v1beta1 import ( api "k8s.io/client-go/pkg/api" - unversioned "k8s.io/client-go/pkg/api/unversioned" v1 "k8s.io/client-go/pkg/api/v1" autoscaling "k8s.io/client-go/pkg/apis/autoscaling" batch "k8s.io/client-go/pkg/apis/batch" @@ -59,6 +58,8 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus, Convert_v1beta1_Deployment_To_extensions_Deployment, Convert_extensions_Deployment_To_v1beta1_Deployment, + Convert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition, + Convert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition, Convert_v1beta1_DeploymentList_To_extensions_DeploymentList, Convert_extensions_DeploymentList_To_v1beta1_DeploymentList, Convert_v1beta1_DeploymentRollback_To_extensions_DeploymentRollback, @@ -115,10 +116,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_batch_JobSpec_To_v1beta1_JobSpec, Convert_v1beta1_JobStatus_To_batch_JobStatus, Convert_batch_JobStatus_To_v1beta1_JobStatus, - Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector, - Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector, - Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, - Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement, Convert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy, Convert_extensions_NetworkPolicy_To_v1beta1_NetworkPolicy, Convert_v1beta1_NetworkPolicyIngressRule_To_extensions_NetworkPolicyIngressRule, @@ -196,9 +193,7 @@ func Convert_extensions_APIVersion_To_v1beta1_APIVersion(in *extensions.APIVersi func autoConvert_v1beta1_CustomMetricCurrentStatus_To_extensions_CustomMetricCurrentStatus(in *CustomMetricCurrentStatus, out *extensions.CustomMetricCurrentStatus, s conversion.Scope) error { out.Name = in.Name - if err := api.Convert_resource_Quantity_To_resource_Quantity(&in.CurrentValue, &out.CurrentValue, s); err != nil { - return err - } + out.CurrentValue = in.CurrentValue return nil } @@ -208,9 +203,7 @@ func Convert_v1beta1_CustomMetricCurrentStatus_To_extensions_CustomMetricCurrent func autoConvert_extensions_CustomMetricCurrentStatus_To_v1beta1_CustomMetricCurrentStatus(in *extensions.CustomMetricCurrentStatus, out *CustomMetricCurrentStatus, s conversion.Scope) error { out.Name = in.Name - if err := api.Convert_resource_Quantity_To_resource_Quantity(&in.CurrentValue, &out.CurrentValue, s); err != nil { - return err - } + out.CurrentValue = in.CurrentValue return nil } @@ -258,9 +251,7 @@ func Convert_extensions_CustomMetricCurrentStatusList_To_v1beta1_CustomMetricCur func autoConvert_v1beta1_CustomMetricTarget_To_extensions_CustomMetricTarget(in *CustomMetricTarget, out *extensions.CustomMetricTarget, s conversion.Scope) error { out.Name = in.Name - if err := api.Convert_resource_Quantity_To_resource_Quantity(&in.TargetValue, &out.TargetValue, s); err != nil { - return err - } + out.TargetValue = in.TargetValue return nil } @@ -270,9 +261,7 @@ func Convert_v1beta1_CustomMetricTarget_To_extensions_CustomMetricTarget(in *Cus func autoConvert_extensions_CustomMetricTarget_To_v1beta1_CustomMetricTarget(in *extensions.CustomMetricTarget, out *CustomMetricTarget, s conversion.Scope) error { out.Name = in.Name - if err := api.Convert_resource_Quantity_To_resource_Quantity(&in.TargetValue, &out.TargetValue, s); err != nil { - return err - } + out.TargetValue = in.TargetValue return nil } @@ -319,10 +308,6 @@ func Convert_extensions_CustomMetricTargetList_To_v1beta1_CustomMetricTargetList } func autoConvert_v1beta1_DaemonSet_To_extensions_DaemonSet(in *DaemonSet, out *extensions.DaemonSet, s conversion.Scope) error { - SetDefaults_DaemonSet(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -341,9 +326,6 @@ func Convert_v1beta1_DaemonSet_To_extensions_DaemonSet(in *DaemonSet, out *exten } func autoConvert_extensions_DaemonSet_To_v1beta1_DaemonSet(in *extensions.DaemonSet, out *DaemonSet, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -362,12 +344,7 @@ func Convert_extensions_DaemonSet_To_v1beta1_DaemonSet(in *extensions.DaemonSet, } func autoConvert_v1beta1_DaemonSetList_To_extensions_DaemonSetList(in *DaemonSetList, out *extensions.DaemonSetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.DaemonSet, len(*in)) @@ -387,12 +364,7 @@ func Convert_v1beta1_DaemonSetList_To_extensions_DaemonSetList(in *DaemonSetList } func autoConvert_extensions_DaemonSetList_To_v1beta1_DaemonSetList(in *extensions.DaemonSetList, out *DaemonSetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DaemonSet, len(*in)) @@ -412,15 +384,7 @@ func Convert_extensions_DaemonSetList_To_v1beta1_DaemonSetList(in *extensions.Da } func autoConvert_v1beta1_DaemonSetSpec_To_extensions_DaemonSetSpec(in *DaemonSetSpec, out *extensions.DaemonSetSpec, s conversion.Scope) error { - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -432,15 +396,7 @@ func Convert_v1beta1_DaemonSetSpec_To_extensions_DaemonSetSpec(in *DaemonSetSpec } func autoConvert_extensions_DaemonSetSpec_To_v1beta1_DaemonSetSpec(in *extensions.DaemonSetSpec, out *DaemonSetSpec, s conversion.Scope) error { - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -476,10 +432,6 @@ func Convert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus(in *extension } func autoConvert_v1beta1_Deployment_To_extensions_Deployment(in *Deployment, out *extensions.Deployment, s conversion.Scope) error { - SetDefaults_Deployment(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -498,9 +450,6 @@ func Convert_v1beta1_Deployment_To_extensions_Deployment(in *Deployment, out *ex } func autoConvert_extensions_Deployment_To_v1beta1_Deployment(in *extensions.Deployment, out *Deployment, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -518,13 +467,36 @@ func Convert_extensions_Deployment_To_v1beta1_Deployment(in *extensions.Deployme return autoConvert_extensions_Deployment_To_v1beta1_Deployment(in, out, s) } +func autoConvert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(in *DeploymentCondition, out *extensions.DeploymentCondition, s conversion.Scope) error { + out.Type = extensions.DeploymentConditionType(in.Type) + out.Status = api.ConditionStatus(in.Status) + out.LastUpdateTime = in.LastUpdateTime + out.LastTransitionTime = in.LastTransitionTime + out.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(in *DeploymentCondition, out *extensions.DeploymentCondition, s conversion.Scope) error { + return autoConvert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(in, out, s) +} + +func autoConvert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(in *extensions.DeploymentCondition, out *DeploymentCondition, s conversion.Scope) error { + out.Type = DeploymentConditionType(in.Type) + out.Status = v1.ConditionStatus(in.Status) + out.LastUpdateTime = in.LastUpdateTime + out.LastTransitionTime = in.LastTransitionTime + out.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(in *extensions.DeploymentCondition, out *DeploymentCondition, s conversion.Scope) error { + return autoConvert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(in, out, s) +} + func autoConvert_v1beta1_DeploymentList_To_extensions_DeploymentList(in *DeploymentList, out *extensions.DeploymentList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.Deployment, len(*in)) @@ -544,12 +516,7 @@ func Convert_v1beta1_DeploymentList_To_extensions_DeploymentList(in *DeploymentL } func autoConvert_extensions_DeploymentList_To_v1beta1_DeploymentList(in *extensions.DeploymentList, out *DeploymentList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Deployment, len(*in)) @@ -569,9 +536,6 @@ func Convert_extensions_DeploymentList_To_v1beta1_DeploymentList(in *extensions. } func autoConvert_v1beta1_DeploymentRollback_To_extensions_DeploymentRollback(in *DeploymentRollback, out *extensions.DeploymentRollback, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Name = in.Name out.UpdatedAnnotations = in.UpdatedAnnotations if err := Convert_v1beta1_RollbackConfig_To_extensions_RollbackConfig(&in.RollbackTo, &out.RollbackTo, s); err != nil { @@ -585,9 +549,6 @@ func Convert_v1beta1_DeploymentRollback_To_extensions_DeploymentRollback(in *Dep } func autoConvert_extensions_DeploymentRollback_To_v1beta1_DeploymentRollback(in *extensions.DeploymentRollback, out *DeploymentRollback, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Name = in.Name out.UpdatedAnnotations = in.UpdatedAnnotations if err := Convert_extensions_RollbackConfig_To_v1beta1_RollbackConfig(&in.RollbackTo, &out.RollbackTo, s); err != nil { @@ -604,15 +565,7 @@ func autoConvert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *Deploym if err := api.Convert_Pointer_int32_To_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -631,6 +584,7 @@ func autoConvert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *Deploym } else { out.RollbackTo = nil } + out.ProgressDeadlineSeconds = in.ProgressDeadlineSeconds return nil } @@ -638,15 +592,7 @@ func autoConvert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensi if err := api.Convert_int32_To_Pointer_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -665,6 +611,7 @@ func autoConvert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensi } else { out.RollbackTo = nil } + out.ProgressDeadlineSeconds = in.ProgressDeadlineSeconds return nil } @@ -674,6 +621,17 @@ func autoConvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]extensions.DeploymentCondition, len(*in)) + for i := range *in { + if err := Convert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } @@ -687,6 +645,17 @@ func autoConvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]DeploymentCondition, len(*in)) + for i := range *in { + if err := Convert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } @@ -723,9 +692,6 @@ func autoConvert_extensions_DeploymentStrategy_To_v1beta1_DeploymentStrategy(in } func autoConvert_v1beta1_ExportOptions_To_api_ExportOptions(in *ExportOptions, out *api.ExportOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Export = in.Export out.Exact = in.Exact return nil @@ -736,9 +702,6 @@ func Convert_v1beta1_ExportOptions_To_api_ExportOptions(in *ExportOptions, out * } func autoConvert_api_ExportOptions_To_v1beta1_ExportOptions(in *api.ExportOptions, out *ExportOptions, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } out.Export = in.Export out.Exact = in.Exact return nil @@ -851,10 +814,6 @@ func Convert_extensions_HTTPIngressRuleValue_To_v1beta1_HTTPIngressRuleValue(in } func autoConvert_v1beta1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler(in *HorizontalPodAutoscaler, out *autoscaling.HorizontalPodAutoscaler, s conversion.Scope) error { - SetDefaults_HorizontalPodAutoscaler(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -873,9 +832,6 @@ func Convert_v1beta1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutosca } func autoConvert_autoscaling_HorizontalPodAutoscaler_To_v1beta1_HorizontalPodAutoscaler(in *autoscaling.HorizontalPodAutoscaler, out *HorizontalPodAutoscaler, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -894,12 +850,7 @@ func Convert_autoscaling_HorizontalPodAutoscaler_To_v1beta1_HorizontalPodAutosca } func autoConvert_v1beta1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAutoscalerList(in *HorizontalPodAutoscalerList, out *autoscaling.HorizontalPodAutoscalerList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]autoscaling.HorizontalPodAutoscaler, len(*in)) @@ -919,12 +870,7 @@ func Convert_v1beta1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAut } func autoConvert_autoscaling_HorizontalPodAutoscalerList_To_v1beta1_HorizontalPodAutoscalerList(in *autoscaling.HorizontalPodAutoscalerList, out *HorizontalPodAutoscalerList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]HorizontalPodAutoscaler, len(*in)) @@ -1026,9 +972,6 @@ func Convert_extensions_IDRange_To_v1beta1_IDRange(in *extensions.IDRange, out * } func autoConvert_v1beta1_Ingress_To_extensions_Ingress(in *Ingress, out *extensions.Ingress, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1047,9 +990,6 @@ func Convert_v1beta1_Ingress_To_extensions_Ingress(in *Ingress, out *extensions. } func autoConvert_extensions_Ingress_To_v1beta1_Ingress(in *extensions.Ingress, out *Ingress, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1069,9 +1009,7 @@ func Convert_extensions_Ingress_To_v1beta1_Ingress(in *extensions.Ingress, out * func autoConvert_v1beta1_IngressBackend_To_extensions_IngressBackend(in *IngressBackend, out *extensions.IngressBackend, s conversion.Scope) error { out.ServiceName = in.ServiceName - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.ServicePort, &out.ServicePort, s); err != nil { - return err - } + out.ServicePort = in.ServicePort return nil } @@ -1081,9 +1019,7 @@ func Convert_v1beta1_IngressBackend_To_extensions_IngressBackend(in *IngressBack func autoConvert_extensions_IngressBackend_To_v1beta1_IngressBackend(in *extensions.IngressBackend, out *IngressBackend, s conversion.Scope) error { out.ServiceName = in.ServiceName - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.ServicePort, &out.ServicePort, s); err != nil { - return err - } + out.ServicePort = in.ServicePort return nil } @@ -1092,12 +1028,7 @@ func Convert_extensions_IngressBackend_To_v1beta1_IngressBackend(in *extensions. } func autoConvert_v1beta1_IngressList_To_extensions_IngressList(in *IngressList, out *extensions.IngressList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.Ingress, len(*in)) @@ -1117,12 +1048,7 @@ func Convert_v1beta1_IngressList_To_extensions_IngressList(in *IngressList, out } func autoConvert_extensions_IngressList_To_v1beta1_IngressList(in *extensions.IngressList, out *IngressList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Ingress, len(*in)) @@ -1322,10 +1248,6 @@ func Convert_extensions_IngressTLS_To_v1beta1_IngressTLS(in *extensions.IngressT } func autoConvert_v1beta1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error { - SetDefaults_Job(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1344,9 +1266,6 @@ func Convert_v1beta1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scop } func autoConvert_batch_Job_To_v1beta1_Job(in *batch.Job, out *Job, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1367,12 +1286,8 @@ func Convert_batch_Job_To_v1beta1_Job(in *batch.Job, out *Job, s conversion.Scop func autoConvert_v1beta1_JobCondition_To_batch_JobCondition(in *JobCondition, out *batch.JobCondition, s conversion.Scope) error { out.Type = batch.JobConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -1385,12 +1300,8 @@ func Convert_v1beta1_JobCondition_To_batch_JobCondition(in *JobCondition, out *b func autoConvert_batch_JobCondition_To_v1beta1_JobCondition(in *batch.JobCondition, out *JobCondition, s conversion.Scope) error { out.Type = JobConditionType(in.Type) out.Status = v1.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -1401,12 +1312,7 @@ func Convert_batch_JobCondition_To_v1beta1_JobCondition(in *batch.JobCondition, } func autoConvert_v1beta1_JobList_To_batch_JobList(in *JobList, out *batch.JobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]batch.Job, len(*in)) @@ -1426,12 +1332,7 @@ func Convert_v1beta1_JobList_To_batch_JobList(in *JobList, out *batch.JobList, s } func autoConvert_batch_JobList_To_v1beta1_JobList(in *batch.JobList, out *JobList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Job, len(*in)) @@ -1454,15 +1355,7 @@ func autoConvert_v1beta1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpe out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector // WARNING: in.AutoSelector requires manual conversion: does not exist in peer-type if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -1474,15 +1367,7 @@ func autoConvert_batch_JobSpec_To_v1beta1_JobSpec(in *batch.JobSpec, out *JobSpe out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector // WARNING: in.ManualSelector requires manual conversion: does not exist in peer-type if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -1538,73 +1423,7 @@ func Convert_batch_JobStatus_To_v1beta1_JobStatus(in *batch.JobStatus, out *JobS return autoConvert_batch_JobStatus_To_v1beta1_JobStatus(in, out, s) } -func autoConvert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { - out.MatchLabels = in.MatchLabels - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]unversioned.LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil -} - -func Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { - return autoConvert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in, out, s) -} - -func autoConvert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { - out.MatchLabels = in.MatchLabels - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil -} - -func Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { - return autoConvert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in, out, s) -} - -func autoConvert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { - out.Key = in.Key - out.Operator = unversioned.LabelSelectorOperator(in.Operator) - out.Values = in.Values - return nil -} - -func Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { - return autoConvert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in, out, s) -} - -func autoConvert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { - out.Key = in.Key - out.Operator = LabelSelectorOperator(in.Operator) - out.Values = in.Values - return nil -} - -func Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { - return autoConvert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(in, out, s) -} - func autoConvert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy(in *NetworkPolicy, out *extensions.NetworkPolicy, s conversion.Scope) error { - SetDefaults_NetworkPolicy(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1620,9 +1439,6 @@ func Convert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy(in *NetworkPolicy } func autoConvert_extensions_NetworkPolicy_To_v1beta1_NetworkPolicy(in *extensions.NetworkPolicy, out *NetworkPolicy, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1698,12 +1514,7 @@ func Convert_extensions_NetworkPolicyIngressRule_To_v1beta1_NetworkPolicyIngress } func autoConvert_v1beta1_NetworkPolicyList_To_extensions_NetworkPolicyList(in *NetworkPolicyList, out *extensions.NetworkPolicyList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.NetworkPolicy, len(*in)) @@ -1723,12 +1534,7 @@ func Convert_v1beta1_NetworkPolicyList_To_extensions_NetworkPolicyList(in *Netwo } func autoConvert_extensions_NetworkPolicyList_To_v1beta1_NetworkPolicyList(in *extensions.NetworkPolicyList, out *NetworkPolicyList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]NetworkPolicy, len(*in)) @@ -1748,24 +1554,8 @@ func Convert_extensions_NetworkPolicyList_To_v1beta1_NetworkPolicyList(in *exten } func autoConvert_v1beta1_NetworkPolicyPeer_To_extensions_NetworkPolicyPeer(in *NetworkPolicyPeer, out *extensions.NetworkPolicyPeer, s conversion.Scope) error { - if in.PodSelector != nil { - in, out := &in.PodSelector, &out.PodSelector - *out = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.PodSelector = nil - } - if in.NamespaceSelector != nil { - in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.NamespaceSelector = nil - } + out.PodSelector = in.PodSelector + out.NamespaceSelector = in.NamespaceSelector return nil } @@ -1774,24 +1564,8 @@ func Convert_v1beta1_NetworkPolicyPeer_To_extensions_NetworkPolicyPeer(in *Netwo } func autoConvert_extensions_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer(in *extensions.NetworkPolicyPeer, out *NetworkPolicyPeer, s conversion.Scope) error { - if in.PodSelector != nil { - in, out := &in.PodSelector, &out.PodSelector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.PodSelector = nil - } - if in.NamespaceSelector != nil { - in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.NamespaceSelector = nil - } + out.PodSelector = in.PodSelector + out.NamespaceSelector = in.NamespaceSelector return nil } @@ -1832,9 +1606,7 @@ func Convert_extensions_NetworkPolicyPort_To_v1beta1_NetworkPolicyPort(in *exten } func autoConvert_v1beta1_NetworkPolicySpec_To_extensions_NetworkPolicySpec(in *NetworkPolicySpec, out *extensions.NetworkPolicySpec, s conversion.Scope) error { - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(&in.PodSelector, &out.PodSelector, s); err != nil { - return err - } + out.PodSelector = in.PodSelector if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]extensions.NetworkPolicyIngressRule, len(*in)) @@ -1854,9 +1626,7 @@ func Convert_v1beta1_NetworkPolicySpec_To_extensions_NetworkPolicySpec(in *Netwo } func autoConvert_extensions_NetworkPolicySpec_To_v1beta1_NetworkPolicySpec(in *extensions.NetworkPolicySpec, out *NetworkPolicySpec, s conversion.Scope) error { - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(&in.PodSelector, &out.PodSelector, s); err != nil { - return err - } + out.PodSelector = in.PodSelector if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]NetworkPolicyIngressRule, len(*in)) @@ -1876,9 +1646,6 @@ func Convert_extensions_NetworkPolicySpec_To_v1beta1_NetworkPolicySpec(in *exten } func autoConvert_v1beta1_PodSecurityPolicy_To_extensions_PodSecurityPolicy(in *PodSecurityPolicy, out *extensions.PodSecurityPolicy, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1894,9 +1661,6 @@ func Convert_v1beta1_PodSecurityPolicy_To_extensions_PodSecurityPolicy(in *PodSe } func autoConvert_extensions_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy(in *extensions.PodSecurityPolicy, out *PodSecurityPolicy, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -1912,12 +1676,7 @@ func Convert_extensions_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy(in *exten } func autoConvert_v1beta1_PodSecurityPolicyList_To_extensions_PodSecurityPolicyList(in *PodSecurityPolicyList, out *extensions.PodSecurityPolicyList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.PodSecurityPolicy, len(*in)) @@ -1937,12 +1696,7 @@ func Convert_v1beta1_PodSecurityPolicyList_To_extensions_PodSecurityPolicyList(i } func autoConvert_extensions_PodSecurityPolicyList_To_v1beta1_PodSecurityPolicyList(in *extensions.PodSecurityPolicyList, out *PodSecurityPolicyList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodSecurityPolicy, len(*in)) @@ -2106,10 +1860,6 @@ func Convert_extensions_PodSecurityPolicySpec_To_v1beta1_PodSecurityPolicySpec(i } func autoConvert_v1beta1_ReplicaSet_To_extensions_ReplicaSet(in *ReplicaSet, out *extensions.ReplicaSet, s conversion.Scope) error { - SetDefaults_ReplicaSet(in) - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2128,9 +1878,6 @@ func Convert_v1beta1_ReplicaSet_To_extensions_ReplicaSet(in *ReplicaSet, out *ex } func autoConvert_extensions_ReplicaSet_To_v1beta1_ReplicaSet(in *extensions.ReplicaSet, out *ReplicaSet, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2151,12 +1898,7 @@ func Convert_extensions_ReplicaSet_To_v1beta1_ReplicaSet(in *extensions.ReplicaS func autoConvert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition(in *ReplicaSetCondition, out *extensions.ReplicaSetCondition, s conversion.Scope) error { out.Type = extensions.ReplicaSetConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -2169,12 +1911,7 @@ func Convert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition(in *R func autoConvert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition(in *extensions.ReplicaSetCondition, out *ReplicaSetCondition, s conversion.Scope) error { out.Type = ReplicaSetConditionType(in.Type) out.Status = v1.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -2185,12 +1922,7 @@ func Convert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition(in *e } func autoConvert_v1beta1_ReplicaSetList_To_extensions_ReplicaSetList(in *ReplicaSetList, out *extensions.ReplicaSetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.ReplicaSet, len(*in)) @@ -2210,12 +1942,7 @@ func Convert_v1beta1_ReplicaSetList_To_extensions_ReplicaSetList(in *ReplicaSetL } func autoConvert_extensions_ReplicaSetList_To_v1beta1_ReplicaSetList(in *extensions.ReplicaSetList, out *ReplicaSetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ReplicaSet, len(*in)) @@ -2239,15 +1966,7 @@ func autoConvert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *Replica return err } out.MinReadySeconds = in.MinReadySeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -2259,15 +1978,7 @@ func autoConvert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensi return err } out.MinReadySeconds = in.MinReadySeconds - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { - return err - } - } else { - out.Selector = nil - } + out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -2323,9 +2034,6 @@ func Convert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus(in *extensi } func autoConvert_v1beta1_ReplicationControllerDummy_To_extensions_ReplicationControllerDummy(in *ReplicationControllerDummy, out *extensions.ReplicationControllerDummy, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } return nil } @@ -2334,9 +2042,6 @@ func Convert_v1beta1_ReplicationControllerDummy_To_extensions_ReplicationControl } func autoConvert_extensions_ReplicationControllerDummy_To_v1beta1_ReplicationControllerDummy(in *extensions.ReplicationControllerDummy, out *ReplicationControllerDummy, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } return nil } @@ -2453,9 +2158,6 @@ func Convert_extensions_SELinuxStrategyOptions_To_v1beta1_SELinuxStrategyOptions } func autoConvert_v1beta1_Scale_To_extensions_Scale(in *Scale, out *extensions.Scale, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2474,9 +2176,6 @@ func Convert_v1beta1_Scale_To_extensions_Scale(in *Scale, out *extensions.Scale, } func autoConvert_extensions_Scale_To_v1beta1_Scale(in *extensions.Scale, out *Scale, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2566,9 +2265,6 @@ func Convert_extensions_SupplementalGroupsStrategyOptions_To_v1beta1_Supplementa } func autoConvert_v1beta1_ThirdPartyResource_To_extensions_ThirdPartyResource(in *ThirdPartyResource, out *extensions.ThirdPartyResource, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2593,9 +2289,6 @@ func Convert_v1beta1_ThirdPartyResource_To_extensions_ThirdPartyResource(in *Thi } func autoConvert_extensions_ThirdPartyResource_To_v1beta1_ThirdPartyResource(in *extensions.ThirdPartyResource, out *ThirdPartyResource, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2620,9 +2313,6 @@ func Convert_extensions_ThirdPartyResource_To_v1beta1_ThirdPartyResource(in *ext } func autoConvert_v1beta1_ThirdPartyResourceData_To_extensions_ThirdPartyResourceData(in *ThirdPartyResourceData, out *extensions.ThirdPartyResourceData, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2638,9 +2328,6 @@ func Convert_v1beta1_ThirdPartyResourceData_To_extensions_ThirdPartyResourceData } func autoConvert_extensions_ThirdPartyResourceData_To_v1beta1_ThirdPartyResourceData(in *extensions.ThirdPartyResourceData, out *ThirdPartyResourceData, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -2656,12 +2343,7 @@ func Convert_extensions_ThirdPartyResourceData_To_v1beta1_ThirdPartyResourceData } func autoConvert_v1beta1_ThirdPartyResourceDataList_To_extensions_ThirdPartyResourceDataList(in *ThirdPartyResourceDataList, out *extensions.ThirdPartyResourceDataList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.ThirdPartyResourceData, len(*in)) @@ -2681,12 +2363,7 @@ func Convert_v1beta1_ThirdPartyResourceDataList_To_extensions_ThirdPartyResource } func autoConvert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResourceDataList(in *extensions.ThirdPartyResourceDataList, out *ThirdPartyResourceDataList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ThirdPartyResourceData, len(*in)) @@ -2706,12 +2383,7 @@ func Convert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResource } func autoConvert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList(in *ThirdPartyResourceList, out *extensions.ThirdPartyResourceList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]extensions.ThirdPartyResource, len(*in)) @@ -2731,12 +2403,7 @@ func Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList } func autoConvert_extensions_ThirdPartyResourceList_To_v1beta1_ThirdPartyResourceList(in *extensions.ThirdPartyResourceList, out *ThirdPartyResourceList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ThirdPartyResource, len(*in)) diff --git a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index 88cba778..c7f858fa 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetSpec, InType: reflect.TypeOf(&DaemonSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetStatus, InType: reflect.TypeOf(&DaemonSetStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Deployment, InType: reflect.TypeOf(&Deployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentCondition, InType: reflect.TypeOf(&DeploymentCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentList, InType: reflect.TypeOf(&DeploymentList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentRollback, InType: reflect.TypeOf(&DeploymentRollback{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})}, @@ -76,8 +77,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobList, InType: reflect.TypeOf(&JobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicy, InType: reflect.TypeOf(&NetworkPolicy{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyIngressRule, InType: reflect.TypeOf(&NetworkPolicyIngressRule{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyList, InType: reflect.TypeOf(&NetworkPolicyList{})}, @@ -228,8 +227,8 @@ func DeepCopy_v1beta1_DaemonSetSpec(in interface{}, out interface{}, c *conversi out := out.(*DaemonSetSpec) if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -265,7 +264,23 @@ func DeepCopy_v1beta1_Deployment(in interface{}, out interface{}, c *conversion. if err := DeepCopy_v1beta1_DeploymentSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_v1beta1_DeploymentStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_v1beta1_DeploymentCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*DeploymentCondition) + out := out.(*DeploymentCondition) + out.Type = in.Type out.Status = in.Status + out.LastUpdateTime = in.LastUpdateTime.DeepCopy() + out.LastTransitionTime = in.LastTransitionTime.DeepCopy() + out.Reason = in.Reason + out.Message = in.Message return nil } } @@ -324,8 +339,8 @@ func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *convers } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -353,6 +368,13 @@ func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *convers } 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 } } @@ -366,6 +388,17 @@ func DeepCopy_v1beta1_DeploymentStatus(in interface{}, out interface{}, c *conve out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]DeploymentCondition, len(*in)) + for i := range *in { + if err := DeepCopy_v1beta1_DeploymentCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } @@ -780,8 +813,8 @@ func DeepCopy_v1beta1_JobSpec(in interface{}, out interface{}, c *conversion.Clo } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -837,51 +870,6 @@ func DeepCopy_v1beta1_JobStatus(in interface{}, out interface{}, c *conversion.C } } -func DeepCopy_v1beta1_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*LabelSelector) - out := out.(*LabelSelector) - 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 - *out = make([]LabelSelectorRequirement, len(*in)) - for i := range *in { - if err := DeepCopy_v1beta1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil { - return err - } - } - } else { - out.MatchExpressions = nil - } - return nil - } -} - -func DeepCopy_v1beta1_LabelSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*LabelSelectorRequirement) - out := out.(*LabelSelectorRequirement) - out.Key = in.Key - out.Operator = in.Operator - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]string, len(*in)) - copy(*out, *in) - } else { - out.Values = nil - } - return nil - } -} - func DeepCopy_v1beta1_NetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NetworkPolicy) @@ -954,8 +942,8 @@ func DeepCopy_v1beta1_NetworkPolicyPeer(in interface{}, out interface{}, c *conv out := out.(*NetworkPolicyPeer) if in.PodSelector != nil { in, out := &in.PodSelector, &out.PodSelector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -963,8 +951,8 @@ func DeepCopy_v1beta1_NetworkPolicyPeer(in interface{}, out interface{}, c *conv } if in.NamespaceSelector != nil { in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -1000,7 +988,7 @@ func DeepCopy_v1beta1_NetworkPolicySpec(in interface{}, out interface{}, c *conv { in := in.(*NetworkPolicySpec) out := out.(*NetworkPolicySpec) - if err := DeepCopy_v1beta1_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { + if err := unversioned.DeepCopy_unversioned_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { return err } if in.Ingress != nil { @@ -1148,7 +1136,6 @@ func DeepCopy_v1beta1_ReplicaSetCondition(in interface{}, out interface{}, c *co out := out.(*ReplicaSetCondition) out.Type = in.Type out.Status = in.Status - out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() out.Reason = in.Reason out.Message = in.Message @@ -1191,8 +1178,8 @@ func DeepCopy_v1beta1_ReplicaSetSpec(in interface{}, out interface{}, c *convers out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { diff --git a/pkg/apis/extensions/v1beta1/zz_generated.defaults.go b/pkg/apis/extensions/v1beta1/zz_generated.defaults.go new file mode 100644 index 00000000..000645c6 --- /dev/null +++ b/pkg/apis/extensions/v1beta1/zz_generated.defaults.go @@ -0,0 +1,565 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v1beta1 + +import ( + v1 "k8s.io/client-go/pkg/api/v1" + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&DaemonSet{}, func(obj interface{}) { SetObjectDefaults_DaemonSet(obj.(*DaemonSet)) }) + scheme.AddTypeDefaultingFunc(&DaemonSetList{}, func(obj interface{}) { SetObjectDefaults_DaemonSetList(obj.(*DaemonSetList)) }) + scheme.AddTypeDefaultingFunc(&Deployment{}, func(obj interface{}) { SetObjectDefaults_Deployment(obj.(*Deployment)) }) + scheme.AddTypeDefaultingFunc(&DeploymentList{}, func(obj interface{}) { SetObjectDefaults_DeploymentList(obj.(*DeploymentList)) }) + scheme.AddTypeDefaultingFunc(&HorizontalPodAutoscaler{}, func(obj interface{}) { SetObjectDefaults_HorizontalPodAutoscaler(obj.(*HorizontalPodAutoscaler)) }) + scheme.AddTypeDefaultingFunc(&HorizontalPodAutoscalerList{}, func(obj interface{}) { + SetObjectDefaults_HorizontalPodAutoscalerList(obj.(*HorizontalPodAutoscalerList)) + }) + scheme.AddTypeDefaultingFunc(&Job{}, func(obj interface{}) { SetObjectDefaults_Job(obj.(*Job)) }) + scheme.AddTypeDefaultingFunc(&JobList{}, func(obj interface{}) { SetObjectDefaults_JobList(obj.(*JobList)) }) + scheme.AddTypeDefaultingFunc(&NetworkPolicy{}, func(obj interface{}) { SetObjectDefaults_NetworkPolicy(obj.(*NetworkPolicy)) }) + scheme.AddTypeDefaultingFunc(&NetworkPolicyList{}, func(obj interface{}) { SetObjectDefaults_NetworkPolicyList(obj.(*NetworkPolicyList)) }) + scheme.AddTypeDefaultingFunc(&ReplicaSet{}, func(obj interface{}) { SetObjectDefaults_ReplicaSet(obj.(*ReplicaSet)) }) + scheme.AddTypeDefaultingFunc(&ReplicaSetList{}, func(obj interface{}) { SetObjectDefaults_ReplicaSetList(obj.(*ReplicaSetList)) }) + return nil +} + +func SetObjectDefaults_DaemonSet(in *DaemonSet) { + SetDefaults_DaemonSet(in) + v1.SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_DaemonSetList(in *DaemonSetList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_DaemonSet(a) + } +} + +func SetObjectDefaults_Deployment(in *Deployment) { + SetDefaults_Deployment(in) + v1.SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_DeploymentList(in *DeploymentList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Deployment(a) + } +} + +func SetObjectDefaults_HorizontalPodAutoscaler(in *HorizontalPodAutoscaler) { + SetDefaults_HorizontalPodAutoscaler(in) +} + +func SetObjectDefaults_HorizontalPodAutoscalerList(in *HorizontalPodAutoscalerList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_HorizontalPodAutoscaler(a) + } +} + +func SetObjectDefaults_Job(in *Job) { + SetDefaults_Job(in) + v1.SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_JobList(in *JobList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_Job(a) + } +} + +func SetObjectDefaults_NetworkPolicy(in *NetworkPolicy) { + SetDefaults_NetworkPolicy(in) +} + +func SetObjectDefaults_NetworkPolicyList(in *NetworkPolicyList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_NetworkPolicy(a) + } +} + +func SetObjectDefaults_ReplicaSet(in *ReplicaSet) { + SetDefaults_ReplicaSet(in) + v1.SetDefaults_PodSpec(&in.Spec.Template.Spec) + for i := range in.Spec.Template.Spec.Volumes { + a := &in.Spec.Template.Spec.Volumes[i] + v1.SetDefaults_Volume(a) + if a.VolumeSource.Secret != nil { + v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) + } + if a.VolumeSource.ISCSI != nil { + v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) + } + if a.VolumeSource.RBD != nil { + v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) + } + if a.VolumeSource.DownwardAPI != nil { + v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) + for j := range a.VolumeSource.DownwardAPI.Items { + b := &a.VolumeSource.DownwardAPI.Items[j] + if b.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.FieldRef) + } + } + } + if a.VolumeSource.ConfigMap != nil { + v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) + } + if a.VolumeSource.AzureDisk != nil { + v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) + } + } + for i := range in.Spec.Template.Spec.InitContainers { + a := &in.Spec.Template.Spec.InitContainers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } + for i := range in.Spec.Template.Spec.Containers { + a := &in.Spec.Template.Spec.Containers[i] + v1.SetDefaults_Container(a) + for j := range a.Ports { + b := &a.Ports[j] + v1.SetDefaults_ContainerPort(b) + } + for j := range a.Env { + b := &a.Env[j] + if b.ValueFrom != nil { + if b.ValueFrom.FieldRef != nil { + v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) + } + } + } + v1.SetDefaults_ResourceList(&a.Resources.Limits) + v1.SetDefaults_ResourceList(&a.Resources.Requests) + if a.LivenessProbe != nil { + v1.SetDefaults_Probe(a.LivenessProbe) + if a.LivenessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.LivenessProbe.Handler.HTTPGet) + } + } + if a.ReadinessProbe != nil { + v1.SetDefaults_Probe(a.ReadinessProbe) + if a.ReadinessProbe.Handler.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.Handler.HTTPGet) + } + } + if a.Lifecycle != nil { + if a.Lifecycle.PostStart != nil { + if a.Lifecycle.PostStart.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) + } + } + if a.Lifecycle.PreStop != nil { + if a.Lifecycle.PreStop.HTTPGet != nil { + v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) + } + } + } + } +} + +func SetObjectDefaults_ReplicaSetList(in *ReplicaSetList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_ReplicaSet(a) + } +} diff --git a/pkg/apis/extensions/zz_generated.deepcopy.go b/pkg/apis/extensions/zz_generated.deepcopy.go index 19383cb7..19003a9e 100644 --- a/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/zz_generated.deepcopy.go @@ -47,6 +47,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetSpec, InType: reflect.TypeOf(&DaemonSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetStatus, InType: reflect.TypeOf(&DaemonSetStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Deployment, InType: reflect.TypeOf(&Deployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentCondition, InType: reflect.TypeOf(&DeploymentCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentList, InType: reflect.TypeOf(&DeploymentList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentRollback, InType: reflect.TypeOf(&DeploymentRollback{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})}, @@ -242,7 +243,23 @@ func DeepCopy_extensions_Deployment(in interface{}, out interface{}, c *conversi if err := DeepCopy_extensions_DeploymentSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_extensions_DeploymentStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_extensions_DeploymentCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*DeploymentCondition) + out := out.(*DeploymentCondition) + out.Type = in.Type out.Status = in.Status + out.LastUpdateTime = in.LastUpdateTime.DeepCopy() + out.LastTransitionTime = in.LastTransitionTime.DeepCopy() + out.Reason = in.Reason + out.Message = in.Message return nil } } @@ -324,6 +341,13 @@ func DeepCopy_extensions_DeploymentSpec(in interface{}, out interface{}, c *conv } 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 } } @@ -337,6 +361,17 @@ func DeepCopy_extensions_DeploymentStatus(in interface{}, out interface{}, c *co out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]DeploymentCondition, len(*in)) + for i := range *in { + if err := DeepCopy_extensions_DeploymentCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } @@ -830,7 +865,6 @@ func DeepCopy_extensions_ReplicaSetCondition(in interface{}, out interface{}, c out := out.(*ReplicaSetCondition) out.Type = in.Type out.Status = in.Status - out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() out.Reason = in.Reason out.Message = in.Message diff --git a/pkg/apis/imagepolicy/v1alpha1/doc.go b/pkg/apis/imagepolicy/v1alpha1/doc.go index 6892fbef..cc8a147b 100644 --- a/pkg/apis/imagepolicy/v1alpha1/doc.go +++ b/pkg/apis/imagepolicy/v1alpha1/doc.go @@ -17,6 +17,7 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/imagepolicy // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta // +groupName=imagepolicy.k8s.io package v1alpha1 diff --git a/pkg/apis/imagepolicy/v1alpha1/generated.pb.go b/pkg/apis/imagepolicy/v1alpha1/generated.pb.go index 1e3b2d15..d7113ff8 100644 --- a/pkg/apis/imagepolicy/v1alpha1/generated.pb.go +++ b/pkg/apis/imagepolicy/v1alpha1/generated.pb.go @@ -1019,41 +1019,41 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 569 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x92, 0xbf, 0x6e, 0x13, 0x4f, - 0x10, 0xc7, 0xfd, 0x27, 0x76, 0xec, 0xf5, 0xef, 0x47, 0x92, 0x85, 0xc2, 0x72, 0xe1, 0x20, 0x23, - 0xa1, 0x80, 0xc8, 0xae, 0x1c, 0x09, 0x29, 0xa2, 0x20, 0xe4, 0x10, 0x45, 0x0a, 0x40, 0x2c, 0x0d, - 0xa2, 0x5b, 0x9f, 0x27, 0x97, 0x8b, 0xcf, 0xbb, 0xa7, 0xdb, 0x3d, 0x47, 0x2e, 0x90, 0x28, 0x29, - 0x28, 0x78, 0x1b, 0x5e, 0xc1, 0x65, 0x4a, 0xaa, 0x08, 0xc2, 0x8b, 0xb0, 0xb7, 0x77, 0xce, 0x1d, - 0x76, 0x5c, 0x20, 0x17, 0x23, 0xed, 0xec, 0xec, 0x7c, 0xe6, 0x3b, 0x33, 0x8b, 0x8e, 0x46, 0x87, - 0x8a, 0xf8, 0x92, 0x8e, 0xe2, 0x01, 0x44, 0x02, 0x34, 0x28, 0x1a, 0x8e, 0x3c, 0xca, 0x43, 0x5f, - 0x51, 0x7f, 0xcc, 0x3d, 0x08, 0x65, 0xe0, 0xbb, 0x53, 0x3a, 0xe9, 0xf3, 0x20, 0x3c, 0xe3, 0x7d, - 0xea, 0x81, 0x80, 0x88, 0x6b, 0x18, 0x92, 0x30, 0x92, 0x5a, 0x62, 0x9a, 0x02, 0x48, 0x0e, 0x20, - 0x06, 0x40, 0x12, 0x00, 0x29, 0x00, 0xc8, 0x1c, 0xd0, 0xd9, 0xf7, 0x7c, 0x7d, 0x16, 0x0f, 0x88, - 0x2b, 0xc7, 0xd4, 0x93, 0x9e, 0xa4, 0x96, 0x33, 0x88, 0x4f, 0xad, 0x67, 0x1d, 0x7b, 0x4a, 0xf9, - 0x9d, 0x83, 0x95, 0x02, 0x69, 0x04, 0x4a, 0xc6, 0x91, 0x0b, 0x8b, 0x9a, 0x3a, 0x4f, 0x57, 0xe7, - 0xc4, 0x62, 0x02, 0x91, 0xf2, 0xa5, 0x80, 0xe1, 0x52, 0xda, 0x93, 0xd5, 0x69, 0x93, 0xa5, 0xc6, - 0x3b, 0xfb, 0xb7, 0xbf, 0x8e, 0x62, 0xa1, 0xfd, 0xf1, 0xb2, 0xa6, 0xfe, 0xed, 0xcf, 0x63, 0xed, - 0x07, 0xd4, 0x17, 0x5a, 0xe9, 0x68, 0x31, 0xa5, 0xf7, 0xbd, 0x82, 0x5a, 0x27, 0xc9, 0x08, 0x19, - 0x4c, 0x7c, 0xb8, 0xc0, 0x1f, 0x50, 0x63, 0x0c, 0x9a, 0x0f, 0xb9, 0xe6, 0xed, 0xf2, 0xfd, 0xf2, - 0x5e, 0xeb, 0x60, 0x8f, 0xac, 0x9c, 0xbe, 0x19, 0x38, 0x79, 0x3b, 0x38, 0x07, 0x57, 0xbf, 0x36, - 0x39, 0x0e, 0x9e, 0x5d, 0xed, 0x96, 0xae, 0xaf, 0x76, 0x51, 0x7e, 0xc7, 0x6e, 0x68, 0x78, 0x80, - 0x36, 0x54, 0x08, 0x6e, 0xbb, 0x62, 0xa9, 0x2f, 0xc8, 0x3f, 0xee, 0x94, 0x14, 0x54, 0xbe, 0x37, - 0x1c, 0xe7, 0xbf, 0xac, 0xda, 0x46, 0xe2, 0x31, 0xcb, 0xc6, 0xe7, 0xa8, 0xae, 0x34, 0xd7, 0xb1, - 0x6a, 0x57, 0x6d, 0x15, 0x67, 0xad, 0x2a, 0x96, 0xe4, 0xdc, 0xc9, 0xea, 0xd4, 0x53, 0x9f, 0x65, - 0x15, 0x7a, 0x47, 0xa8, 0x5d, 0x78, 0xfc, 0x52, 0x0a, 0xcd, 0x7d, 0x33, 0xdb, 0x44, 0x0d, 0x7e, - 0x80, 0x6a, 0x96, 0x6e, 0x47, 0xd8, 0x74, 0xfe, 0xcf, 0x10, 0xb5, 0x34, 0x21, 0x8d, 0xf5, 0xbe, - 0x56, 0xd1, 0xd6, 0x42, 0x53, 0xf8, 0x13, 0x42, 0xee, 0x9c, 0xa4, 0x4c, 0x76, 0xd5, 0x34, 0x71, - 0xb2, 0x4e, 0x13, 0x7f, 0xe9, 0xca, 0x37, 0x74, 0x73, 0xad, 0x58, 0xa1, 0x20, 0xfe, 0x52, 0x46, - 0x2d, 0x2e, 0x84, 0x34, 0x1d, 0x9a, 0xef, 0xab, 0xcc, 0xae, 0x12, 0x01, 0xef, 0xd6, 0xdd, 0x15, - 0x39, 0xce, 0x99, 0xaf, 0x84, 0x8e, 0xa6, 0xce, 0xdd, 0x4c, 0x48, 0xab, 0x10, 0x61, 0xc5, 0xd2, - 0x98, 0xa2, 0xa6, 0xe0, 0x63, 0x50, 0x21, 0x77, 0xc1, 0x6e, 0xb3, 0xe9, 0xec, 0x64, 0x49, 0xcd, - 0x37, 0xf3, 0x00, 0xcb, 0xdf, 0x74, 0x9e, 0xa3, 0xed, 0xc5, 0x32, 0x78, 0x1b, 0x55, 0x47, 0x30, - 0x4d, 0xb7, 0xc0, 0x92, 0x23, 0xbe, 0x87, 0x6a, 0x13, 0x1e, 0xc4, 0x60, 0xbf, 0x61, 0x93, 0xa5, - 0xce, 0xb3, 0xca, 0x61, 0xb9, 0x77, 0x8a, 0x76, 0x96, 0x96, 0x8f, 0x1f, 0xa1, 0x4d, 0x1e, 0x04, - 0xf2, 0x02, 0x86, 0x16, 0xd2, 0x70, 0xb6, 0x32, 0x0d, 0x9b, 0xc7, 0xe9, 0x35, 0x9b, 0xc7, 0xf1, - 0x43, 0x54, 0x8f, 0x80, 0x2b, 0x29, 0x52, 0x74, 0xfe, 0x6f, 0x98, 0xbd, 0x65, 0x59, 0xd4, 0x79, - 0x3c, 0xfb, 0xd5, 0x2d, 0x5d, 0x1a, 0xfb, 0x61, 0xec, 0xf3, 0x75, 0xb7, 0x3c, 0x33, 0x76, 0x69, - 0xec, 0xa7, 0xb1, 0x6f, 0xbf, 0xbb, 0xa5, 0x8f, 0x8d, 0xf9, 0x1c, 0xff, 0x04, 0x00, 0x00, 0xff, - 0xff, 0x5b, 0xde, 0x19, 0x74, 0x3a, 0x05, 0x00, 0x00, + // 573 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x92, 0x3f, 0x6f, 0xd3, 0x4e, + 0x18, 0xc7, 0xe3, 0xa4, 0xff, 0x72, 0xf9, 0xfd, 0x68, 0x7b, 0x30, 0x58, 0x19, 0xdc, 0x2a, 0x48, + 0xa8, 0x20, 0x7a, 0xa7, 0x54, 0x42, 0xaa, 0x18, 0x28, 0x35, 0x62, 0xe8, 0x00, 0x88, 0x63, 0x41, + 0x6c, 0x17, 0xe7, 0xa9, 0x7b, 0x8d, 0x73, 0x67, 0xf9, 0xce, 0xae, 0x3a, 0x20, 0x31, 0x32, 0x30, + 0xf0, 0x6e, 0x78, 0x0b, 0x1d, 0x3b, 0x32, 0x55, 0x24, 0xbc, 0x11, 0x94, 0xb3, 0x53, 0x9b, 0xa4, + 0x19, 0x50, 0x36, 0x3f, 0xff, 0x3e, 0xdf, 0xef, 0x3d, 0x8f, 0xd1, 0xd1, 0xe0, 0x50, 0x13, 0xa1, + 0xe8, 0x20, 0xed, 0x41, 0x22, 0xc1, 0x80, 0xa6, 0xf1, 0x20, 0xa4, 0x3c, 0x16, 0x9a, 0x8a, 0x21, + 0x0f, 0x21, 0x56, 0x91, 0x08, 0x2e, 0x69, 0xd6, 0xe5, 0x51, 0x7c, 0xc6, 0xbb, 0x34, 0x04, 0x09, + 0x09, 0x37, 0xd0, 0x27, 0x71, 0xa2, 0x8c, 0xc2, 0x34, 0x07, 0x90, 0x12, 0x40, 0xe2, 0x41, 0x48, + 0x26, 0x00, 0x52, 0x01, 0x90, 0x29, 0xa0, 0xbd, 0x1f, 0x0a, 0x73, 0x96, 0xf6, 0x48, 0xa0, 0x86, + 0x34, 0x54, 0xa1, 0xa2, 0x96, 0xd3, 0x4b, 0x4f, 0x6d, 0x64, 0x03, 0xfb, 0x95, 0xf3, 0xdb, 0x07, + 0x0b, 0x0d, 0xd2, 0x04, 0xb4, 0x4a, 0x93, 0x00, 0x66, 0x3d, 0xb5, 0x9f, 0x2d, 0x9e, 0x49, 0x65, + 0x06, 0x89, 0x16, 0x4a, 0x42, 0x7f, 0x6e, 0xec, 0xe9, 0xe2, 0xb1, 0x6c, 0xee, 0xe1, 0xed, 0xfd, + 0xbb, 0xbb, 0x93, 0x54, 0x1a, 0x31, 0x9c, 0xf7, 0xd4, 0xbd, 0xbb, 0x3d, 0x35, 0x22, 0xa2, 0x42, + 0x1a, 0x6d, 0x92, 0xd9, 0x91, 0xce, 0x8f, 0x3a, 0x6a, 0x9d, 0x4c, 0x56, 0xc8, 0x20, 0x13, 0x70, + 0x81, 0x3f, 0xa2, 0x8d, 0x21, 0x18, 0xde, 0xe7, 0x86, 0xbb, 0xce, 0xae, 0xb3, 0xd7, 0x3a, 0xd8, + 0x23, 0x0b, 0xb7, 0x4f, 0xb2, 0x2e, 0x79, 0xd7, 0x3b, 0x87, 0xc0, 0xbc, 0x01, 0xc3, 0x7d, 0x7c, + 0x75, 0xb3, 0x53, 0x1b, 0xdf, 0xec, 0xa0, 0x32, 0xc7, 0x6e, 0x69, 0xb8, 0x87, 0x56, 0x74, 0x0c, + 0x81, 0x5b, 0xb7, 0xd4, 0x97, 0xe4, 0x1f, 0x6f, 0x4a, 0x2a, 0x2e, 0x3f, 0xc4, 0x10, 0xf8, 0xff, + 0x15, 0x6a, 0x2b, 0x93, 0x88, 0x59, 0x36, 0x3e, 0x47, 0x6b, 0xda, 0x70, 0x93, 0x6a, 0xb7, 0x61, + 0x55, 0xfc, 0xa5, 0x54, 0x2c, 0xc9, 0xbf, 0x57, 0xe8, 0xac, 0xe5, 0x31, 0x2b, 0x14, 0x3a, 0x47, + 0xc8, 0xad, 0x34, 0xbf, 0x52, 0xd2, 0x70, 0x21, 0x21, 0x99, 0xb8, 0xc1, 0x0f, 0xd1, 0xaa, 0xa5, + 0xdb, 0x15, 0x36, 0xfd, 0xff, 0x0b, 0xc4, 0x6a, 0x3e, 0x90, 0xd7, 0x3a, 0xdf, 0x1a, 0x68, 0x73, + 0xe6, 0x51, 0xf8, 0x33, 0x42, 0xc1, 0x94, 0xa4, 0x5d, 0x67, 0xb7, 0xb1, 0xd7, 0x3a, 0x38, 0x59, + 0xe6, 0x11, 0x7f, 0xf9, 0x2a, 0x2f, 0x74, 0x9b, 0xd6, 0xac, 0x22, 0x88, 0xbf, 0x3a, 0xa8, 0xc5, + 0xa5, 0x54, 0x86, 0x1b, 0xa1, 0xa4, 0x76, 0xeb, 0xd6, 0xc0, 0xfb, 0x65, 0x6f, 0x45, 0x8e, 0x4b, + 0xe6, 0x6b, 0x69, 0x92, 0x4b, 0xff, 0x7e, 0x61, 0xa4, 0x55, 0xa9, 0xb0, 0xaa, 0x34, 0xa6, 0xa8, + 0x29, 0xf9, 0x10, 0x74, 0xcc, 0x03, 0xb0, 0xd7, 0x6c, 0xfa, 0xdb, 0xc5, 0x50, 0xf3, 0xed, 0xb4, + 0xc0, 0xca, 0x9e, 0xf6, 0x0b, 0xb4, 0x35, 0x2b, 0x83, 0xb7, 0x50, 0x63, 0x00, 0x97, 0xf9, 0x15, + 0xd8, 0xe4, 0x13, 0x3f, 0x40, 0xab, 0x19, 0x8f, 0x52, 0xb0, 0xbf, 0x61, 0x93, 0xe5, 0xc1, 0xf3, + 0xfa, 0xa1, 0xd3, 0x39, 0x45, 0xdb, 0x73, 0xc7, 0xc7, 0x8f, 0xd1, 0x3a, 0x8f, 0x22, 0x75, 0x01, + 0x7d, 0x0b, 0xd9, 0xf0, 0x37, 0x0b, 0x0f, 0xeb, 0xc7, 0x79, 0x9a, 0x4d, 0xeb, 0xf8, 0x11, 0x5a, + 0x4b, 0x80, 0x6b, 0x25, 0x73, 0x74, 0xf9, 0xdf, 0x30, 0x9b, 0x65, 0x45, 0xd5, 0x7f, 0x72, 0x35, + 0xf2, 0x6a, 0xd7, 0x23, 0xaf, 0xf6, 0x73, 0xe4, 0xd5, 0xbe, 0x8c, 0x3d, 0xe7, 0x6a, 0xec, 0x39, + 0xd7, 0x63, 0xcf, 0xf9, 0x35, 0xf6, 0x9c, 0xef, 0xbf, 0xbd, 0xda, 0xa7, 0x8d, 0xe9, 0x1e, 0xff, + 0x04, 0x00, 0x00, 0xff, 0xff, 0x5b, 0xde, 0x19, 0x74, 0x3a, 0x05, 0x00, 0x00, } diff --git a/pkg/apis/imagepolicy/v1alpha1/generated.proto b/pkg/apis/imagepolicy/v1alpha1/generated.proto index f82d90b1..7b26db93 100644 --- a/pkg/apis/imagepolicy/v1alpha1/generated.proto +++ b/pkg/apis/imagepolicy/v1alpha1/generated.proto @@ -21,43 +21,49 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.imagepolicy.v1alpha1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1alpha1"; // ImageReview checks if the set of images in a pod are allowed. message ImageReview { + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Spec holds information about the pod being evaluated optional ImageReviewSpec spec = 2; // Status is filled in by the backend and indicates whether the pod should be allowed. + // +optional optional ImageReviewStatus status = 3; } // ImageReviewContainerSpec is a description of a container within the pod creation request. message ImageReviewContainerSpec { // This can be in the form image:tag or image@SHA:012345679abcdef. + // +optional optional string image = 1; } // ImageReviewSpec is a description of the pod creation request. message ImageReviewSpec { // Containers is a list of a subset of the information in each container of the Pod being created. + // +optional repeated ImageReviewContainerSpec containers = 1; // Annotations is a list of key-value pairs extracted from the Pod's annotations. // It only includes keys which match the pattern `*.image-policy.k8s.io/*`. // It is up to each webhook backend to determine how to interpret these annotations, if at all. + // +optional map annotations = 2; // Namespace is the namespace the pod is being created in. + // +optional optional string namespace = 3; } @@ -69,6 +75,7 @@ message ImageReviewStatus { // Reason should be empty unless Allowed is false in which case it // may contain a short description of what is wrong. Kubernetes // may truncate excessively long errors when displaying to the user. + // +optional optional string reason = 2; } diff --git a/pkg/apis/imagepolicy/v1alpha1/types.go b/pkg/apis/imagepolicy/v1alpha1/types.go index d62a73de..26d23618 100644 --- a/pkg/apis/imagepolicy/v1alpha1/types.go +++ b/pkg/apis/imagepolicy/v1alpha1/types.go @@ -28,30 +28,36 @@ import ( // ImageReview checks if the set of images in a pod are allowed. type ImageReview struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec holds information about the pod being evaluated Spec ImageReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status is filled in by the backend and indicates whether the pod should be allowed. + // +optional Status ImageReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } // ImageReviewSpec is a description of the pod creation request. type ImageReviewSpec struct { // Containers is a list of a subset of the information in each container of the Pod being created. + // +optional Containers []ImageReviewContainerSpec `json:"containers,omitempty" protobuf:"bytes,1,rep,name=containers"` // Annotations is a list of key-value pairs extracted from the Pod's annotations. // It only includes keys which match the pattern `*.image-policy.k8s.io/*`. // It is up to each webhook backend to determine how to interpret these annotations, if at all. + // +optional Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,2,rep,name=annotations"` // Namespace is the namespace the pod is being created in. + // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` } // ImageReviewContainerSpec is a description of a container within the pod creation request. type ImageReviewContainerSpec struct { // This can be in the form image:tag or image@SHA:012345679abcdef. + // +optional Image string `json:"image,omitempty" protobuf:"bytes,1,opt,name=image"` // In future, we may add command line overrides, exec health check command lines, and so on. } @@ -63,5 +69,6 @@ type ImageReviewStatus struct { // Reason should be empty unless Allowed is false in which case it // may contain a short description of what is wrong. Kubernetes // may truncate excessively long errors when displaying to the user. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"` } diff --git a/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go b/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go index 3c36d7f4..d9ebae3e 100644 --- a/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go @@ -21,7 +21,6 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/pkg/api" imagepolicy "k8s.io/client-go/pkg/apis/imagepolicy" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" @@ -47,9 +46,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1alpha1_ImageReview_To_imagepolicy_ImageReview(in *ImageReview, out *imagepolicy.ImageReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -68,9 +64,6 @@ func Convert_v1alpha1_ImageReview_To_imagepolicy_ImageReview(in *ImageReview, ou } func autoConvert_imagepolicy_ImageReview_To_v1alpha1_ImageReview(in *imagepolicy.ImageReview, out *ImageReview, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err diff --git a/pkg/apis/kubeadm/defaults.go b/pkg/apis/kubeadm/defaults.go index 87aa038c..7077ec48 100644 --- a/pkg/apis/kubeadm/defaults.go +++ b/pkg/apis/kubeadm/defaults.go @@ -18,8 +18,8 @@ package kubeadm const ( DefaultServiceDNSDomain = "cluster.local" - DefaultServicesSubnet = "10.12.0.0/12" - DefaultKubernetesVersion = "v1.4.1" + DefaultServicesSubnet = "10.96.0.0/12" + DefaultKubernetesVersion = "v1.4.4" DefaultAPIBindPort = 6443 DefaultDiscoveryBindPort = 9898 ) diff --git a/pkg/apis/policy/types.go b/pkg/apis/policy/types.go index a95ca9c6..949378a7 100644 --- a/pkg/apis/policy/types.go +++ b/pkg/apis/policy/types.go @@ -28,10 +28,12 @@ type PodDisruptionBudgetSpec struct { // "selector" will still be available after the eviction, i.e. even in the // absence of the evicted pod. So for example you can prevent all voluntary // evictions by specifying "100%". + // +optional MinAvailable intstr.IntOrString `json:"minAvailable,omitempty"` // Label query over pods whose evictions are managed by the disruption // budget. + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty"` } @@ -56,17 +58,21 @@ type PodDisruptionBudgetStatus struct { // PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods type PodDisruptionBudget struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the PodDisruptionBudget. + // +optional Spec PodDisruptionBudgetSpec `json:"spec,omitempty"` // Most recently observed status of the PodDisruptionBudget. + // +optional Status PodDisruptionBudgetStatus `json:"status,omitempty"` } // PodDisruptionBudgetList is a collection of PodDisruptionBudgets. type PodDisruptionBudgetList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty"` Items []PodDisruptionBudget `json:"items"` } @@ -78,8 +84,10 @@ type Eviction struct { unversioned.TypeMeta `json:",inline"` // ObjectMeta describes the pod that is being evicted. + // +optional api.ObjectMeta `json:"metadata,omitempty"` // DeleteOptions may be provided + // +optional DeleteOptions *api.DeleteOptions `json:"deleteOptions,omitempty"` } diff --git a/pkg/apis/policy/v1alpha1/doc.go b/pkg/apis/policy/v1alpha1/doc.go index 90fb7f92..5a24d4a7 100644 --- a/pkg/apis/policy/v1alpha1/doc.go +++ b/pkg/apis/policy/v1alpha1/doc.go @@ -16,6 +16,7 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/policy +// +k8s:defaulter-gen=TypeMeta // Package policy is for any kind of policy object. Suitable examples, even if // they aren't all here, are PodDisruptionBudget, PodSecurityPolicy, diff --git a/pkg/apis/policy/v1alpha1/generated.pb.go b/pkg/apis/policy/v1alpha1/generated.pb.go index ff5e0103..a7623910 100644 --- a/pkg/apis/policy/v1alpha1/generated.pb.go +++ b/pkg/apis/policy/v1alpha1/generated.pb.go @@ -1146,46 +1146,46 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 648 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x94, 0xdf, 0x6a, 0xd4, 0x4e, - 0x14, 0xc7, 0xbb, 0xfd, 0xc7, 0x32, 0xbf, 0x6d, 0xf9, 0x35, 0x16, 0x5d, 0x17, 0x69, 0x65, 0xaf, - 0x4a, 0xb5, 0x13, 0x5a, 0x14, 0x8a, 0x17, 0x4a, 0xd3, 0x16, 0xac, 0x58, 0x2a, 0xe9, 0x8d, 0x08, - 0x0a, 0x93, 0xe4, 0x98, 0x1d, 0x9b, 0x64, 0xc2, 0xcc, 0x64, 0xb5, 0x77, 0x3e, 0x82, 0xaf, 0xe0, - 0xc3, 0x08, 0xc5, 0xab, 0x5e, 0x7a, 0xb5, 0x68, 0xfb, 0x22, 0x4e, 0x26, 0xb3, 0xdb, 0xcd, 0xee, - 0xa6, 0x14, 0x8a, 0x17, 0x03, 0x39, 0x33, 0xe7, 0xf3, 0x3d, 0x7f, 0xe6, 0x4c, 0xd0, 0xb3, 0x93, - 0x6d, 0x81, 0x29, 0xb3, 0x4f, 0x32, 0x0f, 0x78, 0x02, 0x12, 0x84, 0x9d, 0x9e, 0x84, 0x36, 0x49, - 0xa9, 0xfa, 0x60, 0x11, 0xf5, 0x4f, 0xed, 0xee, 0x26, 0x89, 0xd2, 0x0e, 0xd9, 0xb4, 0x43, 0x48, - 0x80, 0x13, 0x09, 0x01, 0x4e, 0x39, 0x93, 0xcc, 0x5a, 0x2f, 0x58, 0x7c, 0xc5, 0x62, 0xc5, 0xe2, - 0x9c, 0xc5, 0x05, 0x8b, 0xfb, 0x6c, 0x6b, 0x23, 0xa4, 0xb2, 0x93, 0x79, 0xd8, 0x67, 0xb1, 0x1d, - 0xb2, 0x90, 0xd9, 0x5a, 0xc2, 0xcb, 0x3e, 0x6a, 0x4b, 0x1b, 0xfa, 0xab, 0x90, 0x6e, 0x6d, 0x55, - 0xa6, 0x65, 0x73, 0x10, 0x2c, 0xe3, 0x3e, 0x8c, 0xa6, 0xd3, 0x7a, 0x5a, 0xcd, 0x64, 0x49, 0x17, - 0xb8, 0xa0, 0x2c, 0x81, 0x60, 0x0c, 0x7b, 0x5c, 0x8d, 0x75, 0xc7, 0x6a, 0x6e, 0x6d, 0x4c, 0xf6, - 0xe6, 0x59, 0x22, 0x69, 0x3c, 0x9e, 0xd3, 0xe6, 0x64, 0xf7, 0x4c, 0xd2, 0xc8, 0xa6, 0x89, 0x14, - 0x92, 0x8f, 0x22, 0xed, 0x9f, 0x35, 0x54, 0xdf, 0xef, 0x52, 0x5f, 0xaa, 0x74, 0xad, 0xb7, 0xa8, - 0x1e, 0x83, 0x24, 0x01, 0x91, 0xa4, 0x59, 0x7b, 0x58, 0x5b, 0xfb, 0x6f, 0x6b, 0x0d, 0x57, 0x76, - 0x5d, 0x75, 0x1b, 0x1f, 0x79, 0x9f, 0xc0, 0x97, 0x87, 0x8a, 0x71, 0xac, 0xb3, 0xde, 0xea, 0xd4, - 0x45, 0x6f, 0x15, 0x5d, 0xed, 0xb9, 0x03, 0x35, 0x2b, 0x40, 0x0b, 0x01, 0x44, 0x0a, 0x3f, 0x4a, - 0xf3, 0x48, 0xa2, 0x39, 0xad, 0xe5, 0x1f, 0x5d, 0x2f, 0xbf, 0x37, 0x8c, 0x38, 0x4b, 0x4a, 0x7d, - 0xa1, 0xb4, 0xe5, 0x96, 0x45, 0xdb, 0x3f, 0xa6, 0xd1, 0x9d, 0x37, 0x2c, 0xd8, 0xa3, 0x82, 0x67, - 0x7a, 0xcb, 0xc9, 0x82, 0x10, 0xe4, 0x3f, 0xac, 0x0b, 0xd0, 0xac, 0x48, 0xc1, 0x37, 0xe5, 0xec, - 0xe2, 0x9b, 0xcf, 0x28, 0x9e, 0x90, 0xe8, 0xb1, 0x92, 0x72, 0x1a, 0x26, 0xe0, 0x6c, 0x6e, 0xb9, - 0x5a, 0xde, 0x8a, 0xd1, 0xbc, 0x90, 0x44, 0x66, 0xa2, 0x39, 0xa3, 0x03, 0xed, 0xdf, 0x36, 0x90, - 0x16, 0x73, 0x16, 0x4d, 0xa8, 0xf9, 0xc2, 0x76, 0x4d, 0x90, 0x76, 0xaf, 0x86, 0xee, 0x4d, 0xa0, - 0x5e, 0x53, 0x21, 0xad, 0xf7, 0x63, 0xbd, 0xb4, 0xaf, 0xe9, 0xe5, 0xd0, 0x53, 0xc0, 0x39, 0xae, - 0x5b, 0xfa, 0xbf, 0x09, 0x5b, 0xef, 0xef, 0x94, 0x06, 0x65, 0x8e, 0x4a, 0x88, 0xf3, 0x01, 0x99, - 0x51, 0xda, 0x2f, 0x6e, 0x59, 0xa8, 0xb3, 0x60, 0x62, 0xcd, 0x1d, 0xe4, 0xaa, 0x6e, 0x21, 0xde, - 0xbe, 0x9c, 0x5c, 0x60, 0xde, 0x71, 0xab, 0x83, 0x1a, 0x31, 0x4d, 0x76, 0xba, 0x84, 0x46, 0xc4, - 0x8b, 0xc0, 0x14, 0x89, 0x2b, 0x12, 0xc9, 0xdf, 0x16, 0x2e, 0xde, 0x16, 0x3e, 0x48, 0xe4, 0x11, - 0x3f, 0x96, 0x9c, 0x26, 0xa1, 0xb3, 0x6c, 0xe2, 0x36, 0x0e, 0x87, 0xb4, 0xdc, 0x92, 0xb2, 0xf5, - 0x01, 0xd5, 0x85, 0x9a, 0x5f, 0x5f, 0x32, 0x6e, 0x06, 0xe8, 0xc9, 0x4d, 0x5b, 0x49, 0x3c, 0x88, - 0x8e, 0x0d, 0xeb, 0x34, 0xf2, 0x5e, 0xf6, 0x2d, 0x77, 0xa0, 0xd9, 0xfe, 0x3e, 0x8d, 0xee, 0x57, - 0x5e, 0xbe, 0xf5, 0x0a, 0x2d, 0x05, 0x83, 0x93, 0x9d, 0x28, 0x62, 0x9f, 0x21, 0xd0, 0xc5, 0xd6, - 0x9d, 0x07, 0x26, 0xf9, 0xe5, 0x12, 0x6d, 0x7c, 0xdc, 0x71, 0xcc, 0x7a, 0x8e, 0x16, 0xfd, 0x8c, - 0x73, 0x48, 0xe4, 0x4b, 0x20, 0x91, 0xec, 0x9c, 0xea, 0x7a, 0xe6, 0x9c, 0xbb, 0x46, 0x68, 0x71, - 0xb7, 0x74, 0xea, 0x8e, 0x78, 0xe7, 0x7c, 0x00, 0x82, 0x72, 0x08, 0xfa, 0xfc, 0x4c, 0x99, 0xdf, - 0x2b, 0x9d, 0xba, 0x23, 0xde, 0xd6, 0x36, 0x6a, 0xc0, 0x17, 0x75, 0x79, 0xea, 0xbf, 0xa6, 0x52, - 0x16, 0xcd, 0x59, 0x4d, 0x0f, 0xee, 0x60, 0x7f, 0xe8, 0xcc, 0x2d, 0x79, 0x3a, 0xeb, 0x67, 0x7f, - 0x56, 0xa6, 0xce, 0xd5, 0xfa, 0xa5, 0xd6, 0xd7, 0x8b, 0x95, 0xda, 0x99, 0x5a, 0xe7, 0x6a, 0xfd, - 0x56, 0xeb, 0xdb, 0xe5, 0xca, 0xd4, 0xbb, 0x7a, 0x7f, 0xbe, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, - 0x7d, 0xdd, 0x26, 0x2d, 0xbe, 0x06, 0x00, 0x00, + // 654 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x93, 0xdd, 0x6a, 0x13, 0x41, + 0x14, 0xc7, 0xb3, 0xfd, 0x22, 0x4c, 0xd3, 0x62, 0xd7, 0xa2, 0x31, 0xc8, 0x56, 0x72, 0x55, 0xaa, + 0x9d, 0x25, 0x45, 0xa1, 0x78, 0xa1, 0x74, 0xdb, 0x82, 0x15, 0x4b, 0xcb, 0xf6, 0x46, 0x04, 0x85, + 0xc9, 0xce, 0x71, 0x33, 0x66, 0xb3, 0xb3, 0xcc, 0xcc, 0x46, 0x7b, 0xe7, 0x23, 0xf8, 0x0a, 0x3e, + 0x8c, 0x50, 0xbc, 0xea, 0xa5, 0x57, 0xc1, 0xa4, 0x2f, 0x22, 0x3b, 0x99, 0xa4, 0xd9, 0x7c, 0x94, + 0x42, 0xf1, 0x6e, 0xcf, 0xcc, 0xf9, 0xfd, 0xff, 0xe7, 0x9c, 0x3d, 0x83, 0x5e, 0x36, 0x77, 0x25, + 0x66, 0xdc, 0x6d, 0xa6, 0x75, 0x10, 0x31, 0x28, 0x90, 0x6e, 0xd2, 0x0c, 0x5d, 0x92, 0x30, 0xe9, + 0x26, 0x3c, 0x62, 0xc1, 0xb9, 0xdb, 0xae, 0x91, 0x28, 0x69, 0x90, 0x9a, 0x1b, 0x42, 0x0c, 0x82, + 0x28, 0xa0, 0x38, 0x11, 0x5c, 0x71, 0x7b, 0xab, 0xcf, 0xe2, 0x6b, 0x16, 0x27, 0xcd, 0x10, 0x67, + 0x2c, 0xee, 0xb3, 0x78, 0xc0, 0x56, 0xb6, 0x43, 0xa6, 0x1a, 0x69, 0x1d, 0x07, 0xbc, 0xe5, 0x86, + 0x3c, 0xe4, 0xae, 0x96, 0xa8, 0xa7, 0x9f, 0x75, 0xa4, 0x03, 0xfd, 0xd5, 0x97, 0xae, 0xec, 0xcc, + 0x2c, 0xcb, 0x15, 0x20, 0x79, 0x2a, 0x02, 0x18, 0x2f, 0xa7, 0xf2, 0x62, 0x36, 0x93, 0xc6, 0x6d, + 0x10, 0x92, 0xf1, 0x18, 0xe8, 0x04, 0xf6, 0x6c, 0x36, 0xd6, 0x9e, 0xe8, 0xb9, 0xb2, 0x3d, 0x3d, + 0x5b, 0xa4, 0xb1, 0x62, 0xad, 0xc9, 0x9a, 0x6a, 0xd3, 0xd3, 0x53, 0xc5, 0x22, 0x97, 0xc5, 0x4a, + 0x2a, 0x31, 0x8e, 0x54, 0x7f, 0x5b, 0xa8, 0x78, 0xd8, 0x66, 0x81, 0x62, 0x3c, 0xb6, 0xdf, 0xa3, + 0x62, 0x0b, 0x14, 0xa1, 0x44, 0x91, 0xb2, 0xf5, 0xc4, 0xda, 0x5c, 0xde, 0xd9, 0xc4, 0x33, 0xa7, + 0x8e, 0xdb, 0x35, 0x7c, 0x52, 0xff, 0x02, 0x81, 0x3a, 0x06, 0x45, 0x3c, 0xfb, 0xa2, 0xb3, 0x51, + 0xe8, 0x75, 0x36, 0xd0, 0xf5, 0x99, 0x3f, 0x54, 0xb3, 0x29, 0x5a, 0xa1, 0x10, 0x81, 0x82, 0x93, + 0x24, 0x73, 0x92, 0xe5, 0x39, 0x2d, 0xff, 0xf4, 0x66, 0xf9, 0x83, 0x51, 0xc4, 0x5b, 0xeb, 0x75, + 0x36, 0x56, 0x72, 0x47, 0x7e, 0x5e, 0xb4, 0xfa, 0x6b, 0x0e, 0xdd, 0x3f, 0xe5, 0xf4, 0x80, 0x49, + 0x91, 0xea, 0x23, 0x2f, 0xa5, 0x21, 0xa8, 0xff, 0xd8, 0x17, 0xa0, 0x05, 0x99, 0x40, 0x60, 0xda, + 0xd9, 0xc7, 0xb7, 0xdf, 0x51, 0x3c, 0xa5, 0xd0, 0xb3, 0x04, 0x02, 0xaf, 0x64, 0x0c, 0x17, 0xb2, + 0xc8, 0xd7, 0xf2, 0x76, 0x0b, 0x2d, 0x49, 0x45, 0x54, 0x2a, 0xcb, 0xf3, 0xda, 0xe8, 0xf0, 0xae, + 0x46, 0x5a, 0xcc, 0x5b, 0x35, 0x56, 0x4b, 0xfd, 0xd8, 0x37, 0x26, 0xd5, 0x8e, 0x85, 0x1e, 0x4e, + 0xa1, 0xde, 0x31, 0xa9, 0xec, 0x8f, 0x13, 0xb3, 0x74, 0x6f, 0x98, 0xe5, 0xc8, 0x53, 0xc0, 0x19, + 0xae, 0x47, 0x7a, 0xcf, 0xd8, 0x16, 0x07, 0x27, 0xb9, 0x45, 0x59, 0x64, 0x0a, 0x5a, 0xd9, 0x82, + 0xcc, 0x6f, 0x2e, 0xef, 0xbc, 0xbe, 0x63, 0xa3, 0xde, 0x8a, 0xf1, 0x5a, 0x3c, 0xca, 0x54, 0xfd, + 0xbe, 0x78, 0xf5, 0x6a, 0x7a, 0x83, 0xd9, 0xc4, 0xed, 0x06, 0x2a, 0xb5, 0x58, 0xbc, 0xd7, 0x26, + 0x2c, 0x22, 0xf5, 0x08, 0x4c, 0x93, 0x78, 0x46, 0x21, 0xd9, 0xdb, 0xc2, 0xfd, 0xb7, 0x85, 0x8f, + 0x62, 0x75, 0x22, 0xce, 0x94, 0x60, 0x71, 0xe8, 0xad, 0x1b, 0xdf, 0xd2, 0xf1, 0x88, 0x96, 0x9f, + 0x53, 0xb6, 0x3f, 0xa1, 0xa2, 0x84, 0x08, 0x02, 0xc5, 0x85, 0x59, 0xa0, 0xe7, 0xb7, 0x1d, 0x25, + 0xa9, 0x43, 0x74, 0x66, 0x58, 0xaf, 0x94, 0xcd, 0x72, 0x10, 0xf9, 0x43, 0xcd, 0xea, 0xcf, 0x39, + 0xf4, 0x68, 0xe6, 0xcf, 0xb7, 0xdf, 0xa2, 0x35, 0x3a, 0xbc, 0xd9, 0x8b, 0x22, 0xfe, 0x15, 0xa8, + 0x6e, 0xb6, 0xe8, 0x3d, 0x36, 0xc5, 0xaf, 0xe7, 0x68, 0x93, 0xe3, 0x4f, 0x62, 0xf6, 0x2b, 0xb4, + 0x1a, 0xa4, 0x42, 0x40, 0xac, 0xde, 0x00, 0x89, 0x54, 0xe3, 0x5c, 0xf7, 0xb3, 0xe8, 0x3d, 0x30, + 0x42, 0xab, 0xfb, 0xb9, 0x5b, 0x7f, 0x2c, 0x3b, 0xe3, 0x29, 0x48, 0x26, 0x80, 0x0e, 0xf8, 0xf9, + 0x3c, 0x7f, 0x90, 0xbb, 0xf5, 0xc7, 0xb2, 0xed, 0x5d, 0x54, 0x82, 0x6f, 0x09, 0x04, 0x0a, 0xe8, + 0x29, 0xa7, 0xb2, 0xbc, 0xa0, 0xe9, 0xe1, 0x3f, 0x38, 0x1c, 0xb9, 0xf3, 0x73, 0x99, 0xde, 0xd6, + 0x45, 0xd7, 0x29, 0x5c, 0x76, 0x9d, 0xc2, 0x9f, 0xae, 0x53, 0xf8, 0xde, 0x73, 0xac, 0x8b, 0x9e, + 0x63, 0x5d, 0xf6, 0x1c, 0xeb, 0x6f, 0xcf, 0xb1, 0x7e, 0x5c, 0x39, 0x85, 0x0f, 0xc5, 0xc1, 0x7e, + 0xfd, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xdd, 0x26, 0x2d, 0xbe, 0x06, 0x00, 0x00, } diff --git a/pkg/apis/policy/v1alpha1/generated.proto b/pkg/apis/policy/v1alpha1/generated.proto index 1a6e7454..25a49932 100644 --- a/pkg/apis/policy/v1alpha1/generated.proto +++ b/pkg/apis/policy/v1alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.policy.v1alpha1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1alpha1"; @@ -35,25 +35,31 @@ option go_package = "v1alpha1"; // created by POSTing to .../pods//evictions. message Eviction { // ObjectMeta describes the pod that is being evicted. + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // DeleteOptions may be provided + // +optional optional k8s.io.kubernetes.pkg.api.v1.DeleteOptions deleteOptions = 2; } // PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods message PodDisruptionBudget { + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Specification of the desired behavior of the PodDisruptionBudget. + // +optional optional PodDisruptionBudgetSpec spec = 2; // Most recently observed status of the PodDisruptionBudget. + // +optional optional PodDisruptionBudgetStatus status = 3; } // PodDisruptionBudgetList is a collection of PodDisruptionBudgets. message PodDisruptionBudgetList { + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; repeated PodDisruptionBudget items = 2; @@ -65,10 +71,12 @@ message PodDisruptionBudgetSpec { // "selector" will still be available after the eviction, i.e. even in the // absence of the evicted pod. So for example you can prevent all voluntary // evictions by specifying "100%". + // +optional optional k8s.io.kubernetes.pkg.util.intstr.IntOrString minAvailable = 1; // Label query over pods whose evictions are managed by the disruption // budget. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 2; } diff --git a/pkg/apis/policy/v1alpha1/types.go b/pkg/apis/policy/v1alpha1/types.go index 4bbd4b50..2ae77e43 100644 --- a/pkg/apis/policy/v1alpha1/types.go +++ b/pkg/apis/policy/v1alpha1/types.go @@ -28,10 +28,12 @@ type PodDisruptionBudgetSpec struct { // "selector" will still be available after the eviction, i.e. even in the // absence of the evicted pod. So for example you can prevent all voluntary // evictions by specifying "100%". + // +optional MinAvailable intstr.IntOrString `json:"minAvailable,omitempty" protobuf:"bytes,1,opt,name=minAvailable"` // Label query over pods whose evictions are managed by the disruption // budget. + // +optional Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` } @@ -56,17 +58,21 @@ type PodDisruptionBudgetStatus struct { // PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods type PodDisruptionBudget struct { unversioned.TypeMeta `json:",inline"` - v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // +optional + v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Specification of the desired behavior of the PodDisruptionBudget. + // +optional Spec PodDisruptionBudgetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Most recently observed status of the PodDisruptionBudget. + // +optional Status PodDisruptionBudgetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } // PodDisruptionBudgetList is a collection of PodDisruptionBudgets. type PodDisruptionBudgetList struct { unversioned.TypeMeta `json:",inline"` + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []PodDisruptionBudget `json:"items" protobuf:"bytes,2,rep,name=items"` } @@ -78,8 +84,10 @@ type Eviction struct { unversioned.TypeMeta `json:",inline"` // ObjectMeta describes the pod that is being evicted. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // DeleteOptions may be provided + // +optional DeleteOptions *v1.DeleteOptions `json:"deleteOptions,omitempty" protobuf:"bytes,2,opt,name=deleteOptions"` } diff --git a/pkg/apis/policy/v1alpha1/zz_generated.conversion.go b/pkg/apis/policy/v1alpha1/zz_generated.conversion.go index 61f5b7a4..3c3df374 100644 --- a/pkg/apis/policy/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/policy/v1alpha1/zz_generated.conversion.go @@ -50,9 +50,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1alpha1_Eviction_To_policy_Eviction(in *Eviction, out *policy.Eviction, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -75,9 +72,6 @@ func Convert_v1alpha1_Eviction_To_policy_Eviction(in *Eviction, out *policy.Evic } func autoConvert_policy_Eviction_To_v1alpha1_Eviction(in *policy.Eviction, out *Eviction, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -100,9 +94,6 @@ func Convert_policy_Eviction_To_v1alpha1_Eviction(in *policy.Eviction, out *Evic } func autoConvert_v1alpha1_PodDisruptionBudget_To_policy_PodDisruptionBudget(in *PodDisruptionBudget, out *policy.PodDisruptionBudget, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -121,9 +112,6 @@ func Convert_v1alpha1_PodDisruptionBudget_To_policy_PodDisruptionBudget(in *PodD } func autoConvert_policy_PodDisruptionBudget_To_v1alpha1_PodDisruptionBudget(in *policy.PodDisruptionBudget, out *PodDisruptionBudget, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -142,12 +130,7 @@ func Convert_policy_PodDisruptionBudget_To_v1alpha1_PodDisruptionBudget(in *poli } func autoConvert_v1alpha1_PodDisruptionBudgetList_To_policy_PodDisruptionBudgetList(in *PodDisruptionBudgetList, out *policy.PodDisruptionBudgetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]policy.PodDisruptionBudget, len(*in)) @@ -167,12 +150,7 @@ func Convert_v1alpha1_PodDisruptionBudgetList_To_policy_PodDisruptionBudgetList( } func autoConvert_policy_PodDisruptionBudgetList_To_v1alpha1_PodDisruptionBudgetList(in *policy.PodDisruptionBudgetList, out *PodDisruptionBudgetList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodDisruptionBudget, len(*in)) @@ -192,9 +170,7 @@ func Convert_policy_PodDisruptionBudgetList_To_v1alpha1_PodDisruptionBudgetList( } func autoConvert_v1alpha1_PodDisruptionBudgetSpec_To_policy_PodDisruptionBudgetSpec(in *PodDisruptionBudgetSpec, out *policy.PodDisruptionBudgetSpec, s conversion.Scope) error { - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.MinAvailable, &out.MinAvailable, s); err != nil { - return err - } + out.MinAvailable = in.MinAvailable out.Selector = in.Selector return nil } @@ -204,9 +180,7 @@ func Convert_v1alpha1_PodDisruptionBudgetSpec_To_policy_PodDisruptionBudgetSpec( } func autoConvert_policy_PodDisruptionBudgetSpec_To_v1alpha1_PodDisruptionBudgetSpec(in *policy.PodDisruptionBudgetSpec, out *PodDisruptionBudgetSpec, s conversion.Scope) error { - if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.MinAvailable, &out.MinAvailable, s); err != nil { - return err - } + out.MinAvailable = in.MinAvailable out.Selector = in.Selector return nil } diff --git a/pkg/apis/rbac/v1alpha1/defaults.go b/pkg/apis/rbac/v1alpha1/defaults.go index 41b1c3d4..51f51e5a 100644 --- a/pkg/apis/rbac/v1alpha1/defaults.go +++ b/pkg/apis/rbac/v1alpha1/defaults.go @@ -21,16 +21,20 @@ import ( ) func addDefaultingFuncs(scheme *runtime.Scheme) error { + RegisterDefaults(scheme) return scheme.AddDefaultingFuncs( - func(obj *ClusterRoleBinding) { - if len(obj.RoleRef.APIGroup) == 0 { - obj.RoleRef.APIGroup = GroupName - } - }, - func(obj *RoleBinding) { - if len(obj.RoleRef.APIGroup) == 0 { - obj.RoleRef.APIGroup = GroupName - } - }, + SetDefaults_ClusterRoleBinding, + SetDefaults_RoleBinding, ) } + +func SetDefaults_ClusterRoleBinding(obj *ClusterRoleBinding) { + if len(obj.RoleRef.APIGroup) == 0 { + obj.RoleRef.APIGroup = GroupName + } +} +func SetDefaults_RoleBinding(obj *RoleBinding) { + if len(obj.RoleRef.APIGroup) == 0 { + obj.RoleRef.APIGroup = GroupName + } +} diff --git a/pkg/apis/rbac/v1alpha1/doc.go b/pkg/apis/rbac/v1alpha1/doc.go index ab6aa6ab..0540241e 100644 --- a/pkg/apis/rbac/v1alpha1/doc.go +++ b/pkg/apis/rbac/v1alpha1/doc.go @@ -17,6 +17,7 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/rbac // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta // +groupName=rbac.authorization.k8s.io package v1alpha1 diff --git a/pkg/apis/rbac/v1alpha1/generated.pb.go b/pkg/apis/rbac/v1alpha1/generated.pb.go index 2aa6eeea..829e1d29 100644 --- a/pkg/apis/rbac/v1alpha1/generated.pb.go +++ b/pkg/apis/rbac/v1alpha1/generated.pb.go @@ -2539,55 +2539,56 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 800 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x54, 0x41, 0x4f, 0x13, 0x4d, - 0x18, 0x66, 0x69, 0xfb, 0xd1, 0x1d, 0xbe, 0xa6, 0x1f, 0xf3, 0x85, 0x2f, 0x4d, 0x93, 0x0f, 0x48, - 0x4f, 0x8d, 0xc0, 0x6c, 0x4a, 0x24, 0x72, 0xd0, 0x03, 0x6b, 0x8c, 0x21, 0x22, 0x92, 0x21, 0x12, - 0x25, 0x1a, 0xb3, 0x6d, 0x87, 0xb2, 0xb6, 0xdd, 0x6d, 0x76, 0x66, 0x51, 0xe3, 0x85, 0xf8, 0x0b, - 0xfc, 0x15, 0xde, 0xbc, 0x78, 0x35, 0xf1, 0xe0, 0x89, 0x83, 0x07, 0x8e, 0xc6, 0x03, 0x51, 0xfc, - 0x23, 0xbe, 0xb3, 0xbb, 0xd3, 0xdd, 0xd2, 0x56, 0x0a, 0x89, 0x24, 0x26, 0x1e, 0x26, 0xed, 0xbc, - 0xef, 0xf3, 0xbc, 0xf3, 0x3e, 0xef, 0xce, 0x3c, 0x68, 0xa5, 0xb9, 0xc2, 0x89, 0xed, 0x1a, 0x4d, - 0xbf, 0xca, 0x3c, 0x87, 0x09, 0xc6, 0x8d, 0x4e, 0xb3, 0x61, 0x58, 0x1d, 0x9b, 0x1b, 0x5e, 0xd5, - 0xaa, 0x19, 0xfb, 0x15, 0xab, 0xd5, 0xd9, 0xb3, 0x2a, 0x46, 0x83, 0x39, 0xcc, 0xb3, 0x04, 0xab, - 0x93, 0x8e, 0xe7, 0x0a, 0x17, 0x97, 0x43, 0x26, 0x89, 0x99, 0x04, 0x98, 0x44, 0x32, 0x89, 0x64, - 0x12, 0xc5, 0x2c, 0x2e, 0x36, 0x6c, 0xb1, 0xe7, 0x57, 0x49, 0xcd, 0x6d, 0x1b, 0x0d, 0xb7, 0xe1, - 0x1a, 0x41, 0x81, 0xaa, 0xbf, 0x1b, 0xec, 0x82, 0x4d, 0xf0, 0x2f, 0x2c, 0x5c, 0x5c, 0x1a, 0xda, - 0x92, 0xe1, 0x31, 0xee, 0xfa, 0x5e, 0x8d, 0x9d, 0x6e, 0xa6, 0xb8, 0x3c, 0x9c, 0xe3, 0x3b, 0xfb, - 0xcc, 0xe3, 0xb6, 0xeb, 0xb0, 0x7a, 0x1f, 0x6d, 0x61, 0x38, 0x6d, 0xbf, 0x4f, 0x71, 0x71, 0x71, - 0x30, 0xda, 0xf3, 0x1d, 0x61, 0xb7, 0xfb, 0x7b, 0xaa, 0x0c, 0x86, 0xfb, 0xc2, 0x6e, 0x19, 0xb6, - 0x23, 0xb8, 0xf0, 0x4e, 0x53, 0x4a, 0x1f, 0x35, 0x34, 0x79, 0xb3, 0xe5, 0x73, 0xc1, 0x3c, 0xea, - 0xb6, 0x18, 0x7e, 0x80, 0xb2, 0x6d, 0x26, 0xac, 0xba, 0x25, 0xac, 0x82, 0x36, 0xa7, 0x95, 0x27, - 0x97, 0xca, 0x64, 0xe8, 0xd8, 0x61, 0xe0, 0xe4, 0x5e, 0xf5, 0x29, 0xab, 0x89, 0xbb, 0xc0, 0x31, - 0xf1, 0xe1, 0xf1, 0xec, 0xd8, 0xc9, 0xf1, 0x2c, 0x8a, 0x63, 0xb4, 0x5b, 0x0d, 0x3f, 0x44, 0x19, - 0xcf, 0x6f, 0x31, 0x5e, 0x18, 0x9f, 0x4b, 0x41, 0xd9, 0xab, 0x64, 0xd4, 0xaf, 0x49, 0x36, 0xdd, - 0x96, 0x5d, 0x7b, 0x41, 0x81, 0x6c, 0xe6, 0xa2, 0x23, 0x32, 0x72, 0xc7, 0x69, 0x58, 0xb1, 0xf4, - 0x76, 0x1c, 0xe1, 0x84, 0x08, 0xd3, 0x76, 0xea, 0xb6, 0xd3, 0xf8, 0x85, 0x5a, 0x9e, 0xa0, 0x2c, - 0xf7, 0x83, 0x84, 0x92, 0x53, 0x19, 0x5d, 0xce, 0x56, 0xc8, 0x34, 0xff, 0x89, 0x8e, 0xc8, 0x46, - 0x01, 0x4e, 0xbb, 0x45, 0xf1, 0x23, 0x34, 0xe1, 0x81, 0x12, 0xca, 0x76, 0x0b, 0xa9, 0xa0, 0xf3, - 0x73, 0xd4, 0xa7, 0x21, 0xd1, 0xcc, 0x47, 0xf5, 0x27, 0xa2, 0x00, 0x55, 0x25, 0x4b, 0x5f, 0x34, - 0xf4, 0x5f, 0xff, 0xbc, 0xd6, 0x6d, 0x2e, 0xf0, 0xe3, 0xbe, 0x99, 0x19, 0x3f, 0x99, 0x59, 0xe2, - 0xa6, 0x13, 0x49, 0x0f, 0x46, 0xd7, 0xd5, 0xa5, 0x22, 0x89, 0xc1, 0x59, 0x28, 0x63, 0x0b, 0xd6, - 0x56, 0x53, 0xbb, 0x3e, 0xba, 0xaa, 0xfe, 0x7e, 0xe3, 0xcb, 0xb0, 0x26, 0x4b, 0xd2, 0xb0, 0x72, - 0xe9, 0x93, 0x86, 0xf2, 0x09, 0xf0, 0x65, 0xa8, 0xda, 0xe9, 0x55, 0xb5, 0x7c, 0x31, 0x55, 0x83, - 0xe5, 0xbc, 0x4a, 0x21, 0x14, 0x3f, 0x00, 0x3c, 0x8b, 0x32, 0xd0, 0x5c, 0x95, 0x83, 0x8c, 0x54, - 0x59, 0x37, 0x75, 0x89, 0xdf, 0x96, 0x01, 0x1a, 0xc6, 0xf1, 0x81, 0x86, 0xa6, 0x2d, 0x21, 0x3c, - 0xbb, 0xea, 0x0b, 0xf8, 0xd8, 0xf0, 0xe6, 0xed, 0x9a, 0x00, 0x2d, 0xb2, 0x39, 0x29, 0x7c, 0x7e, - 0x48, 0x73, 0x91, 0xa7, 0x10, 0x6a, 0x3d, 0xbb, 0xf5, 0x5c, 0x30, 0x47, 0xea, 0x37, 0xff, 0x8f, - 0x5a, 0x9a, 0x5e, 0x1d, 0x54, 0x91, 0x0e, 0x3e, 0x08, 0xcf, 0x23, 0x1d, 0xa4, 0xde, 0xf6, 0x5c, - 0xbf, 0xc3, 0xe1, 0xfa, 0xca, 0x3e, 0x73, 0x50, 0x44, 0x5f, 0xdd, 0x5c, 0x0b, 0x83, 0x34, 0xce, - 0x4b, 0xb0, 0xf2, 0x58, 0x5e, 0x48, 0xc7, 0x60, 0xaa, 0x82, 0x34, 0xce, 0xe3, 0x6b, 0x28, 0xa7, - 0x36, 0x1b, 0x56, 0x1b, 0x08, 0x99, 0x80, 0x30, 0x05, 0x84, 0x1c, 0x4d, 0x26, 0x68, 0x2f, 0x0e, - 0xdf, 0x40, 0x79, 0xc7, 0x75, 0x14, 0xe4, 0x3e, 0x5d, 0xe7, 0x85, 0xbf, 0x02, 0xea, 0xbf, 0x40, - 0xcd, 0x6f, 0xf4, 0xa6, 0xe8, 0x69, 0x6c, 0xe9, 0xbd, 0x86, 0xd2, 0xbf, 0xaf, 0x3d, 0xbe, 0x19, - 0x47, 0x93, 0x7f, 0x7c, 0x71, 0x04, 0x5f, 0x94, 0xd6, 0x71, 0xc9, 0x86, 0x78, 0x71, 0xeb, 0x38, - 0xdb, 0x09, 0x3f, 0x68, 0x28, 0x7b, 0x59, 0x16, 0xb8, 0xd5, 0xab, 0x83, 0x9c, 0x53, 0xc7, 0x60, - 0x01, 0x2f, 0x91, 0xfa, 0x46, 0x78, 0x01, 0x65, 0x95, 0x67, 0x04, 0xed, 0xeb, 0x71, 0x37, 0xca, - 0x56, 0x68, 0x17, 0x81, 0xe7, 0x50, 0xba, 0x09, 0xa3, 0x09, 0x2c, 0x4f, 0x37, 0xff, 0x8e, 0x90, - 0xe9, 0x3b, 0x10, 0xa3, 0x41, 0x46, 0x22, 0x1c, 0x70, 0x86, 0xe0, 0x16, 0x25, 0x10, 0xd2, 0x2d, - 0x68, 0x90, 0x29, 0xbd, 0xd3, 0xd0, 0x44, 0x74, 0x03, 0xbb, 0xf5, 0xb4, 0xa1, 0xf5, 0x96, 0x10, - 0x82, 0xd3, 0xb7, 0xc3, 0xa1, 0x45, 0xe7, 0x76, 0xdf, 0x0a, 0x74, 0x18, 0x65, 0x68, 0x02, 0x75, - 0x76, 0x0f, 0xd8, 0x40, 0xba, 0xfc, 0xe5, 0x1d, 0xab, 0xc6, 0xc0, 0x1c, 0x25, 0x6c, 0x2a, 0x82, - 0xe9, 0x1b, 0x2a, 0x41, 0x63, 0x8c, 0x79, 0xe5, 0xf0, 0xdb, 0xcc, 0xd8, 0x11, 0xac, 0xcf, 0xb0, - 0x0e, 0x4e, 0x66, 0xb4, 0x43, 0x58, 0x47, 0xb0, 0xbe, 0xc2, 0x7a, 0xfd, 0x7d, 0x66, 0x6c, 0x27, - 0xab, 0x06, 0xff, 0x23, 0x00, 0x00, 0xff, 0xff, 0x62, 0x32, 0x8a, 0x1f, 0x89, 0x0b, 0x00, 0x00, + // 815 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x54, 0x41, 0x6b, 0xe3, 0x46, + 0x18, 0xb5, 0x62, 0xbb, 0xb1, 0xc6, 0x35, 0x6e, 0x54, 0x52, 0x84, 0xa1, 0xb2, 0xf1, 0xc9, 0x34, + 0xc9, 0x08, 0x9b, 0x86, 0xe6, 0xd0, 0x1e, 0xa2, 0x52, 0x4a, 0x68, 0x9a, 0x86, 0x09, 0x0d, 0x6d, + 0x68, 0x29, 0x63, 0x7b, 0xe2, 0x4c, 0x2d, 0x4b, 0x62, 0x66, 0xe4, 0xb6, 0xf4, 0x12, 0xf6, 0x17, + 0xec, 0xaf, 0xd8, 0xdb, 0x5e, 0xf6, 0xba, 0xb0, 0x87, 0x3d, 0xe5, 0xb0, 0x87, 0x1c, 0x97, 0x3d, + 0x98, 0x8d, 0xf6, 0x8f, 0x2c, 0x1a, 0x49, 0x96, 0x1d, 0xdb, 0x1b, 0x27, 0xb0, 0x81, 0x85, 0x3d, + 0x25, 0xf3, 0x7d, 0xef, 0xbd, 0xf9, 0xde, 0xe7, 0xd1, 0x03, 0x3b, 0xfd, 0x1d, 0x0e, 0xa9, 0x6b, + 0xf6, 0xfd, 0x36, 0x61, 0x0e, 0x11, 0x84, 0x9b, 0x5e, 0xbf, 0x67, 0x62, 0x8f, 0x72, 0x93, 0xb5, + 0x71, 0xc7, 0x1c, 0x36, 0xb1, 0xed, 0x9d, 0xe1, 0xa6, 0xd9, 0x23, 0x0e, 0x61, 0x58, 0x90, 0x2e, + 0xf4, 0x98, 0x2b, 0x5c, 0xad, 0x11, 0x31, 0x61, 0xca, 0x84, 0x5e, 0xbf, 0x07, 0x43, 0x26, 0x0c, + 0x99, 0x30, 0x61, 0x56, 0xb6, 0x7a, 0x54, 0x9c, 0xf9, 0x6d, 0xd8, 0x71, 0x07, 0x66, 0xcf, 0xed, + 0xb9, 0xa6, 0x14, 0x68, 0xfb, 0xa7, 0xf2, 0x24, 0x0f, 0xf2, 0xbf, 0x48, 0xb8, 0xd2, 0x5a, 0x38, + 0x92, 0xc9, 0x08, 0x77, 0x7d, 0xd6, 0x21, 0xd7, 0x87, 0xa9, 0x6c, 0x2f, 0xe6, 0xf8, 0xce, 0x90, + 0x30, 0x4e, 0x5d, 0x87, 0x74, 0x67, 0x68, 0x9b, 0x8b, 0x69, 0xc3, 0x19, 0xc7, 0x95, 0xad, 0xf9, + 0x68, 0xe6, 0x3b, 0x82, 0x0e, 0x66, 0x67, 0x6a, 0xce, 0x87, 0xfb, 0x82, 0xda, 0x26, 0x75, 0x04, + 0x17, 0xec, 0x3a, 0xa5, 0xfe, 0x5c, 0x01, 0xc5, 0xef, 0x6d, 0x9f, 0x0b, 0xc2, 0x90, 0x6b, 0x13, + 0xed, 0x37, 0x50, 0x18, 0x10, 0x81, 0xbb, 0x58, 0x60, 0x5d, 0xa9, 0x29, 0x8d, 0x62, 0xab, 0x01, + 0x17, 0xae, 0x1d, 0x0e, 0x9b, 0xf0, 0x97, 0xf6, 0xdf, 0xa4, 0x23, 0x7e, 0x26, 0x02, 0x5b, 0xda, + 0xc5, 0xa8, 0x9a, 0x09, 0x46, 0x55, 0x90, 0xd6, 0xd0, 0x58, 0x4d, 0xfb, 0x1d, 0xe4, 0x99, 0x6f, + 0x13, 0xae, 0xaf, 0xd4, 0xb2, 0x8d, 0x62, 0xeb, 0x6b, 0xb8, 0xec, 0xaf, 0x09, 0x0f, 0x5d, 0x9b, + 0x76, 0xfe, 0x43, 0xbe, 0x4d, 0xac, 0x52, 0x7c, 0x45, 0x3e, 0x3c, 0x71, 0x14, 0x29, 0xd6, 0x1f, + 0xaf, 0x00, 0x6d, 0xc2, 0x84, 0x45, 0x9d, 0x2e, 0x75, 0x7a, 0xef, 0xd1, 0xcb, 0x5f, 0xa0, 0xc0, + 0x7d, 0xd9, 0x48, 0xec, 0x34, 0x97, 0xb7, 0x73, 0x14, 0x31, 0xad, 0xcf, 0xe2, 0x2b, 0x0a, 0x71, + 0x81, 0xa3, 0xb1, 0xa8, 0xf6, 0x07, 0x58, 0x65, 0xae, 0x4d, 0x10, 0x39, 0xd5, 0xb3, 0x72, 0xf2, + 0x5b, 0xe8, 0xa3, 0x88, 0x68, 0x95, 0x63, 0xfd, 0xd5, 0xb8, 0x80, 0x12, 0xc9, 0xfa, 0x2b, 0x05, + 0x7c, 0x31, 0xbb, 0xaf, 0x7d, 0xca, 0x85, 0xf6, 0xe7, 0xcc, 0xce, 0xcc, 0x77, 0xec, 0x6c, 0xe2, + 0xa5, 0xc3, 0x90, 0x2e, 0x57, 0x37, 0xf6, 0x95, 0x54, 0x26, 0x16, 0x87, 0x41, 0x9e, 0x0a, 0x32, + 0x48, 0xb6, 0xf6, 0xed, 0xf2, 0xae, 0x66, 0xe7, 0x4d, 0x1f, 0xc3, 0x5e, 0x28, 0x89, 0x22, 0xe5, + 0xfa, 0x0b, 0x05, 0x94, 0x27, 0xc0, 0xf7, 0xe1, 0xea, 0x64, 0xda, 0xd5, 0xf6, 0xdd, 0x5c, 0xcd, + 0xb7, 0xf3, 0x20, 0x0b, 0x40, 0xfa, 0x01, 0x68, 0x55, 0x90, 0x1f, 0x12, 0xd6, 0xe6, 0xba, 0x52, + 0xcb, 0x36, 0x54, 0x4b, 0x0d, 0xf1, 0xc7, 0x61, 0x01, 0x45, 0x75, 0xed, 0x5c, 0x01, 0xeb, 0x58, + 0x08, 0x46, 0xdb, 0xbe, 0x20, 0x88, 0x70, 0xc1, 0x68, 0x47, 0x50, 0xd7, 0x09, 0x87, 0x0b, 0x8d, + 0x6f, 0x2c, 0x18, 0x2e, 0xce, 0x14, 0x88, 0xf0, 0x3f, 0x3f, 0xfc, 0x2b, 0x88, 0x13, 0xfa, 0xb7, + 0xbe, 0x8c, 0x47, 0x5a, 0xdf, 0x9d, 0xa7, 0x88, 0xe6, 0x5f, 0xa4, 0x6d, 0x00, 0x15, 0x7b, 0xf4, + 0x47, 0xe6, 0xfa, 0x1e, 0xd7, 0xb3, 0x72, 0xce, 0x52, 0x30, 0xaa, 0xaa, 0xbb, 0x87, 0x7b, 0x51, + 0x11, 0xa5, 0xfd, 0x10, 0x9c, 0x64, 0x2c, 0xd7, 0x73, 0x29, 0x18, 0x25, 0x45, 0x94, 0xf6, 0xb5, + 0x6f, 0x40, 0x29, 0x39, 0x1c, 0xe0, 0x01, 0xe1, 0x7a, 0x5e, 0x12, 0xd6, 0x82, 0x51, 0xb5, 0x84, + 0x26, 0x1b, 0x68, 0x1a, 0xa7, 0x7d, 0x07, 0xca, 0x8e, 0xeb, 0x24, 0x90, 0x5f, 0xd1, 0x3e, 0xd7, + 0x3f, 0x91, 0xd4, 0xcf, 0x83, 0x51, 0xb5, 0x7c, 0x30, 0xdd, 0x42, 0xd7, 0xb1, 0xf5, 0xa7, 0x0a, + 0xc8, 0x7d, 0xb8, 0xf1, 0xf8, 0x68, 0x05, 0x14, 0x3f, 0xe6, 0xe2, 0x12, 0xb9, 0x18, 0x46, 0xc7, + 0x3d, 0x07, 0xe2, 0xdd, 0xa3, 0xe3, 0xe6, 0x24, 0x7c, 0xa6, 0x80, 0xc2, 0x7d, 0x45, 0xe0, 0xd1, + 0xb4, 0x0f, 0x78, 0x4b, 0x1f, 0xf3, 0x0d, 0xfc, 0x0f, 0x92, 0xdf, 0x48, 0xdb, 0x04, 0x85, 0x24, + 0x33, 0xe4, 0xf8, 0x6a, 0x3a, 0x4d, 0x12, 0x2b, 0x68, 0x8c, 0xd0, 0x6a, 0x20, 0xd7, 0xa7, 0x4e, + 0x57, 0x46, 0x9e, 0x6a, 0x7d, 0x1a, 0x23, 0x73, 0x3f, 0x51, 0xa7, 0x8b, 0x64, 0x27, 0x44, 0x38, + 0x78, 0x40, 0xe4, 0x2b, 0x9a, 0x40, 0x84, 0x69, 0x81, 0x64, 0xa7, 0xfe, 0x44, 0x01, 0xab, 0xf1, + 0x0b, 0x1c, 0xeb, 0x29, 0x0b, 0xf5, 0x5a, 0x00, 0x60, 0x8f, 0x1e, 0x47, 0x4b, 0x8b, 0xef, 0x1d, + 0x7f, 0x2b, 0xbb, 0x87, 0x7b, 0x71, 0x07, 0x4d, 0xa0, 0x6e, 0x9e, 0x41, 0x33, 0x81, 0x1a, 0xfe, + 0xe5, 0x1e, 0xee, 0x10, 0x3d, 0x27, 0x61, 0x6b, 0x31, 0x4c, 0x3d, 0x48, 0x1a, 0x28, 0xc5, 0x58, + 0x5f, 0x5d, 0x5c, 0x19, 0x99, 0xcb, 0x2b, 0x23, 0xf3, 0xf2, 0xca, 0xc8, 0x9c, 0x07, 0x86, 0x72, + 0x11, 0x18, 0xca, 0x65, 0x60, 0x28, 0xaf, 0x03, 0x43, 0x79, 0xf8, 0xc6, 0xc8, 0x9c, 0x14, 0x92, + 0xc5, 0xbf, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x62, 0x32, 0x8a, 0x1f, 0x89, 0x0b, 0x00, 0x00, } diff --git a/pkg/apis/rbac/v1alpha1/generated.proto b/pkg/apis/rbac/v1alpha1/generated.proto index 18a8e017..09f11e33 100644 --- a/pkg/apis/rbac/v1alpha1/generated.proto +++ b/pkg/apis/rbac/v1alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.rbac.v1alpha1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1alpha1"; @@ -33,6 +33,7 @@ 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 { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Rules holds all the PolicyRules for this ClusterRole @@ -43,6 +44,7 @@ message ClusterRole { // and adds who information via Subject. message ClusterRoleBinding { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Subjects holds references to the objects the role applies to. @@ -56,6 +58,7 @@ message ClusterRoleBinding { // ClusterRoleBindingList is a collection of ClusterRoleBindings message ClusterRoleBindingList { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of ClusterRoleBindings @@ -65,6 +68,7 @@ message ClusterRoleBindingList { // ClusterRoleList is a collection of ClusterRoles message ClusterRoleList { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of ClusterRoles @@ -79,28 +83,34 @@ 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; // 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. + // +optional repeated string apiGroups = 3; // Resources is a list of resources this rule applies to. ResourceAll represents all resources. + // +optional repeated string resources = 4; // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. + // +optional repeated string resourceNames = 5; // NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path // This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. // Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. // Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. + // +optional repeated string nonResourceURLs = 6; } // Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. message Role { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Rules holds all the PolicyRules for this Role @@ -112,6 +122,7 @@ message Role { // namespace only have effect in that namespace. message RoleBinding { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Subjects holds references to the objects the role applies to. @@ -125,6 +136,7 @@ message RoleBinding { // RoleBindingList is a collection of RoleBindings message RoleBindingList { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of RoleBindings @@ -134,6 +146,7 @@ message RoleBindingList { // RoleList is a collection of Roles message RoleList { // Standard object's metadata. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of Roles @@ -160,6 +173,7 @@ message Subject { optional string kind = 1; // APIVersion holds the API group and version of the referenced object. + // +optional optional string apiVersion = 2; // Name of the object being referenced. @@ -167,6 +181,7 @@ message Subject { // Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty // the Authorizer should report an error. + // +optional optional string namespace = 4; } diff --git a/pkg/apis/rbac/v1alpha1/types.go b/pkg/apis/rbac/v1alpha1/types.go index e3902f04..a8b8b229 100644 --- a/pkg/apis/rbac/v1alpha1/types.go +++ b/pkg/apis/rbac/v1alpha1/types.go @@ -34,20 +34,25 @@ type PolicyRule struct { Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"` // 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 AttributeRestrictions runtime.RawExtension `json:"attributeRestrictions,omitempty" protobuf:"bytes,2,opt,name=attributeRestrictions"` // 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. + // +optional APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,3,rep,name=apiGroups"` // Resources is a list of resources this rule applies to. ResourceAll represents all resources. + // +optional Resources []string `json:"resources,omitempty" protobuf:"bytes,4,rep,name=resources"` // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. + // +optional ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,5,rep,name=resourceNames"` // NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path // This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. // Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. // Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. + // +optional NonResourceURLs []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,6,rep,name=nonResourceURLs"` } @@ -58,11 +63,13 @@ type Subject struct { // If the Authorizer does not recognized the kind value, the Authorizer should report an error. Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // APIVersion holds the API group and version of the referenced object. + // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt.name=apiVersion"` // Name of the object being referenced. Name string `json:"name" protobuf:"bytes,3,opt,name=name"` // Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty // the Authorizer should report an error. + // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"` } @@ -82,6 +89,7 @@ type RoleRef struct { type Role struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Rules holds all the PolicyRules for this Role @@ -96,6 +104,7 @@ type Role struct { type RoleBinding struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Subjects holds references to the objects the role applies to. @@ -110,6 +119,7 @@ type RoleBinding struct { type RoleBindingList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of RoleBindings @@ -120,6 +130,7 @@ type RoleBindingList struct { type RoleList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of Roles @@ -133,6 +144,7 @@ type RoleList struct { type ClusterRole struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Rules holds all the PolicyRules for this ClusterRole @@ -147,6 +159,7 @@ type ClusterRole struct { type ClusterRoleBinding struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Subjects holds references to the objects the role applies to. @@ -161,6 +174,7 @@ type ClusterRoleBinding struct { type ClusterRoleBindingList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of ClusterRoleBindings @@ -171,6 +185,7 @@ type ClusterRoleBindingList struct { type ClusterRoleList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of ClusterRoles diff --git a/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go b/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go index 07c2f494..58efb7b1 100644 --- a/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go @@ -21,7 +21,6 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/pkg/api" rbac "k8s.io/client-go/pkg/apis/rbac" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" @@ -61,9 +60,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1alpha1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac.ClusterRole, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -87,9 +83,6 @@ func Convert_v1alpha1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac } func autoConvert_rbac_ClusterRole_To_v1alpha1_ClusterRole(in *rbac.ClusterRole, out *ClusterRole, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -113,9 +106,6 @@ func Convert_rbac_ClusterRole_To_v1alpha1_ClusterRole(in *rbac.ClusterRole, out } func autoConvert_v1alpha1_ClusterRoleBinding_To_rbac_ClusterRoleBinding(in *ClusterRoleBinding, out *rbac.ClusterRoleBinding, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -142,9 +132,6 @@ func Convert_v1alpha1_ClusterRoleBinding_To_rbac_ClusterRoleBinding(in *ClusterR } func autoConvert_rbac_ClusterRoleBinding_To_v1alpha1_ClusterRoleBinding(in *rbac.ClusterRoleBinding, out *ClusterRoleBinding, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -171,12 +158,7 @@ func Convert_rbac_ClusterRoleBinding_To_v1alpha1_ClusterRoleBinding(in *rbac.Clu } func autoConvert_v1alpha1_ClusterRoleBindingList_To_rbac_ClusterRoleBindingList(in *ClusterRoleBindingList, out *rbac.ClusterRoleBindingList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]rbac.ClusterRoleBinding, len(*in)) @@ -196,12 +178,7 @@ func Convert_v1alpha1_ClusterRoleBindingList_To_rbac_ClusterRoleBindingList(in * } func autoConvert_rbac_ClusterRoleBindingList_To_v1alpha1_ClusterRoleBindingList(in *rbac.ClusterRoleBindingList, out *ClusterRoleBindingList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ClusterRoleBinding, len(*in)) @@ -221,12 +198,7 @@ func Convert_rbac_ClusterRoleBindingList_To_v1alpha1_ClusterRoleBindingList(in * } func autoConvert_v1alpha1_ClusterRoleList_To_rbac_ClusterRoleList(in *ClusterRoleList, out *rbac.ClusterRoleList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]rbac.ClusterRole, len(*in)) @@ -246,12 +218,7 @@ func Convert_v1alpha1_ClusterRoleList_To_rbac_ClusterRoleList(in *ClusterRoleLis } func autoConvert_rbac_ClusterRoleList_To_v1alpha1_ClusterRoleList(in *rbac.ClusterRoleList, out *ClusterRoleList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ClusterRole, len(*in)) @@ -303,9 +270,6 @@ func Convert_rbac_PolicyRule_To_v1alpha1_PolicyRule(in *rbac.PolicyRule, out *Po } func autoConvert_v1alpha1_Role_To_rbac_Role(in *Role, out *rbac.Role, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -329,9 +293,6 @@ func Convert_v1alpha1_Role_To_rbac_Role(in *Role, out *rbac.Role, s conversion.S } func autoConvert_rbac_Role_To_v1alpha1_Role(in *rbac.Role, out *Role, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -355,9 +316,6 @@ func Convert_rbac_Role_To_v1alpha1_Role(in *rbac.Role, out *Role, s conversion.S } func autoConvert_v1alpha1_RoleBinding_To_rbac_RoleBinding(in *RoleBinding, out *rbac.RoleBinding, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -384,9 +342,6 @@ func Convert_v1alpha1_RoleBinding_To_rbac_RoleBinding(in *RoleBinding, out *rbac } func autoConvert_rbac_RoleBinding_To_v1alpha1_RoleBinding(in *rbac.RoleBinding, out *RoleBinding, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -413,12 +368,7 @@ 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 { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]rbac.RoleBinding, len(*in)) @@ -438,12 +388,7 @@ 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 { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]RoleBinding, len(*in)) @@ -463,12 +408,7 @@ func Convert_rbac_RoleBindingList_To_v1alpha1_RoleBindingList(in *rbac.RoleBindi } func autoConvert_v1alpha1_RoleList_To_rbac_RoleList(in *RoleList, out *rbac.RoleList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]rbac.Role, len(*in)) @@ -488,12 +428,7 @@ func Convert_v1alpha1_RoleList_To_rbac_RoleList(in *RoleList, out *rbac.RoleList } func autoConvert_rbac_RoleList_To_v1alpha1_RoleList(in *rbac.RoleList, out *RoleList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Role, len(*in)) diff --git a/pkg/apis/rbac/v1alpha1/zz_generated.defaults.go b/pkg/apis/rbac/v1alpha1/zz_generated.defaults.go new file mode 100644 index 00000000..c41b12d2 --- /dev/null +++ b/pkg/apis/rbac/v1alpha1/zz_generated.defaults.go @@ -0,0 +1,58 @@ +// +build !ignore_autogenerated + +/* +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 defaulter-gen. Do not edit it manually! + +package v1alpha1 + +import ( + runtime "k8s.io/client-go/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 { + scheme.AddTypeDefaultingFunc(&ClusterRoleBinding{}, func(obj interface{}) { SetObjectDefaults_ClusterRoleBinding(obj.(*ClusterRoleBinding)) }) + scheme.AddTypeDefaultingFunc(&ClusterRoleBindingList{}, func(obj interface{}) { SetObjectDefaults_ClusterRoleBindingList(obj.(*ClusterRoleBindingList)) }) + scheme.AddTypeDefaultingFunc(&RoleBinding{}, func(obj interface{}) { SetObjectDefaults_RoleBinding(obj.(*RoleBinding)) }) + scheme.AddTypeDefaultingFunc(&RoleBindingList{}, func(obj interface{}) { SetObjectDefaults_RoleBindingList(obj.(*RoleBindingList)) }) + return nil +} + +func SetObjectDefaults_ClusterRoleBinding(in *ClusterRoleBinding) { + SetDefaults_ClusterRoleBinding(in) +} + +func SetObjectDefaults_ClusterRoleBindingList(in *ClusterRoleBindingList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_ClusterRoleBinding(a) + } +} + +func SetObjectDefaults_RoleBinding(in *RoleBinding) { + SetDefaults_RoleBinding(in) +} + +func SetObjectDefaults_RoleBindingList(in *RoleBindingList) { + for i := range in.Items { + a := &in.Items[i] + SetObjectDefaults_RoleBinding(a) + } +} diff --git a/pkg/apis/storage/types.go b/pkg/apis/storage/types.go index 4751e8da..4d4a18f6 100644 --- a/pkg/apis/storage/types.go +++ b/pkg/apis/storage/types.go @@ -32,7 +32,8 @@ import ( // The name of a StorageClass object is significant, and is how users can request a particular class. type StorageClass struct { unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` + // +optional + api.ObjectMeta `json:"metadata,omitempty"` // provisioner is the driver expected to handle this StorageClass. // This is an optionally-prefixed name, like a label key. @@ -45,6 +46,7 @@ type StorageClass struct { // to the provisioner. The only validation done on keys is that they are // not empty. The maximum number of parameters is // 512, with a cumulative max size of 256K + // +optional Parameters map[string]string `json:"parameters,omitempty"` } @@ -53,6 +55,7 @@ type StorageClassList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of StorageClasses diff --git a/pkg/apis/storage/v1beta1/doc.go b/pkg/apis/storage/v1beta1/doc.go index c560310f..a25066e9 100644 --- a/pkg/apis/storage/v1beta1/doc.go +++ b/pkg/apis/storage/v1beta1/doc.go @@ -18,4 +18,5 @@ limitations under the License. // +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/storage // +groupName=storage.k8s.io // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1beta1 diff --git a/pkg/apis/storage/v1beta1/generated.pb.go b/pkg/apis/storage/v1beta1/generated.pb.go index e011b1b7..8ec0b148 100644 --- a/pkg/apis/storage/v1beta1/generated.pb.go +++ b/pkg/apis/storage/v1beta1/generated.pb.go @@ -696,34 +696,34 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 455 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x92, 0x4d, 0x6b, 0x13, 0x41, - 0x18, 0xc7, 0xb3, 0x09, 0xc1, 0x76, 0xa2, 0x18, 0x46, 0x0f, 0x61, 0x0f, 0x69, 0xe9, 0xa9, 0x8a, - 0x9d, 0x21, 0x85, 0x42, 0x28, 0x78, 0x59, 0x11, 0x14, 0x14, 0xcb, 0x7a, 0x11, 0xa1, 0x87, 0xd9, - 0xe4, 0x71, 0x1d, 0x37, 0xbb, 0xb3, 0xcc, 0xcb, 0x42, 0xc1, 0x83, 0x1f, 0xc1, 0x8f, 0x95, 0x63, - 0x8e, 0x1e, 0xa4, 0x68, 0xfd, 0x22, 0xce, 0xbe, 0xd8, 0x5d, 0xb2, 0x59, 0x11, 0x0f, 0x0f, 0xcc, - 0xdb, 0xef, 0xff, 0xfc, 0x9f, 0x3f, 0x83, 0xce, 0xa3, 0xb9, 0x22, 0x5c, 0xd0, 0xc8, 0x04, 0x20, - 0x13, 0xd0, 0xa0, 0x68, 0x1a, 0x85, 0x94, 0xa5, 0x5c, 0x51, 0xa5, 0x85, 0x64, 0x21, 0xd0, 0x6c, - 0x16, 0x80, 0x66, 0x33, 0x1a, 0x42, 0x02, 0x92, 0x69, 0x58, 0x92, 0x54, 0x0a, 0x2d, 0xf0, 0xe3, - 0x92, 0x25, 0x35, 0x4b, 0x2c, 0x4b, 0x72, 0x96, 0x54, 0x2c, 0xa9, 0x58, 0xf7, 0x24, 0xe4, 0xfa, - 0xa3, 0x09, 0xc8, 0x42, 0xc4, 0x34, 0x14, 0xa1, 0xa0, 0x85, 0x44, 0x60, 0x3e, 0x14, 0xbb, 0x62, - 0x53, 0xac, 0x4a, 0x69, 0xf7, 0xb4, 0xd3, 0x16, 0x95, 0xa0, 0x84, 0x91, 0x0b, 0xd8, 0xb6, 0xe3, - 0x9e, 0x75, 0x33, 0x26, 0xc9, 0x40, 0x2a, 0x2e, 0x12, 0x58, 0xb6, 0xb0, 0x27, 0xdd, 0x58, 0xd6, - 0x9a, 0xd9, 0x3d, 0xd9, 0xfd, 0x5a, 0x9a, 0x44, 0xf3, 0xb8, 0xed, 0x69, 0xb6, 0xfb, 0xb9, 0xd1, - 0x7c, 0x45, 0x79, 0xa2, 0x95, 0x96, 0xdb, 0xc8, 0xd1, 0xf7, 0x3e, 0xba, 0xfb, 0xb6, 0x4c, 0xef, - 0xd9, 0x8a, 0x29, 0x85, 0xdf, 0xa1, 0xbd, 0xd8, 0x66, 0xb8, 0x64, 0x9a, 0x4d, 0x9c, 0x43, 0xe7, - 0x78, 0x74, 0x7a, 0x4c, 0x3a, 0x93, 0xb7, 0x81, 0x93, 0x37, 0xc1, 0x27, 0x58, 0xe8, 0xd7, 0x96, - 0xf1, 0xf0, 0xfa, 0xfa, 0xa0, 0x77, 0x73, 0x7d, 0x80, 0xea, 0x33, 0xff, 0x56, 0x0d, 0x9f, 0xa1, - 0x91, 0xed, 0x99, 0xf1, 0x22, 0x19, 0x39, 0xe9, 0x5b, 0xf1, 0x7d, 0xef, 0x41, 0x85, 0x8c, 0x2e, - 0xea, 0x2b, 0xbf, 0xf9, 0x0e, 0x7f, 0x46, 0x28, 0x65, 0x92, 0x59, 0x19, 0x1b, 0xea, 0x64, 0x70, - 0x38, 0xb0, 0x96, 0x5e, 0x90, 0x7f, 0xff, 0x0c, 0xa4, 0x39, 0x1e, 0xb9, 0xb8, 0x95, 0x7a, 0x9e, - 0x68, 0x79, 0x55, 0x5b, 0xae, 0x2f, 0xfc, 0x46, 0x3f, 0xf7, 0x29, 0xba, 0xbf, 0x85, 0xe0, 0x31, - 0x1a, 0x44, 0x70, 0x55, 0x84, 0xb3, 0xef, 0xe7, 0x4b, 0xfc, 0x10, 0x0d, 0x33, 0xb6, 0x32, 0x50, - 0xce, 0xe4, 0x97, 0x9b, 0xf3, 0xfe, 0xdc, 0x39, 0xda, 0x38, 0x68, 0xdc, 0xec, 0xff, 0x8a, 0x2b, - 0x8d, 0x2f, 0x5b, 0x11, 0xd3, 0xbf, 0x44, 0xdc, 0xf8, 0x4d, 0x24, 0xc7, 0x8b, 0xa4, 0xc7, 0x95, - 0xed, 0xbd, 0x3f, 0x27, 0x8d, 0x9c, 0x2f, 0xd1, 0x90, 0x6b, 0x88, 0x95, 0x75, 0x93, 0x67, 0x35, - 0xff, 0xdf, 0xac, 0xbc, 0x7b, 0x55, 0x93, 0xe1, 0xcb, 0x5c, 0xce, 0x2f, 0x55, 0xbd, 0x47, 0xeb, - 0x9f, 0xd3, 0xde, 0xc6, 0xd6, 0x37, 0x5b, 0x5f, 0x6e, 0xa6, 0xce, 0xda, 0xd6, 0xc6, 0xd6, 0x0f, - 0x5b, 0x5f, 0x7f, 0x4d, 0x7b, 0xef, 0xef, 0x54, 0x6a, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x86, - 0x21, 0xa9, 0x43, 0xef, 0x03, 0x00, 0x00, + // 462 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x8b, 0xd3, 0x40, + 0x14, 0xc7, 0x33, 0x2d, 0xc5, 0xdd, 0xa9, 0x62, 0x89, 0x1e, 0x4a, 0x0e, 0xd9, 0xb2, 0xa7, 0x2a, + 0xee, 0x0c, 0x2d, 0x2c, 0x94, 0x05, 0x2f, 0x15, 0x41, 0x41, 0x71, 0x89, 0x17, 0x11, 0xf6, 0x30, + 0x69, 0x9f, 0x71, 0x4c, 0x93, 0x09, 0x33, 0x2f, 0x81, 0x05, 0x0f, 0xfe, 0x09, 0xfe, 0x59, 0x3d, + 0xf6, 0xe8, 0x41, 0x16, 0x1b, 0xff, 0x11, 0x69, 0x12, 0x37, 0xa1, 0x3f, 0x44, 0xf6, 0x36, 0x6f, + 0xe6, 0x7d, 0xbe, 0xef, 0xfb, 0xbe, 0x0c, 0xbd, 0x08, 0x27, 0x86, 0x49, 0xc5, 0xc3, 0xd4, 0x07, + 0x1d, 0x03, 0x82, 0xe1, 0x49, 0x18, 0x70, 0x91, 0x48, 0xc3, 0x0d, 0x2a, 0x2d, 0x02, 0xe0, 0xd9, + 0xc8, 0x07, 0x14, 0x23, 0x1e, 0x40, 0x0c, 0x5a, 0x20, 0xcc, 0x59, 0xa2, 0x15, 0x2a, 0xfb, 0x69, + 0xc9, 0xb2, 0x9a, 0x65, 0x49, 0x18, 0xb0, 0x0d, 0xcb, 0x2a, 0x96, 0x55, 0xac, 0x73, 0x16, 0x48, + 0xfc, 0x9c, 0xfa, 0x6c, 0xa6, 0x22, 0x1e, 0xa8, 0x40, 0xf1, 0x42, 0xc2, 0x4f, 0x3f, 0x15, 0x55, + 0x51, 0x14, 0xa7, 0x52, 0xda, 0x19, 0x1f, 0xb4, 0xc5, 0x35, 0x18, 0x95, 0xea, 0x19, 0x6c, 0xdb, + 0x71, 0xce, 0x0f, 0x33, 0x69, 0x9c, 0x81, 0x36, 0x52, 0xc5, 0x30, 0xdf, 0xc1, 0x9e, 0x1d, 0xc6, + 0xb2, 0x9d, 0x9d, 0x9d, 0xb3, 0xfd, 0xdd, 0x3a, 0x8d, 0x51, 0x46, 0xbb, 0x9e, 0x46, 0xfb, 0xdb, + 0x53, 0x94, 0x0b, 0x2e, 0x63, 0x34, 0xa8, 0xb7, 0x91, 0xd3, 0x9f, 0x2d, 0x7a, 0xff, 0x7d, 0x99, + 0xde, 0x8b, 0x85, 0x30, 0xc6, 0xfe, 0x40, 0x8f, 0x22, 0x40, 0x31, 0x17, 0x28, 0xfa, 0x64, 0x40, + 0x86, 0xdd, 0xf1, 0x90, 0x1d, 0x4c, 0x9e, 0x65, 0x23, 0xf6, 0xce, 0xff, 0x02, 0x33, 0x7c, 0x0b, + 0x28, 0xa6, 0xf6, 0xf2, 0xe6, 0xc4, 0xca, 0x6f, 0x4e, 0x68, 0x7d, 0xe7, 0xdd, 0xaa, 0xd9, 0xe7, + 0xb4, 0x9b, 0x68, 0x95, 0xc9, 0x22, 0x19, 0xdd, 0x6f, 0x0d, 0xc8, 0xf0, 0x78, 0xfa, 0xa8, 0x42, + 0xba, 0x97, 0xf5, 0x93, 0xd7, 0xec, 0xb3, 0xbf, 0x52, 0x9a, 0x08, 0x2d, 0x22, 0x40, 0xd0, 0xa6, + 0xdf, 0x1e, 0xb4, 0x87, 0xdd, 0xf1, 0x2b, 0xf6, 0xff, 0x9f, 0x81, 0x35, 0xd7, 0x63, 0x97, 0xb7, + 0x52, 0x2f, 0x63, 0xd4, 0xd7, 0xb5, 0xe5, 0xfa, 0xc1, 0x6b, 0xcc, 0x73, 0x9e, 0xd3, 0x87, 0x5b, + 0x88, 0xdd, 0xa3, 0xed, 0x10, 0xae, 0x8b, 0x70, 0x8e, 0xbd, 0xcd, 0xd1, 0x7e, 0x4c, 0x3b, 0x99, + 0x58, 0xa4, 0x50, 0xee, 0xe4, 0x95, 0xc5, 0x45, 0x6b, 0x42, 0x4e, 0x57, 0x84, 0xf6, 0x9a, 0xf3, + 0xdf, 0x48, 0x83, 0xf6, 0xd5, 0x4e, 0xc4, 0xfc, 0x1f, 0x11, 0x37, 0x7e, 0x13, 0xdb, 0xe0, 0x45, + 0xd2, 0xbd, 0xca, 0xf6, 0xd1, 0xdf, 0x9b, 0x46, 0xce, 0x57, 0xb4, 0x23, 0x11, 0x22, 0xd3, 0x6f, + 0x15, 0x59, 0x4d, 0xee, 0x9a, 0xd5, 0xf4, 0x41, 0x35, 0xa4, 0xf3, 0x7a, 0x23, 0xe7, 0x95, 0xaa, + 0xd3, 0x27, 0xcb, 0xb5, 0x6b, 0xad, 0xd6, 0xae, 0xf5, 0x63, 0xed, 0x5a, 0xdf, 0x72, 0x97, 0x2c, + 0x73, 0x97, 0xac, 0x72, 0x97, 0xfc, 0xca, 0x5d, 0xf2, 0xfd, 0xb7, 0x6b, 0x7d, 0xbc, 0x57, 0xa9, + 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0x86, 0x21, 0xa9, 0x43, 0xef, 0x03, 0x00, 0x00, } diff --git a/pkg/apis/storage/v1beta1/generated.proto b/pkg/apis/storage/v1beta1/generated.proto index 9b6bf07a..bdc0631c 100644 --- a/pkg/apis/storage/v1beta1/generated.proto +++ b/pkg/apis/storage/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.storage.v1beta1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1beta1"; @@ -38,6 +38,7 @@ option go_package = "v1beta1"; message StorageClass { // Standard object's 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; // Provisioner indicates the type of the provisioner. @@ -45,6 +46,7 @@ message StorageClass { // Parameters holds the parameters for the provisioner that should // create volumes of this storage class. + // +optional map parameters = 3; } @@ -52,6 +54,7 @@ message StorageClass { message StorageClassList { // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of StorageClasses diff --git a/pkg/apis/storage/v1beta1/types.go b/pkg/apis/storage/v1beta1/types.go index 7ccfba77..c48bfde5 100644 --- a/pkg/apis/storage/v1beta1/types.go +++ b/pkg/apis/storage/v1beta1/types.go @@ -33,6 +33,7 @@ type StorageClass struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Provisioner indicates the type of the provisioner. @@ -40,6 +41,7 @@ type StorageClass struct { // Parameters holds the parameters for the provisioner that should // create volumes of this storage class. + // +optional Parameters map[string]string `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"` } @@ -48,6 +50,7 @@ type StorageClassList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of StorageClasses diff --git a/pkg/apis/storage/v1beta1/zz_generated.conversion.go b/pkg/apis/storage/v1beta1/zz_generated.conversion.go index 938b94ff..8cb5a5af 100644 --- a/pkg/apis/storage/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/storage/v1beta1/zz_generated.conversion.go @@ -21,7 +21,6 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/pkg/api" storage "k8s.io/client-go/pkg/apis/storage" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" @@ -43,9 +42,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1beta1_StorageClass_To_storage_StorageClass(in *StorageClass, out *storage.StorageClass, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -60,9 +56,6 @@ func Convert_v1beta1_StorageClass_To_storage_StorageClass(in *StorageClass, out } func autoConvert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageClass, out *StorageClass, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -77,12 +70,7 @@ func Convert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageCla } func autoConvert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageClassList, out *storage.StorageClassList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]storage.StorageClass, len(*in)) @@ -102,12 +90,7 @@ func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageCla } func autoConvert_storage_StorageClassList_To_v1beta1_StorageClassList(in *storage.StorageClassList, out *StorageClassList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]StorageClass, len(*in)) diff --git a/pkg/conversion/converter.go b/pkg/conversion/converter.go index 8941b18a..9ab468eb 100644 --- a/pkg/conversion/converter.go +++ b/pkg/conversion/converter.go @@ -431,10 +431,10 @@ func (c *Converter) SetStructFieldCopy(srcFieldType interface{}, srcFieldName st } // RegisterDefaultingFunc registers a value-defaulting func with the Converter. -// defaultingFunc must take one parameters: a pointer to the input type. +// defaultingFunc must take one parameter: a pointer to the input type. // // Example: -// c.RegisteDefaultingFunc( +// c.RegisterDefaultingFunc( // func(in *v1.Pod) { // // defaulting logic... // }) diff --git a/pkg/federation/apis/federation/types.go b/pkg/federation/apis/federation/types.go index f434b01a..9ab2743e 100644 --- a/pkg/federation/apis/federation/types.go +++ b/pkg/federation/apis/federation/types.go @@ -42,6 +42,7 @@ type ClusterSpec struct { // Admin needs to ensure that the required secret exists. Secret should be in the same namespace where federation control plane is hosted and it should have kubeconfig in its data with key "kubeconfig". // This will later be changed to a reference to secret in federation control plane when the federation control plane supports secrets. // This can be left empty if the cluster allows insecure access. + // +optional SecretRef *api.LocalObjectReference `json:"secretRef,omitempty"` } @@ -62,23 +63,30 @@ type ClusterCondition struct { // Status of the condition, one of True, False, Unknown. Status api.ConditionStatus `json:"status"` // Last time the condition was checked. + // +optional LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"` // Last time the condition transit from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. + // +optional Message string `json:"message,omitempty"` } // ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally. type ClusterStatus struct { // Conditions is an array of current cluster conditions. + // +optional Conditions []ClusterCondition `json:"conditions,omitempty"` // 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. + // +optional Zones []string `json:"zones,omitempty"` // Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'. + // +optional Region string `json:"region,omitempty"` } @@ -90,11 +98,14 @@ type Cluster struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional api.ObjectMeta `json:"metadata,omitempty"` // Spec defines the behavior of the Cluster. + // +optional Spec ClusterSpec `json:"spec,omitempty"` // Status describes the current status of a Cluster + // +optional Status ClusterStatus `json:"status,omitempty"` } @@ -103,6 +114,7 @@ type ClusterList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty"` // List of Cluster objects. @@ -118,20 +130,24 @@ 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, // up and running replicas will not be moved. + // +optional Rebalance bool `json:"rebalance,omitempty"` // A mapping between cluser names and preferences regarding local replicasets in these clusters. // "*" (if provided) applies to all clusters if an explicit mapping is not provided. If there is no // "*" that clusters without explicit preferences should not have any replicas scheduled. + // +optional Clusters map[string]ClusterReplicaSetPreferences `json:"clusters,omitempty"` } // Preferences regarding number of replicas assigned to a cluster replicaset within a federated replicaset. type ClusterReplicaSetPreferences struct { // Minimum number of replicas that should be assigned to this Local ReplicaSet. 0 by default. + // +optional MinReplicas int64 `json:"minReplicas,omitempty"` // Maximum number of replicas that should be assigned to this Local ReplicaSet. Unbounded if no value provided (default). + // +optional MaxReplicas *int64 `json:"maxReplicas,omitempty"` // A number expressing the preference to put an additional replica to this LocalReplicaSet. 0 by default. diff --git a/pkg/federation/apis/federation/v1beta1/doc.go b/pkg/federation/apis/federation/v1beta1/doc.go index 00ebe857..2110288a 100644 --- a/pkg/federation/apis/federation/v1beta1/doc.go +++ b/pkg/federation/apis/federation/v1beta1/doc.go @@ -17,4 +17,5 @@ limitations under the License. // +k8s:deepcopy-gen=package,register // +k8s:conversion-gen=k8s.io/kubernetes/federation/apis/federation // +k8s:openapi-gen=true +// +k8s:defaulter-gen=TypeMeta package v1beta1 diff --git a/pkg/federation/apis/federation/v1beta1/generated.pb.go b/pkg/federation/apis/federation/v1beta1/generated.pb.go index 1a73fec1..0723f561 100644 --- a/pkg/federation/apis/federation/v1beta1/generated.pb.go +++ b/pkg/federation/apis/federation/v1beta1/generated.pb.go @@ -1487,54 +1487,55 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 776 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x54, 0xdf, 0x6a, 0x13, 0x4d, - 0x14, 0x6f, 0xfe, 0x37, 0xd3, 0x2f, 0xdf, 0x57, 0x86, 0x4f, 0x88, 0xb9, 0x68, 0x24, 0x88, 0xb4, - 0x68, 0x77, 0x69, 0x50, 0x28, 0x88, 0x42, 0x37, 0x45, 0x28, 0xa4, 0x54, 0xa6, 0x45, 0xa4, 0x20, - 0xb2, 0xd9, 0x9c, 0xa6, 0x6b, 0x92, 0xdd, 0x30, 0x33, 0x5b, 0x69, 0xaf, 0x7c, 0x00, 0x2f, 0x7c, - 0x08, 0xdf, 0x40, 0x7c, 0x87, 0x5e, 0xf6, 0xc2, 0x0b, 0xf1, 0xa2, 0x68, 0x7d, 0x0b, 0xaf, 0x9c, - 0x99, 0x9d, 0x6c, 0x76, 0xbb, 0x4d, 0xd0, 0xf6, 0x62, 0x60, 0xcf, 0xd9, 0x73, 0x7e, 0xbf, 0xdf, - 0x9c, 0x73, 0xe6, 0xa0, 0xcd, 0xfe, 0x3a, 0x33, 0x5c, 0xdf, 0xec, 0x07, 0x1d, 0xa0, 0x1e, 0x70, - 0x60, 0xe6, 0x01, 0x74, 0x81, 0xda, 0xdc, 0xf5, 0x3d, 0xd3, 0x1e, 0xb9, 0x09, 0xfb, 0x68, 0xad, - 0x03, 0xdc, 0x5e, 0x33, 0x7b, 0xe0, 0x49, 0x17, 0x74, 0x8d, 0x11, 0xf5, 0xb9, 0x8f, 0x1f, 0x86, - 0x28, 0xc6, 0x04, 0xc5, 0x98, 0x64, 0x19, 0x12, 0x25, 0x6e, 0x6b, 0x94, 0xda, 0x6a, 0xcf, 0xe5, - 0x87, 0x41, 0xc7, 0x70, 0xfc, 0xa1, 0xd9, 0xf3, 0x7b, 0xbe, 0xa9, 0xc0, 0x3a, 0xc1, 0x81, 0xb2, - 0x94, 0xa1, 0xbe, 0x42, 0x92, 0x5a, 0x33, 0x2d, 0x75, 0xd4, 0xef, 0x49, 0x8d, 0x26, 0x05, 0xe6, - 0x07, 0xd4, 0x81, 0xcb, 0xc2, 0x6a, 0x8f, 0xa6, 0xe7, 0x04, 0xde, 0x11, 0x50, 0x26, 0xf4, 0x40, - 0x37, 0x95, 0xf6, 0x60, 0x7a, 0xda, 0x51, 0xea, 0xf6, 0xb5, 0xd5, 0xab, 0xa3, 0x69, 0xe0, 0x71, - 0x77, 0x98, 0xd6, 0xb4, 0x76, 0x75, 0x78, 0xc0, 0xdd, 0x81, 0xe9, 0x7a, 0x9c, 0x71, 0x7a, 0x39, - 0xa5, 0xf1, 0x39, 0x8b, 0x4a, 0xad, 0x41, 0xc0, 0x38, 0x50, 0xfc, 0x12, 0xcd, 0x0f, 0x45, 0xf9, - 0xba, 0x36, 0xb7, 0xab, 0x99, 0x3b, 0x99, 0xe5, 0x85, 0xe6, 0xb2, 0x91, 0x2e, 0xbf, 0x40, 0x94, - 0x75, 0x17, 0xb5, 0x36, 0x76, 0x3a, 0x6f, 0xc0, 0xe1, 0xdb, 0x22, 0xc7, 0xc2, 0xa7, 0xe7, 0xf5, - 0xb9, 0x8b, 0xf3, 0x3a, 0x9a, 0xf8, 0x48, 0x84, 0x86, 0x1d, 0x94, 0x67, 0x23, 0x70, 0xaa, 0x59, - 0x85, 0xba, 0x61, 0x5c, 0xa7, 0xa9, 0x86, 0x96, 0xb9, 0x2b, 0x80, 0xac, 0x7f, 0x34, 0x5d, 0x5e, - 0x5a, 0x44, 0x81, 0xe3, 0x3e, 0x2a, 0x32, 0x6e, 0xf3, 0x80, 0x55, 0x73, 0x8a, 0xa6, 0x75, 0x33, - 0x1a, 0x05, 0x65, 0xfd, 0xab, 0x89, 0x8a, 0xa1, 0x4d, 0x34, 0x45, 0xe3, 0x5b, 0x0e, 0x2d, 0xea, - 0xc8, 0x96, 0xef, 0x75, 0x5d, 0x09, 0x81, 0xd7, 0x51, 0x9e, 0x1f, 0x8f, 0x40, 0x15, 0xaf, 0x6c, - 0xdd, 0x1d, 0x6b, 0xdc, 0x13, 0xbe, 0x5f, 0xe7, 0xf5, 0xff, 0x2f, 0xc7, 0x4b, 0x3f, 0x51, 0x19, - 0xf8, 0x45, 0xa4, 0x3d, 0xab, 0x72, 0x9f, 0x26, 0x69, 0x45, 0xf6, 0xcc, 0xc1, 0x31, 0x22, 0xcc, - 0xa4, 0x4c, 0x7c, 0x88, 0x2a, 0x03, 0x9b, 0xf1, 0xe7, 0xd4, 0xef, 0xc0, 0x9e, 0x18, 0x19, 0x5d, - 0x9a, 0xfb, 0x33, 0xfa, 0x1a, 0x9b, 0x5e, 0x43, 0xa6, 0x58, 0xb7, 0xb4, 0x96, 0x4a, 0x3b, 0x8e, - 0x44, 0x92, 0xc0, 0xf8, 0x2d, 0xc2, 0xd2, 0xb1, 0x47, 0x6d, 0x8f, 0x85, 0xb7, 0x93, 0x74, 0xf9, - 0xbf, 0xa7, 0xab, 0x69, 0x3a, 0xdc, 0x4e, 0xc1, 0x91, 0x2b, 0x28, 0xf0, 0x3d, 0x54, 0xa4, 0x60, - 0x33, 0xdf, 0xab, 0x16, 0x54, 0xe9, 0xa2, 0x8e, 0x11, 0xe5, 0x25, 0xfa, 0x2f, 0x5e, 0x41, 0xa5, - 0x21, 0x30, 0x66, 0xf7, 0xa0, 0x5a, 0x54, 0x81, 0xff, 0xe9, 0xc0, 0xd2, 0x76, 0xe8, 0x26, 0xe3, - 0xff, 0x8d, 0xb3, 0x0c, 0x5a, 0xd0, 0xcd, 0x6a, 0xbb, 0x8c, 0xe3, 0x57, 0xa9, 0x87, 0x61, 0xfe, - 0xe1, 0x8d, 0x64, 0xba, 0x7a, 0x1f, 0x8b, 0x9a, 0x6c, 0x7e, 0xec, 0x89, 0xbd, 0x8e, 0x0e, 0x2a, - 0xb8, 0x1c, 0x86, 0xb2, 0xf7, 0x39, 0x81, 0xfd, 0xe4, 0x46, 0x73, 0x6b, 0x55, 0x34, 0x53, 0x61, - 0x4b, 0x62, 0x92, 0x10, 0xba, 0xf1, 0x31, 0x1b, 0x5d, 0x49, 0x3e, 0x19, 0xfc, 0x29, 0x83, 0x6a, - 0x0c, 0xa8, 0x50, 0xba, 0xd1, 0xed, 0x8a, 0x25, 0xc7, 0xac, 0xe3, 0xd6, 0xc0, 0x05, 0x8f, 0xb7, - 0xb6, 0x36, 0x09, 0x13, 0xb7, 0x94, 0x4a, 0x76, 0xae, 0xa7, 0x64, 0x77, 0x1a, 0xae, 0xd5, 0xd0, - 0xda, 0x6a, 0x53, 0x43, 0x18, 0x99, 0x21, 0x0b, 0xbf, 0x46, 0x65, 0x06, 0x0e, 0x05, 0x4e, 0xe0, - 0x40, 0x2f, 0x93, 0xe6, 0xec, 0x15, 0xd5, 0xf6, 0x1d, 0x7b, 0x10, 0xee, 0x24, 0x91, 0x03, 0x14, - 0x3c, 0x07, 0xac, 0x8a, 0x90, 0x50, 0xde, 0x1d, 0x03, 0x91, 0x09, 0x66, 0xe3, 0x4b, 0x06, 0x55, - 0x12, 0x0b, 0x00, 0x9f, 0x20, 0xe4, 0x8c, 0x1f, 0xd7, 0xb8, 0x2e, 0xcf, 0x6e, 0xd4, 0xa1, 0xe8, - 0xad, 0x4e, 0x96, 0x66, 0xe4, 0x62, 0x24, 0xc6, 0x86, 0xeb, 0xa8, 0x70, 0x22, 0xc6, 0x88, 0x89, - 0xc9, 0xce, 0x89, 0x81, 0x2d, 0xcb, 0xae, 0xee, 0x4b, 0x07, 0x09, 0xfd, 0xe1, 0xec, 0xf7, 0x44, - 0xac, 0x1e, 0xe9, 0xd8, 0xec, 0x4b, 0x2f, 0xd1, 0x7f, 0x1b, 0xef, 0x33, 0xe8, 0xf6, 0xd4, 0x92, - 0xe3, 0xa6, 0xb8, 0x62, 0x64, 0xe9, 0xe5, 0x35, 0x91, 0x16, 0xfd, 0x21, 0xb1, 0x28, 0xfc, 0x18, - 0x55, 0x12, 0x7d, 0xd2, 0x7b, 0x2b, 0xda, 0x15, 0x09, 0x36, 0x92, 0x8c, 0xb5, 0x56, 0x4e, 0x7f, - 0x2c, 0xcd, 0x9d, 0x89, 0xf3, 0x55, 0x9c, 0x77, 0x17, 0x4b, 0x99, 0x53, 0x71, 0xce, 0xc4, 0xf9, - 0x2e, 0xce, 0x87, 0x9f, 0x4b, 0x73, 0xfb, 0x25, 0x5d, 0xb3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x48, 0x5d, 0x6b, 0x0c, 0x46, 0x08, 0x00, 0x00, + // 787 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x54, 0xdd, 0x6a, 0xe3, 0x46, + 0x14, 0xb6, 0xfc, 0x1b, 0x4f, 0xea, 0x36, 0x0c, 0x2d, 0xb8, 0xbe, 0x90, 0x83, 0x29, 0xc5, 0xa1, + 0x8d, 0x84, 0x4d, 0x0b, 0x81, 0xd2, 0x42, 0xe4, 0x50, 0x08, 0x38, 0xa4, 0x4c, 0x42, 0x29, 0x81, + 0x52, 0x64, 0xf9, 0x58, 0x51, 0x6d, 0x4b, 0x62, 0x66, 0xe4, 0x92, 0x5c, 0xf5, 0x01, 0x7a, 0xd1, + 0x87, 0xd8, 0x37, 0x58, 0xf6, 0x1d, 0x72, 0x99, 0x8b, 0xbd, 0x58, 0xf6, 0xc2, 0x6c, 0xbc, 0x6f, + 0x91, 0xab, 0x65, 0x46, 0x63, 0xd9, 0x8a, 0x63, 0xb3, 0x9b, 0xdc, 0xe9, 0x1c, 0x9d, 0xf3, 0x7d, + 0xdf, 0x9c, 0x3f, 0x74, 0x34, 0x3c, 0x60, 0x86, 0x17, 0x98, 0xc3, 0xa8, 0x07, 0xd4, 0x07, 0x0e, + 0xcc, 0x1c, 0x40, 0x1f, 0xa8, 0xcd, 0xbd, 0xc0, 0x37, 0xed, 0xd0, 0x4b, 0xd9, 0x93, 0x56, 0x0f, + 0xb8, 0xdd, 0x32, 0x5d, 0xf0, 0x85, 0x0b, 0xfa, 0x46, 0x48, 0x03, 0x1e, 0xe0, 0x1f, 0x62, 0x14, + 0x63, 0x81, 0x62, 0x2c, 0xb2, 0x0c, 0x81, 0xb2, 0x6c, 0x2b, 0x94, 0xda, 0xbe, 0xeb, 0xf1, 0xcb, + 0xa8, 0x67, 0x38, 0xc1, 0xd8, 0x74, 0x03, 0x37, 0x30, 0x25, 0x58, 0x2f, 0x1a, 0x48, 0x4b, 0x1a, + 0xf2, 0x2b, 0x26, 0xa9, 0xb5, 0x57, 0xa5, 0x86, 0x43, 0x57, 0x68, 0x34, 0x29, 0xb0, 0x20, 0xa2, + 0x0e, 0x3c, 0x14, 0x56, 0xfb, 0x71, 0x7d, 0x4e, 0xe4, 0x4f, 0x80, 0x32, 0x2f, 0xf0, 0xa1, 0xbf, + 0x92, 0xf6, 0xfd, 0xfa, 0xb4, 0xc9, 0xca, 0xeb, 0x6b, 0xfb, 0x8f, 0x47, 0xd3, 0xc8, 0xe7, 0xde, + 0x78, 0x55, 0x53, 0xeb, 0xf1, 0xf0, 0x88, 0x7b, 0x23, 0xd3, 0xf3, 0x39, 0xe3, 0xf4, 0x61, 0x4a, + 0xe3, 0x55, 0x16, 0x95, 0x3a, 0xa3, 0x88, 0x71, 0xa0, 0xf8, 0x0f, 0xb4, 0x35, 0x06, 0x6e, 0xf7, + 0x6d, 0x6e, 0x57, 0xb5, 0x5d, 0xad, 0xb9, 0xdd, 0x6e, 0x1a, 0xab, 0xe5, 0x0f, 0x87, 0xae, 0xa8, + 0xbb, 0x31, 0x69, 0x19, 0xa7, 0xbd, 0xbf, 0xc1, 0xe1, 0x27, 0xc0, 0x6d, 0x0b, 0xdf, 0x4c, 0xeb, + 0x99, 0xd9, 0xb4, 0x8e, 0x16, 0x3e, 0x92, 0xa0, 0x61, 0x07, 0xe5, 0x59, 0x08, 0x4e, 0x35, 0x2b, + 0x51, 0x0f, 0x8d, 0xa7, 0x34, 0xd5, 0x50, 0x32, 0xcf, 0x42, 0x70, 0xac, 0xcf, 0x14, 0x5d, 0x5e, + 0x58, 0x44, 0x82, 0xe3, 0x21, 0x2a, 0x32, 0x6e, 0xf3, 0x88, 0x55, 0x73, 0x92, 0xa6, 0xf3, 0x3c, + 0x1a, 0x09, 0x65, 0x7d, 0xae, 0x88, 0x8a, 0xb1, 0x4d, 0x14, 0x45, 0xe3, 0x6d, 0x0e, 0xed, 0xa8, + 0xc8, 0x4e, 0xe0, 0xf7, 0x3d, 0x01, 0x81, 0x0f, 0x50, 0x9e, 0x5f, 0x85, 0x20, 0x8b, 0x57, 0xb6, + 0xbe, 0x99, 0x6b, 0x3c, 0xbf, 0x0a, 0xe1, 0x7e, 0x5a, 0xff, 0xf2, 0x61, 0xbc, 0xf0, 0x13, 0x99, + 0x81, 0x7f, 0x4f, 0xb4, 0x67, 0x65, 0xee, 0x2f, 0x69, 0xda, 0xfb, 0x69, 0x7d, 0xe3, 0xe0, 0x18, + 0x09, 0x66, 0x5a, 0x26, 0xbe, 0x44, 0x95, 0x91, 0xcd, 0xf8, 0x6f, 0x34, 0xe8, 0xc1, 0xb9, 0x37, + 0x06, 0x55, 0x9a, 0xef, 0x36, 0xf4, 0x75, 0x69, 0x7a, 0x0d, 0x91, 0x62, 0x7d, 0xa5, 0xb4, 0x54, + 0xba, 0xcb, 0x48, 0x24, 0x0d, 0x8c, 0xff, 0x41, 0x58, 0x38, 0xce, 0xa9, 0xed, 0xb3, 0xf8, 0x75, + 0x82, 0x2e, 0xff, 0xe9, 0x74, 0x35, 0x45, 0x87, 0xbb, 0x2b, 0x70, 0xe4, 0x11, 0x0a, 0xfc, 0x2d, + 0x2a, 0x52, 0xb0, 0x59, 0xe0, 0x57, 0x0b, 0xb2, 0x74, 0x49, 0xc7, 0x88, 0xf4, 0x12, 0xf5, 0x17, + 0xef, 0xa1, 0xd2, 0x18, 0x18, 0xb3, 0x5d, 0xa8, 0x16, 0x65, 0xe0, 0x17, 0x2a, 0xb0, 0x74, 0x12, + 0xbb, 0xc9, 0xfc, 0x7f, 0xe3, 0x56, 0x43, 0xdb, 0xaa, 0x59, 0x5d, 0x8f, 0x71, 0xfc, 0xe7, 0xca, + 0x62, 0x98, 0x1f, 0xf9, 0x22, 0x91, 0x2e, 0xf7, 0x63, 0x47, 0x91, 0x6d, 0xcd, 0x3d, 0x4b, 0xdb, + 0xd1, 0x43, 0x05, 0x8f, 0xc3, 0x58, 0xf4, 0x3e, 0xd7, 0xdc, 0x6e, 0xff, 0xfc, 0xac, 0xb9, 0xb5, + 0x2a, 0x8a, 0xa9, 0x70, 0x2c, 0x30, 0x49, 0x0c, 0xdd, 0x78, 0x91, 0x4d, 0x9e, 0x24, 0x56, 0x06, + 0xbf, 0xd4, 0x50, 0x8d, 0x01, 0x9d, 0x00, 0x3d, 0xec, 0xf7, 0x29, 0x30, 0x66, 0x5d, 0x75, 0x46, + 0x1e, 0xf8, 0xbc, 0x73, 0x7c, 0x44, 0x58, 0x55, 0x93, 0x4a, 0x4e, 0x9f, 0xa6, 0xe4, 0x6c, 0x1d, + 0xae, 0xd5, 0x50, 0xda, 0x6a, 0x6b, 0x43, 0x18, 0xd9, 0x20, 0x0b, 0xff, 0x85, 0xca, 0x0c, 0x1c, + 0x0a, 0x9c, 0xc0, 0x40, 0x1d, 0x93, 0xf6, 0xe6, 0x13, 0xd5, 0x0d, 0x1c, 0x7b, 0x14, 0xdf, 0x24, + 0x02, 0x03, 0xa0, 0xe0, 0x3b, 0x60, 0x55, 0x66, 0xd3, 0x7a, 0xf9, 0x6c, 0x0e, 0x44, 0x16, 0x98, + 0x8d, 0xd7, 0x1a, 0xaa, 0xa4, 0x0e, 0x00, 0xbe, 0x46, 0xc8, 0x99, 0x2f, 0xd7, 0xbc, 0x2e, 0xbf, + 0x3e, 0xab, 0x43, 0xc9, 0xae, 0x2e, 0x8e, 0x66, 0xe2, 0x62, 0x64, 0x89, 0x0d, 0xd7, 0x51, 0xe1, + 0x3a, 0xf0, 0x81, 0x55, 0x0b, 0xbb, 0xb9, 0x66, 0xd9, 0x2a, 0x8b, 0xae, 0x5e, 0x08, 0x07, 0x89, + 0xfd, 0xf1, 0xec, 0xbb, 0x5e, 0xe0, 0xab, 0x91, 0x5e, 0x9a, 0x7d, 0xe1, 0x25, 0xea, 0x6f, 0xe3, + 0x3f, 0x0d, 0x7d, 0xbd, 0xb6, 0xe4, 0xb8, 0x8d, 0x90, 0x93, 0x58, 0xea, 0x78, 0x2d, 0xa4, 0x25, + 0x7f, 0xc8, 0x52, 0x14, 0xfe, 0x09, 0x55, 0x52, 0x7d, 0x52, 0x77, 0x2b, 0xb9, 0x15, 0x29, 0x36, + 0x92, 0x8e, 0xb5, 0xf6, 0x6e, 0xee, 0xf4, 0xcc, 0xed, 0x9d, 0x9e, 0x79, 0x73, 0xa7, 0x67, 0xfe, + 0x9d, 0xe9, 0xda, 0xcd, 0x4c, 0xd7, 0x6e, 0x67, 0xba, 0xf6, 0x6e, 0xa6, 0x6b, 0xff, 0xbf, 0xd7, + 0x33, 0x17, 0x25, 0x55, 0xb3, 0x0f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x48, 0x5d, 0x6b, 0x0c, 0x46, + 0x08, 0x00, 0x00, } diff --git a/pkg/federation/apis/federation/v1beta1/generated.proto b/pkg/federation/apis/federation/v1beta1/generated.proto index e9828a07..9ad46d69 100644 --- a/pkg/federation/apis/federation/v1beta1/generated.proto +++ b/pkg/federation/apis/federation/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.federation.apis.federation.v1beta1; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/api/unversioned/generated.proto"; -import "k8s.io/client-go/pkg/api/v1/generated.proto"; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +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 = "v1beta1"; @@ -34,12 +34,15 @@ option go_package = "v1beta1"; message Cluster { // Standard object's 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; // Spec defines the behavior of the Cluster. + // +optional optional ClusterSpec spec = 2; // Status describes the current status of a Cluster + // +optional optional ClusterStatus status = 3; } @@ -52,15 +55,19 @@ message ClusterCondition { optional string status = 2; // Last time the condition was checked. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastProbeTime = 3; // Last time the condition transit from one status to another. + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. + // +optional optional string reason = 5; // Human readable message indicating details about last transition. + // +optional optional string message = 6; } @@ -68,6 +75,7 @@ message ClusterCondition { message ClusterList { // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of Cluster objects. @@ -87,19 +95,23 @@ message ClusterSpec { // Admin needs to ensure that the required secret exists. Secret should be in the same namespace where federation control plane is hosted and it should have kubeconfig in its data with key "kubeconfig". // This will later be changed to a reference to secret in federation control plane when the federation control plane supports secrets. // This can be left empty if the cluster allows insecure access. + // +optional 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. message ClusterStatus { // Conditions is an array of current cluster conditions. + // +optional repeated ClusterCondition conditions = 1; // 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. + // +optional repeated string zones = 5; // Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'. + // +optional optional string region = 6; } diff --git a/pkg/federation/apis/federation/v1beta1/types.go b/pkg/federation/apis/federation/v1beta1/types.go index 35f98821..99462df5 100644 --- a/pkg/federation/apis/federation/v1beta1/types.go +++ b/pkg/federation/apis/federation/v1beta1/types.go @@ -42,6 +42,7 @@ type ClusterSpec struct { // Admin needs to ensure that the required secret exists. Secret should be in the same namespace where federation control plane is hosted and it should have kubeconfig in its data with key "kubeconfig". // This will later be changed to a reference to secret in federation control plane when the federation control plane supports secrets. // This can be left empty if the cluster allows insecure access. + // +optional SecretRef *v1.LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,2,opt,name=secretRef"` } @@ -62,23 +63,30 @@ type ClusterCondition struct { // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"` // Last time the condition was checked. + // +optional LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transit from one status to another. + // +optional LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. + // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. + // +optional 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. type ClusterStatus struct { // Conditions is an array of current cluster conditions. + // +optional Conditions []ClusterCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"` // 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. + // +optional Zones []string `json:"zones,omitempty" protobuf:"bytes,5,rep,name=zones"` // Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'. + // +optional Region string `json:"region,omitempty" protobuf:"bytes,6,opt,name=region"` } @@ -90,11 +98,14 @@ type Cluster struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the behavior of the Cluster. + // +optional Spec ClusterSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status describes the current status of a Cluster + // +optional Status ClusterStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -103,6 +114,7 @@ type ClusterList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + // +optional unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of Cluster objects. diff --git a/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go b/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go index d89cc7be..54a5259d 100644 --- a/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go +++ b/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go @@ -52,9 +52,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { } func autoConvert_v1beta1_Cluster_To_federation_Cluster(in *Cluster, out *federation.Cluster, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -73,9 +70,6 @@ func Convert_v1beta1_Cluster_To_federation_Cluster(in *Cluster, out *federation. } func autoConvert_federation_Cluster_To_v1beta1_Cluster(in *federation.Cluster, out *Cluster, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err @@ -96,12 +90,8 @@ func Convert_federation_Cluster_To_v1beta1_Cluster(in *federation.Cluster, out * func autoConvert_v1beta1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error { out.Type = federation.ClusterConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -114,12 +104,8 @@ func Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition(in *Cluster func autoConvert_federation_ClusterCondition_To_v1beta1_ClusterCondition(in *federation.ClusterCondition, out *ClusterCondition, s conversion.Scope) error { out.Type = ClusterConditionType(in.Type) out.Status = v1.ConditionStatus(in.Status) - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { - return err - } - if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { - return err - } + out.LastProbeTime = in.LastProbeTime + out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil @@ -130,12 +116,7 @@ func Convert_federation_ClusterCondition_To_v1beta1_ClusterCondition(in *federat } func autoConvert_v1beta1_ClusterList_To_federation_ClusterList(in *ClusterList, out *federation.ClusterList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]federation.Cluster, len(*in)) @@ -155,12 +136,7 @@ func Convert_v1beta1_ClusterList_To_federation_ClusterList(in *ClusterList, out } func autoConvert_federation_ClusterList_To_v1beta1_ClusterList(in *federation.ClusterList, out *ClusterList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } + out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Cluster, len(*in)) diff --git a/pkg/genericapiserver/openapi/common/common.go b/pkg/genericapiserver/openapi/common/common.go index 3bcc744d..d2a80f2e 100644 --- a/pkg/genericapiserver/openapi/common/common.go +++ b/pkg/genericapiserver/openapi/common/common.go @@ -45,9 +45,15 @@ type Config struct { // Info is general information about the API. Info *spec.Info + // DefaultResponse will be used if an operation does not have any responses listed. It // will show up as ... "responses" : {"default" : $DefaultResponse} in the spec. DefaultResponse *spec.Response + + // CommonResponses will be added as a response to all operation specs. This is a good place to add common + // responses such as authorization failed. + CommonResponses map[int]spec.Response + // List of webservice's path prefixes to ignore IgnorePrefixes []string @@ -55,8 +61,16 @@ type Config struct { // or any of the models will result in spec generation failure. Definitions *OpenAPIDefinitions - // GetOperationID returns operation id for a restful route. It is an optional function to customize operation IDs. - GetOperationID func(servePath string, r *restful.Route) (string, error) + // GetOperationIDAndTags returns operation id and tags for a restful route. It is an optional function to customize operation IDs. + GetOperationIDAndTags func(servePath string, r *restful.Route) (string, []string, error) + + // SecurityDefinitions is list of all security definitions for OpenAPI service. If this is not nil, the user of config + // is responsible to provide DefaultSecurity and (maybe) add unauthorized response to CommonResponses. + SecurityDefinitions *spec.SecurityDefinitions + + // DefaultSecurity for all operations. This will pass as spec.SwaggerProps.Security to OpenAPI. + // For most cases, this will be list of acceptable definitions in SecurityDefinitions. + DefaultSecurity []map[string][]string } // This function is a reference for converting go (or any custom type) to a simple open API type,format pair. There are diff --git a/pkg/kubelet/server/portforward/portforward.go b/pkg/kubelet/server/portforward/portforward.go new file mode 100644 index 00000000..0e66fd46 --- /dev/null +++ b/pkg/kubelet/server/portforward/portforward.go @@ -0,0 +1,323 @@ +/* +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. +*/ + +package portforward + +import ( + "errors" + "fmt" + "io" + "net/http" + "strconv" + "sync" + "time" + + "github.com/golang/glog" + + "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 +// in a pod. +type PortForwarder interface { + // PortForwarder copies data between a data stream and a port in a pod. + PortForward(name string, uid types.UID, port uint16, stream io.ReadWriteCloser) error +} + +// ServePortForward handles a port forwarding request. A single request is +// kept alive as long as the client is still alive and the connection has not +// been timed out due to idleness. This function handles multiple forwarded +// connections; i.e., multiple `curl http://localhost:8888/` requests will be +// handled by a single invocation of ServePortForward. +func ServePortForward(w http.ResponseWriter, req *http.Request, portForwarder PortForwarder, podName string, uid types.UID, idleTimeout time.Duration, streamCreationTimeout time.Duration) { + supportedPortForwardProtocols := []string{PortForwardProtocolV1Name} + _, err := httpstream.Handshake(req, w, supportedPortForwardProtocols) + // negotiated protocol isn't currently used server side, but could be in the future + if err != nil { + // Handshake writes the error to the client + utilruntime.HandleError(err) + return + } + + streamChan := make(chan httpstream.Stream, 1) + + glog.V(5).Infof("Upgrading port forward response") + upgrader := spdy.NewResponseUpgrader() + conn := upgrader.UpgradeResponse(w, req, portForwardStreamReceived(streamChan)) + if conn == nil { + return + } + defer conn.Close() + + glog.V(5).Infof("(conn=%p) setting port forwarding streaming connection idle timeout to %v", conn, idleTimeout) + conn.SetIdleTimeout(idleTimeout) + + h := &portForwardStreamHandler{ + conn: conn, + streamChan: streamChan, + streamPairs: make(map[string]*portForwardStreamPair), + streamCreationTimeout: streamCreationTimeout, + pod: podName, + uid: uid, + forwarder: portForwarder, + } + h.run() +} + +// portForwardStreamReceived is the httpstream.NewStreamHandler for port +// forward streams. It checks each stream's port and stream type headers, +// rejecting any streams that with missing or invalid values. Each valid +// stream is sent to the streams channel. +func portForwardStreamReceived(streams chan httpstream.Stream) func(httpstream.Stream, <-chan struct{}) error { + return func(stream httpstream.Stream, replySent <-chan struct{}) error { + // make sure it has a valid port header + portString := stream.Headers().Get(api.PortHeader) + if len(portString) == 0 { + return fmt.Errorf("%q header is required", api.PortHeader) + } + port, err := strconv.ParseUint(portString, 10, 16) + if err != nil { + return fmt.Errorf("unable to parse %q as a port: %v", portString, err) + } + if port < 1 { + return fmt.Errorf("port %q must be > 0", portString) + } + + // make sure it has a valid stream type header + streamType := stream.Headers().Get(api.StreamType) + if len(streamType) == 0 { + return fmt.Errorf("%q header is required", api.StreamType) + } + if streamType != api.StreamTypeError && streamType != api.StreamTypeData { + return fmt.Errorf("invalid stream type %q", streamType) + } + + streams <- stream + return nil + } +} + +// portForwardStreamHandler is capable of processing multiple port forward +// requests over a single httpstream.Connection. +type portForwardStreamHandler struct { + conn httpstream.Connection + streamChan chan httpstream.Stream + streamPairsLock sync.RWMutex + streamPairs map[string]*portForwardStreamPair + streamCreationTimeout time.Duration + pod string + uid types.UID + forwarder PortForwarder +} + +// getStreamPair returns a portForwardStreamPair for requestID. This creates a +// new pair if one does not yet exist for the requestID. The returned bool is +// true if the pair was created. +func (h *portForwardStreamHandler) getStreamPair(requestID string) (*portForwardStreamPair, bool) { + h.streamPairsLock.Lock() + defer h.streamPairsLock.Unlock() + + if p, ok := h.streamPairs[requestID]; ok { + glog.V(5).Infof("(conn=%p, request=%s) found existing stream pair", h.conn, requestID) + return p, false + } + + glog.V(5).Infof("(conn=%p, request=%s) creating new stream pair", h.conn, requestID) + + p := newPortForwardPair(requestID) + h.streamPairs[requestID] = p + + return p, true +} + +// monitorStreamPair waits for the pair to receive both its error and data +// streams, or for the timeout to expire (whichever happens first), and then +// removes the pair. +func (h *portForwardStreamHandler) monitorStreamPair(p *portForwardStreamPair, timeout <-chan time.Time) { + select { + case <-timeout: + err := fmt.Errorf("(conn=%v, request=%s) timed out waiting for streams", h.conn, p.requestID) + utilruntime.HandleError(err) + p.printError(err.Error()) + case <-p.complete: + glog.V(5).Infof("(conn=%v, request=%s) successfully received error and data streams", h.conn, p.requestID) + } + h.removeStreamPair(p.requestID) +} + +// hasStreamPair returns a bool indicating if a stream pair for requestID +// exists. +func (h *portForwardStreamHandler) hasStreamPair(requestID string) bool { + h.streamPairsLock.RLock() + defer h.streamPairsLock.RUnlock() + + _, ok := h.streamPairs[requestID] + return ok +} + +// removeStreamPair removes the stream pair identified by requestID from streamPairs. +func (h *portForwardStreamHandler) removeStreamPair(requestID string) { + h.streamPairsLock.Lock() + defer h.streamPairsLock.Unlock() + + delete(h.streamPairs, requestID) +} + +// requestID returns the request id for stream. +func (h *portForwardStreamHandler) requestID(stream httpstream.Stream) string { + requestID := stream.Headers().Get(api.PortForwardRequestIDHeader) + if len(requestID) == 0 { + glog.V(5).Infof("(conn=%p) stream received without %s header", h.conn, api.PortForwardRequestIDHeader) + // If we get here, it's because the connection came from an older client + // that isn't generating the request id header + // (https://github.com/kubernetes/kubernetes/blob/843134885e7e0b360eb5441e85b1410a8b1a7a0c/pkg/client/unversioned/portforward/portforward.go#L258-L287) + // + // This is a best-effort attempt at supporting older clients. + // + // When there aren't concurrent new forwarded connections, each connection + // will have a pair of streams (data, error), and the stream IDs will be + // consecutive odd numbers, e.g. 1 and 3 for the first connection. Convert + // the stream ID into a pseudo-request id by taking the stream type and + // using id = stream.Identifier() when the stream type is error, + // and id = stream.Identifier() - 2 when it's data. + // + // NOTE: this only works when there are not concurrent new streams from + // multiple forwarded connections; it's a best-effort attempt at supporting + // old clients that don't generate request ids. If there are concurrent + // new connections, it's possible that 1 connection gets streams whose IDs + // are not consecutive (e.g. 5 and 9 instead of 5 and 7). + streamType := stream.Headers().Get(api.StreamType) + switch streamType { + case api.StreamTypeError: + requestID = strconv.Itoa(int(stream.Identifier())) + case api.StreamTypeData: + requestID = strconv.Itoa(int(stream.Identifier()) - 2) + } + + glog.V(5).Infof("(conn=%p) automatically assigning request ID=%q from stream type=%s, stream ID=%d", h.conn, requestID, streamType, stream.Identifier()) + } + return requestID +} + +// run is the main loop for the portForwardStreamHandler. It processes new +// streams, invoking portForward for each complete stream pair. The loop exits +// when the httpstream.Connection is closed. +func (h *portForwardStreamHandler) run() { + glog.V(5).Infof("(conn=%p) waiting for port forward streams", h.conn) +Loop: + for { + select { + case <-h.conn.CloseChan(): + glog.V(5).Infof("(conn=%p) upgraded connection closed", h.conn) + break Loop + case stream := <-h.streamChan: + requestID := h.requestID(stream) + streamType := stream.Headers().Get(api.StreamType) + glog.V(5).Infof("(conn=%p, request=%s) received new stream of type %s", h.conn, requestID, streamType) + + p, created := h.getStreamPair(requestID) + if created { + go h.monitorStreamPair(p, time.After(h.streamCreationTimeout)) + } + if complete, err := p.add(stream); err != nil { + msg := fmt.Sprintf("error processing stream for request %s: %v", requestID, err) + utilruntime.HandleError(errors.New(msg)) + p.printError(msg) + } else if complete { + go h.portForward(p) + } + } + } +} + +// portForward invokes the portForwardStreamHandler's forwarder.PortForward +// function for the given stream pair. +func (h *portForwardStreamHandler) portForward(p *portForwardStreamPair) { + defer p.dataStream.Close() + defer p.errorStream.Close() + + portString := p.dataStream.Headers().Get(api.PortHeader) + port, _ := strconv.ParseUint(portString, 10, 16) + + glog.V(5).Infof("(conn=%p, request=%s) invoking forwarder.PortForward for port %s", h.conn, p.requestID, portString) + err := h.forwarder.PortForward(h.pod, h.uid, uint16(port), p.dataStream) + glog.V(5).Infof("(conn=%p, request=%s) done invoking forwarder.PortForward for port %s", h.conn, p.requestID, portString) + + if err != nil { + msg := fmt.Errorf("error forwarding port %d to pod %s, uid %v: %v", port, h.pod, h.uid, err) + utilruntime.HandleError(msg) + fmt.Fprint(p.errorStream, msg.Error()) + } +} + +// portForwardStreamPair represents the error and data streams for a port +// forwarding request. +type portForwardStreamPair struct { + lock sync.RWMutex + requestID string + dataStream httpstream.Stream + errorStream httpstream.Stream + complete chan struct{} +} + +// newPortForwardPair creates a new portForwardStreamPair. +func newPortForwardPair(requestID string) *portForwardStreamPair { + return &portForwardStreamPair{ + requestID: requestID, + complete: make(chan struct{}), + } +} + +// add adds the stream to the portForwardStreamPair. If the pair already +// contains a stream for the new stream's type, an error is returned. add +// returns true if both the data and error streams for this pair have been +// received. +func (p *portForwardStreamPair) add(stream httpstream.Stream) (bool, error) { + p.lock.Lock() + defer p.lock.Unlock() + + switch stream.Headers().Get(api.StreamType) { + case api.StreamTypeError: + if p.errorStream != nil { + return false, errors.New("error stream already assigned") + } + p.errorStream = stream + case api.StreamTypeData: + if p.dataStream != nil { + return false, errors.New("data stream already assigned") + } + p.dataStream = stream + } + + complete := p.errorStream != nil && p.dataStream != nil + if complete { + close(p.complete) + } + return complete, nil +} + +// printError writes s to p.errorStream if p.errorStream has been set. +func (p *portForwardStreamPair) printError(s string) { + p.lock.RLock() + defer p.lock.RUnlock() + if p.errorStream != nil { + fmt.Fprint(p.errorStream, s) + } +} diff --git a/pkg/labels/selector.go b/pkg/labels/selector.go index 5cec970f..d14f6f90 100644 --- a/pkg/labels/selector.go +++ b/pkg/labels/selector.go @@ -91,9 +91,12 @@ func (a ByKey) Less(i, j int) bool { return a[i].key < a[j].key } // Requirement implements both set based match and exact match // Requirement should be initialized via NewRequirement constructor for creating a valid Requirement. type Requirement struct { - key string - operator selection.Operator - strValues sets.String + key string + operator selection.Operator + // In huge majority of cases we have at most one value here. + // It is generally faster to operate on a single-element slice + // than on a single-element map, so we have a slice here. + strValues []string } // NewRequirement is the constructor for a Requirement. @@ -107,7 +110,7 @@ type Requirement struct { // of characters. See validateLabelKey for more details. // // The empty string is a valid value in the input values set. -func NewRequirement(key string, op selection.Operator, vals sets.String) (*Requirement, error) { +func NewRequirement(key string, op selection.Operator, vals []string) (*Requirement, error) { if err := validateLabelKey(key); err != nil { return nil, err } @@ -128,8 +131,8 @@ func NewRequirement(key string, op selection.Operator, vals sets.String) (*Requi if len(vals) != 1 { return nil, fmt.Errorf("for 'Gt', 'Lt' operators, exactly one value is required") } - for val := range vals { - if _, err := strconv.ParseInt(val, 10, 64); err != nil { + for i := range vals { + if _, err := strconv.ParseInt(vals[i], 10, 64); err != nil { return nil, fmt.Errorf("for 'Gt', 'Lt' operators, the value must be an integer") } } @@ -137,14 +140,24 @@ func NewRequirement(key string, op selection.Operator, vals sets.String) (*Requi return nil, fmt.Errorf("operator '%v' is not recognized", op) } - for v := range vals { - if err := validateLabelValue(v); err != nil { + for i := range vals { + if err := validateLabelValue(vals[i]); err != nil { return nil, err } } + sort.Strings(vals) return &Requirement{key: key, operator: op, strValues: vals}, nil } +func (r *Requirement) hasValue(value string) bool { + for i := range r.strValues { + if r.strValues[i] == value { + return true + } + } + return false +} + // Matches returns true if the Requirement matches the input Labels. // There is a match in the following cases: // (1) The operator is Exists and Labels has the Requirement's key. @@ -162,12 +175,12 @@ func (r *Requirement) Matches(ls Labels) bool { if !ls.Has(r.key) { return false } - return r.strValues.Has(ls.Get(r.key)) + return r.hasValue(ls.Get(r.key)) case selection.NotIn, selection.NotEquals: if !ls.Has(r.key) { return true } - return !r.strValues.Has(ls.Get(r.key)) + return !r.hasValue(ls.Get(r.key)) case selection.Exists: return ls.Has(r.key) case selection.DoesNotExist: @@ -189,10 +202,10 @@ func (r *Requirement) Matches(ls Labels) bool { } var rValue int64 - for strValue := range r.strValues { - rValue, err = strconv.ParseInt(strValue, 10, 64) + for i := range r.strValues { + rValue, err = strconv.ParseInt(r.strValues[i], 10, 64) if err != nil { - glog.V(10).Infof("ParseInt failed for value %+v in requirement %#v, for 'Gt', 'Lt' operators, the value must be an integer", strValue, r) + glog.V(10).Infof("ParseInt failed for value %+v in requirement %#v, for 'Gt', 'Lt' operators, the value must be an integer", r.strValues[i], r) return false } } @@ -210,8 +223,8 @@ func (r *Requirement) Operator() selection.Operator { } func (r *Requirement) Values() sets.String { ret := sets.String{} - for k := range r.strValues { - ret.Insert(k) + for i := range r.strValues { + ret.Insert(r.strValues[i]) } return ret } @@ -258,9 +271,9 @@ func (r *Requirement) String() string { buffer.WriteString("(") } if len(r.strValues) == 1 { - buffer.WriteString(r.strValues.List()[0]) + buffer.WriteString(r.strValues[0]) } else { // only > 1 since == 0 prohibited by NewRequirement - buffer.WriteString(strings.Join(r.strValues.List(), ",")) + buffer.WriteString(strings.Join(r.strValues, ",")) } switch r.operator { @@ -561,7 +574,7 @@ func (p *Parser) parseRequirement() (*Requirement, error) { return nil, err } if operator == selection.Exists || operator == selection.DoesNotExist { // operator found lookahead set checked - return NewRequirement(key, operator, nil) + return NewRequirement(key, operator, []string{}) } operator, err = p.parseOperator() if err != nil { @@ -577,7 +590,7 @@ func (p *Parser) parseRequirement() (*Requirement, error) { if err != nil { return nil, err } - return NewRequirement(key, operator, values) + return NewRequirement(key, operator, values.List()) } @@ -784,7 +797,7 @@ func SelectorFromSet(ls Set) Selector { } var requirements internalSelector for label, value := range ls { - if r, err := NewRequirement(label, selection.Equals, sets.NewString(value)); err != nil { + if r, err := NewRequirement(label, selection.Equals, []string{value}); err != nil { //TODO: double check errors when input comes from serialization? return internalSelector{} } else { @@ -805,7 +818,7 @@ func SelectorFromValidatedSet(ls Set) Selector { } var requirements internalSelector for label, value := range ls { - requirements = append(requirements, Requirement{key: label, operator: selection.Equals, strValues: sets.NewString(value)}) + requirements = append(requirements, Requirement{key: label, operator: selection.Equals, strValues: []string{value}}) } // sort to have deterministic string representation sort.Sort(ByKey(requirements)) diff --git a/pkg/runtime/codec.go b/pkg/runtime/codec.go index 5a641439..070738cd 100644 --- a/pkg/runtime/codec.go +++ b/pkg/runtime/codec.go @@ -76,6 +76,24 @@ func EncodeOrDie(e Encoder, obj Object) string { return string(bytes) } +// DefaultingSerializer invokes defaulting after decoding. +type DefaultingSerializer struct { + Defaulter ObjectDefaulter + Decoder Decoder + // Encoder is optional to allow this type to be used as both a Decoder and an Encoder + Encoder +} + +// Decode performs a decode and then allows the defaulter to act on the provided object. +func (d DefaultingSerializer) Decode(data []byte, defaultGVK *unversioned.GroupVersionKind, into Object) (Object, *unversioned.GroupVersionKind, error) { + obj, gvk, err := d.Decoder.Decode(data, defaultGVK, into) + if err != nil { + return obj, gvk, err + } + d.Defaulter.Default(obj) + return obj, gvk, nil +} + // UseOrCreateObject returns obj if the canonical ObjectKind returned by the provided typer matches gvk, or // invokes the ObjectCreator to instantiate a new gvk. Returns an error if the typer cannot find the object. func UseOrCreateObject(t ObjectTyper, c ObjectCreater, gvk unversioned.GroupVersionKind, obj Object) (Object, error) { @@ -199,6 +217,22 @@ func (s base64Serializer) Decode(data []byte, defaults *unversioned.GroupVersion return s.Serializer.Decode(out[:n], defaults, into) } +// SerializerInfoForMediaType returns the first info in types that has a matching media type (which cannot +// include media-type parameters), or the first info with an empty media type, or false if no type matches. +func SerializerInfoForMediaType(types []SerializerInfo, mediaType string) (SerializerInfo, bool) { + for _, info := range types { + if info.MediaType == mediaType { + return info, true + } + } + for _, info := range types { + if len(info.MediaType) == 0 { + return info, true + } + } + return SerializerInfo{}, false +} + var ( // InternalGroupVersioner will always prefer the internal version for a given group version kind. InternalGroupVersioner GroupVersioner = internalGroupVersioner{} diff --git a/pkg/runtime/generated.pb.go b/pkg/runtime/generated.pb.go index c0f0cd54..d18d688f 100644 --- a/pkg/runtime/generated.pb.go +++ b/pkg/runtime/generated.pb.go @@ -738,29 +738,30 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 380 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0x2a, 0x31, - 0x14, 0xc6, 0x19, 0x20, 0x81, 0x5b, 0x48, 0xb8, 0xe9, 0x5d, 0xdc, 0x91, 0x44, 0x20, 0x6c, 0x94, - 0x05, 0x6d, 0x24, 0x31, 0x71, 0xcb, 0x10, 0x16, 0xc6, 0x98, 0x98, 0x89, 0xb8, 0x70, 0xe5, 0x30, - 0xd4, 0xb1, 0x19, 0x69, 0x27, 0x9d, 0x4e, 0xd0, 0x9d, 0x8f, 0xe0, 0x63, 0xb1, 0x64, 0xe9, 0x8a, - 0x28, 0x3e, 0x83, 0x7b, 0x4b, 0x29, 0x7f, 0x04, 0xe2, 0xe2, 0x24, 0x33, 0xe7, 0xfc, 0xbe, 0xef, - 0x7c, 0xa7, 0xa0, 0x19, 0x9e, 0xc5, 0x88, 0x72, 0x1c, 0x26, 0x7d, 0x22, 0x18, 0x91, 0x24, 0xc6, - 0x51, 0x18, 0x60, 0x91, 0x30, 0x49, 0x87, 0x04, 0x07, 0x84, 0x11, 0xe1, 0x49, 0x32, 0x40, 0x91, - 0xe0, 0x92, 0xc3, 0xc3, 0x05, 0x8e, 0xd6, 0x38, 0x52, 0x38, 0x32, 0x78, 0xb9, 0x19, 0x50, 0xf9, - 0x90, 0xf4, 0x91, 0xcf, 0x87, 0x38, 0xe0, 0x01, 0xc7, 0x5a, 0xd5, 0x4f, 0xee, 0xf5, 0x9f, 0xfe, - 0xd1, 0x5f, 0x0b, 0xb7, 0x72, 0x6b, 0xff, 0x72, 0x2f, 0xa2, 0x58, 0x90, 0x98, 0x27, 0xc2, 0xdf, - 0x49, 0x50, 0x3e, 0xd9, 0xaf, 0x49, 0x24, 0x7d, 0xc4, 0x94, 0xc9, 0x58, 0x8a, 0x6d, 0x49, 0xbd, - 0x01, 0x8a, 0xae, 0x37, 0xea, 0x3e, 0x49, 0xc2, 0x62, 0xca, 0x19, 0x3c, 0x00, 0x19, 0xe1, 0x8d, - 0x6c, 0xab, 0x66, 0x1d, 0x17, 0x9d, 0xdc, 0x6c, 0x5a, 0xcd, 0xa8, 0xb1, 0x3b, 0xef, 0xd5, 0xef, - 0x40, 0xfe, 0xfa, 0x39, 0x22, 0x97, 0x44, 0x7a, 0xb0, 0x05, 0x80, 0x4a, 0x72, 0x43, 0xc4, 0x5c, - 0xa4, 0xe9, 0x3f, 0x0e, 0x1c, 0x4f, 0xab, 0x29, 0xa5, 0x00, 0xed, 0xab, 0x73, 0x33, 0x71, 0x37, - 0x28, 0x58, 0x03, 0xd9, 0x90, 0xb2, 0x81, 0x9d, 0xd6, 0x74, 0xd1, 0xd0, 0xd9, 0x0b, 0xd5, 0x73, - 0xf5, 0xa4, 0xfe, 0x65, 0x81, 0x5c, 0x8f, 0x85, 0x8c, 0x8f, 0x18, 0xec, 0x81, 0xbc, 0x34, 0xdb, - 0xb4, 0x7f, 0xa1, 0x75, 0x84, 0x7e, 0x7d, 0x60, 0xb4, 0x0c, 0xe7, 0xfc, 0x35, 0xd6, 0xab, 0xb8, - 0xee, 0xca, 0x6a, 0x79, 0x5f, 0x7a, 0xf7, 0x3e, 0xd8, 0x06, 0x25, 0x9f, 0x33, 0xf5, 0x10, 0xb2, - 0xcb, 0x7c, 0x3e, 0xa0, 0x2c, 0xb0, 0x33, 0x3a, 0xea, 0x7f, 0xe3, 0x57, 0xea, 0xfc, 0x1c, 0xbb, - 0xdb, 0x3c, 0x3c, 0x05, 0x05, 0xd3, 0x9a, 0xaf, 0xb6, 0xb3, 0x5a, 0xfe, 0xcf, 0xc8, 0x0b, 0x9d, - 0xf5, 0xc8, 0xdd, 0xe4, 0x9c, 0xc6, 0xf8, 0xa3, 0x92, 0x9a, 0xa8, 0x7a, 0x53, 0xf5, 0x32, 0xab, - 0x58, 0x63, 0x55, 0x13, 0x55, 0xef, 0xaa, 0x5e, 0x3f, 0x2b, 0xa9, 0xdb, 0x9c, 0x39, 0xf2, 0x3b, - 0x00, 0x00, 0xff, 0xff, 0x32, 0xc1, 0x73, 0x2d, 0x94, 0x02, 0x00, 0x00, + // 388 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0x3f, 0x8f, 0xda, 0x30, + 0x18, 0xc6, 0x13, 0x40, 0x82, 0x1a, 0x24, 0x2a, 0x77, 0x68, 0x8a, 0x54, 0x83, 0x58, 0x5a, 0x06, + 0x6c, 0x15, 0xa9, 0x52, 0x57, 0x82, 0x18, 0xaa, 0xaa, 0x52, 0x65, 0x95, 0x0e, 0x9d, 0x1a, 0x12, + 0x37, 0xb5, 0x52, 0xec, 0xc8, 0x71, 0x94, 0x76, 0xeb, 0x47, 0xe8, 0xc7, 0x62, 0x64, 0xbc, 0x09, + 0x1d, 0xb9, 0xcf, 0x70, 0xfb, 0x09, 0x63, 0xfe, 0x1c, 0xa0, 0xdb, 0xe2, 0xf7, 0xf9, 0x3d, 0xcf, + 0xfb, 0xbc, 0x01, 0xc3, 0xe4, 0x43, 0x86, 0xb9, 0x24, 0x49, 0x3e, 0x67, 0x4a, 0x30, 0xcd, 0x32, + 0x92, 0x26, 0x31, 0x51, 0xb9, 0xd0, 0x7c, 0xc1, 0x48, 0xcc, 0x04, 0x53, 0x81, 0x66, 0x11, 0x4e, + 0x95, 0xd4, 0x12, 0xbe, 0xde, 0xe1, 0xf8, 0x88, 0xe3, 0x34, 0x89, 0xb1, 0xc5, 0x3b, 0xc3, 0x98, + 0xeb, 0x5f, 0xf9, 0x1c, 0x87, 0x72, 0x41, 0x62, 0x19, 0x4b, 0x62, 0x5c, 0xf3, 0xfc, 0xa7, 0x79, + 0x99, 0x87, 0xf9, 0xda, 0xa5, 0x75, 0x46, 0xd7, 0x97, 0x07, 0x29, 0x27, 0x8a, 0x65, 0x32, 0x57, + 0xe1, 0x45, 0x83, 0xce, 0xbb, 0xeb, 0x9e, 0x5c, 0xf3, 0xdf, 0x84, 0x0b, 0x9d, 0x69, 0x75, 0x6e, + 0xe9, 0x0f, 0x40, 0x8b, 0x06, 0xc5, 0xf4, 0x8f, 0x66, 0x22, 0xe3, 0x52, 0xc0, 0x57, 0xa0, 0xaa, + 0x82, 0xc2, 0x73, 0x7b, 0xee, 0xdb, 0x96, 0x5f, 0x2f, 0xd7, 0xdd, 0x2a, 0x0d, 0x0a, 0xba, 0x9d, + 0xf5, 0x7f, 0x80, 0xc6, 0xd7, 0xbf, 0x29, 0xfb, 0xcc, 0x74, 0x00, 0x47, 0x00, 0x04, 0x29, 0xff, + 0xc6, 0xd4, 0xd6, 0x64, 0xe8, 0x67, 0x3e, 0x5c, 0xae, 0xbb, 0x4e, 0xb9, 0xee, 0x82, 0xf1, 0x97, + 0x8f, 0x56, 0xa1, 0x27, 0x14, 0xec, 0x81, 0x5a, 0xc2, 0x45, 0xe4, 0x55, 0x0c, 0xdd, 0xb2, 0x74, + 0xed, 0x13, 0x17, 0x11, 0x35, 0x4a, 0xff, 0xde, 0x05, 0xf5, 0x99, 0x48, 0x84, 0x2c, 0x04, 0x9c, + 0x81, 0x86, 0xb6, 0xdb, 0x4c, 0x7e, 0x73, 0xf4, 0x06, 0x3f, 0xf9, 0x83, 0xf1, 0xbe, 0x9c, 0xff, + 0xdc, 0x46, 0x1f, 0xea, 0xd2, 0x43, 0xd4, 0xfe, 0xbe, 0xca, 0xe5, 0x7d, 0x70, 0x0c, 0xda, 0xa1, + 0x14, 0x9a, 0x09, 0x3d, 0x15, 0xa1, 0x8c, 0xb8, 0x88, 0xbd, 0xaa, 0xa9, 0xfa, 0xd2, 0xe6, 0xb5, + 0x27, 0x8f, 0x65, 0x7a, 0xce, 0xc3, 0xf7, 0xa0, 0x69, 0x47, 0xdb, 0xd5, 0x5e, 0xcd, 0xd8, 0x5f, + 0x58, 0x7b, 0x73, 0x72, 0x94, 0xe8, 0x29, 0xe7, 0x0f, 0x96, 0x1b, 0xe4, 0xac, 0x36, 0xc8, 0xb9, + 0xd9, 0x20, 0xe7, 0x5f, 0x89, 0xdc, 0x65, 0x89, 0xdc, 0x55, 0x89, 0xdc, 0xdb, 0x12, 0xb9, 0xff, + 0xef, 0x90, 0xf3, 0xbd, 0x6e, 0x8f, 0x7c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x32, 0xc1, 0x73, 0x2d, + 0x94, 0x02, 0x00, 0x00, } diff --git a/pkg/runtime/generated.proto b/pkg/runtime/generated.proto index 79db8e80..136ab0b5 100644 --- a/pkg/runtime/generated.proto +++ b/pkg/runtime/generated.proto @@ -21,8 +21,8 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.runtime; -import "k8s.io/client-go/pkg/api/resource/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". option go_package = "runtime"; @@ -94,8 +94,10 @@ message RawExtension { // +protobuf=true // +k8s:openapi-gen=true message TypeMeta { + // +optional optional string apiVersion = 1; + // +optional optional string kind = 2; } diff --git a/pkg/runtime/interfaces.go b/pkg/runtime/interfaces.go index 17cdb140..0315cac5 100644 --- a/pkg/runtime/interfaces.go +++ b/pkg/runtime/interfaces.go @@ -89,20 +89,28 @@ type Framer interface { // SerializerInfo contains information about a specific serialization format type SerializerInfo struct { - Serializer - // EncodesAsText indicates this serializer can be encoded to UTF-8 safely. - EncodesAsText bool // MediaType is the value that represents this serializer over the wire. MediaType string + // EncodesAsText indicates this serializer can be encoded to UTF-8 safely. + EncodesAsText bool + // Serializer is the individual object serializer for this media type. + Serializer Serializer + // PrettySerializer, if set, can serialize this object in a form biased towards + // readability. + PrettySerializer Serializer + // StreamSerializer, if set, describes the streaming serialization format + // for this media type. + StreamSerializer *StreamSerializerInfo } // StreamSerializerInfo contains information about a specific stream serialization format type StreamSerializerInfo struct { - SerializerInfo + // EncodesAsText indicates this serializer can be encoded to UTF-8 safely. + EncodesAsText bool + // Serializer is the top level object serializer for this type when streaming + Serializer // Framer is the factory for retrieving streams that separate objects on the wire Framer - // Embedded is the type of the nested serialization that should be used. - Embedded SerializerInfo } // NegotiatedSerializer is an interface used for obtaining encoders, decoders, and serializers @@ -110,21 +118,7 @@ type StreamSerializerInfo struct { // that performs HTTP content negotiation to accept multiple formats. type NegotiatedSerializer interface { // SupportedMediaTypes is the media types supported for reading and writing single objects. - SupportedMediaTypes() []string - // SerializerForMediaType returns a serializer for the provided media type. params is the set of - // parameters applied to the media type that may modify the resulting output. ok will be false - // if no serializer matched the media type. - SerializerForMediaType(mediaType string, params map[string]string) (s SerializerInfo, ok bool) - - // SupportedStreamingMediaTypes returns the media types of the supported streaming serializers. - // Streaming serializers control how multiple objects are written to a stream output. - SupportedStreamingMediaTypes() []string - // StreamingSerializerForMediaType returns a serializer for the provided media type that supports - // reading and writing multiple objects to a stream. It returns a framer and serializer, or an - // error if no such serializer can be created. Params is the set of parameters applied to the - // media type that may modify the resulting output. ok will be false if no serializer matched - // the media type. - StreamingSerializerForMediaType(mediaType string, params map[string]string) (s StreamSerializerInfo, ok bool) + SupportedMediaTypes() []SerializerInfo // EncoderForVersion returns an encoder that ensures objects being written to the provided // serializer are in the provided group version. @@ -138,9 +132,8 @@ type NegotiatedSerializer interface { // that can read and write data at rest. This would commonly be used by client tools that must // read files, or server side storage interfaces that persist restful objects. type StorageSerializer interface { - // SerializerForMediaType returns a serializer for the provided media type. Options is a set of - // parameters applied to the media type that may modify the resulting output. - SerializerForMediaType(mediaType string, options map[string]string) (SerializerInfo, bool) + // SupportedMediaTypes are the media types supported for reading and writing objects. + SupportedMediaTypes() []SerializerInfo // UniversalDeserializer returns a Serializer that can read objects in multiple supported formats // by introspecting the data at rest. @@ -169,6 +162,12 @@ type NestedObjectDecoder interface { /////////////////////////////////////////////////////////////////////////////// // Non-codec interfaces +type ObjectDefaulter interface { + // Default takes an object (must be a pointer) and applies any default values. + // Defaulters may not error. + Default(in Object) +} + type ObjectVersioner interface { ConvertToVersion(in Object, gv GroupVersioner) (out Object, err error) } diff --git a/pkg/runtime/scheme.go b/pkg/runtime/scheme.go index ad67e1ac..104801eb 100644 --- a/pkg/runtime/scheme.go +++ b/pkg/runtime/scheme.go @@ -61,6 +61,10 @@ type Scheme struct { // resource field labels in that version to internal version. fieldLabelConversionFuncs map[string]map[string]FieldLabelConversionFunc + // defaulterFuncs is an array of interfaces to be called with an object to provide defaulting + // the provided object must be a pointer. + defaulterFuncs map[reflect.Type]func(interface{}) + // converter stores all registered conversion functions. It also has // default coverting behavior. converter *conversion.Converter @@ -82,6 +86,7 @@ func NewScheme() *Scheme { unversionedKinds: map[string]reflect.Type{}, cloner: conversion.NewCloner(), fieldLabelConversionFuncs: map[string]map[string]FieldLabelConversionFunc{}, + defaulterFuncs: map[reflect.Type]func(interface{}){}, } s.converter = conversion.NewConverter(s.nameFunc) @@ -421,6 +426,22 @@ func (s *Scheme) AddDefaultingFuncs(defaultingFuncs ...interface{}) error { return nil } +// AddTypeDefaultingFuncs registers a function that is passed a pointer to an +// object and can default fields on the object. These functions will be invoked +// when Default() is called. The function will never be called unless the +// defaulted object matches srcType. If this function is invoked twice with the +// same srcType, the fn passed to the later call will be used instead. +func (s *Scheme) AddTypeDefaultingFunc(srcType Object, fn func(interface{})) { + s.defaulterFuncs[reflect.TypeOf(srcType)] = fn +} + +// Default sets defaults on the provided Object. +func (s *Scheme) Default(src Object) { + if fn, ok := s.defaulterFuncs[reflect.TypeOf(src)]; ok { + fn(src) + } +} + // Copy does a deep copy of an API object. func (s *Scheme) Copy(src Object) (Object, error) { dst, err := s.DeepCopy(src) diff --git a/pkg/runtime/serializer/codec_factory.go b/pkg/runtime/serializer/codec_factory.go index f5b6c2ac..69f56bb6 100644 --- a/pkg/runtime/serializer/codec_factory.go +++ b/pkg/runtime/serializer/codec_factory.go @@ -36,25 +36,12 @@ type serializerType struct { Serializer runtime.Serializer PrettySerializer runtime.Serializer - // RawSerializer serializes an object without adding a type wrapper. Some serializers, like JSON - // automatically include identifying type information with the JSON. Others, like Protobuf, need - // a wrapper object that includes type information. This serializer should be set if the serializer - // can serialize / deserialize objects without type info. Note that this serializer will always - // be expected to pass into or a gvk to Decode, since no type information will be available on - // the object itself. - RawSerializer runtime.Serializer - // Specialize gives the type the opportunity to return a different serializer implementation if - // the content type contains alternate operations. Here it is used to implement "pretty" as an - // option to application/json, but could also be used to allow serializers to perform type - // defaulting or alter output. - Specialize func(map[string]string) (runtime.Serializer, bool) AcceptStreamContentTypes []string StreamContentType string Framer runtime.Framer StreamSerializer runtime.Serializer - StreamSpecialize func(map[string]string) (runtime.Serializer, bool) } func newSerializersForScheme(scheme *runtime.Scheme, mf json.MetaFactory) []serializerType { @@ -71,10 +58,8 @@ func newSerializersForScheme(scheme *runtime.Scheme, mf json.MetaFactory) []seri Serializer: jsonSerializer, PrettySerializer: jsonPrettySerializer, - AcceptStreamContentTypes: []string{"application/json", "application/json;stream=watch"}, - StreamContentType: "application/json", - Framer: json.Framer, - StreamSerializer: jsonSerializer, + Framer: json.Framer, + StreamSerializer: jsonSerializer, }, { AcceptContentTypes: []string{"application/yaml"}, @@ -82,13 +67,6 @@ func newSerializersForScheme(scheme *runtime.Scheme, mf json.MetaFactory) []seri FileExtensions: []string{"yaml"}, EncodesAsText: true, Serializer: yamlSerializer, - - // TODO: requires runtime.RawExtension to properly distinguish when the nested content is - // yaml, because the yaml encoder invokes MarshalJSON first - //AcceptStreamContentTypes: []string{"application/yaml", "application/yaml;stream=watch"}, - //StreamContentType: "application/yaml;stream=watch", - //Framer: json.YAMLFramer, - //StreamSerializer: yamlSerializer, }, } @@ -103,11 +81,10 @@ func newSerializersForScheme(scheme *runtime.Scheme, mf json.MetaFactory) []seri // CodecFactory provides methods for retrieving codecs and serializers for specific // versions and content types. type CodecFactory struct { - scheme *runtime.Scheme - serializers []serializerType - universal runtime.Decoder - accepts []string - streamingAccepts []string + scheme *runtime.Scheme + serializers []serializerType + universal runtime.Decoder + accepts []runtime.SerializerInfo legacySerializer runtime.Serializer } @@ -126,7 +103,7 @@ func NewCodecFactory(scheme *runtime.Scheme) CodecFactory { // newCodecFactory is a helper for testing that allows a different metafactory to be specified. func newCodecFactory(scheme *runtime.Scheme, serializers []serializerType) CodecFactory { decoders := make([]runtime.Decoder, 0, len(serializers)) - accepts := []string{} + var accepts []runtime.SerializerInfo alreadyAccepted := make(map[string]struct{}) var legacySerializer runtime.Serializer @@ -137,8 +114,21 @@ func newCodecFactory(scheme *runtime.Scheme, serializers []serializerType) Codec continue } alreadyAccepted[mediaType] = struct{}{} - accepts = append(accepts, mediaType) - if mediaType == "application/json" { + info := runtime.SerializerInfo{ + MediaType: d.ContentType, + EncodesAsText: d.EncodesAsText, + Serializer: d.Serializer, + PrettySerializer: d.PrettySerializer, + } + if d.StreamSerializer != nil { + info.StreamSerializer = &runtime.StreamSerializerInfo{ + Serializer: d.StreamSerializer, + EncodesAsText: d.EncodesAsText, + Framer: d.Framer, + } + } + accepts = append(accepts, info) + if mediaType == runtime.ContentTypeJSON { legacySerializer = d.Serializer } } @@ -147,45 +137,22 @@ func newCodecFactory(scheme *runtime.Scheme, serializers []serializerType) Codec legacySerializer = serializers[0].Serializer } - streamAccepts := []string{} - alreadyAccepted = make(map[string]struct{}) - for _, d := range serializers { - if len(d.StreamContentType) == 0 { - continue - } - for _, mediaType := range d.AcceptStreamContentTypes { - if _, ok := alreadyAccepted[mediaType]; ok { - continue - } - alreadyAccepted[mediaType] = struct{}{} - streamAccepts = append(streamAccepts, mediaType) - } - } - return CodecFactory{ scheme: scheme, serializers: serializers, universal: recognizer.NewDecoder(decoders...), - accepts: accepts, - streamingAccepts: streamAccepts, + accepts: accepts, legacySerializer: legacySerializer, } } -var _ runtime.NegotiatedSerializer = &CodecFactory{} - // SupportedMediaTypes returns the RFC2046 media types that this factory has serializers for. -func (f CodecFactory) SupportedMediaTypes() []string { +func (f CodecFactory) SupportedMediaTypes() []runtime.SerializerInfo { return f.accepts } -// SupportedStreamingMediaTypes returns the RFC2046 media types that this factory has stream serializers for. -func (f CodecFactory) SupportedStreamingMediaTypes() []string { - return f.streamingAccepts -} - // LegacyCodec encodes output to a given API versions, and decodes output into the internal form from // any recognized source. The returned codec will always encode output to JSON. If a type is not // found in the list of versions an error will be returned. @@ -196,7 +163,7 @@ func (f CodecFactory) SupportedStreamingMediaTypes() []string { // TODO: make this call exist only in pkg/api, and initialize it with the set of default versions. // All other callers will be forced to request a Codec directly. func (f CodecFactory) LegacyCodec(version ...unversioned.GroupVersion) runtime.Codec { - return versioning.NewCodecForScheme(f.scheme, f.legacySerializer, f.universal, unversioned.GroupVersions(version), runtime.InternalGroupVersioner) + return versioning.NewDefaultingCodecForScheme(f.scheme, f.legacySerializer, f.universal, unversioned.GroupVersions(version), runtime.InternalGroupVersioner) } // UniversalDeserializer can convert any stored data recognized by this factory into a Go object that satisfies @@ -235,7 +202,7 @@ func (f CodecFactory) CodecForVersions(encoder runtime.Encoder, decoder runtime. if decode == nil { decode = runtime.InternalGroupVersioner } - return versioning.NewCodecForScheme(f.scheme, encoder, decoder, encode, decode) + return versioning.NewDefaultingCodecForScheme(f.scheme, encoder, decoder, encode, decode) } // DecoderToVersion returns a decoder that targets the provided group version. @@ -248,85 +215,6 @@ func (f CodecFactory) EncoderForVersion(encoder runtime.Encoder, gv runtime.Grou return f.CodecForVersions(encoder, nil, gv, nil) } -// SerializerForMediaType returns a serializer that matches the provided RFC2046 mediaType, or false if no such -// serializer exists -func (f CodecFactory) SerializerForMediaType(mediaType string, params map[string]string) (runtime.SerializerInfo, bool) { - for _, s := range f.serializers { - for _, accepted := range s.AcceptContentTypes { - if accepted == mediaType { - // specialization abstracts variants to the content type - if s.Specialize != nil && len(params) > 0 { - serializer, ok := s.Specialize(params) - // TODO: return formatted mediaType+params - return runtime.SerializerInfo{Serializer: serializer, MediaType: s.ContentType, EncodesAsText: s.EncodesAsText}, ok - } - - // legacy support for ?pretty=1 continues, but this is more formally defined - if v, ok := params["pretty"]; ok && v == "1" && s.PrettySerializer != nil { - return runtime.SerializerInfo{Serializer: s.PrettySerializer, MediaType: s.ContentType, EncodesAsText: s.EncodesAsText}, true - } - - // return the base variant - return runtime.SerializerInfo{Serializer: s.Serializer, MediaType: s.ContentType, EncodesAsText: s.EncodesAsText}, true - } - } - } - return runtime.SerializerInfo{}, false -} - -// StreamingSerializerForMediaType returns a serializer that matches the provided RFC2046 mediaType, or false if no such -// serializer exists -func (f CodecFactory) StreamingSerializerForMediaType(mediaType string, params map[string]string) (runtime.StreamSerializerInfo, bool) { - for _, s := range f.serializers { - for _, accepted := range s.AcceptStreamContentTypes { - if accepted == mediaType { - // TODO: accept params - nested, ok := f.SerializerForMediaType(s.ContentType, nil) - if !ok { - panic("no serializer defined for internal content type") - } - - if s.StreamSpecialize != nil && len(params) > 0 { - serializer, ok := s.StreamSpecialize(params) - // TODO: return formatted mediaType+params - return runtime.StreamSerializerInfo{ - SerializerInfo: runtime.SerializerInfo{ - Serializer: serializer, - MediaType: s.StreamContentType, - EncodesAsText: s.EncodesAsText, - }, - Framer: s.Framer, - Embedded: nested, - }, ok - } - - return runtime.StreamSerializerInfo{ - SerializerInfo: runtime.SerializerInfo{ - Serializer: s.StreamSerializer, - MediaType: s.StreamContentType, - EncodesAsText: s.EncodesAsText, - }, - Framer: s.Framer, - Embedded: nested, - }, true - } - } - } - return runtime.StreamSerializerInfo{}, false -} - -// SerializerForFileExtension returns a serializer for the provided extension, or false if no serializer matches. -func (f CodecFactory) SerializerForFileExtension(extension string) (runtime.Serializer, bool) { - for _, s := range f.serializers { - for _, ext := range s.FileExtensions { - if extension == ext { - return s.Serializer, true - } - } - } - return nil, false -} - // DirectCodecFactory provides methods for retrieving "DirectCodec"s, which do not do conversion. type DirectCodecFactory struct { CodecFactory diff --git a/pkg/runtime/serializer/json/meta.go b/pkg/runtime/serializer/json/meta.go index 970516e1..325df63d 100644 --- a/pkg/runtime/serializer/json/meta.go +++ b/pkg/runtime/serializer/json/meta.go @@ -47,8 +47,10 @@ type SimpleMetaFactory struct { // encoding of an object, or an error. func (SimpleMetaFactory) Interpret(data []byte) (*unversioned.GroupVersionKind, error) { findKind := struct { + // +optional APIVersion string `json:"apiVersion,omitempty"` - Kind string `json:"kind,omitempty"` + // +optional + Kind string `json:"kind,omitempty"` }{} if err := json.Unmarshal(data, &findKind); err != nil { return nil, fmt.Errorf("couldn't get version/kind; json parse error: %v", err) diff --git a/pkg/runtime/serializer/negotiated_codec.go b/pkg/runtime/serializer/negotiated_codec.go index d6b246fd..95e3dd3a 100644 --- a/pkg/runtime/serializer/negotiated_codec.go +++ b/pkg/runtime/serializer/negotiated_codec.go @@ -20,31 +20,18 @@ import ( "k8s.io/client-go/pkg/runtime" ) -// TODO: We should figure out what happens when someone asks -// encoder for version and it conflicts with the raw serializer. +// TODO: We should split negotiated serializers that we can change versions on from those we can change +// serialization formats on type negotiatedSerializerWrapper struct { - info runtime.SerializerInfo - streamInfo runtime.StreamSerializerInfo + info runtime.SerializerInfo } -func NegotiatedSerializerWrapper(info runtime.SerializerInfo, streamInfo runtime.StreamSerializerInfo) runtime.NegotiatedSerializer { - return &negotiatedSerializerWrapper{info, streamInfo} +func NegotiatedSerializerWrapper(info runtime.SerializerInfo) runtime.NegotiatedSerializer { + return &negotiatedSerializerWrapper{info} } -func (n *negotiatedSerializerWrapper) SupportedMediaTypes() []string { - return []string{} -} - -func (n *negotiatedSerializerWrapper) SerializerForMediaType(mediaType string, options map[string]string) (runtime.SerializerInfo, bool) { - return n.info, true -} - -func (n *negotiatedSerializerWrapper) SupportedStreamingMediaTypes() []string { - return []string{} -} - -func (n *negotiatedSerializerWrapper) StreamingSerializerForMediaType(mediaType string, options map[string]string) (runtime.StreamSerializerInfo, bool) { - return n.streamInfo, true +func (n *negotiatedSerializerWrapper) SupportedMediaTypes() []runtime.SerializerInfo { + return []runtime.SerializerInfo{n.info} } func (n *negotiatedSerializerWrapper) EncoderForVersion(e runtime.Encoder, _ runtime.GroupVersioner) runtime.Encoder { diff --git a/pkg/runtime/serializer/protobuf_extension.go b/pkg/runtime/serializer/protobuf_extension.go index 57088657..fa525a37 100644 --- a/pkg/runtime/serializer/protobuf_extension.go +++ b/pkg/runtime/serializer/protobuf_extension.go @@ -26,8 +26,7 @@ const ( // depending on it unintentionally. // TODO: potentially move to pkg/api (since it's part of the Kube public API) and pass it in to the // CodecFactory on initialization. - contentTypeProtobuf = "application/vnd.kubernetes.protobuf" - contentTypeProtobufWatch = contentTypeProtobuf + ";stream=watch" + contentTypeProtobuf = "application/vnd.kubernetes.protobuf" ) func protobufSerializer(scheme *runtime.Scheme) (serializerType, bool) { @@ -38,12 +37,9 @@ func protobufSerializer(scheme *runtime.Scheme) (serializerType, bool) { ContentType: contentTypeProtobuf, FileExtensions: []string{"pb"}, Serializer: serializer, - RawSerializer: raw, - AcceptStreamContentTypes: []string{contentTypeProtobuf, contentTypeProtobufWatch}, - StreamContentType: contentTypeProtobufWatch, - Framer: protobuf.LengthDelimitedFramer, - StreamSerializer: raw, + Framer: protobuf.LengthDelimitedFramer, + StreamSerializer: raw, }, true } diff --git a/pkg/runtime/serializer/versioning/versioning.go b/pkg/runtime/serializer/versioning/versioning.go index 86ac8557..386397f0 100644 --- a/pkg/runtime/serializer/versioning/versioning.go +++ b/pkg/runtime/serializer/versioning/versioning.go @@ -21,6 +21,7 @@ import ( "k8s.io/client-go/pkg/api/unversioned" "k8s.io/client-go/pkg/runtime" + utilruntime "k8s.io/client-go/pkg/util/runtime" ) // NewCodecForScheme is a convenience method for callers that are using a scheme. @@ -32,7 +33,19 @@ func NewCodecForScheme( encodeVersion runtime.GroupVersioner, decodeVersion runtime.GroupVersioner, ) runtime.Codec { - return NewCodec(encoder, decoder, runtime.UnsafeObjectConvertor(scheme), scheme, scheme, scheme, encodeVersion, decodeVersion) + return NewCodec(encoder, decoder, runtime.UnsafeObjectConvertor(scheme), scheme, scheme, scheme, nil, encodeVersion, decodeVersion) +} + +// NewDefaultingCodecForScheme is a convenience method for callers that are using a scheme. +func NewDefaultingCodecForScheme( + // TODO: I should be a scheme interface? + scheme *runtime.Scheme, + encoder runtime.Encoder, + decoder runtime.Decoder, + encodeVersion runtime.GroupVersioner, + decodeVersion runtime.GroupVersioner, +) runtime.Codec { + return NewCodec(encoder, decoder, runtime.UnsafeObjectConvertor(scheme), scheme, scheme, scheme, scheme, encodeVersion, decodeVersion) } // NewCodec takes objects in their internal versions and converts them to external versions before @@ -45,6 +58,7 @@ func NewCodec( creater runtime.ObjectCreater, copier runtime.ObjectCopier, typer runtime.ObjectTyper, + defaulter runtime.ObjectDefaulter, encodeVersion runtime.GroupVersioner, decodeVersion runtime.GroupVersioner, ) runtime.Codec { @@ -55,6 +69,7 @@ func NewCodec( creater: creater, copier: copier, typer: typer, + defaulter: defaulter, encodeVersion: encodeVersion, decodeVersion: decodeVersion, @@ -69,6 +84,7 @@ type codec struct { creater runtime.ObjectCreater copier runtime.ObjectCopier typer runtime.ObjectTyper + defaulter runtime.ObjectDefaulter encodeVersion runtime.GroupVersioner decodeVersion runtime.GroupVersioner @@ -102,11 +118,31 @@ func (c *codec) Decode(data []byte, defaultGVK *unversioned.GroupVersionKind, in } return into, gvk, nil } + + // perform defaulting if requested + if c.defaulter != nil { + // create a copy to ensure defaulting is not applied to the original versioned objects + if isVersioned { + copied, err := c.copier.Copy(obj) + if err != nil { + utilruntime.HandleError(err) + copied = obj + } + versioned.Objects = []runtime.Object{copied} + } + c.defaulter.Default(obj) + } else { + if isVersioned { + versioned.Objects = []runtime.Object{obj} + } + } + if err := c.convertor.Convert(obj, into, c.decodeVersion); err != nil { return nil, gvk, err } + if isVersioned { - versioned.Objects = []runtime.Object{obj, into} + versioned.Objects = append(versioned.Objects, into) return versioned, gvk, nil } return into, gvk, nil @@ -117,10 +153,17 @@ func (c *codec) Decode(data []byte, defaultGVK *unversioned.GroupVersionKind, in // create a copy, because ConvertToVersion does not guarantee non-mutation of objects copied, err := c.copier.Copy(obj) if err != nil { + utilruntime.HandleError(err) copied = obj } versioned.Objects = []runtime.Object{copied} } + + // perform defaulting if requested + if c.defaulter != nil { + c.defaulter.Default(obj) + } + out, err := c.convertor.ConvertToVersion(obj, c.decodeVersion) if err != nil { return nil, gvk, err diff --git a/pkg/runtime/types.go b/pkg/runtime/types.go index 2ac265cc..ceffdd9f 100644 --- a/pkg/runtime/types.go +++ b/pkg/runtime/types.go @@ -34,8 +34,10 @@ package runtime // +protobuf=true // +k8s:openapi-gen=true type TypeMeta struct { + // +optional APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty" protobuf:"bytes,1,opt,name=apiVersion"` - Kind string `json:"kind,omitempty" yaml:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"` + // +optional + Kind string `json:"kind,omitempty" yaml:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"` } const ( diff --git a/pkg/third_party/forked/golang/netutil/addr.go b/pkg/third_party/forked/golang/netutil/addr.go new file mode 100644 index 00000000..c70f431c --- /dev/null +++ b/pkg/third_party/forked/golang/netutil/addr.go @@ -0,0 +1,27 @@ +package netutil + +import ( + "net/url" + "strings" +) + +// FROM: http://golang.org/src/net/http/client.go +// Given a string of the form "host", "host:port", or "[ipv6::address]:port", +// return true if the string includes a port. +func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") } + +// FROM: http://golang.org/src/net/http/transport.go +var portMap = map[string]string{ + "http": "80", + "https": "443", +} + +// FROM: http://golang.org/src/net/http/transport.go +// canonicalAddr returns url.Host but always with a ":port" suffix +func CanonicalAddr(url *url.URL) string { + addr := url.Host + if !hasPort(addr) { + return addr + ":" + portMap[url.Scheme] + } + return addr +} diff --git a/pkg/util/config/feature_gate.go b/pkg/util/config/feature_gate.go index c8782c4c..00c2f4e6 100644 --- a/pkg/util/config/feature_gate.go +++ b/pkg/util/config/feature_gate.go @@ -49,7 +49,7 @@ var ( // represented here. knownFeatures = map[string]featureSpec{ allAlphaGate: {false, alpha}, - externalTrafficLocalOnly: {false, alpha}, + externalTrafficLocalOnly: {true, beta}, appArmor: {true, beta}, dynamicKubeletConfig: {false, alpha}, dynamicVolumeProvisioning: {true, alpha}, diff --git a/pkg/util/httpstream/spdy/connection.go b/pkg/util/httpstream/spdy/connection.go new file mode 100644 index 00000000..087755ef --- /dev/null +++ b/pkg/util/httpstream/spdy/connection.go @@ -0,0 +1,145 @@ +/* +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 spdy + +import ( + "net" + "net/http" + "sync" + "time" + + "github.com/docker/spdystream" + "github.com/golang/glog" + "k8s.io/client-go/pkg/util/httpstream" +) + +// connection maintains state about a spdystream.Connection and its associated +// streams. +type connection struct { + conn *spdystream.Connection + streams []httpstream.Stream + streamLock sync.Mutex + newStreamHandler httpstream.NewStreamHandler +} + +// NewClientConnection creates a new SPDY client connection. +func NewClientConnection(conn net.Conn) (httpstream.Connection, error) { + spdyConn, err := spdystream.NewConnection(conn, false) + if err != nil { + defer conn.Close() + return nil, err + } + + return newConnection(spdyConn, httpstream.NoOpNewStreamHandler), nil +} + +// NewServerConnection creates a new SPDY server connection. newStreamHandler +// will be invoked when the server receives a newly created stream from the +// client. +func NewServerConnection(conn net.Conn, newStreamHandler httpstream.NewStreamHandler) (httpstream.Connection, error) { + spdyConn, err := spdystream.NewConnection(conn, true) + if err != nil { + defer conn.Close() + return nil, err + } + + return newConnection(spdyConn, newStreamHandler), nil +} + +// newConnection returns a new connection wrapping conn. newStreamHandler +// will be invoked when the server receives a newly created stream from the +// client. +func newConnection(conn *spdystream.Connection, newStreamHandler httpstream.NewStreamHandler) httpstream.Connection { + c := &connection{conn: conn, newStreamHandler: newStreamHandler} + go conn.Serve(c.newSpdyStream) + return c +} + +// createStreamResponseTimeout indicates how long to wait for the other side to +// acknowledge the new stream before timing out. +const createStreamResponseTimeout = 30 * time.Second + +// Close first sends a reset for all of the connection's streams, and then +// closes the underlying spdystream.Connection. +func (c *connection) Close() error { + c.streamLock.Lock() + for _, s := range c.streams { + // calling Reset instead of Close ensures that all streams are fully torn down + s.Reset() + } + c.streams = make([]httpstream.Stream, 0) + c.streamLock.Unlock() + + // now that all streams are fully torn down, it's safe to call close on the underlying connection, + // which should be able to terminate immediately at this point, instead of waiting for any + // remaining graceful stream termination. + return c.conn.Close() +} + +// CreateStream creates a new stream with the specified headers and registers +// it with the connection. +func (c *connection) CreateStream(headers http.Header) (httpstream.Stream, error) { + stream, err := c.conn.CreateStream(headers, nil, false) + if err != nil { + return nil, err + } + if err = stream.WaitTimeout(createStreamResponseTimeout); err != nil { + return nil, err + } + + c.registerStream(stream) + return stream, nil +} + +// registerStream adds the stream s to the connection's list of streams that +// it owns. +func (c *connection) registerStream(s httpstream.Stream) { + c.streamLock.Lock() + c.streams = append(c.streams, s) + c.streamLock.Unlock() +} + +// CloseChan returns a channel that, when closed, indicates that the underlying +// spdystream.Connection has been closed. +func (c *connection) CloseChan() <-chan bool { + return c.conn.CloseChan() +} + +// newSpdyStream is the internal new stream handler used by spdystream.Connection.Serve. +// It calls connection's newStreamHandler, giving it the opportunity to accept or reject +// the stream. If newStreamHandler returns an error, the stream is rejected. If not, the +// stream is accepted and registered with the connection. +func (c *connection) newSpdyStream(stream *spdystream.Stream) { + replySent := make(chan struct{}) + err := c.newStreamHandler(stream, replySent) + rejectStream := (err != nil) + if rejectStream { + glog.Warningf("Stream rejected: %v", err) + stream.Reset() + return + } + + c.registerStream(stream) + stream.SendReply(http.Header{}, rejectStream) + close(replySent) +} + +// SetIdleTimeout sets the amount of time the connection may remain idle before +// it is automatically closed. +func (c *connection) SetIdleTimeout(timeout time.Duration) { + c.conn.SetIdleTimeout(timeout) +} diff --git a/pkg/util/httpstream/spdy/roundtripper.go b/pkg/util/httpstream/spdy/roundtripper.go new file mode 100644 index 00000000..2fb55950 --- /dev/null +++ b/pkg/util/httpstream/spdy/roundtripper.go @@ -0,0 +1,262 @@ +/* +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 spdy + +import ( + "bufio" + "crypto/tls" + "encoding/base64" + "fmt" + "io/ioutil" + "net" + "net/http" + "net/http/httputil" + "net/url" + "strings" + + "k8s.io/client-go/pkg/api" + apierrors "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/third_party/forked/golang/netutil" + "k8s.io/client-go/pkg/util/httpstream" +) + +// SpdyRoundTripper knows how to upgrade an HTTP request to one that supports +// multiplexed streams. After RoundTrip() is invoked, Conn will be set +// and usable. SpdyRoundTripper implements the UpgradeRoundTripper interface. +type SpdyRoundTripper struct { + //tlsConfig holds the TLS configuration settings to use when connecting + //to the remote server. + tlsConfig *tls.Config + + /* TODO according to http://golang.org/pkg/net/http/#RoundTripper, a RoundTripper + must be safe for use by multiple concurrent goroutines. If this is absolutely + necessary, we could keep a map from http.Request to net.Conn. In practice, + a client will create an http.Client, set the transport to a new insteace of + SpdyRoundTripper, and use it a single time, so this hopefully won't be an issue. + */ + // conn is the underlying network connection to the remote server. + conn net.Conn + + // Dialer is the dialer used to connect. Used if non-nil. + Dialer *net.Dialer + + // proxier knows which proxy to use given a request, defaults to http.ProxyFromEnvironment + // Used primarily for mocking the proxy discovery in tests. + proxier func(req *http.Request) (*url.URL, error) +} + +// NewRoundTripper creates a new SpdyRoundTripper that will use +// the specified tlsConfig. +func NewRoundTripper(tlsConfig *tls.Config) httpstream.UpgradeRoundTripper { + return NewSpdyRoundTripper(tlsConfig) +} + +// NewSpdyRoundTripper creates a new SpdyRoundTripper that will use +// the specified tlsConfig. This function is mostly meant for unit tests. +func NewSpdyRoundTripper(tlsConfig *tls.Config) *SpdyRoundTripper { + return &SpdyRoundTripper{tlsConfig: tlsConfig} +} + +// dial dials the host specified by req, using TLS if appropriate, optionally +// using a proxy server if one is configured via environment variables. +func (s *SpdyRoundTripper) dial(req *http.Request) (net.Conn, error) { + proxier := s.proxier + if proxier == nil { + proxier = http.ProxyFromEnvironment + } + proxyURL, err := proxier(req) + if err != nil { + return nil, err + } + + if proxyURL == nil { + return s.dialWithoutProxy(req.URL) + } + + // ensure we use a canonical host with proxyReq + targetHost := netutil.CanonicalAddr(req.URL) + + // proxying logic adapted from http://blog.h6t.eu/post/74098062923/golang-websocket-with-http-proxy-support + proxyReq := http.Request{ + Method: "CONNECT", + URL: &url.URL{}, + Host: targetHost, + } + + if pa := s.proxyAuth(proxyURL); pa != "" { + proxyReq.Header = http.Header{} + proxyReq.Header.Set("Proxy-Authorization", pa) + } + + proxyDialConn, err := s.dialWithoutProxy(proxyURL) + if err != nil { + return nil, err + } + + proxyClientConn := httputil.NewProxyClientConn(proxyDialConn, nil) + _, err = proxyClientConn.Do(&proxyReq) + if err != nil && err != httputil.ErrPersistEOF { + return nil, err + } + + rwc, _ := proxyClientConn.Hijack() + + if req.URL.Scheme != "https" { + return rwc, nil + } + + host, _, err := net.SplitHostPort(targetHost) + if err != nil { + return nil, err + } + + if s.tlsConfig == nil { + s.tlsConfig = &tls.Config{} + } + + if len(s.tlsConfig.ServerName) == 0 { + s.tlsConfig.ServerName = host + } + + tlsConn := tls.Client(rwc, s.tlsConfig) + + // need to manually call Handshake() so we can call VerifyHostname() below + if err := tlsConn.Handshake(); err != nil { + return nil, err + } + + // Return if we were configured to skip validation + if s.tlsConfig != nil && s.tlsConfig.InsecureSkipVerify { + return tlsConn, nil + } + + if err := tlsConn.VerifyHostname(host); err != nil { + return nil, err + } + + return tlsConn, nil +} + +// dialWithoutProxy dials the host specified by url, using TLS if appropriate. +func (s *SpdyRoundTripper) dialWithoutProxy(url *url.URL) (net.Conn, error) { + dialAddr := netutil.CanonicalAddr(url) + + if url.Scheme == "http" { + if s.Dialer == nil { + return net.Dial("tcp", dialAddr) + } else { + return s.Dialer.Dial("tcp", dialAddr) + } + } + + // TODO validate the TLSClientConfig is set up? + var conn *tls.Conn + var err error + if s.Dialer == nil { + conn, err = tls.Dial("tcp", dialAddr, s.tlsConfig) + } else { + conn, err = tls.DialWithDialer(s.Dialer, "tcp", dialAddr, s.tlsConfig) + } + if err != nil { + return nil, err + } + + // Return if we were configured to skip validation + if s.tlsConfig != nil && s.tlsConfig.InsecureSkipVerify { + return conn, nil + } + + host, _, err := net.SplitHostPort(dialAddr) + if err != nil { + return nil, err + } + err = conn.VerifyHostname(host) + if err != nil { + return nil, err + } + + return conn, nil +} + +// proxyAuth returns, for a given proxy URL, the value to be used for the Proxy-Authorization header +func (s *SpdyRoundTripper) proxyAuth(proxyURL *url.URL) string { + if proxyURL == nil || proxyURL.User == nil { + return "" + } + credentials := proxyURL.User.String() + encodedAuth := base64.StdEncoding.EncodeToString([]byte(credentials)) + return fmt.Sprintf("Basic %s", encodedAuth) +} + +// RoundTrip executes the Request and upgrades it. After a successful upgrade, +// clients may call SpdyRoundTripper.Connection() to retrieve the upgraded +// connection. +func (s *SpdyRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { + // TODO what's the best way to clone the request? + r := *req + req = &r + req.Header.Add(httpstream.HeaderConnection, httpstream.HeaderUpgrade) + req.Header.Add(httpstream.HeaderUpgrade, HeaderSpdy31) + + conn, err := s.dial(req) + if err != nil { + return nil, err + } + + err = req.Write(conn) + if err != nil { + return nil, err + } + + resp, err := http.ReadResponse(bufio.NewReader(conn), req) + if err != nil { + return nil, err + } + + s.conn = conn + + return resp, nil +} + +// NewConnection validates the upgrade response, creating and returning a new +// httpstream.Connection if there were no errors. +func (s *SpdyRoundTripper) NewConnection(resp *http.Response) (httpstream.Connection, error) { + connectionHeader := strings.ToLower(resp.Header.Get(httpstream.HeaderConnection)) + upgradeHeader := strings.ToLower(resp.Header.Get(httpstream.HeaderUpgrade)) + if (resp.StatusCode != http.StatusSwitchingProtocols) || !strings.Contains(connectionHeader, strings.ToLower(httpstream.HeaderUpgrade)) || !strings.Contains(upgradeHeader, strings.ToLower(HeaderSpdy31)) { + defer resp.Body.Close() + responseError := "" + responseErrorBytes, err := ioutil.ReadAll(resp.Body) + if err != nil { + responseError = "unable to read error from server response" + } else { + // TODO: I don't belong here, I should be abstracted from this class + if obj, _, err := api.Codecs.UniversalDecoder().Decode(responseErrorBytes, nil, &unversioned.Status{}); err == nil { + if status, ok := obj.(*unversioned.Status); ok { + return nil, &apierrors.StatusError{ErrStatus: *status} + } + } + responseError = string(responseErrorBytes) + responseError = strings.TrimSpace(responseError) + } + + return nil, fmt.Errorf("unable to upgrade connection: %s", responseError) + } + + return NewClientConnection(s.conn) +} diff --git a/pkg/util/httpstream/spdy/upgrade.go b/pkg/util/httpstream/spdy/upgrade.go new file mode 100644 index 00000000..f7a9e5b7 --- /dev/null +++ b/pkg/util/httpstream/spdy/upgrade.go @@ -0,0 +1,78 @@ +/* +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 spdy + +import ( + "fmt" + "net/http" + "strings" + + "k8s.io/client-go/pkg/util/httpstream" + "k8s.io/client-go/pkg/util/runtime" +) + +const HeaderSpdy31 = "SPDY/3.1" + +// responseUpgrader knows how to upgrade HTTP responses. It +// implements the httpstream.ResponseUpgrader interface. +type responseUpgrader struct { +} + +// NewResponseUpgrader returns a new httpstream.ResponseUpgrader that is +// capable of upgrading HTTP responses using SPDY/3.1 via the +// spdystream package. +func NewResponseUpgrader() httpstream.ResponseUpgrader { + return responseUpgrader{} +} + +// UpgradeResponse upgrades an HTTP response to one that supports multiplexed +// streams. newStreamHandler will be called synchronously whenever the +// other end of the upgraded connection creates a new stream. +func (u responseUpgrader) UpgradeResponse(w http.ResponseWriter, req *http.Request, newStreamHandler httpstream.NewStreamHandler) httpstream.Connection { + connectionHeader := strings.ToLower(req.Header.Get(httpstream.HeaderConnection)) + upgradeHeader := strings.ToLower(req.Header.Get(httpstream.HeaderUpgrade)) + if !strings.Contains(connectionHeader, strings.ToLower(httpstream.HeaderUpgrade)) || !strings.Contains(upgradeHeader, strings.ToLower(HeaderSpdy31)) { + w.WriteHeader(http.StatusBadRequest) + fmt.Fprintf(w, "unable to upgrade: missing upgrade headers in request: %#v", req.Header) + return nil + } + + hijacker, ok := w.(http.Hijacker) + if !ok { + w.WriteHeader(http.StatusInternalServerError) + fmt.Fprintf(w, "unable to upgrade: unable to hijack response") + return nil + } + + w.Header().Add(httpstream.HeaderConnection, httpstream.HeaderUpgrade) + w.Header().Add(httpstream.HeaderUpgrade, HeaderSpdy31) + w.WriteHeader(http.StatusSwitchingProtocols) + + conn, _, err := hijacker.Hijack() + if err != nil { + runtime.HandleError(fmt.Errorf("unable to upgrade: error hijacking response: %v", err)) + return nil + } + + spdyConn, err := NewServerConnection(conn, newStreamHandler) + if err != nil { + runtime.HandleError(fmt.Errorf("unable to upgrade: error creating SPDY server connection: %v", err)) + return nil + } + + return spdyConn +} diff --git a/pkg/util/intstr/generated.pb.go b/pkg/util/intstr/generated.pb.go index 0279afdd..5165b24d 100644 --- a/pkg/util/intstr/generated.pb.go +++ b/pkg/util/intstr/generated.pb.go @@ -352,21 +352,22 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 256 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x32, 0xcc, 0xb6, 0x28, 0xd6, - 0xcb, 0xcc, 0xd7, 0xcf, 0x2e, 0x4d, 0x4a, 0x2d, 0xca, 0x4b, 0x2d, 0x49, 0x2d, 0xd6, 0x2f, 0xc8, - 0x4e, 0xd7, 0x2f, 0x2d, 0xc9, 0xcc, 0xd1, 0xcf, 0xcc, 0x2b, 0x29, 0x2e, 0x29, 0xd2, 0x4f, 0x4f, - 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x84, - 0x68, 0xd1, 0x43, 0x68, 0xd1, 0x03, 0x6a, 0xd1, 0x03, 0x69, 0xd1, 0x83, 0x68, 0x91, 0xd2, 0x4d, - 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0x4f, 0xcf, 0xd7, 0x07, - 0xeb, 0x4c, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0x62, 0xa2, 0xd2, 0x44, 0x46, 0x2e, - 0x6e, 0xcf, 0xbc, 0x12, 0xff, 0xa2, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x21, 0x0d, 0x2e, 0x96, - 0x92, 0xca, 0x82, 0x54, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x66, 0x27, 0x91, 0x13, 0xf7, 0xe4, 0x19, - 0x1e, 0xdd, 0x93, 0x67, 0x09, 0x01, 0x8a, 0xfd, 0x82, 0xd2, 0x41, 0x60, 0x15, 0x42, 0x6a, 0x5c, - 0x6c, 0x40, 0x2b, 0xc3, 0x12, 0x73, 0x24, 0x98, 0x80, 0x6a, 0x59, 0x9d, 0xf8, 0xa0, 0x6a, 0xd9, - 0x3c, 0xc1, 0xa2, 0x41, 0x50, 0x59, 0x90, 0x3a, 0xa0, 0xbb, 0x40, 0xea, 0x98, 0x81, 0xea, 0x38, - 0x11, 0xea, 0x82, 0xc1, 0xa2, 0x41, 0x50, 0x59, 0x2b, 0x8e, 0x19, 0x0b, 0xe4, 0x19, 0x1a, 0xee, - 0x28, 0x30, 0x38, 0x69, 0x9c, 0x78, 0x28, 0xc7, 0x70, 0x01, 0x88, 0x6f, 0x00, 0x71, 0xc3, 0x23, - 0x39, 0xc6, 0x13, 0x40, 0x7c, 0x01, 0x88, 0x1f, 0x00, 0xf1, 0x84, 0xc7, 0x72, 0x0c, 0x51, 0x6c, - 0x10, 0xcf, 0x02, 0x02, 0x00, 0x00, 0xff, 0xff, 0x68, 0x57, 0xfb, 0xfa, 0x43, 0x01, 0x00, 0x00, + // 269 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x44, 0x8f, 0x31, 0x4e, 0xc3, 0x30, + 0x18, 0x85, 0x6d, 0x5a, 0x2a, 0x08, 0x12, 0x43, 0xc4, 0x50, 0x31, 0x38, 0x81, 0x01, 0x79, 0xc1, + 0x16, 0x1b, 0x62, 0xcc, 0xd6, 0x09, 0x29, 0x45, 0x0c, 0x6c, 0x0d, 0x18, 0x63, 0xa5, 0xd8, 0x96, + 0xf3, 0x67, 0xe8, 0xd6, 0x23, 0xc0, 0xc6, 0xc8, 0x71, 0x32, 0x76, 0x64, 0x40, 0x15, 0x31, 0xb7, + 0x60, 0x42, 0x71, 0x22, 0x75, 0xb2, 0xdf, 0x7b, 0xdf, 0x67, 0xc9, 0xd1, 0x55, 0x79, 0x5d, 0x31, + 0x65, 0x78, 0x59, 0x17, 0xc2, 0x69, 0x01, 0xa2, 0xe2, 0xb6, 0x94, 0xbc, 0x06, 0xb5, 0xe4, 0x4a, + 0x43, 0x05, 0x8e, 0x4b, 0xa1, 0x85, 0x5b, 0x80, 0x78, 0x62, 0xd6, 0x19, 0x30, 0xf1, 0x59, 0xaf, + 0xb0, 0x9d, 0xc2, 0x6c, 0x29, 0x59, 0xa7, 0xb0, 0x5e, 0x39, 0xbd, 0x94, 0x0a, 0x5e, 0xea, 0x82, + 0x3d, 0x9a, 0x57, 0x2e, 0x8d, 0x34, 0x3c, 0x98, 0x45, 0xfd, 0x1c, 0x52, 0x08, 0xe1, 0xd6, 0xbf, + 0x78, 0xfe, 0x8e, 0xa3, 0xa3, 0x99, 0x86, 0x5b, 0x37, 0x07, 0xa7, 0xb4, 0x8c, 0x69, 0x34, 0x86, + 0x95, 0x15, 0x53, 0x9c, 0x62, 0x3a, 0xca, 0x4e, 0x9a, 0x6d, 0x82, 0xfc, 0x36, 0x19, 0xdf, 0xad, + 0xac, 0xf8, 0x1b, 0xce, 0x3c, 0x10, 0xf1, 0x45, 0x34, 0x51, 0x1a, 0xee, 0x17, 0xcb, 0xe9, 0x5e, + 0x8a, 0xe9, 0x7e, 0x76, 0x3c, 0xb0, 0x93, 0x59, 0x68, 0xf3, 0x61, 0xed, 0xb8, 0x0a, 0x5c, 0xc7, + 0x8d, 0x52, 0x4c, 0x0f, 0x77, 0xdc, 0x3c, 0xb4, 0xf9, 0xb0, 0xde, 0x1c, 0x7c, 0x7c, 0x26, 0x68, + 0xfd, 0x9d, 0xa2, 0x8c, 0x36, 0x2d, 0x41, 0x9b, 0x96, 0xa0, 0xaf, 0x96, 0xa0, 0xb5, 0x27, 0xb8, + 0xf1, 0x04, 0x6f, 0x3c, 0xc1, 0x3f, 0x9e, 0xe0, 0xb7, 0x5f, 0x82, 0x1e, 0x26, 0xfd, 0x67, 0xff, + 0x03, 0x00, 0x00, 0xff, 0xff, 0x68, 0x57, 0xfb, 0xfa, 0x43, 0x01, 0x00, 0x00, } diff --git a/pkg/util/testing/fake_handler.go b/pkg/util/testing/fake_handler.go index 64a357fd..71f8f534 100644 --- a/pkg/util/testing/fake_handler.go +++ b/pkg/util/testing/fake_handler.go @@ -52,11 +52,27 @@ type FakeHandler struct { lock sync.Mutex requestCount int hasBeenChecked bool + + SkipRequestFn func(verb string, url url.URL) bool +} + +func (f *FakeHandler) SetResponseBody(responseBody string) { + f.lock.Lock() + defer f.lock.Unlock() + f.ResponseBody = responseBody } func (f *FakeHandler) ServeHTTP(response http.ResponseWriter, request *http.Request) { f.lock.Lock() defer f.lock.Unlock() + + if f.SkipRequestFn != nil && f.SkipRequestFn(request.Method, *request.URL) { + response.Header().Set("Content-Type", "application/json") + response.WriteHeader(f.StatusCode) + response.Write([]byte(f.ResponseBody)) + return + } + f.requestCount++ if f.hasBeenChecked { panic("got request after having been validated") diff --git a/pkg/util/util.go b/pkg/util/util.go index 7a941495..356b295a 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -84,36 +84,20 @@ func FileExists(filename string) (bool, error) { return true, nil } -// borrowed from ioutil.ReadDir -// ReadDir reads the directory named by dirname and returns -// a list of directory entries, minus those with lstat errors -func ReadDirNoExit(dirname string) ([]os.FileInfo, []error, error) { +// ReadDirNoStat returns a string of files/directories contained +// in dirname without calling lstat on them. +func ReadDirNoStat(dirname string) ([]string, error) { if dirname == "" { dirname = "." } f, err := os.Open(dirname) if err != nil { - return nil, nil, err + return nil, err } defer f.Close() - names, err := f.Readdirnames(-1) - list := make([]os.FileInfo, 0, len(names)) - errs := make([]error, 0, len(names)) - for _, filename := range names { - fip, lerr := os.Lstat(dirname + "/" + filename) - if os.IsNotExist(lerr) { - // File disappeared between readdir + stat. - // Just treat it as if it didn't exist. - continue - } - - list = append(list, fip) - errs = append(errs, lerr) - } - - return list, errs, nil + return f.Readdirnames(-1) } // IntPtr returns a pointer to an int diff --git a/pkg/version/base.go b/pkg/version/base.go index c377705f..59098152 100644 --- a/pkg/version/base.go +++ b/pkg/version/base.go @@ -29,7 +29,7 @@ package version // works for GitHub tar downloads. // // When releasing a new Kubernetes version, this file is updated by -// build/mark_new_version.sh to reflect the new version, and then a +// build-tools/mark_new_version.sh to reflect the new version, and then a // git annotated tag (using format vX.Y where X == Major version and Y // == Minor version) is created to point to the commit that updates // pkg/version/base.go diff --git a/pkg/watch/versioned/generated.pb.go b/pkg/watch/versioned/generated.pb.go index 00f599ea..b26080e7 100644 --- a/pkg/watch/versioned/generated.pb.go +++ b/pkg/watch/versioned/generated.pb.go @@ -368,23 +368,23 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 273 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x32, 0xcd, 0xb6, 0x28, 0xd6, - 0xcb, 0xcc, 0xd7, 0xcf, 0x2e, 0x4d, 0x4a, 0x2d, 0xca, 0x4b, 0x2d, 0x49, 0x2d, 0xd6, 0x2f, 0xc8, - 0x4e, 0xd7, 0x2f, 0x4f, 0x2c, 0x49, 0xce, 0xd0, 0x2f, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0x4b, - 0x4d, 0xd1, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x52, 0x85, 0x68, 0xd3, 0x43, 0x68, 0xd3, 0x03, 0x6a, 0xd3, 0x03, 0x6b, 0xd3, 0x83, - 0x6b, 0x93, 0xd2, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, - 0x4f, 0xcf, 0xd7, 0x07, 0xeb, 0x4e, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0x62, 0xaa, - 0x94, 0x2e, 0x76, 0xc7, 0x14, 0x95, 0xe6, 0x95, 0x64, 0xe6, 0xa6, 0xa2, 0x3b, 0x42, 0xca, 0x10, - 0xbb, 0xf2, 0xd2, 0x92, 0xcc, 0x1c, 0xfd, 0xcc, 0xbc, 0x92, 0xe2, 0x92, 0x22, 0x74, 0x2d, 0x4a, - 0x75, 0x5c, 0xac, 0xae, 0x65, 0xa9, 0x79, 0x25, 0x42, 0x0a, 0x5c, 0x2c, 0x25, 0x95, 0x05, 0xa9, - 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x4e, 0x3c, 0x27, 0xee, 0xc9, 0x33, 0x3c, 0xba, 0x27, 0xcf, - 0x12, 0x02, 0x14, 0x0b, 0x02, 0xcb, 0x08, 0x05, 0x73, 0xb1, 0xe5, 0x27, 0x65, 0xa5, 0x26, 0x97, - 0x48, 0x30, 0x01, 0xd5, 0x70, 0x1b, 0x69, 0xeb, 0x61, 0xf7, 0x33, 0xd4, 0x75, 0x7a, 0x41, 0x89, - 0xe5, 0xae, 0x15, 0x25, 0xa9, 0x79, 0x20, 0xaf, 0x3b, 0xf1, 0x41, 0x0d, 0x64, 0xf3, 0x07, 0x1b, - 0x11, 0x04, 0x35, 0xca, 0x49, 0xfb, 0xc4, 0x43, 0x39, 0x86, 0x0b, 0x40, 0x7c, 0x03, 0x88, 0x1b, - 0x1e, 0xc9, 0x31, 0x9e, 0x00, 0xe2, 0x0b, 0x40, 0xfc, 0x00, 0x88, 0x27, 0x3c, 0x96, 0x63, 0x88, - 0xe2, 0x84, 0x87, 0x1e, 0x20, 0x00, 0x00, 0xff, 0xff, 0x23, 0x3d, 0x7b, 0x7e, 0x9c, 0x01, 0x00, - 0x00, + // 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 index aeb0167e..340e18da 100644 --- a/pkg/watch/versioned/generated.proto +++ b/pkg/watch/versioned/generated.proto @@ -21,8 +21,8 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.watch.versioned; -import "k8s.io/client-go/pkg/runtime/generated.proto"; -import "k8s.io/client-go/pkg/util/intstr/generated.proto"; +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"; diff --git a/rest/client.go b/rest/client.go index 51666ce9..6e392cf0 100644 --- a/rest/client.go +++ b/rest/client.go @@ -18,6 +18,7 @@ package rest import ( "fmt" + "mime" "net/http" "net/url" "os" @@ -38,6 +39,18 @@ const ( envBackoffDuration = "KUBE_CLIENT_BACKOFF_DURATION" ) +// Interface captures the set of operations for generically interacting with Kubernetes REST apis. +type Interface interface { + GetRateLimiter() flowcontrol.RateLimiter + Verb(verb string) *Request + Post() *Request + Put() *Request + Patch(pt api.PatchType) *Request + Get() *Request + Delete() *Request + APIVersion() unversioned.GroupVersion +} + // RESTClient imposes common Kubernetes API conventions on a set of resource paths. // The baseURL is expected to point to an HTTP or HTTPS path that is the parent // of one or more resources. The server should return a decodable API resource @@ -141,34 +154,48 @@ func readExpBackoffConfig() BackoffManager { } // createSerializers creates all necessary serializers for given contentType. +// TODO: the negotiated serializer passed to this method should probably return +// serializers that control decoding and versioning without this package +// being aware of the types. Depends on whether RESTClient must deal with +// generic infrastructure. func createSerializers(config ContentConfig) (*Serializers, error) { - negotiated := config.NegotiatedSerializer + mediaTypes := config.NegotiatedSerializer.SupportedMediaTypes() contentType := config.ContentType - info, ok := negotiated.SerializerForMediaType(contentType, nil) - if !ok { - return nil, fmt.Errorf("serializer for %s not registered", contentType) + mediaType, _, err := mime.ParseMediaType(contentType) + if err != nil { + return nil, fmt.Errorf("the content type specified in the client configuration is not recognized: %v", err) } - streamInfo, ok := negotiated.StreamingSerializerForMediaType(contentType, nil) + info, ok := runtime.SerializerInfoForMediaType(mediaTypes, mediaType) if !ok { - return nil, fmt.Errorf("streaming serializer for %s not registered", contentType) + if len(contentType) != 0 || len(mediaTypes) == 0 { + return nil, fmt.Errorf("no serializers registered for %s", contentType) + } + info = mediaTypes[0] } + internalGV := unversioned.GroupVersion{ Group: config.GroupVersion.Group, Version: runtime.APIVersionInternal, } - return &Serializers{ - Encoder: negotiated.EncoderForVersion(info.Serializer, *config.GroupVersion), - Decoder: negotiated.DecoderToVersion(info.Serializer, internalGV), - StreamingSerializer: streamInfo.Serializer, - Framer: streamInfo.Framer, + + s := &Serializers{ + Encoder: config.NegotiatedSerializer.EncoderForVersion(info.Serializer, *config.GroupVersion), + Decoder: config.NegotiatedSerializer.DecoderToVersion(info.Serializer, internalGV), + RenegotiatedDecoder: func(contentType string, params map[string]string) (runtime.Decoder, error) { - renegotiated, ok := negotiated.SerializerForMediaType(contentType, params) + info, ok := runtime.SerializerInfoForMediaType(mediaTypes, contentType) if !ok { return nil, fmt.Errorf("serializer for %s not registered", contentType) } - return negotiated.DecoderToVersion(renegotiated.Serializer, internalGV), nil + return config.NegotiatedSerializer.DecoderToVersion(info.Serializer, internalGV), nil }, - }, nil + } + if info.StreamSerializer != nil { + s.StreamingSerializer = info.StreamSerializer.Serializer + s.Framer = info.StreamSerializer.Framer + } + + return s, nil } // Verb begins a request with a verb (GET, POST, PUT, DELETE). diff --git a/rest/config_test.go b/rest/config_test.go index 53df7afe..16837363 100644 --- a/rest/config_test.go +++ b/rest/config_test.go @@ -153,20 +153,8 @@ var fakeWrapperFunc = func(http.RoundTripper) http.RoundTripper { type fakeNegotiatedSerializer struct{} -func (n *fakeNegotiatedSerializer) SupportedMediaTypes() []string { - return []string{} -} - -func (n *fakeNegotiatedSerializer) SerializerForMediaType(mediaType string, params map[string]string) (s runtime.SerializerInfo, ok bool) { - return runtime.SerializerInfo{}, true -} - -func (n *fakeNegotiatedSerializer) SupportedStreamingMediaTypes() []string { - return []string{} -} - -func (n *fakeNegotiatedSerializer) StreamingSerializerForMediaType(mediaType string, params map[string]string) (s runtime.StreamSerializerInfo, ok bool) { - return runtime.StreamSerializerInfo{}, true +func (n *fakeNegotiatedSerializer) SupportedMediaTypes() []runtime.SerializerInfo { + return nil } func (n *fakeNegotiatedSerializer) EncoderForVersion(serializer runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder { diff --git a/rest/fake/fake.go b/rest/fake/fake.go new file mode 100644 index 00000000..4321ed01 --- /dev/null +++ b/rest/fake/fake.go @@ -0,0 +1,127 @@ +/* +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. +*/ + +// This is made a separate package and should only be imported by tests, because +// it imports testapi +package fake + +import ( + "net/http" + "net/url" + + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/testapi" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/flowcontrol" + "k8s.io/client-go/rest" +) + +func CreateHTTPClient(roundTripper func(*http.Request) (*http.Response, error)) *http.Client { + return &http.Client{ + Transport: roundTripperFunc(roundTripper), + } +} + +type roundTripperFunc func(*http.Request) (*http.Response, error) + +func (f roundTripperFunc) RoundTrip(req *http.Request) (*http.Response, error) { + return f(req) +} + +// RESTClient provides a fake RESTClient interface. +type RESTClient struct { + Client *http.Client + NegotiatedSerializer runtime.NegotiatedSerializer + GroupName string + + Req *http.Request + Resp *http.Response + Err error +} + +func (c *RESTClient) Get() *rest.Request { + return c.request("GET") +} + +func (c *RESTClient) Put() *rest.Request { + return c.request("PUT") +} + +func (c *RESTClient) Patch(_ api.PatchType) *rest.Request { + return c.request("PATCH") +} + +func (c *RESTClient) Post() *rest.Request { + return c.request("POST") +} + +func (c *RESTClient) Delete() *rest.Request { + return c.request("DELETE") +} + +func (c *RESTClient) Verb(verb string) *rest.Request { + return c.request(verb) +} + +func (c *RESTClient) APIVersion() unversioned.GroupVersion { + return *(testapi.Default.GroupVersion()) +} + +func (c *RESTClient) GetRateLimiter() flowcontrol.RateLimiter { + return nil +} + +func (c *RESTClient) request(verb string) *rest.Request { + config := rest.ContentConfig{ + ContentType: runtime.ContentTypeJSON, + GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, + NegotiatedSerializer: c.NegotiatedSerializer, + } + + groupName := api.GroupName + if c.GroupName != "" { + groupName = c.GroupName + } + ns := c.NegotiatedSerializer + info, _ := runtime.SerializerInfoForMediaType(ns.SupportedMediaTypes(), runtime.ContentTypeJSON) + internalVersion := unversioned.GroupVersion{ + Group: registered.GroupOrDie(groupName).GroupVersion.Group, + Version: runtime.APIVersionInternal, + } + internalVersion.Version = runtime.APIVersionInternal + serializers := rest.Serializers{ + Encoder: ns.EncoderForVersion(info.Serializer, registered.GroupOrDie(api.GroupName).GroupVersion), + Decoder: ns.DecoderToVersion(info.Serializer, internalVersion), + } + if info.StreamSerializer != nil { + serializers.StreamingSerializer = info.StreamSerializer.Serializer + serializers.Framer = info.StreamSerializer.Framer + } + return rest.NewRequest(c, verb, &url.URL{Host: "localhost"}, "", config, serializers, nil, nil) +} + +func (c *RESTClient) Do(req *http.Request) (*http.Response, error) { + if c.Err != nil { + return nil, c.Err + } + c.Req = req + if c.Client != nil { + return c.Client.Do(req) + } + return c.Resp, nil +} diff --git a/rest/request.go b/rest/request.go index 1051da46..ef4cc6a1 100644 --- a/rest/request.go +++ b/rest/request.go @@ -795,6 +795,12 @@ func (r *Request) request(fn func(*http.Request, *http.Response)) error { req.Header = r.headers r.backoffMgr.Sleep(r.backoffMgr.CalculateBackoff(r.URL())) + if retries > 0 { + // We are retrying the request that we already send to apiserver + // at least once before. + // This request should also be throttled with the client-internal throttler. + r.tryThrottle() + } resp, err := client.Do(req) updateURLMetrics(r, resp, err) if err != nil { diff --git a/tools/cache/listers.go b/tools/cache/listers.go index 9b44cdaf..2d262a1c 100644 --- a/tools/cache/listers.go +++ b/tools/cache/listers.go @@ -21,6 +21,7 @@ import ( "github.com/golang/glog" "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/api/unversioned" "k8s.io/client-go/pkg/apis/apps" @@ -28,7 +29,9 @@ import ( "k8s.io/client-go/pkg/apis/certificates" "k8s.io/client-go/pkg/apis/extensions" "k8s.io/client-go/pkg/apis/policy" + "k8s.io/client-go/pkg/apis/storage" "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" ) // AppendFunc is used to add a matching item to whatever list the caller is using @@ -90,6 +93,79 @@ func ListAllByNamespace(indexer Indexer, namespace string, selector labels.Selec return nil } +// GenericLister is a lister skin on a generic Indexer +type GenericLister interface { + // List will return all objects across namespaces + List(selector labels.Selector) (ret []runtime.Object, err error) + // Get will attempt to retrieve assuming that name==key + Get(name string) (runtime.Object, error) + // ByNamespace will give you a GenericNamespaceLister for one namespace + ByNamespace(namespace string) GenericNamespaceLister +} + +// GenericNamespaceLister is a lister skin on a generic Indexer +type GenericNamespaceLister interface { + // List will return all objects in this namespace + List(selector labels.Selector) (ret []runtime.Object, err error) + // Get will attempt to retrieve by namespace and name + Get(name string) (runtime.Object, error) +} + +func NewGenericLister(indexer Indexer, resource unversioned.GroupResource) GenericLister { + return &genericLister{indexer: indexer, resource: resource} +} + +type genericLister struct { + indexer Indexer + resource unversioned.GroupResource +} + +func (s *genericLister) List(selector labels.Selector) (ret []runtime.Object, err error) { + err = ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(runtime.Object)) + }) + return ret, err +} + +func (s *genericLister) ByNamespace(namespace string) GenericNamespaceLister { + return &genericNamespaceLister{indexer: s.indexer, namespace: namespace, resource: s.resource} +} + +func (s *genericLister) Get(name string) (runtime.Object, error) { + obj, exists, err := s.indexer.GetByKey(name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(s.resource, name) + } + return obj.(runtime.Object), nil +} + +type genericNamespaceLister struct { + indexer Indexer + namespace string + resource unversioned.GroupResource +} + +func (s *genericNamespaceLister) List(selector labels.Selector) (ret []runtime.Object, err error) { + err = ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(runtime.Object)) + }) + return ret, err +} + +func (s *genericNamespaceLister) Get(name string) (runtime.Object, error) { + obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(s.resource, name) + } + return obj.(runtime.Object), nil +} + // TODO: generate these classes and methods for all resources of interest using // a script. Can use "go generate" once 1.4 is supported by all users. @@ -288,32 +364,13 @@ func (s *StoreToPVFetcher) GetPersistentVolumeInfo(id string) (*api.PersistentVo return o.(*api.PersistentVolume), nil } -// Typed wrapper around a store of PersistentVolumeClaims -type StoreToPVCFetcher struct { +// StoreToStatefulSetLister gives a store List and Exists methods. The store must contain only StatefulSets. +type StoreToStatefulSetLister struct { Store } -// GetPersistentVolumeClaimInfo returns cached data for the PersistentVolumeClaim 'id'. -func (s *StoreToPVCFetcher) GetPersistentVolumeClaimInfo(namespace string, id string) (*api.PersistentVolumeClaim, error) { - o, exists, err := s.Get(&api.PersistentVolumeClaim{ObjectMeta: api.ObjectMeta{Namespace: namespace, Name: id}}) - if err != nil { - return nil, fmt.Errorf("error retrieving PersistentVolumeClaim '%s/%s' from cache: %v", namespace, id, err) - } - - if !exists { - return nil, fmt.Errorf("PersistentVolumeClaim '%s/%s' not found", namespace, id) - } - - return o.(*api.PersistentVolumeClaim), nil -} - -// StoreToPetSetLister gives a store List and Exists methods. The store must contain only PetSets. -type StoreToPetSetLister struct { - Store -} - -// Exists checks if the given PetSet exists in the store. -func (s *StoreToPetSetLister) Exists(ps *apps.PetSet) (bool, error) { +// Exists checks if the given StatefulSet exists in the store. +func (s *StoreToStatefulSetLister) Exists(ps *apps.StatefulSet) (bool, error) { _, exists, err := s.Store.Get(ps) if err != nil { return false, err @@ -321,35 +378,35 @@ func (s *StoreToPetSetLister) Exists(ps *apps.PetSet) (bool, error) { return exists, nil } -// List lists all PetSets in the store. -func (s *StoreToPetSetLister) List() (psList []apps.PetSet, err error) { +// List lists all StatefulSets in the store. +func (s *StoreToStatefulSetLister) List() (psList []apps.StatefulSet, err error) { for _, ps := range s.Store.List() { - psList = append(psList, *(ps.(*apps.PetSet))) + psList = append(psList, *(ps.(*apps.StatefulSet))) } return psList, nil } -type storePetSetsNamespacer struct { +type storeStatefulSetsNamespacer struct { store Store namespace string } -func (s *StoreToPetSetLister) PetSets(namespace string) storePetSetsNamespacer { - return storePetSetsNamespacer{s.Store, namespace} +func (s *StoreToStatefulSetLister) StatefulSets(namespace string) storeStatefulSetsNamespacer { + return storeStatefulSetsNamespacer{s.Store, namespace} } -// GetPodPetSets returns a list of PetSets managing a pod. Returns an error only if no matching PetSets are found. -func (s *StoreToPetSetLister) GetPodPetSets(pod *api.Pod) (psList []apps.PetSet, err error) { +// GetPodStatefulSets returns a list of StatefulSets managing a pod. Returns an error only if no matching StatefulSets are found. +func (s *StoreToStatefulSetLister) GetPodStatefulSets(pod *api.Pod) (psList []apps.StatefulSet, err error) { var selector labels.Selector - var ps apps.PetSet + var ps apps.StatefulSet if len(pod.Labels) == 0 { - err = fmt.Errorf("no PetSets found for pod %v because it has no labels", pod.Name) + err = fmt.Errorf("no StatefulSets found for pod %v because it has no labels", pod.Name) return } for _, m := range s.Store.List() { - ps = *m.(*apps.PetSet) + ps = *m.(*apps.StatefulSet) if ps.Namespace != pod.Namespace { continue } @@ -359,14 +416,14 @@ func (s *StoreToPetSetLister) GetPodPetSets(pod *api.Pod) (psList []apps.PetSet, return } - // If a PetSet with a nil or empty selector creeps in, it should match nothing, not everything. + // If a StatefulSet with a nil or empty selector creeps in, it should match nothing, not everything. if selector.Empty() || !selector.Matches(labels.Set(pod.Labels)) { continue } psList = append(psList, ps) } if len(psList) == 0 { - err = fmt.Errorf("could not find PetSet for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels) + err = fmt.Errorf("could not find StatefulSet for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels) } return } @@ -393,23 +450,6 @@ func (s *StoreToCertificateRequestLister) List() (csrs certificates.CertificateS return csrs, nil } -// IndexerToNamespaceLister gives an Indexer List method -type IndexerToNamespaceLister struct { - Indexer -} - -// List returns a list of namespaces -func (i *IndexerToNamespaceLister) List(selector labels.Selector) (namespaces []*api.Namespace, err error) { - for _, m := range i.Indexer.List() { - namespace := m.(*api.Namespace) - if selector.Matches(labels.Set(namespace.Labels)) { - namespaces = append(namespaces, namespace) - } - } - - return namespaces, nil -} - type StoreToPodDisruptionBudgetLister struct { Store } @@ -450,3 +490,40 @@ func (s *StoreToPodDisruptionBudgetLister) GetPodPodDisruptionBudgets(pod *api.P } return } + +// StorageClassLister knows how to list storage classes +type StorageClassLister interface { + List(selector labels.Selector) (ret []*storage.StorageClass, err error) + Get(name string) (*storage.StorageClass, error) +} + +// storageClassLister implements StorageClassLister +type storageClassLister struct { + indexer Indexer +} + +// NewStorageClassLister returns a new lister. +func NewStorageClassLister(indexer Indexer) StorageClassLister { + return &storageClassLister{indexer: indexer} +} + +// List returns a list of storage classes +func (s *storageClassLister) List(selector labels.Selector) (ret []*storage.StorageClass, err error) { + err = ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(*storage.StorageClass)) + }) + return ret, err +} + +// List returns a list of storage classes +func (s *storageClassLister) Get(name string) (*storage.StorageClass, error) { + key := &storage.StorageClass{ObjectMeta: api.ObjectMeta{Name: name}} + obj, exists, err := s.indexer.Get(key) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(storage.Resource("storageclass"), name) + } + return obj.(*storage.StorageClass), nil +} diff --git a/tools/cache/listers_core.go b/tools/cache/listers_core.go index 98cceef9..b9038e4a 100644 --- a/tools/cache/listers_core.go +++ b/tools/cache/listers_core.go @@ -203,3 +203,146 @@ func (s *StoreToReplicationControllerLister) GetPodControllers(pod *api.Pod) (co } return } + +// StoreToServiceAccountLister helps list service accounts +type StoreToServiceAccountLister struct { + Indexer Indexer +} + +func (s *StoreToServiceAccountLister) List(selector labels.Selector) (ret []*api.ServiceAccount, err error) { + err = ListAll(s.Indexer, selector, func(m interface{}) { + ret = append(ret, m.(*api.ServiceAccount)) + }) + return ret, err +} + +func (s *StoreToServiceAccountLister) ServiceAccounts(namespace string) storeServiceAccountsNamespacer { + return storeServiceAccountsNamespacer{s.Indexer, namespace} +} + +type storeServiceAccountsNamespacer struct { + indexer Indexer + namespace string +} + +func (s storeServiceAccountsNamespacer) List(selector labels.Selector) (ret []*api.ServiceAccount, err error) { + err = ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(*api.ServiceAccount)) + }) + return ret, err +} + +func (s storeServiceAccountsNamespacer) Get(name string) (*api.ServiceAccount, error) { + obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(api.Resource("serviceaccount"), name) + } + return obj.(*api.ServiceAccount), nil +} + +// StoreToLimitRangeLister helps list limit ranges +type StoreToLimitRangeLister struct { + Indexer Indexer +} + +func (s *StoreToLimitRangeLister) List(selector labels.Selector) (ret []*api.LimitRange, err error) { + err = ListAll(s.Indexer, selector, func(m interface{}) { + ret = append(ret, m.(*api.LimitRange)) + }) + return ret, err +} + +// StoreToPersistentVolumeClaimLister helps list pvcs +type StoreToPersistentVolumeClaimLister struct { + Indexer Indexer +} + +// List returns all persistentvolumeclaims that match the specified selector +func (s *StoreToPersistentVolumeClaimLister) List(selector labels.Selector) (ret []*api.PersistentVolumeClaim, err error) { + err = ListAll(s.Indexer, selector, func(m interface{}) { + ret = append(ret, m.(*api.PersistentVolumeClaim)) + }) + return ret, err +} + +func (s *StoreToLimitRangeLister) LimitRanges(namespace string) storeLimitRangesNamespacer { + return storeLimitRangesNamespacer{s.Indexer, namespace} +} + +type storeLimitRangesNamespacer struct { + indexer Indexer + namespace string +} + +func (s storeLimitRangesNamespacer) List(selector labels.Selector) (ret []*api.LimitRange, err error) { + err = ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(*api.LimitRange)) + }) + return ret, err +} + +func (s storeLimitRangesNamespacer) Get(name string) (*api.LimitRange, error) { + obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(api.Resource("limitrange"), name) + } + return obj.(*api.LimitRange), nil +} + +// PersistentVolumeClaims returns all claims in a specified namespace. +func (s *StoreToPersistentVolumeClaimLister) PersistentVolumeClaims(namespace string) storePersistentVolumeClaimsNamespacer { + return storePersistentVolumeClaimsNamespacer{Indexer: s.Indexer, namespace: namespace} +} + +type storePersistentVolumeClaimsNamespacer struct { + Indexer Indexer + namespace string +} + +func (s storePersistentVolumeClaimsNamespacer) List(selector labels.Selector) (ret []*api.PersistentVolumeClaim, err error) { + err = ListAllByNamespace(s.Indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(*api.PersistentVolumeClaim)) + }) + return ret, err +} + +func (s storePersistentVolumeClaimsNamespacer) Get(name string) (*api.PersistentVolumeClaim, error) { + obj, exists, err := s.Indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(api.Resource("persistentvolumeclaims"), name) + } + return obj.(*api.PersistentVolumeClaim), nil +} + +// IndexerToNamespaceLister gives an Indexer List method +type IndexerToNamespaceLister struct { + Indexer +} + +// List returns a list of namespaces +func (i *IndexerToNamespaceLister) List(selector labels.Selector) (ret []*api.Namespace, err error) { + err = ListAll(i.Indexer, selector, func(m interface{}) { + ret = append(ret, m.(*api.Namespace)) + }) + return ret, err +} + +func (i *IndexerToNamespaceLister) Get(name string) (*api.Namespace, error) { + obj, exists, err := i.Indexer.GetByKey(name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(api.Resource("namespace"), name) + } + return obj.(*api.Namespace), nil +} diff --git a/tools/cache/mutation_detector.go b/tools/cache/mutation_detector.go new file mode 100644 index 00000000..e27e339e --- /dev/null +++ b/tools/cache/mutation_detector.go @@ -0,0 +1,135 @@ +/* +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. +*/ + +package cache + +import ( + "fmt" + "os" + "reflect" + "strconv" + "sync" + "time" + + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/diff" +) + +var mutationDetectionEnabled = false + +func init() { + mutationDetectionEnabled, _ = strconv.ParseBool(os.Getenv("KUBE_CACHE_MUTATION_DETECTOR")) +} + +type CacheMutationDetector interface { + AddObject(obj interface{}) + Run(stopCh <-chan struct{}) +} + +func NewCacheMutationDetector(name string) CacheMutationDetector { + if !mutationDetectionEnabled { + return dummyMutationDetector{} + } + return &defaultCacheMutationDetector{name: name, period: 1 * time.Second} +} + +type dummyMutationDetector struct{} + +func (dummyMutationDetector) Run(stopCh <-chan struct{}) { +} +func (dummyMutationDetector) AddObject(obj interface{}) { +} + +// defaultCacheMutationDetector gives a way to detect if a cached object has been mutated +// It has a list of cached objects and their copies. I haven't thought of a way +// to see WHO is mutating it, just that it's getting mutated. +type defaultCacheMutationDetector struct { + name string + period time.Duration + + lock sync.Mutex + cachedObjs []cacheObj + + // failureFunc is injectable for unit testing. If you don't have it, the process will panic. + // This panic is intentional, since turning on this detection indicates you want a strong + // failure signal. This failure is effectively a p0 bug and you can't trust process results + // after a mutation anyway. + failureFunc func(message string) +} + +// cacheObj holds the actual object and a copy +type cacheObj struct { + cached interface{} + copied interface{} +} + +func (d *defaultCacheMutationDetector) Run(stopCh <-chan struct{}) { + // we DON'T want protection from panics. If we're running this code, we want to die + go func() { + for { + d.CompareObjects() + + select { + case <-stopCh: + return + case <-time.After(d.period): + } + } + }() +} + +// AddObject makes a deep copy of the object for later comparison. It only works on runtime.Object +// but that covers the vast majority of our cached objects +func (d *defaultCacheMutationDetector) AddObject(obj interface{}) { + if _, ok := obj.(DeletedFinalStateUnknown); ok { + return + } + if _, ok := obj.(runtime.Object); !ok { + return + } + + copiedObj, err := api.Scheme.Copy(obj.(runtime.Object)) + if err != nil { + return + } + + d.lock.Lock() + defer d.lock.Unlock() + d.cachedObjs = append(d.cachedObjs, cacheObj{cached: obj, copied: copiedObj}) +} + +func (d *defaultCacheMutationDetector) CompareObjects() { + d.lock.Lock() + defer d.lock.Unlock() + + altered := false + for i, obj := range d.cachedObjs { + if !reflect.DeepEqual(obj.cached, obj.copied) { + fmt.Printf("CACHE %s[%d] ALTERED!\n%v\n", d.name, i, diff.ObjectDiff(obj.cached, obj.copied)) + altered = true + } + } + + if altered { + msg := fmt.Sprintf("cache %s modified", d.name) + if d.failureFunc != nil { + d.failureFunc(msg) + return + } + panic(msg) + } +} diff --git a/tools/cache/mutation_detector_test.go b/tools/cache/mutation_detector_test.go new file mode 100644 index 00000000..7614ab5c --- /dev/null +++ b/tools/cache/mutation_detector_test.go @@ -0,0 +1,80 @@ +// +build !race + +/* +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. +*/ + +package cache + +import ( + "testing" + "time" + + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/watch" +) + +func TestMutationDetector(t *testing.T) { + fakeWatch := watch.NewFake() + lw := &testLW{ + WatchFunc: func(options api.ListOptions) (watch.Interface, error) { + return fakeWatch, nil + }, + ListFunc: func(options api.ListOptions) (runtime.Object, error) { + return &api.PodList{}, nil + }, + } + pod := &api.Pod{ + ObjectMeta: api.ObjectMeta{ + Name: "anything", + Labels: map[string]string{"check": "foo"}, + }, + } + stopCh := make(chan struct{}) + defer close(stopCh) + addReceived := make(chan bool) + mutationFound := make(chan bool) + + informer := NewSharedInformer(lw, &api.Pod{}, 1*time.Second).(*sharedIndexInformer) + informer.cacheMutationDetector = &defaultCacheMutationDetector{ + name: "name", + period: 1 * time.Second, + failureFunc: func(message string) { + mutationFound <- true + }, + } + informer.AddEventHandler( + ResourceEventHandlerFuncs{ + AddFunc: func(obj interface{}) { + addReceived <- true + }, + }, + ) + go informer.Run(stopCh) + + fakeWatch.Add(pod) + + select { + case <-addReceived: + } + + pod.Labels["change"] = "true" + + select { + case <-mutationFound: + } + +} diff --git a/tools/cache/shared_informer.go b/tools/cache/shared_informer.go index 8e48b600..7687bca4 100644 --- a/tools/cache/shared_informer.go +++ b/tools/cache/shared_informer.go @@ -68,11 +68,12 @@ func NewSharedInformer(lw ListerWatcher, objType runtime.Object, resyncPeriod ti // be shared amongst all consumers. func NewSharedIndexInformer(lw ListerWatcher, objType runtime.Object, resyncPeriod time.Duration, indexers Indexers) SharedIndexInformer { sharedIndexInformer := &sharedIndexInformer{ - processor: &sharedProcessor{}, - indexer: NewIndexer(DeletionHandlingMetaNamespaceKeyFunc, indexers), - listerWatcher: lw, - objectType: objType, - fullResyncPeriod: resyncPeriod, + processor: &sharedProcessor{}, + indexer: NewIndexer(DeletionHandlingMetaNamespaceKeyFunc, indexers), + listerWatcher: lw, + objectType: objType, + fullResyncPeriod: resyncPeriod, + cacheMutationDetector: NewCacheMutationDetector(fmt.Sprintf("%T", objType)), } return sharedIndexInformer } @@ -109,7 +110,8 @@ type sharedIndexInformer struct { indexer Indexer controller *Controller - processor *sharedProcessor + processor *sharedProcessor + cacheMutationDetector CacheMutationDetector // This block is tracked to handle late initialization of the controller listerWatcher ListerWatcher @@ -180,6 +182,7 @@ func (s *sharedIndexInformer) Run(stopCh <-chan struct{}) { }() s.stopCh = stopCh + s.cacheMutationDetector.Run(stopCh) s.processor.run(stopCh) s.controller.Run(stopCh) } @@ -204,7 +207,7 @@ func (s *sharedIndexInformer) LastSyncResourceVersion() string { s.startedLock.Lock() defer s.startedLock.Unlock() - if s.controller == nil { + if s.controller == nil || s.controller.reflector == nil { return "" } return s.controller.reflector.LastSyncResourceVersion() @@ -273,6 +276,7 @@ func (s *sharedIndexInformer) HandleDeltas(obj interface{}) error { for _, d := range obj.(Deltas) { switch d.Type { case Sync, Added, Updated: + s.cacheMutationDetector.AddObject(d.Object) if old, exists, err := s.indexer.Get(d.Object); err == nil && exists { if err := s.indexer.Update(d.Object); err != nil { return err diff --git a/tools/clientcmd/api/latest/latest.go b/tools/clientcmd/api/latest/latest.go index e47ab718..f9c24d6e 100644 --- a/tools/clientcmd/api/latest/latest.go +++ b/tools/clientcmd/api/latest/latest.go @@ -56,7 +56,7 @@ func init() { panic(err) } yamlSerializer := json.NewYAMLSerializer(json.DefaultMetaFactory, Scheme, Scheme) - Codec = versioning.NewCodecForScheme( + Codec = versioning.NewDefaultingCodecForScheme( Scheme, yamlSerializer, yamlSerializer, diff --git a/tools/clientcmd/api/types.go b/tools/clientcmd/api/types.go index fa46ce18..af4d9fef 100644 --- a/tools/clientcmd/api/types.go +++ b/tools/clientcmd/api/types.go @@ -28,12 +28,14 @@ import ( type Config struct { // Legacy field from pkg/api/types.go TypeMeta. // TODO(jlowdermilk): remove this after eliminating downstream dependencies. + // +optional Kind string `json:"kind,omitempty"` // DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). // Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify // a single value for the cluster version. // This field isn't really needed anyway, so we are deprecating it without replacement. // It will be ignored if it is present. + // +optional APIVersion string `json:"apiVersion,omitempty"` // Preferences holds general information to be use for cli interactions Preferences Preferences `json:"preferences"` @@ -46,13 +48,16 @@ type Config struct { // CurrentContext is the name of the context that you would like to use by default CurrentContext string `json:"current-context"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions map[string]runtime.Object `json:"extensions,omitempty"` } // IMPORTANT if you add fields to this struct, please update IsConfigEmpty() type Preferences struct { + // +optional Colors bool `json:"colors,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions map[string]runtime.Object `json:"extensions,omitempty"` } @@ -63,14 +68,19 @@ type Cluster struct { // Server is the address of the kubernetes cluster (https://hostname:port). Server string `json:"server"` // APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). + // +optional APIVersion string `json:"api-version,omitempty"` // InsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure. + // +optional InsecureSkipTLSVerify bool `json:"insecure-skip-tls-verify,omitempty"` // CertificateAuthority is the path to a cert file for the certificate authority. + // +optional CertificateAuthority string `json:"certificate-authority,omitempty"` // CertificateAuthorityData contains PEM-encoded certificate authority certificates. Overrides CertificateAuthority + // +optional CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions map[string]runtime.Object `json:"extensions,omitempty"` } @@ -79,26 +89,37 @@ type AuthInfo struct { // LocationOfOrigin indicates where this object came from. It is used for round tripping config post-merge, but never serialized. LocationOfOrigin string // ClientCertificate is the path to a client cert file for TLS. + // +optional ClientCertificate string `json:"client-certificate,omitempty"` // ClientCertificateData contains PEM-encoded data from a client cert file for TLS. Overrides ClientCertificate + // +optional ClientCertificateData []byte `json:"client-certificate-data,omitempty"` // ClientKey is the path to a client key file for TLS. + // +optional ClientKey string `json:"client-key,omitempty"` // ClientKeyData contains PEM-encoded data from a client key file for TLS. Overrides ClientKey + // +optional ClientKeyData []byte `json:"client-key-data,omitempty"` // Token is the bearer token for authentication to the kubernetes cluster. + // +optional Token string `json:"token,omitempty"` // TokenFile is a pointer to a file that contains a bearer token (as described above). If both Token and TokenFile are present, Token takes precedence. + // +optional TokenFile string `json:"tokenFile,omitempty"` // Impersonate is the username to act-as. + // +optional Impersonate string `json:"act-as,omitempty"` // Username is the username for basic authentication to the kubernetes cluster. + // +optional Username string `json:"username,omitempty"` // Password is the password for basic authentication to the kubernetes cluster. + // +optional Password string `json:"password,omitempty"` // AuthProvider specifies a custom authentication plugin for the kubernetes cluster. + // +optional AuthProvider *AuthProviderConfig `json:"auth-provider,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions map[string]runtime.Object `json:"extensions,omitempty"` } @@ -111,14 +132,17 @@ type Context struct { // AuthInfo is the name of the authInfo for this context AuthInfo string `json:"user"` // Namespace is the default namespace to use on unspecified requests + // +optional Namespace string `json:"namespace,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions map[string]runtime.Object `json:"extensions,omitempty"` } // AuthProviderConfig holds the configuration for a specified auth provider. type AuthProviderConfig struct { - Name string `json:"name"` + Name string `json:"name"` + // +optional Config map[string]string `json:"config,omitempty"` } diff --git a/tools/clientcmd/api/v1/types.go b/tools/clientcmd/api/v1/types.go index 90a1f2d8..a61b6cb8 100644 --- a/tools/clientcmd/api/v1/types.go +++ b/tools/clientcmd/api/v1/types.go @@ -27,12 +27,14 @@ import ( type Config struct { // Legacy field from pkg/api/types.go TypeMeta. // TODO(jlowdermilk): remove this after eliminating downstream dependencies. + // +optional Kind string `json:"kind,omitempty"` // DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). // Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify // a single value for the cluster version. // This field isn't really needed anyway, so we are deprecating it without replacement. // It will be ignored if it is present. + // +optional APIVersion string `json:"apiVersion,omitempty"` // Preferences holds general information to be use for cli interactions Preferences Preferences `json:"preferences"` @@ -45,12 +47,15 @@ type Config struct { // CurrentContext is the name of the context that you would like to use by default CurrentContext string `json:"current-context"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions []NamedExtension `json:"extensions,omitempty"` } type Preferences struct { + // +optional Colors bool `json:"colors,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions []NamedExtension `json:"extensions,omitempty"` } @@ -59,40 +64,56 @@ type Cluster struct { // Server is the address of the kubernetes cluster (https://hostname:port). Server string `json:"server"` // APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). + // +optional APIVersion string `json:"api-version,omitempty"` // InsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure. + // +optional InsecureSkipTLSVerify bool `json:"insecure-skip-tls-verify,omitempty"` // CertificateAuthority is the path to a cert file for the certificate authority. + // +optional CertificateAuthority string `json:"certificate-authority,omitempty"` // CertificateAuthorityData contains PEM-encoded certificate authority certificates. Overrides CertificateAuthority + // +optional CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions []NamedExtension `json:"extensions,omitempty"` } // AuthInfo contains information that describes identity information. This is use to tell the kubernetes cluster who you are. type AuthInfo struct { // ClientCertificate is the path to a client cert file for TLS. + // +optional ClientCertificate string `json:"client-certificate,omitempty"` // ClientCertificateData contains PEM-encoded data from a client cert file for TLS. Overrides ClientCertificate + // +optional ClientCertificateData []byte `json:"client-certificate-data,omitempty"` // ClientKey is the path to a client key file for TLS. + // +optional ClientKey string `json:"client-key,omitempty"` // ClientKeyData contains PEM-encoded data from a client key file for TLS. Overrides ClientKey + // +optional ClientKeyData []byte `json:"client-key-data,omitempty"` // Token is the bearer token for authentication to the kubernetes cluster. + // +optional Token string `json:"token,omitempty"` // TokenFile is a pointer to a file that contains a bearer token (as described above). If both Token and TokenFile are present, Token takes precedence. + // +optional TokenFile string `json:"tokenFile,omitempty"` // Impersonate is the username to imperonate. The name matches the flag. + // +optional Impersonate string `json:"as,omitempty"` // Username is the username for basic authentication to the kubernetes cluster. + // +optional Username string `json:"username,omitempty"` // Password is the password for basic authentication to the kubernetes cluster. + // +optional Password string `json:"password,omitempty"` // AuthProvider specifies a custom authentication plugin for the kubernetes cluster. + // +optional AuthProvider *AuthProviderConfig `json:"auth-provider,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions []NamedExtension `json:"extensions,omitempty"` } @@ -103,8 +124,10 @@ type Context struct { // AuthInfo is the name of the authInfo for this context AuthInfo string `json:"user"` // Namespace is the default namespace to use on unspecified requests + // +optional Namespace string `json:"namespace,omitempty"` // Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields + // +optional Extensions []NamedExtension `json:"extensions,omitempty"` } diff --git a/vendor/github.com/docker/spdystream/CONTRIBUTING.md b/vendor/github.com/docker/spdystream/CONTRIBUTING.md new file mode 100644 index 00000000..d4eddcc5 --- /dev/null +++ b/vendor/github.com/docker/spdystream/CONTRIBUTING.md @@ -0,0 +1,13 @@ +# Contributing to SpdyStream + +Want to hack on spdystream? Awesome! Here are instructions to get you +started. + +SpdyStream is a part of the [Docker](https://docker.io) project, and follows +the same rules and principles. If you're already familiar with the way +Docker does things, you'll feel right at home. + +Otherwise, go read +[Docker's contributions guidelines](https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md). + +Happy hacking! diff --git a/vendor/github.com/docker/spdystream/LICENSE b/vendor/github.com/docker/spdystream/LICENSE new file mode 100644 index 00000000..9e4bd4db --- /dev/null +++ b/vendor/github.com/docker/spdystream/LICENSE @@ -0,0 +1,191 @@ + + 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 + + Copyright 2014-2015 Docker, Inc. + + 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/vendor/github.com/docker/spdystream/LICENSE.docs b/vendor/github.com/docker/spdystream/LICENSE.docs new file mode 100644 index 00000000..e26cd4fc --- /dev/null +++ b/vendor/github.com/docker/spdystream/LICENSE.docs @@ -0,0 +1,425 @@ +Attribution-ShareAlike 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution-ShareAlike 4.0 International Public +License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution-ShareAlike 4.0 International Public License ("Public +License"). To the extent this Public License may be interpreted as a +contract, You are granted the Licensed Rights in consideration of Your +acceptance of these terms and conditions, and the Licensor grants You +such rights in consideration of benefits the Licensor receives from +making the Licensed Material available under these terms and +conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public licenses. +Notwithstanding, Creative Commons may elect to apply one of its public +licenses to material it publishes and in those instances will be +considered the "Licensor." Except for the limited purpose of indicating +that material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the public +licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/vendor/github.com/docker/spdystream/MAINTAINERS b/vendor/github.com/docker/spdystream/MAINTAINERS new file mode 100644 index 00000000..14e26332 --- /dev/null +++ b/vendor/github.com/docker/spdystream/MAINTAINERS @@ -0,0 +1,28 @@ +# Spdystream maintainers file +# +# This file describes who runs the docker/spdystream project and how. +# This is a living document - if you see something out of date or missing, speak up! +# +# It is structured to be consumable by both humans and programs. +# To extract its contents programmatically, use any TOML-compliant parser. +# +# This file is compiled into the MAINTAINERS file in docker/opensource. +# +[Org] + [Org."Core maintainers"] + people = [ + "dmcgowan", + ] + +[people] + +# A reference list of all people associated with the project. +# All other sections should refer to people by their canonical key +# in the people section. + + # ADD YOURSELF HERE IN ALPHABETICAL ORDER + + [people.dmcgowan] + Name = "Derek McGowan" + Email = "derek@docker.com" + GitHub = "dmcgowan" diff --git a/vendor/github.com/docker/spdystream/README.md b/vendor/github.com/docker/spdystream/README.md new file mode 100644 index 00000000..11cccd0a --- /dev/null +++ b/vendor/github.com/docker/spdystream/README.md @@ -0,0 +1,77 @@ +# SpdyStream + +A multiplexed stream library using spdy + +## Usage + +Client example (connecting to mirroring server without auth) + +```go +package main + +import ( + "fmt" + "github.com/docker/spdystream" + "net" + "net/http" +) + +func main() { + conn, err := net.Dial("tcp", "localhost:8080") + if err != nil { + panic(err) + } + spdyConn, err := spdystream.NewConnection(conn, false) + if err != nil { + panic(err) + } + go spdyConn.Serve(spdystream.NoOpStreamHandler) + stream, err := spdyConn.CreateStream(http.Header{}, nil, false) + if err != nil { + panic(err) + } + + stream.Wait() + + fmt.Fprint(stream, "Writing to stream") + + buf := make([]byte, 25) + stream.Read(buf) + fmt.Println(string(buf)) + + stream.Close() +} +``` + +Server example (mirroring server without auth) + +```go +package main + +import ( + "github.com/docker/spdystream" + "net" +) + +func main() { + listener, err := net.Listen("tcp", "localhost:8080") + if err != nil { + panic(err) + } + for { + conn, err := listener.Accept() + if err != nil { + panic(err) + } + spdyConn, err := spdystream.NewConnection(conn, true) + if err != nil { + panic(err) + } + go spdyConn.Serve(spdystream.MirrorStreamHandler) + } +} +``` + +## Copyright and license + +Copyright © 2014-2015 Docker, Inc. All rights reserved, except as follows. Code is released under the Apache 2.0 license. The README.md file, and files in the "docs" folder are licensed under the Creative Commons Attribution 4.0 International License under the terms and conditions set forth in the file "LICENSE.docs". You may obtain a duplicate copy of the same license, titled CC-BY-SA-4.0, at http://creativecommons.org/licenses/by/4.0/. diff --git a/vendor/github.com/docker/spdystream/connection.go b/vendor/github.com/docker/spdystream/connection.go new file mode 100644 index 00000000..6031a0db --- /dev/null +++ b/vendor/github.com/docker/spdystream/connection.go @@ -0,0 +1,958 @@ +package spdystream + +import ( + "errors" + "fmt" + "io" + "net" + "net/http" + "sync" + "time" + + "github.com/docker/spdystream/spdy" +) + +var ( + ErrInvalidStreamId = errors.New("Invalid stream id") + ErrTimeout = errors.New("Timeout occured") + ErrReset = errors.New("Stream reset") + ErrWriteClosedStream = errors.New("Write on closed stream") +) + +const ( + FRAME_WORKERS = 5 + QUEUE_SIZE = 50 +) + +type StreamHandler func(stream *Stream) + +type AuthHandler func(header http.Header, slot uint8, parent uint32) bool + +type idleAwareFramer struct { + f *spdy.Framer + conn *Connection + writeLock sync.Mutex + resetChan chan struct{} + setTimeoutLock sync.Mutex + setTimeoutChan chan time.Duration + timeout time.Duration +} + +func newIdleAwareFramer(framer *spdy.Framer) *idleAwareFramer { + iaf := &idleAwareFramer{ + f: framer, + resetChan: make(chan struct{}, 2), + // setTimeoutChan needs to be buffered to avoid deadlocks when calling setIdleTimeout at about + // the same time the connection is being closed + setTimeoutChan: make(chan time.Duration, 1), + } + return iaf +} + +func (i *idleAwareFramer) monitor() { + var ( + timer *time.Timer + expired <-chan time.Time + resetChan = i.resetChan + setTimeoutChan = i.setTimeoutChan + ) +Loop: + for { + select { + case timeout := <-i.setTimeoutChan: + i.timeout = timeout + if timeout == 0 { + if timer != nil { + timer.Stop() + } + } else { + if timer == nil { + timer = time.NewTimer(timeout) + expired = timer.C + } else { + timer.Reset(timeout) + } + } + case <-resetChan: + if timer != nil && i.timeout > 0 { + timer.Reset(i.timeout) + } + case <-expired: + i.conn.streamCond.L.Lock() + streams := i.conn.streams + i.conn.streams = make(map[spdy.StreamId]*Stream) + i.conn.streamCond.Broadcast() + i.conn.streamCond.L.Unlock() + go func() { + for _, stream := range streams { + stream.resetStream() + } + i.conn.Close() + }() + case <-i.conn.closeChan: + if timer != nil { + timer.Stop() + } + + // Start a goroutine to drain resetChan. This is needed because we've seen + // some unit tests with large numbers of goroutines get into a situation + // where resetChan fills up, at least 1 call to Write() is still trying to + // send to resetChan, the connection gets closed, and this case statement + // attempts to grab the write lock that Write() already has, causing a + // deadlock. + // + // See https://github.com/docker/spdystream/issues/49 for more details. + go func() { + for _ = range resetChan { + } + }() + + go func() { + for _ = range setTimeoutChan { + } + }() + + i.writeLock.Lock() + close(resetChan) + i.resetChan = nil + i.writeLock.Unlock() + + i.setTimeoutLock.Lock() + close(i.setTimeoutChan) + i.setTimeoutChan = nil + i.setTimeoutLock.Unlock() + + break Loop + } + } + + // Drain resetChan + for _ = range resetChan { + } +} + +func (i *idleAwareFramer) WriteFrame(frame spdy.Frame) error { + i.writeLock.Lock() + defer i.writeLock.Unlock() + if i.resetChan == nil { + return io.EOF + } + err := i.f.WriteFrame(frame) + if err != nil { + return err + } + + i.resetChan <- struct{}{} + + return nil +} + +func (i *idleAwareFramer) ReadFrame() (spdy.Frame, error) { + frame, err := i.f.ReadFrame() + if err != nil { + return nil, err + } + + // resetChan should never be closed since it is only closed + // when the connection has closed its closeChan. This closure + // only occurs after all Reads have finished + // TODO (dmcgowan): refactor relationship into connection + i.resetChan <- struct{}{} + + return frame, nil +} + +func (i *idleAwareFramer) setIdleTimeout(timeout time.Duration) { + i.setTimeoutLock.Lock() + defer i.setTimeoutLock.Unlock() + + if i.setTimeoutChan == nil { + return + } + + i.setTimeoutChan <- timeout +} + +type Connection struct { + conn net.Conn + framer *idleAwareFramer + + closeChan chan bool + goneAway bool + lastStreamChan chan<- *Stream + goAwayTimeout time.Duration + closeTimeout time.Duration + + streamLock *sync.RWMutex + streamCond *sync.Cond + streams map[spdy.StreamId]*Stream + + nextIdLock sync.Mutex + receiveIdLock sync.Mutex + nextStreamId spdy.StreamId + receivedStreamId spdy.StreamId + + pingIdLock sync.Mutex + pingId uint32 + pingChans map[uint32]chan error + + shutdownLock sync.Mutex + shutdownChan chan error + hasShutdown bool + + // for testing https://github.com/docker/spdystream/pull/56 + dataFrameHandler func(*spdy.DataFrame) error +} + +// NewConnection creates a new spdy connection from an existing +// network connection. +func NewConnection(conn net.Conn, server bool) (*Connection, error) { + framer, framerErr := spdy.NewFramer(conn, conn) + if framerErr != nil { + return nil, framerErr + } + idleAwareFramer := newIdleAwareFramer(framer) + var sid spdy.StreamId + var rid spdy.StreamId + var pid uint32 + if server { + sid = 2 + rid = 1 + pid = 2 + } else { + sid = 1 + rid = 2 + pid = 1 + } + + streamLock := new(sync.RWMutex) + streamCond := sync.NewCond(streamLock) + + session := &Connection{ + conn: conn, + framer: idleAwareFramer, + + closeChan: make(chan bool), + goAwayTimeout: time.Duration(0), + closeTimeout: time.Duration(0), + + streamLock: streamLock, + streamCond: streamCond, + streams: make(map[spdy.StreamId]*Stream), + nextStreamId: sid, + receivedStreamId: rid, + + pingId: pid, + pingChans: make(map[uint32]chan error), + + shutdownChan: make(chan error), + } + session.dataFrameHandler = session.handleDataFrame + idleAwareFramer.conn = session + go idleAwareFramer.monitor() + + return session, nil +} + +// Ping sends a ping frame across the connection and +// returns the response time +func (s *Connection) Ping() (time.Duration, error) { + pid := s.pingId + s.pingIdLock.Lock() + if s.pingId > 0x7ffffffe { + s.pingId = s.pingId - 0x7ffffffe + } else { + s.pingId = s.pingId + 2 + } + s.pingIdLock.Unlock() + pingChan := make(chan error) + s.pingChans[pid] = pingChan + defer delete(s.pingChans, pid) + + frame := &spdy.PingFrame{Id: pid} + startTime := time.Now() + writeErr := s.framer.WriteFrame(frame) + if writeErr != nil { + return time.Duration(0), writeErr + } + select { + case <-s.closeChan: + return time.Duration(0), errors.New("connection closed") + case err, ok := <-pingChan: + if ok && err != nil { + return time.Duration(0), err + } + break + } + return time.Now().Sub(startTime), nil +} + +// Serve handles frames sent from the server, including reply frames +// which are needed to fully initiate connections. Both clients and servers +// should call Serve in a separate goroutine before creating streams. +func (s *Connection) Serve(newHandler StreamHandler) { + // use a WaitGroup to wait for all frames to be drained after receiving + // go-away. + var wg sync.WaitGroup + + // Parition queues to ensure stream frames are handled + // by the same worker, ensuring order is maintained + frameQueues := make([]*PriorityFrameQueue, FRAME_WORKERS) + for i := 0; i < FRAME_WORKERS; i++ { + frameQueues[i] = NewPriorityFrameQueue(QUEUE_SIZE) + + // Ensure frame queue is drained when connection is closed + go func(frameQueue *PriorityFrameQueue) { + <-s.closeChan + frameQueue.Drain() + }(frameQueues[i]) + + wg.Add(1) + go func(frameQueue *PriorityFrameQueue) { + // let the WaitGroup know this worker is done + defer wg.Done() + + s.frameHandler(frameQueue, newHandler) + }(frameQueues[i]) + } + + var ( + partitionRoundRobin int + goAwayFrame *spdy.GoAwayFrame + ) +Loop: + for { + readFrame, err := s.framer.ReadFrame() + if err != nil { + if err != io.EOF { + fmt.Errorf("frame read error: %s", err) + } else { + debugMessage("(%p) EOF received", s) + } + break + } + var priority uint8 + var partition int + switch frame := readFrame.(type) { + case *spdy.SynStreamFrame: + if s.checkStreamFrame(frame) { + priority = frame.Priority + partition = int(frame.StreamId % FRAME_WORKERS) + debugMessage("(%p) Add stream frame: %d ", s, frame.StreamId) + s.addStreamFrame(frame) + } else { + debugMessage("(%p) Rejected stream frame: %d ", s, frame.StreamId) + continue + } + case *spdy.SynReplyFrame: + priority = s.getStreamPriority(frame.StreamId) + partition = int(frame.StreamId % FRAME_WORKERS) + case *spdy.DataFrame: + priority = s.getStreamPriority(frame.StreamId) + partition = int(frame.StreamId % FRAME_WORKERS) + case *spdy.RstStreamFrame: + priority = s.getStreamPriority(frame.StreamId) + partition = int(frame.StreamId % FRAME_WORKERS) + case *spdy.HeadersFrame: + priority = s.getStreamPriority(frame.StreamId) + partition = int(frame.StreamId % FRAME_WORKERS) + case *spdy.PingFrame: + priority = 0 + partition = partitionRoundRobin + partitionRoundRobin = (partitionRoundRobin + 1) % FRAME_WORKERS + case *spdy.GoAwayFrame: + // hold on to the go away frame and exit the loop + goAwayFrame = frame + break Loop + default: + priority = 7 + partition = partitionRoundRobin + partitionRoundRobin = (partitionRoundRobin + 1) % FRAME_WORKERS + } + frameQueues[partition].Push(readFrame, priority) + } + close(s.closeChan) + + // wait for all frame handler workers to indicate they've drained their queues + // before handling the go away frame + wg.Wait() + + if goAwayFrame != nil { + s.handleGoAwayFrame(goAwayFrame) + } + + // now it's safe to close remote channels and empty s.streams + s.streamCond.L.Lock() + // notify streams that they're now closed, which will + // unblock any stream Read() calls + for _, stream := range s.streams { + stream.closeRemoteChannels() + } + s.streams = make(map[spdy.StreamId]*Stream) + s.streamCond.Broadcast() + s.streamCond.L.Unlock() +} + +func (s *Connection) frameHandler(frameQueue *PriorityFrameQueue, newHandler StreamHandler) { + for { + popFrame := frameQueue.Pop() + if popFrame == nil { + return + } + + var frameErr error + switch frame := popFrame.(type) { + case *spdy.SynStreamFrame: + frameErr = s.handleStreamFrame(frame, newHandler) + case *spdy.SynReplyFrame: + frameErr = s.handleReplyFrame(frame) + case *spdy.DataFrame: + frameErr = s.dataFrameHandler(frame) + case *spdy.RstStreamFrame: + frameErr = s.handleResetFrame(frame) + case *spdy.HeadersFrame: + frameErr = s.handleHeaderFrame(frame) + case *spdy.PingFrame: + frameErr = s.handlePingFrame(frame) + case *spdy.GoAwayFrame: + frameErr = s.handleGoAwayFrame(frame) + default: + frameErr = fmt.Errorf("unhandled frame type: %T", frame) + } + + if frameErr != nil { + fmt.Errorf("frame handling error: %s", frameErr) + } + } +} + +func (s *Connection) getStreamPriority(streamId spdy.StreamId) uint8 { + stream, streamOk := s.getStream(streamId) + if !streamOk { + return 7 + } + return stream.priority +} + +func (s *Connection) addStreamFrame(frame *spdy.SynStreamFrame) { + var parent *Stream + if frame.AssociatedToStreamId != spdy.StreamId(0) { + parent, _ = s.getStream(frame.AssociatedToStreamId) + } + + stream := &Stream{ + streamId: frame.StreamId, + parent: parent, + conn: s, + startChan: make(chan error), + headers: frame.Headers, + finished: (frame.CFHeader.Flags & spdy.ControlFlagUnidirectional) != 0x00, + replyCond: sync.NewCond(new(sync.Mutex)), + dataChan: make(chan []byte), + headerChan: make(chan http.Header), + closeChan: make(chan bool), + } + if frame.CFHeader.Flags&spdy.ControlFlagFin != 0x00 { + stream.closeRemoteChannels() + } + + s.addStream(stream) +} + +// checkStreamFrame checks to see if a stream frame is allowed. +// If the stream is invalid, then a reset frame with protocol error +// will be returned. +func (s *Connection) checkStreamFrame(frame *spdy.SynStreamFrame) bool { + s.receiveIdLock.Lock() + defer s.receiveIdLock.Unlock() + if s.goneAway { + return false + } + validationErr := s.validateStreamId(frame.StreamId) + if validationErr != nil { + go func() { + resetErr := s.sendResetFrame(spdy.ProtocolError, frame.StreamId) + if resetErr != nil { + fmt.Errorf("reset error: %s", resetErr) + } + }() + return false + } + return true +} + +func (s *Connection) handleStreamFrame(frame *spdy.SynStreamFrame, newHandler StreamHandler) error { + stream, ok := s.getStream(frame.StreamId) + if !ok { + return fmt.Errorf("Missing stream: %d", frame.StreamId) + } + + newHandler(stream) + + return nil +} + +func (s *Connection) handleReplyFrame(frame *spdy.SynReplyFrame) error { + debugMessage("(%p) Reply frame received for %d", s, frame.StreamId) + stream, streamOk := s.getStream(frame.StreamId) + if !streamOk { + debugMessage("Reply frame gone away for %d", frame.StreamId) + // Stream has already gone away + return nil + } + if stream.replied { + // Stream has already received reply + return nil + } + stream.replied = true + + // TODO Check for error + if (frame.CFHeader.Flags & spdy.ControlFlagFin) != 0x00 { + s.remoteStreamFinish(stream) + } + + close(stream.startChan) + + return nil +} + +func (s *Connection) handleResetFrame(frame *spdy.RstStreamFrame) error { + stream, streamOk := s.getStream(frame.StreamId) + if !streamOk { + // Stream has already been removed + return nil + } + s.removeStream(stream) + stream.closeRemoteChannels() + + if !stream.replied { + stream.replied = true + stream.startChan <- ErrReset + close(stream.startChan) + } + + stream.finishLock.Lock() + stream.finished = true + stream.finishLock.Unlock() + + return nil +} + +func (s *Connection) handleHeaderFrame(frame *spdy.HeadersFrame) error { + stream, streamOk := s.getStream(frame.StreamId) + if !streamOk { + // Stream has already gone away + return nil + } + if !stream.replied { + // No reply received...Protocol error? + return nil + } + + // TODO limit headers while not blocking (use buffered chan or goroutine?) + select { + case <-stream.closeChan: + return nil + case stream.headerChan <- frame.Headers: + } + + if (frame.CFHeader.Flags & spdy.ControlFlagFin) != 0x00 { + s.remoteStreamFinish(stream) + } + + return nil +} + +func (s *Connection) handleDataFrame(frame *spdy.DataFrame) error { + debugMessage("(%p) Data frame received for %d", s, frame.StreamId) + stream, streamOk := s.getStream(frame.StreamId) + if !streamOk { + debugMessage("(%p) Data frame gone away for %d", s, frame.StreamId) + // Stream has already gone away + return nil + } + if !stream.replied { + debugMessage("(%p) Data frame not replied %d", s, frame.StreamId) + // No reply received...Protocol error? + return nil + } + + debugMessage("(%p) (%d) Data frame handling", stream, stream.streamId) + if len(frame.Data) > 0 { + stream.dataLock.RLock() + select { + case <-stream.closeChan: + debugMessage("(%p) (%d) Data frame not sent (stream shut down)", stream, stream.streamId) + case stream.dataChan <- frame.Data: + debugMessage("(%p) (%d) Data frame sent", stream, stream.streamId) + } + stream.dataLock.RUnlock() + } + if (frame.Flags & spdy.DataFlagFin) != 0x00 { + s.remoteStreamFinish(stream) + } + return nil +} + +func (s *Connection) handlePingFrame(frame *spdy.PingFrame) error { + if s.pingId&0x01 != frame.Id&0x01 { + return s.framer.WriteFrame(frame) + } + pingChan, pingOk := s.pingChans[frame.Id] + if pingOk { + close(pingChan) + } + return nil +} + +func (s *Connection) handleGoAwayFrame(frame *spdy.GoAwayFrame) error { + debugMessage("(%p) Go away received", s) + s.receiveIdLock.Lock() + if s.goneAway { + s.receiveIdLock.Unlock() + return nil + } + s.goneAway = true + s.receiveIdLock.Unlock() + + if s.lastStreamChan != nil { + stream, _ := s.getStream(frame.LastGoodStreamId) + go func() { + s.lastStreamChan <- stream + }() + } + + // Do not block frame handler waiting for closure + go s.shutdown(s.goAwayTimeout) + + return nil +} + +func (s *Connection) remoteStreamFinish(stream *Stream) { + stream.closeRemoteChannels() + + stream.finishLock.Lock() + if stream.finished { + // Stream is fully closed, cleanup + s.removeStream(stream) + } + stream.finishLock.Unlock() +} + +// CreateStream creates a new spdy stream using the parameters for +// creating the stream frame. The stream frame will be sent upon +// calling this function, however this function does not wait for +// the reply frame. If waiting for the reply is desired, use +// the stream Wait or WaitTimeout function on the stream returned +// by this function. +func (s *Connection) CreateStream(headers http.Header, parent *Stream, fin bool) (*Stream, error) { + // MUST synchronize stream creation (all the way to writing the frame) + // as stream IDs **MUST** increase monotonically. + s.nextIdLock.Lock() + defer s.nextIdLock.Unlock() + + streamId := s.getNextStreamId() + if streamId == 0 { + return nil, fmt.Errorf("Unable to get new stream id") + } + + stream := &Stream{ + streamId: streamId, + parent: parent, + conn: s, + startChan: make(chan error), + headers: headers, + dataChan: make(chan []byte), + headerChan: make(chan http.Header), + closeChan: make(chan bool), + } + + debugMessage("(%p) (%p) Create stream", s, stream) + + s.addStream(stream) + + return stream, s.sendStream(stream, fin) +} + +func (s *Connection) shutdown(closeTimeout time.Duration) { + // TODO Ensure this isn't called multiple times + s.shutdownLock.Lock() + if s.hasShutdown { + s.shutdownLock.Unlock() + return + } + s.hasShutdown = true + s.shutdownLock.Unlock() + + var timeout <-chan time.Time + if closeTimeout > time.Duration(0) { + timeout = time.After(closeTimeout) + } + streamsClosed := make(chan bool) + + go func() { + s.streamCond.L.Lock() + for len(s.streams) > 0 { + debugMessage("Streams opened: %d, %#v", len(s.streams), s.streams) + s.streamCond.Wait() + } + s.streamCond.L.Unlock() + close(streamsClosed) + }() + + var err error + select { + case <-streamsClosed: + // No active streams, close should be safe + err = s.conn.Close() + case <-timeout: + // Force ungraceful close + err = s.conn.Close() + // Wait for cleanup to clear active streams + <-streamsClosed + } + + if err != nil { + duration := 10 * time.Minute + time.AfterFunc(duration, func() { + select { + case err, ok := <-s.shutdownChan: + if ok { + fmt.Errorf("Unhandled close error after %s: %s", duration, err) + } + default: + } + }) + s.shutdownChan <- err + } + close(s.shutdownChan) + + return +} + +// Closes spdy connection by sending GoAway frame and initiating shutdown +func (s *Connection) Close() error { + s.receiveIdLock.Lock() + if s.goneAway { + s.receiveIdLock.Unlock() + return nil + } + s.goneAway = true + s.receiveIdLock.Unlock() + + var lastStreamId spdy.StreamId + if s.receivedStreamId > 2 { + lastStreamId = s.receivedStreamId - 2 + } + + goAwayFrame := &spdy.GoAwayFrame{ + LastGoodStreamId: lastStreamId, + Status: spdy.GoAwayOK, + } + + err := s.framer.WriteFrame(goAwayFrame) + if err != nil { + return err + } + + go s.shutdown(s.closeTimeout) + + return nil +} + +// CloseWait closes the connection and waits for shutdown +// to finish. Note the underlying network Connection +// is not closed until the end of shutdown. +func (s *Connection) CloseWait() error { + closeErr := s.Close() + if closeErr != nil { + return closeErr + } + shutdownErr, ok := <-s.shutdownChan + if ok { + return shutdownErr + } + return nil +} + +// Wait waits for the connection to finish shutdown or for +// the wait timeout duration to expire. This needs to be +// called either after Close has been called or the GOAWAYFRAME +// has been received. If the wait timeout is 0, this function +// will block until shutdown finishes. If wait is never called +// and a shutdown error occurs, that error will be logged as an +// unhandled error. +func (s *Connection) Wait(waitTimeout time.Duration) error { + var timeout <-chan time.Time + if waitTimeout > time.Duration(0) { + timeout = time.After(waitTimeout) + } + + select { + case err, ok := <-s.shutdownChan: + if ok { + return err + } + case <-timeout: + return ErrTimeout + } + return nil +} + +// NotifyClose registers a channel to be called when the remote +// peer inidicates connection closure. The last stream to be +// received by the remote will be sent on the channel. The notify +// timeout will determine the duration between go away received +// and the connection being closed. +func (s *Connection) NotifyClose(c chan<- *Stream, timeout time.Duration) { + s.goAwayTimeout = timeout + s.lastStreamChan = c +} + +// SetCloseTimeout sets the amount of time close will wait for +// streams to finish before terminating the underlying network +// connection. Setting the timeout to 0 will cause close to +// wait forever, which is the default. +func (s *Connection) SetCloseTimeout(timeout time.Duration) { + s.closeTimeout = timeout +} + +// SetIdleTimeout sets the amount of time the connection may sit idle before +// it is forcefully terminated. +func (s *Connection) SetIdleTimeout(timeout time.Duration) { + s.framer.setIdleTimeout(timeout) +} + +func (s *Connection) sendHeaders(headers http.Header, stream *Stream, fin bool) error { + var flags spdy.ControlFlags + if fin { + flags = spdy.ControlFlagFin + } + + headerFrame := &spdy.HeadersFrame{ + StreamId: stream.streamId, + Headers: headers, + CFHeader: spdy.ControlFrameHeader{Flags: flags}, + } + + return s.framer.WriteFrame(headerFrame) +} + +func (s *Connection) sendReply(headers http.Header, stream *Stream, fin bool) error { + var flags spdy.ControlFlags + if fin { + flags = spdy.ControlFlagFin + } + + replyFrame := &spdy.SynReplyFrame{ + StreamId: stream.streamId, + Headers: headers, + CFHeader: spdy.ControlFrameHeader{Flags: flags}, + } + + return s.framer.WriteFrame(replyFrame) +} + +func (s *Connection) sendResetFrame(status spdy.RstStreamStatus, streamId spdy.StreamId) error { + resetFrame := &spdy.RstStreamFrame{ + StreamId: streamId, + Status: status, + } + + return s.framer.WriteFrame(resetFrame) +} + +func (s *Connection) sendReset(status spdy.RstStreamStatus, stream *Stream) error { + return s.sendResetFrame(status, stream.streamId) +} + +func (s *Connection) sendStream(stream *Stream, fin bool) error { + var flags spdy.ControlFlags + if fin { + flags = spdy.ControlFlagFin + stream.finished = true + } + + var parentId spdy.StreamId + if stream.parent != nil { + parentId = stream.parent.streamId + } + + streamFrame := &spdy.SynStreamFrame{ + StreamId: spdy.StreamId(stream.streamId), + AssociatedToStreamId: spdy.StreamId(parentId), + Headers: stream.headers, + CFHeader: spdy.ControlFrameHeader{Flags: flags}, + } + + return s.framer.WriteFrame(streamFrame) +} + +// getNextStreamId returns the next sequential id +// every call should produce a unique value or an error +func (s *Connection) getNextStreamId() spdy.StreamId { + sid := s.nextStreamId + if sid > 0x7fffffff { + return 0 + } + s.nextStreamId = s.nextStreamId + 2 + return sid +} + +// PeekNextStreamId returns the next sequential id and keeps the next id untouched +func (s *Connection) PeekNextStreamId() spdy.StreamId { + sid := s.nextStreamId + return sid +} + +func (s *Connection) validateStreamId(rid spdy.StreamId) error { + if rid > 0x7fffffff || rid < s.receivedStreamId { + return ErrInvalidStreamId + } + s.receivedStreamId = rid + 2 + return nil +} + +func (s *Connection) addStream(stream *Stream) { + s.streamCond.L.Lock() + s.streams[stream.streamId] = stream + debugMessage("(%p) (%p) Stream added, broadcasting: %d", s, stream, stream.streamId) + s.streamCond.Broadcast() + s.streamCond.L.Unlock() +} + +func (s *Connection) removeStream(stream *Stream) { + s.streamCond.L.Lock() + delete(s.streams, stream.streamId) + debugMessage("(%p) (%p) Stream removed, broadcasting: %d", s, stream, stream.streamId) + s.streamCond.Broadcast() + s.streamCond.L.Unlock() +} + +func (s *Connection) getStream(streamId spdy.StreamId) (stream *Stream, ok bool) { + s.streamLock.RLock() + stream, ok = s.streams[streamId] + s.streamLock.RUnlock() + return +} + +// FindStream looks up the given stream id and either waits for the +// stream to be found or returns nil if the stream id is no longer +// valid. +func (s *Connection) FindStream(streamId uint32) *Stream { + var stream *Stream + var ok bool + s.streamCond.L.Lock() + stream, ok = s.streams[spdy.StreamId(streamId)] + debugMessage("(%p) Found stream %d? %t", s, spdy.StreamId(streamId), ok) + for !ok && streamId >= uint32(s.receivedStreamId) { + s.streamCond.Wait() + stream, ok = s.streams[spdy.StreamId(streamId)] + } + s.streamCond.L.Unlock() + return stream +} + +func (s *Connection) CloseChan() <-chan bool { + return s.closeChan +} diff --git a/vendor/github.com/docker/spdystream/handlers.go b/vendor/github.com/docker/spdystream/handlers.go new file mode 100644 index 00000000..b59fa5fd --- /dev/null +++ b/vendor/github.com/docker/spdystream/handlers.go @@ -0,0 +1,38 @@ +package spdystream + +import ( + "io" + "net/http" +) + +// MirrorStreamHandler mirrors all streams. +func MirrorStreamHandler(stream *Stream) { + replyErr := stream.SendReply(http.Header{}, false) + if replyErr != nil { + return + } + + go func() { + io.Copy(stream, stream) + stream.Close() + }() + go func() { + for { + header, receiveErr := stream.ReceiveHeader() + if receiveErr != nil { + return + } + sendErr := stream.SendHeader(header, false) + if sendErr != nil { + return + } + } + }() +} + +// NoopStreamHandler does nothing when stream connects, most +// likely used with RejectAuthHandler which will not allow any +// streams to make it to the stream handler. +func NoOpStreamHandler(stream *Stream) { + stream.SendReply(http.Header{}, false) +} diff --git a/vendor/github.com/docker/spdystream/priority.go b/vendor/github.com/docker/spdystream/priority.go new file mode 100644 index 00000000..fc8582b5 --- /dev/null +++ b/vendor/github.com/docker/spdystream/priority.go @@ -0,0 +1,98 @@ +package spdystream + +import ( + "container/heap" + "sync" + + "github.com/docker/spdystream/spdy" +) + +type prioritizedFrame struct { + frame spdy.Frame + priority uint8 + insertId uint64 +} + +type frameQueue []*prioritizedFrame + +func (fq frameQueue) Len() int { + return len(fq) +} + +func (fq frameQueue) Less(i, j int) bool { + if fq[i].priority == fq[j].priority { + return fq[i].insertId < fq[j].insertId + } + return fq[i].priority < fq[j].priority +} + +func (fq frameQueue) Swap(i, j int) { + fq[i], fq[j] = fq[j], fq[i] +} + +func (fq *frameQueue) Push(x interface{}) { + *fq = append(*fq, x.(*prioritizedFrame)) +} + +func (fq *frameQueue) Pop() interface{} { + old := *fq + n := len(old) + *fq = old[0 : n-1] + return old[n-1] +} + +type PriorityFrameQueue struct { + queue *frameQueue + c *sync.Cond + size int + nextInsertId uint64 + drain bool +} + +func NewPriorityFrameQueue(size int) *PriorityFrameQueue { + queue := make(frameQueue, 0, size) + heap.Init(&queue) + + return &PriorityFrameQueue{ + queue: &queue, + size: size, + c: sync.NewCond(&sync.Mutex{}), + } +} + +func (q *PriorityFrameQueue) Push(frame spdy.Frame, priority uint8) { + q.c.L.Lock() + defer q.c.L.Unlock() + for q.queue.Len() >= q.size { + q.c.Wait() + } + pFrame := &prioritizedFrame{ + frame: frame, + priority: priority, + insertId: q.nextInsertId, + } + q.nextInsertId = q.nextInsertId + 1 + heap.Push(q.queue, pFrame) + q.c.Signal() +} + +func (q *PriorityFrameQueue) Pop() spdy.Frame { + q.c.L.Lock() + defer q.c.L.Unlock() + for q.queue.Len() == 0 { + if q.drain { + return nil + } + q.c.Wait() + } + frame := heap.Pop(q.queue).(*prioritizedFrame).frame + q.c.Signal() + return frame +} + +func (q *PriorityFrameQueue) Drain() { + q.c.L.Lock() + defer q.c.L.Unlock() + q.drain = true + q.c.Broadcast() +} diff --git a/vendor/github.com/docker/spdystream/spdy/dictionary.go b/vendor/github.com/docker/spdystream/spdy/dictionary.go new file mode 100644 index 00000000..5a5ff0e1 --- /dev/null +++ b/vendor/github.com/docker/spdystream/spdy/dictionary.go @@ -0,0 +1,187 @@ +// Copyright 2013 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 spdy + +// headerDictionary is the dictionary sent to the zlib compressor/decompressor. +var headerDictionary = []byte{ + 0x00, 0x00, 0x00, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x00, 0x00, 0x00, 0x04, 0x68, + 0x65, 0x61, 0x64, 0x00, 0x00, 0x00, 0x04, 0x70, + 0x6f, 0x73, 0x74, 0x00, 0x00, 0x00, 0x03, 0x70, + 0x75, 0x74, 0x00, 0x00, 0x00, 0x06, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x00, 0x00, 0x00, 0x05, + 0x74, 0x72, 0x61, 0x63, 0x65, 0x00, 0x00, 0x00, + 0x06, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x00, + 0x00, 0x00, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x2d, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, + 0x74, 0x00, 0x00, 0x00, 0x0f, 0x61, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x2d, 0x65, 0x6e, 0x63, 0x6f, + 0x64, 0x69, 0x6e, 0x67, 0x00, 0x00, 0x00, 0x0f, + 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2d, 0x6c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x00, + 0x00, 0x00, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x2d, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, + 0x00, 0x00, 0x00, 0x03, 0x61, 0x67, 0x65, 0x00, + 0x00, 0x00, 0x05, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x00, 0x00, 0x00, 0x0d, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x00, 0x00, 0x00, 0x0d, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x00, 0x00, 0x00, 0x0a, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x00, 0x00, 0x00, 0x0c, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x2d, 0x62, 0x61, 0x73, 0x65, + 0x00, 0x00, 0x00, 0x10, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x2d, 0x65, 0x6e, 0x63, 0x6f, + 0x64, 0x69, 0x6e, 0x67, 0x00, 0x00, 0x00, 0x10, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, + 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, + 0x00, 0x00, 0x00, 0x0e, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x2d, 0x6c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x00, 0x00, 0x00, 0x10, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, + 0x00, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x2d, 0x6d, 0x64, 0x35, 0x00, 0x00, 0x00, + 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x2d, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x00, 0x00, + 0x00, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x00, 0x00, + 0x00, 0x04, 0x64, 0x61, 0x74, 0x65, 0x00, 0x00, + 0x00, 0x04, 0x65, 0x74, 0x61, 0x67, 0x00, 0x00, + 0x00, 0x06, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, + 0x00, 0x00, 0x00, 0x07, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x73, 0x00, 0x00, 0x00, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x00, 0x00, 0x00, 0x04, 0x68, + 0x6f, 0x73, 0x74, 0x00, 0x00, 0x00, 0x08, 0x69, + 0x66, 0x2d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x00, + 0x00, 0x00, 0x11, 0x69, 0x66, 0x2d, 0x6d, 0x6f, + 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2d, 0x73, + 0x69, 0x6e, 0x63, 0x65, 0x00, 0x00, 0x00, 0x0d, + 0x69, 0x66, 0x2d, 0x6e, 0x6f, 0x6e, 0x65, 0x2d, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x00, 0x00, 0x00, + 0x08, 0x69, 0x66, 0x2d, 0x72, 0x61, 0x6e, 0x67, + 0x65, 0x00, 0x00, 0x00, 0x13, 0x69, 0x66, 0x2d, + 0x75, 0x6e, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x2d, 0x73, 0x69, 0x6e, 0x63, 0x65, + 0x00, 0x00, 0x00, 0x0d, 0x6c, 0x61, 0x73, 0x74, + 0x2d, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x00, 0x00, 0x00, 0x08, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, + 0x0c, 0x6d, 0x61, 0x78, 0x2d, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x73, 0x00, 0x00, 0x00, + 0x06, 0x70, 0x72, 0x61, 0x67, 0x6d, 0x61, 0x00, + 0x00, 0x00, 0x12, 0x70, 0x72, 0x6f, 0x78, 0x79, + 0x2d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x00, 0x00, 0x00, + 0x13, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2d, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, 0x05, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x00, 0x00, 0x00, + 0x07, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x00, 0x00, 0x00, 0x0b, 0x72, 0x65, 0x74, 0x72, + 0x79, 0x2d, 0x61, 0x66, 0x74, 0x65, 0x72, 0x00, + 0x00, 0x00, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x00, 0x00, 0x00, 0x02, 0x74, 0x65, 0x00, + 0x00, 0x00, 0x07, 0x74, 0x72, 0x61, 0x69, 0x6c, + 0x65, 0x72, 0x00, 0x00, 0x00, 0x11, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x2d, 0x65, + 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x00, + 0x00, 0x00, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x00, 0x00, 0x00, 0x0a, 0x75, 0x73, + 0x65, 0x72, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x00, 0x00, 0x00, 0x04, 0x76, 0x61, 0x72, 0x79, + 0x00, 0x00, 0x00, 0x03, 0x76, 0x69, 0x61, 0x00, + 0x00, 0x00, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, + 0x6e, 0x67, 0x00, 0x00, 0x00, 0x10, 0x77, 0x77, + 0x77, 0x2d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x00, 0x00, + 0x00, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x00, 0x00, 0x00, 0x03, 0x67, 0x65, 0x74, 0x00, + 0x00, 0x00, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x00, 0x00, 0x00, 0x06, 0x32, 0x30, 0x30, + 0x20, 0x4f, 0x4b, 0x00, 0x00, 0x00, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x00, 0x00, + 0x00, 0x08, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, + 0x2e, 0x31, 0x00, 0x00, 0x00, 0x03, 0x75, 0x72, + 0x6c, 0x00, 0x00, 0x00, 0x06, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x00, 0x00, 0x00, 0x0a, 0x73, + 0x65, 0x74, 0x2d, 0x63, 0x6f, 0x6f, 0x6b, 0x69, + 0x65, 0x00, 0x00, 0x00, 0x0a, 0x6b, 0x65, 0x65, + 0x70, 0x2d, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x00, + 0x00, 0x00, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x31, 0x30, 0x30, 0x31, 0x30, 0x31, 0x32, + 0x30, 0x31, 0x32, 0x30, 0x32, 0x32, 0x30, 0x35, + 0x32, 0x30, 0x36, 0x33, 0x30, 0x30, 0x33, 0x30, + 0x32, 0x33, 0x30, 0x33, 0x33, 0x30, 0x34, 0x33, + 0x30, 0x35, 0x33, 0x30, 0x36, 0x33, 0x30, 0x37, + 0x34, 0x30, 0x32, 0x34, 0x30, 0x35, 0x34, 0x30, + 0x36, 0x34, 0x30, 0x37, 0x34, 0x30, 0x38, 0x34, + 0x30, 0x39, 0x34, 0x31, 0x30, 0x34, 0x31, 0x31, + 0x34, 0x31, 0x32, 0x34, 0x31, 0x33, 0x34, 0x31, + 0x34, 0x34, 0x31, 0x35, 0x34, 0x31, 0x36, 0x34, + 0x31, 0x37, 0x35, 0x30, 0x32, 0x35, 0x30, 0x34, + 0x35, 0x30, 0x35, 0x32, 0x30, 0x33, 0x20, 0x4e, + 0x6f, 0x6e, 0x2d, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x20, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x30, 0x34, 0x20, + 0x4e, 0x6f, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x33, 0x30, 0x31, 0x20, 0x4d, 0x6f, + 0x76, 0x65, 0x64, 0x20, 0x50, 0x65, 0x72, 0x6d, + 0x61, 0x6e, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x34, + 0x30, 0x30, 0x20, 0x42, 0x61, 0x64, 0x20, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x34, 0x30, + 0x31, 0x20, 0x55, 0x6e, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x34, 0x30, + 0x33, 0x20, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, + 0x64, 0x65, 0x6e, 0x34, 0x30, 0x34, 0x20, 0x4e, + 0x6f, 0x74, 0x20, 0x46, 0x6f, 0x75, 0x6e, 0x64, + 0x35, 0x30, 0x30, 0x20, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x20, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x35, 0x30, 0x31, 0x20, 0x4e, 0x6f, 0x74, + 0x20, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x65, 0x64, 0x35, 0x30, 0x33, 0x20, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, + 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x4a, 0x61, 0x6e, 0x20, 0x46, + 0x65, 0x62, 0x20, 0x4d, 0x61, 0x72, 0x20, 0x41, + 0x70, 0x72, 0x20, 0x4d, 0x61, 0x79, 0x20, 0x4a, + 0x75, 0x6e, 0x20, 0x4a, 0x75, 0x6c, 0x20, 0x41, + 0x75, 0x67, 0x20, 0x53, 0x65, 0x70, 0x74, 0x20, + 0x4f, 0x63, 0x74, 0x20, 0x4e, 0x6f, 0x76, 0x20, + 0x44, 0x65, 0x63, 0x20, 0x30, 0x30, 0x3a, 0x30, + 0x30, 0x3a, 0x30, 0x30, 0x20, 0x4d, 0x6f, 0x6e, + 0x2c, 0x20, 0x54, 0x75, 0x65, 0x2c, 0x20, 0x57, + 0x65, 0x64, 0x2c, 0x20, 0x54, 0x68, 0x75, 0x2c, + 0x20, 0x46, 0x72, 0x69, 0x2c, 0x20, 0x53, 0x61, + 0x74, 0x2c, 0x20, 0x53, 0x75, 0x6e, 0x2c, 0x20, + 0x47, 0x4d, 0x54, 0x63, 0x68, 0x75, 0x6e, 0x6b, + 0x65, 0x64, 0x2c, 0x74, 0x65, 0x78, 0x74, 0x2f, + 0x68, 0x74, 0x6d, 0x6c, 0x2c, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x2f, 0x70, 0x6e, 0x67, 0x2c, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x6a, 0x70, 0x67, + 0x2c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x67, + 0x69, 0x66, 0x2c, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x78, + 0x6d, 0x6c, 0x2c, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x78, + 0x68, 0x74, 0x6d, 0x6c, 0x2b, 0x78, 0x6d, 0x6c, + 0x2c, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x70, 0x6c, + 0x61, 0x69, 0x6e, 0x2c, 0x74, 0x65, 0x78, 0x74, + 0x2f, 0x6a, 0x61, 0x76, 0x61, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x2c, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x6d, 0x61, 0x78, 0x2d, 0x61, 0x67, 0x65, + 0x3d, 0x67, 0x7a, 0x69, 0x70, 0x2c, 0x64, 0x65, + 0x66, 0x6c, 0x61, 0x74, 0x65, 0x2c, 0x73, 0x64, + 0x63, 0x68, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, + 0x74, 0x3d, 0x75, 0x74, 0x66, 0x2d, 0x38, 0x63, + 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3d, 0x69, + 0x73, 0x6f, 0x2d, 0x38, 0x38, 0x35, 0x39, 0x2d, + 0x31, 0x2c, 0x75, 0x74, 0x66, 0x2d, 0x2c, 0x2a, + 0x2c, 0x65, 0x6e, 0x71, 0x3d, 0x30, 0x2e, +} diff --git a/vendor/github.com/docker/spdystream/spdy/read.go b/vendor/github.com/docker/spdystream/spdy/read.go new file mode 100644 index 00000000..9359a950 --- /dev/null +++ b/vendor/github.com/docker/spdystream/spdy/read.go @@ -0,0 +1,348 @@ +// Copyright 2011 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 spdy + +import ( + "compress/zlib" + "encoding/binary" + "io" + "net/http" + "strings" +) + +func (frame *SynStreamFrame) read(h ControlFrameHeader, f *Framer) error { + return f.readSynStreamFrame(h, frame) +} + +func (frame *SynReplyFrame) read(h ControlFrameHeader, f *Framer) error { + return f.readSynReplyFrame(h, frame) +} + +func (frame *RstStreamFrame) read(h ControlFrameHeader, f *Framer) error { + frame.CFHeader = h + if err := binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { + return err + } + if err := binary.Read(f.r, binary.BigEndian, &frame.Status); err != nil { + return err + } + if frame.Status == 0 { + return &Error{InvalidControlFrame, frame.StreamId} + } + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + return nil +} + +func (frame *SettingsFrame) read(h ControlFrameHeader, f *Framer) error { + frame.CFHeader = h + var numSettings uint32 + if err := binary.Read(f.r, binary.BigEndian, &numSettings); err != nil { + return err + } + frame.FlagIdValues = make([]SettingsFlagIdValue, numSettings) + for i := uint32(0); i < numSettings; i++ { + if err := binary.Read(f.r, binary.BigEndian, &frame.FlagIdValues[i].Id); err != nil { + return err + } + frame.FlagIdValues[i].Flag = SettingsFlag((frame.FlagIdValues[i].Id & 0xff000000) >> 24) + frame.FlagIdValues[i].Id &= 0xffffff + if err := binary.Read(f.r, binary.BigEndian, &frame.FlagIdValues[i].Value); err != nil { + return err + } + } + return nil +} + +func (frame *PingFrame) read(h ControlFrameHeader, f *Framer) error { + frame.CFHeader = h + if err := binary.Read(f.r, binary.BigEndian, &frame.Id); err != nil { + return err + } + if frame.Id == 0 { + return &Error{ZeroStreamId, 0} + } + if frame.CFHeader.Flags != 0 { + return &Error{InvalidControlFrame, StreamId(frame.Id)} + } + return nil +} + +func (frame *GoAwayFrame) read(h ControlFrameHeader, f *Framer) error { + frame.CFHeader = h + if err := binary.Read(f.r, binary.BigEndian, &frame.LastGoodStreamId); err != nil { + return err + } + if frame.CFHeader.Flags != 0 { + return &Error{InvalidControlFrame, frame.LastGoodStreamId} + } + if frame.CFHeader.length != 8 { + return &Error{InvalidControlFrame, frame.LastGoodStreamId} + } + if err := binary.Read(f.r, binary.BigEndian, &frame.Status); err != nil { + return err + } + return nil +} + +func (frame *HeadersFrame) read(h ControlFrameHeader, f *Framer) error { + return f.readHeadersFrame(h, frame) +} + +func (frame *WindowUpdateFrame) read(h ControlFrameHeader, f *Framer) error { + frame.CFHeader = h + if err := binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { + return err + } + if frame.CFHeader.Flags != 0 { + return &Error{InvalidControlFrame, frame.StreamId} + } + if frame.CFHeader.length != 8 { + return &Error{InvalidControlFrame, frame.StreamId} + } + if err := binary.Read(f.r, binary.BigEndian, &frame.DeltaWindowSize); err != nil { + return err + } + return nil +} + +func newControlFrame(frameType ControlFrameType) (controlFrame, error) { + ctor, ok := cframeCtor[frameType] + if !ok { + return nil, &Error{Err: InvalidControlFrame} + } + return ctor(), nil +} + +var cframeCtor = map[ControlFrameType]func() controlFrame{ + TypeSynStream: func() controlFrame { return new(SynStreamFrame) }, + TypeSynReply: func() controlFrame { return new(SynReplyFrame) }, + TypeRstStream: func() controlFrame { return new(RstStreamFrame) }, + TypeSettings: func() controlFrame { return new(SettingsFrame) }, + TypePing: func() controlFrame { return new(PingFrame) }, + TypeGoAway: func() controlFrame { return new(GoAwayFrame) }, + TypeHeaders: func() controlFrame { return new(HeadersFrame) }, + TypeWindowUpdate: func() controlFrame { return new(WindowUpdateFrame) }, +} + +func (f *Framer) uncorkHeaderDecompressor(payloadSize int64) error { + if f.headerDecompressor != nil { + f.headerReader.N = payloadSize + return nil + } + f.headerReader = io.LimitedReader{R: f.r, N: payloadSize} + decompressor, err := zlib.NewReaderDict(&f.headerReader, []byte(headerDictionary)) + if err != nil { + return err + } + f.headerDecompressor = decompressor + return nil +} + +// ReadFrame reads SPDY encoded data and returns a decompressed Frame. +func (f *Framer) ReadFrame() (Frame, error) { + var firstWord uint32 + if err := binary.Read(f.r, binary.BigEndian, &firstWord); err != nil { + return nil, err + } + if firstWord&0x80000000 != 0 { + frameType := ControlFrameType(firstWord & 0xffff) + version := uint16(firstWord >> 16 & 0x7fff) + return f.parseControlFrame(version, frameType) + } + return f.parseDataFrame(StreamId(firstWord & 0x7fffffff)) +} + +func (f *Framer) parseControlFrame(version uint16, frameType ControlFrameType) (Frame, error) { + var length uint32 + if err := binary.Read(f.r, binary.BigEndian, &length); err != nil { + return nil, err + } + flags := ControlFlags((length & 0xff000000) >> 24) + length &= 0xffffff + header := ControlFrameHeader{version, frameType, flags, length} + cframe, err := newControlFrame(frameType) + if err != nil { + return nil, err + } + if err = cframe.read(header, f); err != nil { + return nil, err + } + return cframe, nil +} + +func parseHeaderValueBlock(r io.Reader, streamId StreamId) (http.Header, error) { + var numHeaders uint32 + if err := binary.Read(r, binary.BigEndian, &numHeaders); err != nil { + return nil, err + } + var e error + h := make(http.Header, int(numHeaders)) + for i := 0; i < int(numHeaders); i++ { + var length uint32 + if err := binary.Read(r, binary.BigEndian, &length); err != nil { + return nil, err + } + nameBytes := make([]byte, length) + if _, err := io.ReadFull(r, nameBytes); err != nil { + return nil, err + } + name := string(nameBytes) + if name != strings.ToLower(name) { + e = &Error{UnlowercasedHeaderName, streamId} + name = strings.ToLower(name) + } + if h[name] != nil { + e = &Error{DuplicateHeaders, streamId} + } + if err := binary.Read(r, binary.BigEndian, &length); err != nil { + return nil, err + } + value := make([]byte, length) + if _, err := io.ReadFull(r, value); err != nil { + return nil, err + } + valueList := strings.Split(string(value), headerValueSeparator) + for _, v := range valueList { + h.Add(name, v) + } + } + if e != nil { + return h, e + } + return h, nil +} + +func (f *Framer) readSynStreamFrame(h ControlFrameHeader, frame *SynStreamFrame) error { + frame.CFHeader = h + var err error + if err = binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { + return err + } + if err = binary.Read(f.r, binary.BigEndian, &frame.AssociatedToStreamId); err != nil { + return err + } + if err = binary.Read(f.r, binary.BigEndian, &frame.Priority); err != nil { + return err + } + frame.Priority >>= 5 + if err = binary.Read(f.r, binary.BigEndian, &frame.Slot); err != nil { + return err + } + reader := f.r + if !f.headerCompressionDisabled { + err := f.uncorkHeaderDecompressor(int64(h.length - 10)) + if err != nil { + return err + } + reader = f.headerDecompressor + } + frame.Headers, err = parseHeaderValueBlock(reader, frame.StreamId) + if !f.headerCompressionDisabled && (err == io.EOF && f.headerReader.N == 0 || f.headerReader.N != 0) { + err = &Error{WrongCompressedPayloadSize, 0} + } + if err != nil { + return err + } + for h := range frame.Headers { + if invalidReqHeaders[h] { + return &Error{InvalidHeaderPresent, frame.StreamId} + } + } + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + return nil +} + +func (f *Framer) readSynReplyFrame(h ControlFrameHeader, frame *SynReplyFrame) error { + frame.CFHeader = h + var err error + if err = binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { + return err + } + reader := f.r + if !f.headerCompressionDisabled { + err := f.uncorkHeaderDecompressor(int64(h.length - 4)) + if err != nil { + return err + } + reader = f.headerDecompressor + } + frame.Headers, err = parseHeaderValueBlock(reader, frame.StreamId) + if !f.headerCompressionDisabled && (err == io.EOF && f.headerReader.N == 0 || f.headerReader.N != 0) { + err = &Error{WrongCompressedPayloadSize, 0} + } + if err != nil { + return err + } + for h := range frame.Headers { + if invalidRespHeaders[h] { + return &Error{InvalidHeaderPresent, frame.StreamId} + } + } + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + return nil +} + +func (f *Framer) readHeadersFrame(h ControlFrameHeader, frame *HeadersFrame) error { + frame.CFHeader = h + var err error + if err = binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { + return err + } + reader := f.r + if !f.headerCompressionDisabled { + err := f.uncorkHeaderDecompressor(int64(h.length - 4)) + if err != nil { + return err + } + reader = f.headerDecompressor + } + frame.Headers, err = parseHeaderValueBlock(reader, frame.StreamId) + if !f.headerCompressionDisabled && (err == io.EOF && f.headerReader.N == 0 || f.headerReader.N != 0) { + err = &Error{WrongCompressedPayloadSize, 0} + } + if err != nil { + return err + } + var invalidHeaders map[string]bool + if frame.StreamId%2 == 0 { + invalidHeaders = invalidReqHeaders + } else { + invalidHeaders = invalidRespHeaders + } + for h := range frame.Headers { + if invalidHeaders[h] { + return &Error{InvalidHeaderPresent, frame.StreamId} + } + } + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + return nil +} + +func (f *Framer) parseDataFrame(streamId StreamId) (*DataFrame, error) { + var length uint32 + if err := binary.Read(f.r, binary.BigEndian, &length); err != nil { + return nil, err + } + var frame DataFrame + frame.StreamId = streamId + frame.Flags = DataFlags(length >> 24) + length &= 0xffffff + frame.Data = make([]byte, length) + if _, err := io.ReadFull(f.r, frame.Data); err != nil { + return nil, err + } + if frame.StreamId == 0 { + return nil, &Error{ZeroStreamId, 0} + } + return &frame, nil +} diff --git a/vendor/github.com/docker/spdystream/spdy/types.go b/vendor/github.com/docker/spdystream/spdy/types.go new file mode 100644 index 00000000..7b6ee9c6 --- /dev/null +++ b/vendor/github.com/docker/spdystream/spdy/types.go @@ -0,0 +1,275 @@ +// Copyright 2011 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 spdy implements the SPDY protocol (currently SPDY/3), described in +// http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3. +package spdy + +import ( + "bytes" + "compress/zlib" + "io" + "net/http" +) + +// Version is the protocol version number that this package implements. +const Version = 3 + +// ControlFrameType stores the type field in a control frame header. +type ControlFrameType uint16 + +const ( + TypeSynStream ControlFrameType = 0x0001 + TypeSynReply = 0x0002 + TypeRstStream = 0x0003 + TypeSettings = 0x0004 + TypePing = 0x0006 + TypeGoAway = 0x0007 + TypeHeaders = 0x0008 + TypeWindowUpdate = 0x0009 +) + +// ControlFlags are the flags that can be set on a control frame. +type ControlFlags uint8 + +const ( + ControlFlagFin ControlFlags = 0x01 + ControlFlagUnidirectional = 0x02 + ControlFlagSettingsClearSettings = 0x01 +) + +// DataFlags are the flags that can be set on a data frame. +type DataFlags uint8 + +const ( + DataFlagFin DataFlags = 0x01 +) + +// MaxDataLength is the maximum number of bytes that can be stored in one frame. +const MaxDataLength = 1<<24 - 1 + +// headerValueSepator separates multiple header values. +const headerValueSeparator = "\x00" + +// Frame is a single SPDY frame in its unpacked in-memory representation. Use +// Framer to read and write it. +type Frame interface { + write(f *Framer) error +} + +// ControlFrameHeader contains all the fields in a control frame header, +// in its unpacked in-memory representation. +type ControlFrameHeader struct { + // Note, high bit is the "Control" bit. + version uint16 // spdy version number + frameType ControlFrameType + Flags ControlFlags + length uint32 // length of data field +} + +type controlFrame interface { + Frame + read(h ControlFrameHeader, f *Framer) error +} + +// StreamId represents a 31-bit value identifying the stream. +type StreamId uint32 + +// SynStreamFrame is the unpacked, in-memory representation of a SYN_STREAM +// frame. +type SynStreamFrame struct { + CFHeader ControlFrameHeader + StreamId StreamId + AssociatedToStreamId StreamId // stream id for a stream which this stream is associated to + Priority uint8 // priority of this frame (3-bit) + Slot uint8 // index in the server's credential vector of the client certificate + Headers http.Header +} + +// SynReplyFrame is the unpacked, in-memory representation of a SYN_REPLY frame. +type SynReplyFrame struct { + CFHeader ControlFrameHeader + StreamId StreamId + Headers http.Header +} + +// RstStreamStatus represents the status that led to a RST_STREAM. +type RstStreamStatus uint32 + +const ( + ProtocolError RstStreamStatus = iota + 1 + InvalidStream + RefusedStream + UnsupportedVersion + Cancel + InternalError + FlowControlError + StreamInUse + StreamAlreadyClosed + InvalidCredentials + FrameTooLarge +) + +// RstStreamFrame is the unpacked, in-memory representation of a RST_STREAM +// frame. +type RstStreamFrame struct { + CFHeader ControlFrameHeader + StreamId StreamId + Status RstStreamStatus +} + +// SettingsFlag represents a flag in a SETTINGS frame. +type SettingsFlag uint8 + +const ( + FlagSettingsPersistValue SettingsFlag = 0x1 + FlagSettingsPersisted = 0x2 +) + +// SettingsFlag represents the id of an id/value pair in a SETTINGS frame. +type SettingsId uint32 + +const ( + SettingsUploadBandwidth SettingsId = iota + 1 + SettingsDownloadBandwidth + SettingsRoundTripTime + SettingsMaxConcurrentStreams + SettingsCurrentCwnd + SettingsDownloadRetransRate + SettingsInitialWindowSize + SettingsClientCretificateVectorSize +) + +// SettingsFlagIdValue is the unpacked, in-memory representation of the +// combined flag/id/value for a setting in a SETTINGS frame. +type SettingsFlagIdValue struct { + Flag SettingsFlag + Id SettingsId + Value uint32 +} + +// SettingsFrame is the unpacked, in-memory representation of a SPDY +// SETTINGS frame. +type SettingsFrame struct { + CFHeader ControlFrameHeader + FlagIdValues []SettingsFlagIdValue +} + +// PingFrame is the unpacked, in-memory representation of a PING frame. +type PingFrame struct { + CFHeader ControlFrameHeader + Id uint32 // unique id for this ping, from server is even, from client is odd. +} + +// GoAwayStatus represents the status in a GoAwayFrame. +type GoAwayStatus uint32 + +const ( + GoAwayOK GoAwayStatus = iota + GoAwayProtocolError + GoAwayInternalError +) + +// GoAwayFrame is the unpacked, in-memory representation of a GOAWAY frame. +type GoAwayFrame struct { + CFHeader ControlFrameHeader + LastGoodStreamId StreamId // last stream id which was accepted by sender + Status GoAwayStatus +} + +// HeadersFrame is the unpacked, in-memory representation of a HEADERS frame. +type HeadersFrame struct { + CFHeader ControlFrameHeader + StreamId StreamId + Headers http.Header +} + +// WindowUpdateFrame is the unpacked, in-memory representation of a +// WINDOW_UPDATE frame. +type WindowUpdateFrame struct { + CFHeader ControlFrameHeader + StreamId StreamId + DeltaWindowSize uint32 // additional number of bytes to existing window size +} + +// TODO: Implement credential frame and related methods. + +// DataFrame is the unpacked, in-memory representation of a DATA frame. +type DataFrame struct { + // Note, high bit is the "Control" bit. Should be 0 for data frames. + StreamId StreamId + Flags DataFlags + Data []byte // payload data of this frame +} + +// A SPDY specific error. +type ErrorCode string + +const ( + UnlowercasedHeaderName ErrorCode = "header was not lowercased" + DuplicateHeaders = "multiple headers with same name" + WrongCompressedPayloadSize = "compressed payload size was incorrect" + UnknownFrameType = "unknown frame type" + InvalidControlFrame = "invalid control frame" + InvalidDataFrame = "invalid data frame" + InvalidHeaderPresent = "frame contained invalid header" + ZeroStreamId = "stream id zero is disallowed" +) + +// Error contains both the type of error and additional values. StreamId is 0 +// if Error is not associated with a stream. +type Error struct { + Err ErrorCode + StreamId StreamId +} + +func (e *Error) Error() string { + return string(e.Err) +} + +var invalidReqHeaders = map[string]bool{ + "Connection": true, + "Host": true, + "Keep-Alive": true, + "Proxy-Connection": true, + "Transfer-Encoding": true, +} + +var invalidRespHeaders = map[string]bool{ + "Connection": true, + "Keep-Alive": true, + "Proxy-Connection": true, + "Transfer-Encoding": true, +} + +// Framer handles serializing/deserializing SPDY frames, including compressing/ +// decompressing payloads. +type Framer struct { + headerCompressionDisabled bool + w io.Writer + headerBuf *bytes.Buffer + headerCompressor *zlib.Writer + r io.Reader + headerReader io.LimitedReader + headerDecompressor io.ReadCloser +} + +// NewFramer allocates a new Framer for a given SPDY connection, represented by +// a io.Writer and io.Reader. Note that Framer will read and write individual fields +// from/to the Reader and Writer, so the caller should pass in an appropriately +// buffered implementation to optimize performance. +func NewFramer(w io.Writer, r io.Reader) (*Framer, error) { + compressBuf := new(bytes.Buffer) + compressor, err := zlib.NewWriterLevelDict(compressBuf, zlib.BestCompression, []byte(headerDictionary)) + if err != nil { + return nil, err + } + framer := &Framer{ + w: w, + headerBuf: compressBuf, + headerCompressor: compressor, + r: r, + } + return framer, nil +} diff --git a/vendor/github.com/docker/spdystream/spdy/write.go b/vendor/github.com/docker/spdystream/spdy/write.go new file mode 100644 index 00000000..b212f66a --- /dev/null +++ b/vendor/github.com/docker/spdystream/spdy/write.go @@ -0,0 +1,318 @@ +// Copyright 2011 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 spdy + +import ( + "encoding/binary" + "io" + "net/http" + "strings" +) + +func (frame *SynStreamFrame) write(f *Framer) error { + return f.writeSynStreamFrame(frame) +} + +func (frame *SynReplyFrame) write(f *Framer) error { + return f.writeSynReplyFrame(frame) +} + +func (frame *RstStreamFrame) write(f *Framer) (err error) { + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypeRstStream + frame.CFHeader.Flags = 0 + frame.CFHeader.length = 8 + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { + return + } + if frame.Status == 0 { + return &Error{InvalidControlFrame, frame.StreamId} + } + if err = binary.Write(f.w, binary.BigEndian, frame.Status); err != nil { + return + } + return +} + +func (frame *SettingsFrame) write(f *Framer) (err error) { + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypeSettings + frame.CFHeader.length = uint32(len(frame.FlagIdValues)*8 + 4) + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, uint32(len(frame.FlagIdValues))); err != nil { + return + } + for _, flagIdValue := range frame.FlagIdValues { + flagId := uint32(flagIdValue.Flag)<<24 | uint32(flagIdValue.Id) + if err = binary.Write(f.w, binary.BigEndian, flagId); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, flagIdValue.Value); err != nil { + return + } + } + return +} + +func (frame *PingFrame) write(f *Framer) (err error) { + if frame.Id == 0 { + return &Error{ZeroStreamId, 0} + } + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypePing + frame.CFHeader.Flags = 0 + frame.CFHeader.length = 4 + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.Id); err != nil { + return + } + return +} + +func (frame *GoAwayFrame) write(f *Framer) (err error) { + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypeGoAway + frame.CFHeader.Flags = 0 + frame.CFHeader.length = 8 + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.LastGoodStreamId); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.Status); err != nil { + return + } + return nil +} + +func (frame *HeadersFrame) write(f *Framer) error { + return f.writeHeadersFrame(frame) +} + +func (frame *WindowUpdateFrame) write(f *Framer) (err error) { + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypeWindowUpdate + frame.CFHeader.Flags = 0 + frame.CFHeader.length = 8 + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.DeltaWindowSize); err != nil { + return + } + return nil +} + +func (frame *DataFrame) write(f *Framer) error { + return f.writeDataFrame(frame) +} + +// WriteFrame writes a frame. +func (f *Framer) WriteFrame(frame Frame) error { + return frame.write(f) +} + +func writeControlFrameHeader(w io.Writer, h ControlFrameHeader) error { + if err := binary.Write(w, binary.BigEndian, 0x8000|h.version); err != nil { + return err + } + if err := binary.Write(w, binary.BigEndian, h.frameType); err != nil { + return err + } + flagsAndLength := uint32(h.Flags)<<24 | h.length + if err := binary.Write(w, binary.BigEndian, flagsAndLength); err != nil { + return err + } + return nil +} + +func writeHeaderValueBlock(w io.Writer, h http.Header) (n int, err error) { + n = 0 + if err = binary.Write(w, binary.BigEndian, uint32(len(h))); err != nil { + return + } + n += 2 + for name, values := range h { + if err = binary.Write(w, binary.BigEndian, uint32(len(name))); err != nil { + return + } + n += 2 + name = strings.ToLower(name) + if _, err = io.WriteString(w, name); err != nil { + return + } + n += len(name) + v := strings.Join(values, headerValueSeparator) + if err = binary.Write(w, binary.BigEndian, uint32(len(v))); err != nil { + return + } + n += 2 + if _, err = io.WriteString(w, v); err != nil { + return + } + n += len(v) + } + return +} + +func (f *Framer) writeSynStreamFrame(frame *SynStreamFrame) (err error) { + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + // Marshal the headers. + var writer io.Writer = f.headerBuf + if !f.headerCompressionDisabled { + writer = f.headerCompressor + } + if _, err = writeHeaderValueBlock(writer, frame.Headers); err != nil { + return + } + if !f.headerCompressionDisabled { + f.headerCompressor.Flush() + } + + // Set ControlFrameHeader. + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypeSynStream + frame.CFHeader.length = uint32(len(f.headerBuf.Bytes()) + 10) + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return err + } + if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { + return err + } + if err = binary.Write(f.w, binary.BigEndian, frame.AssociatedToStreamId); err != nil { + return err + } + if err = binary.Write(f.w, binary.BigEndian, frame.Priority<<5); err != nil { + return err + } + if err = binary.Write(f.w, binary.BigEndian, frame.Slot); err != nil { + return err + } + if _, err = f.w.Write(f.headerBuf.Bytes()); err != nil { + return err + } + f.headerBuf.Reset() + return nil +} + +func (f *Framer) writeSynReplyFrame(frame *SynReplyFrame) (err error) { + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + // Marshal the headers. + var writer io.Writer = f.headerBuf + if !f.headerCompressionDisabled { + writer = f.headerCompressor + } + if _, err = writeHeaderValueBlock(writer, frame.Headers); err != nil { + return + } + if !f.headerCompressionDisabled { + f.headerCompressor.Flush() + } + + // Set ControlFrameHeader. + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypeSynReply + frame.CFHeader.length = uint32(len(f.headerBuf.Bytes()) + 4) + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { + return + } + if _, err = f.w.Write(f.headerBuf.Bytes()); err != nil { + return + } + f.headerBuf.Reset() + return +} + +func (f *Framer) writeHeadersFrame(frame *HeadersFrame) (err error) { + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + // Marshal the headers. + var writer io.Writer = f.headerBuf + if !f.headerCompressionDisabled { + writer = f.headerCompressor + } + if _, err = writeHeaderValueBlock(writer, frame.Headers); err != nil { + return + } + if !f.headerCompressionDisabled { + f.headerCompressor.Flush() + } + + // Set ControlFrameHeader. + frame.CFHeader.version = Version + frame.CFHeader.frameType = TypeHeaders + frame.CFHeader.length = uint32(len(f.headerBuf.Bytes()) + 4) + + // Serialize frame to Writer. + if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { + return + } + if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { + return + } + if _, err = f.w.Write(f.headerBuf.Bytes()); err != nil { + return + } + f.headerBuf.Reset() + return +} + +func (f *Framer) writeDataFrame(frame *DataFrame) (err error) { + if frame.StreamId == 0 { + return &Error{ZeroStreamId, 0} + } + if frame.StreamId&0x80000000 != 0 || len(frame.Data) > MaxDataLength { + return &Error{InvalidDataFrame, frame.StreamId} + } + + // Serialize frame to Writer. + if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { + return + } + flagsAndLength := uint32(frame.Flags)<<24 | uint32(len(frame.Data)) + if err = binary.Write(f.w, binary.BigEndian, flagsAndLength); err != nil { + return + } + if _, err = f.w.Write(frame.Data); err != nil { + return + } + return nil +} diff --git a/vendor/github.com/docker/spdystream/stream.go b/vendor/github.com/docker/spdystream/stream.go new file mode 100644 index 00000000..f9e9ee26 --- /dev/null +++ b/vendor/github.com/docker/spdystream/stream.go @@ -0,0 +1,327 @@ +package spdystream + +import ( + "errors" + "fmt" + "io" + "net" + "net/http" + "sync" + "time" + + "github.com/docker/spdystream/spdy" +) + +var ( + ErrUnreadPartialData = errors.New("unread partial data") +) + +type Stream struct { + streamId spdy.StreamId + parent *Stream + conn *Connection + startChan chan error + + dataLock sync.RWMutex + dataChan chan []byte + unread []byte + + priority uint8 + headers http.Header + headerChan chan http.Header + finishLock sync.Mutex + finished bool + replyCond *sync.Cond + replied bool + closeLock sync.Mutex + closeChan chan bool +} + +// WriteData writes data to stream, sending a dataframe per call +func (s *Stream) WriteData(data []byte, fin bool) error { + s.waitWriteReply() + var flags spdy.DataFlags + + if fin { + flags = spdy.DataFlagFin + s.finishLock.Lock() + if s.finished { + s.finishLock.Unlock() + return ErrWriteClosedStream + } + s.finished = true + s.finishLock.Unlock() + } + + dataFrame := &spdy.DataFrame{ + StreamId: s.streamId, + Flags: flags, + Data: data, + } + + debugMessage("(%p) (%d) Writing data frame", s, s.streamId) + return s.conn.framer.WriteFrame(dataFrame) +} + +// Write writes bytes to a stream, calling write data for each call. +func (s *Stream) Write(data []byte) (n int, err error) { + err = s.WriteData(data, false) + if err == nil { + n = len(data) + } + return +} + +// Read reads bytes from a stream, a single read will never get more +// than what is sent on a single data frame, but a multiple calls to +// read may get data from the same data frame. +func (s *Stream) Read(p []byte) (n int, err error) { + if s.unread == nil { + select { + case <-s.closeChan: + return 0, io.EOF + case read, ok := <-s.dataChan: + if !ok { + return 0, io.EOF + } + s.unread = read + } + } + n = copy(p, s.unread) + if n < len(s.unread) { + s.unread = s.unread[n:] + } else { + s.unread = nil + } + return +} + +// ReadData reads an entire data frame and returns the byte array +// from the data frame. If there is unread data from the result +// of a Read call, this function will return an ErrUnreadPartialData. +func (s *Stream) ReadData() ([]byte, error) { + debugMessage("(%p) Reading data from %d", s, s.streamId) + if s.unread != nil { + return nil, ErrUnreadPartialData + } + select { + case <-s.closeChan: + return nil, io.EOF + case read, ok := <-s.dataChan: + if !ok { + return nil, io.EOF + } + return read, nil + } +} + +func (s *Stream) waitWriteReply() { + if s.replyCond != nil { + s.replyCond.L.Lock() + for !s.replied { + s.replyCond.Wait() + } + s.replyCond.L.Unlock() + } +} + +// Wait waits for the stream to receive a reply. +func (s *Stream) Wait() error { + return s.WaitTimeout(time.Duration(0)) +} + +// WaitTimeout waits for the stream to receive a reply or for timeout. +// When the timeout is reached, ErrTimeout will be returned. +func (s *Stream) WaitTimeout(timeout time.Duration) error { + var timeoutChan <-chan time.Time + if timeout > time.Duration(0) { + timeoutChan = time.After(timeout) + } + + select { + case err := <-s.startChan: + if err != nil { + return err + } + break + case <-timeoutChan: + return ErrTimeout + } + return nil +} + +// Close closes the stream by sending an empty data frame with the +// finish flag set, indicating this side is finished with the stream. +func (s *Stream) Close() error { + select { + case <-s.closeChan: + // Stream is now fully closed + s.conn.removeStream(s) + default: + break + } + return s.WriteData([]byte{}, true) +} + +// Reset sends a reset frame, putting the stream into the fully closed state. +func (s *Stream) Reset() error { + s.conn.removeStream(s) + return s.resetStream() +} + +func (s *Stream) resetStream() error { + // Always call closeRemoteChannels, even if s.finished is already true. + // This makes it so that stream.Close() followed by stream.Reset() allows + // stream.Read() to unblock. + s.closeRemoteChannels() + + s.finishLock.Lock() + if s.finished { + s.finishLock.Unlock() + return nil + } + s.finished = true + s.finishLock.Unlock() + + resetFrame := &spdy.RstStreamFrame{ + StreamId: s.streamId, + Status: spdy.Cancel, + } + return s.conn.framer.WriteFrame(resetFrame) +} + +// CreateSubStream creates a stream using the current as the parent +func (s *Stream) CreateSubStream(headers http.Header, fin bool) (*Stream, error) { + return s.conn.CreateStream(headers, s, fin) +} + +// SetPriority sets the stream priority, does not affect the +// remote priority of this stream after Open has been called. +// Valid values are 0 through 7, 0 being the highest priority +// and 7 the lowest. +func (s *Stream) SetPriority(priority uint8) { + s.priority = priority +} + +// SendHeader sends a header frame across the stream +func (s *Stream) SendHeader(headers http.Header, fin bool) error { + return s.conn.sendHeaders(headers, s, fin) +} + +// SendReply sends a reply on a stream, only valid to be called once +// when handling a new stream +func (s *Stream) SendReply(headers http.Header, fin bool) error { + if s.replyCond == nil { + return errors.New("cannot reply on initiated stream") + } + s.replyCond.L.Lock() + defer s.replyCond.L.Unlock() + if s.replied { + return nil + } + + err := s.conn.sendReply(headers, s, fin) + if err != nil { + return err + } + + s.replied = true + s.replyCond.Broadcast() + return nil +} + +// Refuse sends a reset frame with the status refuse, only +// valid to be called once when handling a new stream. This +// may be used to indicate that a stream is not allowed +// when http status codes are not being used. +func (s *Stream) Refuse() error { + if s.replied { + return nil + } + s.replied = true + return s.conn.sendReset(spdy.RefusedStream, s) +} + +// Cancel sends a reset frame with the status canceled. This +// can be used at any time by the creator of the Stream to +// indicate the stream is no longer needed. +func (s *Stream) Cancel() error { + return s.conn.sendReset(spdy.Cancel, s) +} + +// ReceiveHeader receives a header sent on the other side +// of the stream. This function will block until a header +// is received or stream is closed. +func (s *Stream) ReceiveHeader() (http.Header, error) { + select { + case <-s.closeChan: + break + case header, ok := <-s.headerChan: + if !ok { + return nil, fmt.Errorf("header chan closed") + } + return header, nil + } + return nil, fmt.Errorf("stream closed") +} + +// Parent returns the parent stream +func (s *Stream) Parent() *Stream { + return s.parent +} + +// Headers returns the headers used to create the stream +func (s *Stream) Headers() http.Header { + return s.headers +} + +// String returns the string version of stream using the +// streamId to uniquely identify the stream +func (s *Stream) String() string { + return fmt.Sprintf("stream:%d", s.streamId) +} + +// Identifier returns a 32 bit identifier for the stream +func (s *Stream) Identifier() uint32 { + return uint32(s.streamId) +} + +// IsFinished returns whether the stream has finished +// sending data +func (s *Stream) IsFinished() bool { + return s.finished +} + +// Implement net.Conn interface + +func (s *Stream) LocalAddr() net.Addr { + return s.conn.conn.LocalAddr() +} + +func (s *Stream) RemoteAddr() net.Addr { + return s.conn.conn.RemoteAddr() +} + +// TODO set per stream values instead of connection-wide + +func (s *Stream) SetDeadline(t time.Time) error { + return s.conn.conn.SetDeadline(t) +} + +func (s *Stream) SetReadDeadline(t time.Time) error { + return s.conn.conn.SetReadDeadline(t) +} + +func (s *Stream) SetWriteDeadline(t time.Time) error { + return s.conn.conn.SetWriteDeadline(t) +} + +func (s *Stream) closeRemoteChannels() { + s.closeLock.Lock() + defer s.closeLock.Unlock() + select { + case <-s.closeChan: + default: + close(s.closeChan) + } +} diff --git a/vendor/github.com/docker/spdystream/utils.go b/vendor/github.com/docker/spdystream/utils.go new file mode 100644 index 00000000..1b2c199a --- /dev/null +++ b/vendor/github.com/docker/spdystream/utils.go @@ -0,0 +1,16 @@ +package spdystream + +import ( + "log" + "os" +) + +var ( + DEBUG = os.Getenv("DEBUG") +) + +func debugMessage(fmt string, args ...interface{}) { + if DEBUG != "" { + log.Printf(fmt, args...) + } +}